[Pkg-haskell-maintainers] Bug#780463: wrong dbus-send syntax breaks XMonad.Config.Gnome

Per Olofsson pelle at debian.org
Sat Mar 14 13:13:42 UTC 2015


Package: libghc-xmonad-contrib-dev
Version: 0.11.3-1+pelle1
Severity: normal
Tags: upstream patch

Hi,

The XMonad.Config.Gnome module uses dbus-send to talk to
gnome-session, which speeds up the start when using Xmonad as the
window manager under Gnome. However, there is a syntax error in the
command line which worked previously but now doesn't. It's easy to
fix:

--- 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"


It has already been fixed upstream in darcs.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libghc-xmonad-contrib-dev depends on:
ii  ghc [libghc-unix-dev-2.6.0.1-4f219]                            7.6.3-20
ii  libc6                                                          2.19-15
pn  libghc-base-dev-4.6.0.1-8aa5d                                  <none>
pn  libghc-containers-dev-0.5.0.0-ab1da                            <none>
pn  libghc-directory-dev-1.2.0.1-91a78                             <none>
ii  libghc-extensible-exceptions-dev [libghc-extensible-exception  0.1.1.4-2
ii  libghc-mtl-dev [libghc-mtl-dev-2.1.2-94c72]                    2.1.2-4
pn  libghc-old-locale-dev-1.0.0.5-6729c                            <none>
pn  libghc-old-time-dev-1.1.0.1-2f8ea                              <none>
pn  libghc-process-dev-1.1.0.2-76e05                               <none>
ii  libghc-random-dev [libghc-random-dev-1.0.1.1-43fdc]            1.0.1.1-3
ii  libghc-utf8-string-dev [libghc-utf8-string-dev-0.3.7-26a8e]    0.3.7-3
ii  libghc-x11-dev [libghc-x11-dev-1.6.1.2-1bb20]                  1.6.1.2-1+b1
ii  libghc-x11-xft-dev [libghc-x11-xft-dev-0.3.1-2bbbb]            0.3.1-5+b3
ii  libghc-xmonad-dev [libghc-xmonad-dev-0.11-bd2b0]               0.11-9
ii  libx11-dev                                                     2:1.6.2-3
ii  libxinerama-dev                                                2:1.1.3-1+b1

libghc-xmonad-contrib-dev recommends no packages.

Versions of packages libghc-xmonad-contrib-dev suggests:
ii  libghc-xmonad-contrib-doc   0.11.3-1+pelle1
ii  libghc-xmonad-contrib-prof  0.11.3-1+pelle1

-- no debconf information



More information about the Pkg-haskell-maintainers mailing list