Your message dated Mon, 04 Jan 2010 19:32:25 +0000
with message-id <[email protected]>
and subject line Bug#560049: fixed in gnome-screensaver 2.28.0-2
has caused the Debian Bug report #560049,
regarding gnome-screensaver: idle timeout never reached when inhibitors left 
behind
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.)


-- 
560049: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560049
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnome-screensaver
Version: 2.28.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch



*** /tmp/tmpDxlqfP
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/09_remove_session_inhibitors.patch:
    - Fix issue when applications leave inhibitors behind. (LP: #411350)

We thought you might be interested in doing the same. 

Upstream bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=600488


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-proposed'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-15-generic (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u gnome-screensaver-2.28.0/debian/changelog gnome-screensaver-2.28.0/debian/changelog
only in patch2:
unchanged:
--- gnome-screensaver-2.28.0.orig/debian/patches/09_remove_session_inhibitors.patch
+++ gnome-screensaver-2.28.0/debian/patches/09_remove_session_inhibitors.patch
@@ -0,0 +1,79 @@
+Description: Fix issue when applications leave inhibitors behind.
+Origin: upstream, http://git.gnome.org/cgit/gnome-screensaver/commit/?id=284c9924969a49dbf2d5fae1d680d3310c4df4a3
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=600488
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/411350
+
+diff -Nur -x '*.orig' -x '*~' gnome-screensaver-2.28.0/src/gs-listener-dbus.c gnome-screensaver-2.28.0.new/src/gs-listener-dbus.c
+--- gnome-screensaver-2.28.0/src/gs-listener-dbus.c	2009-08-19 19:19:14.000000000 -0400
++++ gnome-screensaver-2.28.0.new/src/gs-listener-dbus.c	2009-12-07 08:07:11.000000000 -0500
+@@ -985,47 +985,40 @@
+ }
+ 
+ static gboolean
+-listener_ref_entry_has_connection (gpointer key,
+-                                   gpointer value,
+-                                   gpointer user_data)
+-{
+-        GSListenerRefEntry *entry;
+-        const char         *connection;
+-        gboolean            matches;
+-
+-        entry = (GSListenerRefEntry *)value;
+-        connection = (const char *) user_data;
+-
+-        matches = FALSE;
+-        if (connection != NULL && entry->connection != NULL) {
+-                matches = (strcmp (connection, entry->connection) == 0);
+-                if (matches) {
+-                        gs_debug ("removing %s from %s for reason '%s' on connection %s",
+-                                  get_name_for_entry_type (entry->entry_type),
+-                                  entry->application,
+-                                  entry->reason,
+-                                  entry->connection);
+-                }
+-        }
+-
+-        return matches;
+-}
+-
+-static gboolean
+ listener_ref_entry_remove_for_connection (GSListener  *listener,
+                                           int          entry_type,
+                                           const char  *connection)
+ {
+         gboolean    removed;
+-        guint       n_removed;
+         GHashTable *hash;
++        GHashTableIter iter;
++        GSListenerRefEntry *entry;
++
++        if (connection == NULL)
++                return FALSE;
+ 
+         hash = get_hash_for_entry_type (listener, entry_type);
+ 
+         removed = FALSE;
+-        n_removed = g_hash_table_foreach_remove (hash, listener_ref_entry_has_connection, (gpointer)connection);
++        g_hash_table_iter_init (&iter, hash);
++        while (g_hash_table_iter_next (&iter, NULL, (gpointer *)&entry)) {
++                if (entry->connection != NULL &&
++                    strcmp (connection, entry->connection) == 0) {
++                        gs_debug ("removing %s from %s for reason '%s' on connection %s",
++                                  get_name_for_entry_type (entry->entry_type),
++                                  entry->application,
++                                  entry->reason,
++                                  entry->connection);
++
++                        if (entry->entry_type == REF_ENTRY_TYPE_INHIBIT) {
++                                /* remove inhibit from gnome session */
++                                remove_session_inhibit (listener, entry);
++                        }
+ 
+-        removed = (n_removed > 0);
++                        g_hash_table_iter_remove (&iter);
++                        removed = TRUE;
++                }
++        }
+ 
+         return removed;
+ }

--- End Message ---
--- Begin Message ---
Source: gnome-screensaver
Source-Version: 2.28.0-2

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

gnome-screensaver_2.28.0-2.diff.gz
  to main/g/gnome-screensaver/gnome-screensaver_2.28.0-2.diff.gz
gnome-screensaver_2.28.0-2.dsc
  to main/g/gnome-screensaver/gnome-screensaver_2.28.0-2.dsc
gnome-screensaver_2.28.0-2_amd64.deb
  to main/g/gnome-screensaver/gnome-screensaver_2.28.0-2_amd64.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.
Josselin Mouette <[email protected]> (supplier of updated gnome-screensaver 
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: Mon, 04 Jan 2010 19:09:35 +0100
Source: gnome-screensaver
Binary: gnome-screensaver
Architecture: source amd64
Version: 2.28.0-2
Distribution: unstable
Urgency: low
Maintainer: Guilherme de S. Pastore <[email protected]>
Changed-By: Josselin Mouette <[email protected]>
Description: 
 gnome-screensaver - GNOME screen saver and locker
Closes: 559689 560049
Changes: 
 gnome-screensaver (2.28.0-2) unstable; urgency=low
 .
   * Move the autostart file to /usr/share/gnome/autostart.
   * Remove the old one in the postinst.
   * Removed libxxf86misc-dev build-dependency. This extension has been
     removed in Xorg 7.4. Closes: #559689.
   * Add quilt support.
   * 01_session_inhibitors.patch: stolen from upstream git. Fix a leak of
     session inhibitors. Closes: #560049.
Checksums-Sha1: 
 b1e49fbe7010e707bf43fae1db1dd73bfa00ac03 1935 gnome-screensaver_2.28.0-2.dsc
 61176bd595b2340ae5decad033350c57d334cbc0 13241 
gnome-screensaver_2.28.0-2.diff.gz
 0bcb9d431ca7ec669e13f9c1c14164bea64fc11e 4721342 
gnome-screensaver_2.28.0-2_amd64.deb
Checksums-Sha256: 
 724a97d090851347681ee37ef3ea091a50a189bb29995d2c8fb7f0b06d48c442 1935 
gnome-screensaver_2.28.0-2.dsc
 5ef093af8447f21224c22887c087225c930acb4169637bf4f6e7463ff277872c 13241 
gnome-screensaver_2.28.0-2.diff.gz
 3f5a3e5dffe44eb563cd9e0d0be1229e19d5c035fc23d527e1767bdabbafa304 4721342 
gnome-screensaver_2.28.0-2_amd64.deb
Files: 
 50969d55a046fbf3916a1b3fe0b9f606 1935 gnome optional 
gnome-screensaver_2.28.0-2.dsc
 18dd0b9696e70d6524f5cbb3075c155f 13241 gnome optional 
gnome-screensaver_2.28.0-2.diff.gz
 158cad890ae177e38fe1c13c2a2649eb 4721342 gnome optional 
gnome-screensaver_2.28.0-2_amd64.deb

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

iD8DBQFLQj7drSla4ddfhTMRAksnAJ4k2kk3s0EufC3vHu195l3Lal3VtwCfeAC1
PzBftxqxcVgp2LWixGA1dyg=
=YzhW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to