diff -Nru unity-lens-applications-7.1.0+16.10.20160602/debian/changelog unity-lens-applications-7.1.0+16.10.20160927/debian/changelog --- unity-lens-applications-7.1.0+16.10.20160602/debian/changelog 2016-09-27 17:08:16.000000000 +0000 +++ unity-lens-applications-7.1.0+16.10.20160927/debian/changelog 2016-09-27 17:08:16.000000000 +0000 @@ -1,3 +1,15 @@ +unity-lens-applications (7.1.0+16.10.20160927-0ubuntu1) yakkety; urgency=medium + + [ Iain Lane ] + * debian/rules: Set HOME to the real home directory for the test. This might + not be set right when building the package, but one of the tests looks up + ~user and checks that it corresponds to $HOME, so we need to make sure it + is. + * src/main.vala: Don't call set_desktop_env(). It's not needed with modern + GLib, and prevents XDG_CURRENT_DESKTOP from being used. + + -- iain@orangesquash.org.uk Tue, 27 Sep 2016 17:06:18 +0000 + unity-lens-applications (7.1.0+16.10.20160602-0ubuntu1) yakkety; urgency=medium [ Andrea Azzarone ] diff -Nru unity-lens-applications-7.1.0+16.10.20160602/debian/rules unity-lens-applications-7.1.0+16.10.20160927/debian/rules --- unity-lens-applications-7.1.0+16.10.20160602/debian/rules 2016-09-27 17:08:16.000000000 +0000 +++ unity-lens-applications-7.1.0+16.10.20160927/debian/rules 2016-09-27 17:08:16.000000000 +0000 @@ -11,3 +11,8 @@ override_dh_install: dh_install --fail-missing rm -f debian/unity-lens-applications/usr/lib/*/unity/*.la + +override_dh_auto_test: + # get the real home directory - some tests rely on HOME and ~${USER} + # corresponding + HOME="$(shell eval echo ~${USER})" dh_auto_test diff -Nru unity-lens-applications-7.1.0+16.10.20160602/src/main.vala unity-lens-applications-7.1.0+16.10.20160927/src/main.vala --- unity-lens-applications-7.1.0+16.10.20160602/src/main.vala 2016-06-02 01:00:19.000000000 +0000 +++ unity-lens-applications-7.1.0+16.10.20160927/src/main.vala 2016-09-27 17:06:03.000000000 +0000 @@ -34,9 +34,6 @@ GLib.Intl.bind_textdomain_codeset (Config.PACKAGE, "UTF-8"); GLib.Intl.setlocale(GLib.LocaleCategory.ALL, ""); - /* Make sure the desktop appinfos are picked up correctly */ - DesktopAppInfo.set_desktop_env ("Unity"); - var scopes = new List (); var apps_scope = new Unity.ApplicationsLens.ApplicationsScope (); var scopes_scope = new Unity.ApplicationsLens.ScopesScope (apps_scope);