[DHG_packages] 01/01: Add patch gnome-dbus-send-fix.patch: Fix invalid syntax when calling dbus-send in XMonad.Config.Gnome. Closes: #780463.

Per Olofsson pelle at moszumanska.debian.org
Sat Sep 5 08:49:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

pelle pushed a commit to branch master
in repository DHG_packages.

commit ef5e89a3f0a79d8296775fcd44f9118e36e939b9
Author: Per Olofsson <pelle at pqz.se>
Date:   Sat Sep 5 10:48:57 2015 +0200

    Add patch gnome-dbus-send-fix.patch: Fix invalid syntax when calling dbus-send in XMonad.Config.Gnome. Closes: #780463.
---
 p/xmonad-contrib/debian/changelog                  |  7 +++++++
 .../debian/patches/gnome-dbus-send-fix.patch       | 23 ++++++++++++++++++++++
 p/xmonad-contrib/debian/patches/series             |  1 +
 3 files changed, 31 insertions(+)

diff --git a/p/xmonad-contrib/debian/changelog b/p/xmonad-contrib/debian/changelog
index c5d7733..b0b9d57 100644
--- a/p/xmonad-contrib/debian/changelog
+++ b/p/xmonad-contrib/debian/changelog
@@ -1,3 +1,10 @@
+xmonad-contrib (0.11.3-4) UNRELEASED; urgency=medium
+
+  * Add patch gnome-dbus-send-fix.patch: Fix invalid syntax when calling
+    dbus-send in XMonad.Config.Gnome. Closes: #780463.
+
+ -- Per Olofsson <pelle at debian.org>  Sat, 05 Sep 2015 10:47:35 +0200
+
 xmonad-contrib (0.11.3-3) unstable; urgency=medium
 
   * Upload to unstable
diff --git a/p/xmonad-contrib/debian/patches/gnome-dbus-send-fix.patch b/p/xmonad-contrib/debian/patches/gnome-dbus-send-fix.patch
new file mode 100644
index 0000000..b523582
--- /dev/null
+++ b/p/xmonad-contrib/debian/patches/gnome-dbus-send-fix.patch
@@ -0,0 +1,23 @@
+Description: Fix invalid syntax when calling dbus-send in XMonad.Config.Gnome
+ Use dbus-send --print-reply=literal instead of the invalid
+ --print-reply=string. The incorrect syntax used to be ignored
+ but not anymore.
+Author: Per Olofsson <pelle at debian.org>
+Bug-Debian: https://bugs.debian.org/780463
+Forwarded: not-needed
+Applied-Upstream: a7dd328b3938b51a86bade5a21f3364aec22547f
+Last-Update: 2015-07-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/XMonad/Config/Gnome.hs
++++ b/XMonad/Config/Gnome.hs
+@@ -74,7 +74,7 @@ gnomeRegister = io $ do
+     x <- lookup "DESKTOP_AUTOSTART_ID" `fmap` getEnvironment
+     whenJust x $ \sessionId -> safeSpawn "dbus-send"
+             ["--session"
+-            ,"--print-reply=string"
++            ,"--print-reply=literal"
+             ,"--dest=org.gnome.SessionManager"
+             ,"/org/gnome/SessionManager"
+             ,"org.gnome.SessionManager.RegisterClient"
+
diff --git a/p/xmonad-contrib/debian/patches/series b/p/xmonad-contrib/debian/patches/series
index 0df33a7..a63ce47 100644
--- a/p/xmonad-contrib/debian/patches/series
+++ b/p/xmonad-contrib/debian/patches/series
@@ -1 +1,2 @@
 use-x-www-browser.patch
+gnome-dbus-send-fix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list