Package: pk-update-icon Version: 2.0.0-2 Severity: normal Tags: patch l10n Hello,
In the build process of pk-update-icon, we build it without passing a "prefix" variable. As a result it gets compiled with a prefix value set to "/usr/local", and pk-update-icon searches for locale files (pk-update-icon.mo) under "/usr/local/share/**" instead of "/usr/share/**". Steps to reproduce: - export LANG=de_DE.UTF-8 export LC_ALL=de_DE.UTF-8 - pk-update-icon -i 1 -d 1 - If you have updates waiting to be installed, a popup will show up with a message in English. Expected result: - The notification message should have been in German. Following inline patch addresses this issue by supplying a correct prefix value at build time. *** pk-update-icon_2.0.0-2.1.debdiff diff -Nru pk-update-icon-2.0.0/debian/changelog pk-update-icon-2.0.0/debian/changelog --- pk-update-icon-2.0.0/debian/changelog 2017-01-22 19:11:45.000000000 +0000 +++ pk-update-icon-2.0.0/debian/changelog 2017-09-21 07:15:43.000000000 +0000 @@ -1,3 +1,10 @@ +pk-update-icon (2.0.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * debian/rules: fix rules file to use the correct prefix + + -- Cihangir Akturk <cakt...@gmail.com> Thu, 21 Sep 2017 07:15:43 +0000 + pk-update-icon (2.0.0-2) unstable; urgency=medium * Update debian/watch file diff -Nru pk-update-icon-2.0.0/debian/rules pk-update-icon-2.0.0/debian/rules --- pk-update-icon-2.0.0/debian/rules 2017-01-22 19:11:45.000000000 +0000 +++ pk-update-icon-2.0.0/debian/rules 2017-09-21 07:15:43.000000000 +0000 @@ -7,6 +7,9 @@ %: dh $@ --parallel +override_dh_auto_build: + dh_auto_build $@ -- prefix=/usr + override_dh_auto_install: # update icon $(MAKE) install DESTDIR=$(INSTALLDIR) prefix=/usr -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages pk-update-icon depends on: ii gnome-packagekit 3.22.1-2 ii libatk1.0-0 2.22.0-1 ii libc6 2.24-11+deb9u1 ii libcairo2 1.14.8-1 ii libfontconfig1 2.11.0-6.7+b1 ii libfreetype6 2.6.3-3.2 ii libgdk-pixbuf2.0-0 2.36.5-2+deb9u1 ii libglib2.0-0 2.50.3-2 ii libgtk2.0-0 2.24.31-2 ii libnotify4 0.7.7-2 ii libpackagekit-glib2-18 1.1.5-2 ii libpango-1.0-0 1.40.5-1 ii libpangocairo-1.0-0 1.40.5-1 ii libpangoft2-1.0-0 1.40.5-1 ii libsqlite3-0 3.16.2-5 ii libunique-1.0-0 1.1.6-5 Versions of packages pk-update-icon recommends: ii apt-config-auto-update 2.0.0-2 pk-update-icon suggests no packages. -- no debconf information