[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#856841: unblock: compiz/1:0.9.13.0+16.10.20160818.2-5



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hi,

compiz was reintroduced in Debian to give users a chance of getting
better accessibility support through magnification and other tools.
Unfortunately it doesn't get autoconfigured when running under mate
started by lightdm because detection code was missing. It's been added
in the latest upload to unstable.

It'd be nice to have this in stretch; source debdiff attached.

Thanks for your time.
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/
diff -u compiz-0.9.13.0+16.10.20160818.2/debian/65compiz_profile-on-session compiz-0.9.13.0+16.10.20160818.2/debian/65compiz_profile-on-session
--- compiz-0.9.13.0+16.10.20160818.2/debian/65compiz_profile-on-session
+++ compiz-0.9.13.0+16.10.20160818.2/debian/65compiz_profile-on-session
@@ -9,4 +9,11 @@
     COMPIZ_CONFIG_PROFILE="mate"
     export COMPIZ_CONFIG_PROFILE
+elif [ "x$DESKTOP_SESSION" = "xlightdm-xsession" ]; then
+    # Let's look at the preferred x session manager:
+    value=$(update-alternatives --query x-session-manager 2>/dev/null | awk '/^Value: / {print $2}')
+    if [ "x$value" = "x/usr/bin/mate-session" ]; then
+        COMPIZ_CONFIG_PROFILE="mate"
+        export COMPIZ_CONFIG_PROFILE
+    fi
 fi
 
diff -u compiz-0.9.13.0+16.10.20160818.2/debian/changelog compiz-0.9.13.0+16.10.20160818.2/debian/changelog
--- compiz-0.9.13.0+16.10.20160818.2/debian/changelog
+++ compiz-0.9.13.0+16.10.20160818.2/debian/changelog
@@ -1,3 +1,12 @@
+compiz (1:0.9.13.0+16.10.20160818.2-5) unstable; urgency=medium
+
+  * Adjust 65compiz_profile-on-session to look at x-session-manager
+    alternatives when the session is set to lightdm-xsession, and use
+    the mate profile when /usr/bin/mate-session is detected
+    (Closes: #848636).
+
+ -- Cyril Brulebois <cyril@debamax.com>  Mon, 13 Feb 2017 14:10:42 +0100
+
 compiz (1:0.9.13.0+16.10.20160818.2-4) unstable; urgency=medium
 
   * Use override_dh_builddeb-arch instead of override_dh_builddeb for

Reply to: