Package: libatk-adaptor
Version: 2.20.1-1
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch yakkety

Hello,

/etc/X11/Xsession.d/90atk-adaptor exports $GTK_MODULES to the started
user session. However, when using the "dbus-user-session" package,
services that get D-Bus activated or started from a systemd --user
service don't have that variable.

Attached patch fixes this, similar to /etc/X11/Xsession.d/20dbus_xdg-runtime.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru at-spi2-atk-2.20.1/debian/90atk-adaptor 
at-spi2-atk-2.20.1/debian/90atk-adaptor
--- at-spi2-atk-2.20.1/debian/90atk-adaptor     2016-04-27 14:14:48.000000000 
+0200
+++ at-spi2-atk-2.20.1/debian/90atk-adaptor     2016-05-30 14:43:03.000000000 
+0200
@@ -23,3 +23,6 @@
 add_module atk-bridge
 
 export GTK_MODULES
+if [ -x "/usr/bin/dbus-update-activation-environment" ]; then
+        dbus-update-activation-environment --verbose --systemd GTK_MODULES
+fi
diff -Nru at-spi2-atk-2.20.1/debian/changelog 
at-spi2-atk-2.20.1/debian/changelog
--- at-spi2-atk-2.20.1/debian/changelog 2016-04-28 11:52:22.000000000 +0200
+++ at-spi2-atk-2.20.1/debian/changelog 2016-05-30 14:43:51.000000000 +0200
@@ -1,3 +1,9 @@
+at-spi2-atk (2.20.1-1ubuntu2) yakkety; urgency=medium
+
+  * debian/90atk-adaptor: Export $GTK_MODULES to dbus user session as well.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Mon, 30 May 2016 14:43:06 +0200
+
 at-spi2-atk (2.20.1-1ubuntu1) yakkety; urgency=medium
 
   * Merge with debian unstable, remaining changes:

Attachment: signature.asc
Description: PGP signature

Reply via email to