Your message dated Sun, 20 Nov 2011 16:49:32 +0000
with message-id <[email protected]>
and subject line Bug#647791: fixed in xdg-utils 1.1.0~rc1-3
has caused the Debian Bug report #647791,
regarding xdg-screensaver: gnome-screensaver detected by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
647791: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647791
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xdg-utils
Version: 1.1.0~rc1-2
Severity: normal
Tags: patch

Hello,

The latest version of gnome-screensaver-command does not seem to exit 1 when
gnome-screensaver is not running. As a consequence, xdg-screensaver:966 always
considers gnome-screensaver is being used.

Here is a patch to correct that: it adds a grep to look for “not running” in
gnome-screensaver-command's stderr instead of relying on the exit code. I also
modified the xscreensaver detection line just above to use the quiet option of
grep, which is appropriate here.

Regards,

-- 
Tanguy Ortolo

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  libfile-mimeinfo-perl  <none>
ii  x11-utils              7.6+4 
ii  x11-xserver-utils      7.6+3 

Versions of packages xdg-utils suggests:
ii  gvfs-bin  1.8.2-2

-- no debconf information
--- xdg-screensaver.orig	2011-11-06 13:08:02.043310783 +0100
+++ xdg-screensaver	2011-11-06 13:16:09.024684848 +0100
@@ -961,9 +961,9 @@
 
 detectDE
 # Consider "xscreensaver" a separate DE
-xscreensaver-command -version 2> /dev/null | grep XScreenSaver > /dev/null && DE="xscreensaver"
+xscreensaver-command -version 2> /dev/null | grep -q XScreenSaver && DE="xscreensaver"
 # Consider "gnome-screensaver" a separate DE
-gnome-screensaver-command -q > /dev/null 2>&1 && DE="gnome_screensaver"
+gnome-screensaver-command -q 2>&1 | grep -qv "not running" && DE="gnome_screensaver"
 
 echo $DE
 

--- End Message ---
--- Begin Message ---
Source: xdg-utils
Source-Version: 1.1.0~rc1-3

We believe that the bug you reported is fixed in the latest version of
xdg-utils, which is due to be installed in the Debian FTP archive:

xdg-utils_1.1.0~rc1-3.debian.tar.gz
  to main/x/xdg-utils/xdg-utils_1.1.0~rc1-3.debian.tar.gz
xdg-utils_1.1.0~rc1-3.dsc
  to main/x/xdg-utils/xdg-utils_1.1.0~rc1-3.dsc
xdg-utils_1.1.0~rc1-3_all.deb
  to main/x/xdg-utils/xdg-utils_1.1.0~rc1-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Per Olofsson <[email protected]> (supplier of updated xdg-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 20 Nov 2011 17:38:38 +0100
Source: xdg-utils
Binary: xdg-utils
Architecture: source all
Version: 1.1.0~rc1-3
Distribution: unstable
Urgency: low
Maintainer: Per Olofsson <[email protected]>
Changed-By: Per Olofsson <[email protected]>
Description: 
 xdg-utils  - desktop integration utilities from freedesktop.org
Closes: 610155 647791 647794
Changes: 
 xdg-utils (1.1.0~rc1-3) unstable; urgency=low
 .
   [ Per Olofsson ]
   * Remove debian/patches/xserver-blanking.diff, already applied
     upstream. Thanks to Tanguy Ortolo for spotting this.
     Closes: #647794.
   * Add patch xdg-screensaver-check-gnome.diff: Use DBus API to check if
     gnome-screensaver is running, as gnome-screensaver-command no longer
     returns correct exit status. Thanks to Tanguy Ortolo for noticing
     this. Closes: #647791.
 .
   [ Ben Hutchings ]
   * Add patch xdg-screensaver-new-gnome.diff: Use DBus API for GNOME
     since gnome-screensaver-command --poke has been removed.
     Closes: #610155.
Checksums-Sha1: 
 807faf74ffe6e686e3e2133e73e11b8cad8c364a 1271 xdg-utils_1.1.0~rc1-3.dsc
 6086da188a99022768d171669a18e55b847fc28e 9317 
xdg-utils_1.1.0~rc1-3.debian.tar.gz
 bd782d0aa141fd0ee0de20df7c8211dab381ca81 70844 xdg-utils_1.1.0~rc1-3_all.deb
Checksums-Sha256: 
 6bc5c62c74e5cef205234533f95d7e7dfa4818f64a4aeb34fe1dfc839ee88421 1271 
xdg-utils_1.1.0~rc1-3.dsc
 b3cdc29d71a929b98a35f3af17e4724b9acb92530e2bbeb4ae4822e6586ef006 9317 
xdg-utils_1.1.0~rc1-3.debian.tar.gz
 249e6757c2006c6b90ccca44bcf725b9800e93117a157050ee8bbe4e68e9981d 70844 
xdg-utils_1.1.0~rc1-3_all.deb
Files: 
 e17224b98e7f93a4e8c261c7f4fb9617 1271 utils optional xdg-utils_1.1.0~rc1-3.dsc
 ed797498e1ce309e210f4f9ae490228c 9317 utils optional 
xdg-utils_1.1.0~rc1-3.debian.tar.gz
 0fe9c1228fa166a4213437a0ac5f28ed 70844 utils optional 
xdg-utils_1.1.0~rc1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7JLWkACgkQeDAsS42/7C9ifwCfc0fO3lUIjwUP6zoNYi38ogpC
Dl4AoLnvlvDI5TJXKymtaNrg53TZkKm4
=jyoO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to