From 02634d51b77a1977c220197c2a52097a6ea59ce59bc30b668885223ac6627f3f Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 3 Aug 2011 15:00:10 +0000 Subject: [PATCH 1/5] Updating link to change in openSUSE:Factory/gnome-session revision 109.0 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=872083d0449ec5bf4437deba0bc9714e --- gnome-session.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome-session.spec b/gnome-session.spec index 18ec7d2..f4edbe1 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -19,7 +19,7 @@ Name: gnome-session Version: 3.1.3 -Release: 1 +Release: 2 License: GPLv2+ Summary: Session Tools for the GNOME Desktop Url: http://www.gnome.org From f58310826f737c972fe1be2de8cca5d89157a566a0212652cdec80cac1b64880 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 17 Aug 2011 21:38:30 +0000 Subject: [PATCH 2/5] Accepting request 78656 from home:dimstar:branches:GNOME:Factory Update to 3.1.3 OBS-URL: https://build.opensuse.org/request/show/78656 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=119 --- gnome-session-3.1.3.tar.bz2 | 3 --- gnome-session-3.1.5.tar.bz2 | 3 +++ gnome-session.changes | 12 ++++++++++++ gnome-session.spec | 4 ++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 gnome-session-3.1.3.tar.bz2 create mode 100644 gnome-session-3.1.5.tar.bz2 diff --git a/gnome-session-3.1.3.tar.bz2 b/gnome-session-3.1.3.tar.bz2 deleted file mode 100644 index 3dc476a..0000000 --- a/gnome-session-3.1.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cdaa1f5edf2f3efad63ca1de3c5ab671e7607370f35afb6ba5259cbeba64b19 -size 811215 diff --git a/gnome-session-3.1.5.tar.bz2 b/gnome-session-3.1.5.tar.bz2 new file mode 100644 index 0000000..8b05fa0 --- /dev/null +++ b/gnome-session-3.1.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e5f9ee2726ca055820511a0a1253383930743472c8ad6aa9f4a4344fc245b2e +size 809741 diff --git a/gnome-session.changes b/gnome-session.changes index 2c98a07..15aa8a8 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Aug 12 14:32:08 CEST 2011 - dimstar@opensuse.org + +- Update to version 3.1.5: + + Session Manager: + - Fix --help to mention arguments for options that have one + - Support XDG_CURRENT_DESKTOP + + Capplet: + - Respect OnlyShowIn and NotShowIn keys + - Code cleanup + + Updated translations. + ------------------------------------------------------------------- Fri Jul 22 18:08:04 CEST 2011 - vuntz@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index f4edbe1..4d318fb 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -18,8 +18,8 @@ Name: gnome-session -Version: 3.1.3 -Release: 2 +Version: 3.1.5 +Release: 1 License: GPLv2+ Summary: Session Tools for the GNOME Desktop Url: http://www.gnome.org From d1e25982f11c23955930eb9e98fe39120c68b6bb092e3d739a45bf6c0a56d9d1 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 2 Sep 2011 00:23:36 +0000 Subject: [PATCH 3/5] Accepting request 80584 from home:vuntz:branches:GNOME:Factory Update to 3.1.90 OBS-URL: https://build.opensuse.org/request/show/80584 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=120 --- gnome-session-3.1.5.tar.bz2 | 3 --- gnome-session-3.1.90.tar.bz2 | 3 +++ gnome-session.changes | 16 ++++++++++++++++ gnome-session.spec | 5 ++--- 4 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 gnome-session-3.1.5.tar.bz2 create mode 100644 gnome-session-3.1.90.tar.bz2 diff --git a/gnome-session-3.1.5.tar.bz2 b/gnome-session-3.1.5.tar.bz2 deleted file mode 100644 index 8b05fa0..0000000 --- a/gnome-session-3.1.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e5f9ee2726ca055820511a0a1253383930743472c8ad6aa9f4a4344fc245b2e -size 809741 diff --git a/gnome-session-3.1.90.tar.bz2 b/gnome-session-3.1.90.tar.bz2 new file mode 100644 index 0000000..6496a16 --- /dev/null +++ b/gnome-session-3.1.90.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:535d8577b3f238f343897a609ebe4279882b58e7b113ef52bbfef56f2fdf5375 +size 802032 diff --git a/gnome-session.changes b/gnome-session.changes index 15aa8a8..7fac986 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Aug 30 16:31:11 CEST 2011 - vuntz@opensuse.org + +- Update to version 3.1.90: + + Session Manager + - Support for debugging the fail whale dialog + - Show gnome-shell extensions in the fail whale dialog + - Respect lockdown in the fail whale dialog + - Add an IsSessionRunning DBus method + - Remove obsolete gconf sanity check + + Updated translations. +- Add pkgconfig(json-glib-1.0) BuildRequires: new dependency. +- Remove gconf-sanity-check BuildRequires, as well as + gconf-sanity-check Requires for core subpackage: the gconf checks + are now gone. + ------------------------------------------------------------------- Fri Aug 12 14:32:08 CEST 2011 - dimstar@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index 4d318fb..d8d276c 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -18,7 +18,7 @@ Name: gnome-session -Version: 3.1.5 +Version: 3.1.90 Release: 1 License: GPLv2+ Summary: Session Tools for the GNOME Desktop @@ -38,7 +38,6 @@ Patch2: gnome-session-wm-switch.patch # PATCH-NEEDS-REBASE gnome-session-bgo507101-tile-ui.patch bgo507101 vuntz@novell.com -- Tile UI for logout dialog. (Was: PATCH-FIX-UPSTREAM) Patch3: gnome-session-bgo507101-tile-ui.patch BuildRequires: fdupes -BuildRequires: gconf-sanity-check BuildRequires: gnome-common BuildRequires: gnome-patch-translation BuildRequires: hicolor-icon-theme @@ -52,6 +51,7 @@ BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(json-glib-1.0) >= 0.10 BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(xau) @@ -104,7 +104,6 @@ License: GPLv2+ Summary: Session Manager for GNOME -- Minimal Version Requires: ConsoleKit Requires: dbus-1-x11 -Requires: gconf-sanity-check Requires: gsettings-desktop-schemas >= 0.1.7 Requires: hicolor-icon-theme %glib2_gsettings_schema_requires From 50cfcd83f6b5413794a3445df868ef0e5ee8f0bce382808f3be1f1e9ba0394ea Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Mon, 5 Sep 2011 08:15:49 +0000 Subject: [PATCH 4/5] Accepting request 80875 from home:vuntz:branches:GNOME:Factory Update to 3.1.91 OBS-URL: https://build.opensuse.org/request/show/80875 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=121 --- gnome-session-3.1.90.tar.bz2 | 3 --- gnome-session-3.1.91.tar.bz2 | 3 +++ gnome-session.changes | 9 +++++++++ gnome-session.spec | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 gnome-session-3.1.90.tar.bz2 create mode 100644 gnome-session-3.1.91.tar.bz2 diff --git a/gnome-session-3.1.90.tar.bz2 b/gnome-session-3.1.90.tar.bz2 deleted file mode 100644 index 6496a16..0000000 --- a/gnome-session-3.1.90.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:535d8577b3f238f343897a609ebe4279882b58e7b113ef52bbfef56f2fdf5375 -size 802032 diff --git a/gnome-session-3.1.91.tar.bz2 b/gnome-session-3.1.91.tar.bz2 new file mode 100644 index 0000000..cbb0873 --- /dev/null +++ b/gnome-session-3.1.91.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14588110477eabd70496d1d97278223495311634cff712c1f228e1acf1a4d9c3 +size 815368 diff --git a/gnome-session.changes b/gnome-session.changes index 7fac986..a817d51 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 5 07:33:53 UTC 2011 - vuntz@opensuse.org + +- Update to version 3.1.91: + + Session Manager + - Fix usage of %lld for 64-bit formats + - Add a translator comment + + Updated translations. + ------------------------------------------------------------------- Tue Aug 30 16:31:11 CEST 2011 - vuntz@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index d8d276c..5cebb10 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -18,7 +18,7 @@ Name: gnome-session -Version: 3.1.90 +Version: 3.1.91 Release: 1 License: GPLv2+ Summary: Session Tools for the GNOME Desktop From a2085a53454444183c8e13af0a955e19ecc7ae654783b90c1688ab239a3782f9 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 9 Sep 2011 08:15:20 +0000 Subject: [PATCH 5/5] Accepting request 81637 from home:vuntz:branches:GNOME:Factory Fixes to work well with new gdm OBS-URL: https://build.opensuse.org/request/show/81637 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=122 --- gnome-session-dbus-disconnected.patch | 127 ++++++++++++++++++++++++++ gnome-session.changes | 7 ++ gnome-session.spec | 3 + 3 files changed, 137 insertions(+) create mode 100644 gnome-session-dbus-disconnected.patch diff --git a/gnome-session-dbus-disconnected.patch b/gnome-session-dbus-disconnected.patch new file mode 100644 index 0000000..2ba0a3c --- /dev/null +++ b/gnome-session-dbus-disconnected.patch @@ -0,0 +1,127 @@ +diff --git a/gnome-session/gsm-consolekit.c b/gnome-session/gsm-consolekit.c +index f53993f..66bebd1 100644 +--- a/gnome-session/gsm-consolekit.c ++++ b/gnome-session/gsm-consolekit.c +@@ -152,7 +152,8 @@ gsm_consolekit_dbus_filter (DBusConnection *connection, + DBUS_INTERFACE_LOCAL, "Disconnected") && + strcmp (dbus_message_get_path (message), DBUS_PATH_LOCAL) == 0) { + gsm_consolekit_free_dbus (manager); +- return DBUS_HANDLER_RESULT_HANDLED; ++ /* let other filters get this disconnected signal, so that they ++ * can handle it too */ + } + + return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; +diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c +index b531197..2d74d40 100644 +--- a/gnome-session/gsm-manager.c ++++ b/gnome-session/gsm-manager.c +@@ -151,6 +151,7 @@ struct GsmManagerPrivate + + DBusGProxy *bus_proxy; + DBusGConnection *connection; ++ gboolean dbus_disconnected : 1; + + /* Interface with other parts of the system */ + UpClient *up_client; +@@ -1814,6 +1815,11 @@ _disconnect_client (GsmManager *manager, + "phase"); + } + ++ if (manager->priv->dbus_disconnected && GSM_IS_DBUS_CLIENT (client)) { ++ g_debug ("GsmManager: dbus disconnected, not restarting application"); ++ goto out; ++ } ++ + if (app == NULL) { + g_debug ("GsmManager: unable to find application for client - not restarting"); + goto out; +@@ -1872,6 +1878,12 @@ _disconnect_dbus_client (const char *id, + return FALSE; + } + ++ /* If no service name, then we simply disconnect all clients */ ++ if (!data->service_name) { ++ _disconnect_client (data->manager, client); ++ return TRUE; ++ } ++ + name = gsm_dbus_client_get_bus_name (GSM_DBUS_CLIENT (client)); + if (IS_STRING_EMPTY (name)) { + return FALSE; +@@ -1885,6 +1897,15 @@ _disconnect_dbus_client (const char *id, + return FALSE; + } + ++/** ++ * remove_clients_for_connection: ++ * @manager: a #GsmManager ++ * @service_name: a service name ++ * ++ * Disconnects clients that own @service_name. ++ * ++ * If @service_name is NULL, then disconnects all clients for the connection. ++ */ + static void + remove_clients_for_connection (GsmManager *manager, + const char *service_name) +@@ -1968,10 +1989,32 @@ bus_name_owner_changed (DBusGProxy *bus_proxy, + } + } + ++static DBusHandlerResult ++gsm_manager_bus_filter (DBusConnection *connection, ++ DBusMessage *message, ++ void *user_data) ++{ ++ GsmManager *manager; ++ ++ manager = GSM_MANAGER (user_data); ++ ++ if (dbus_message_is_signal (message, ++ DBUS_INTERFACE_LOCAL, "Disconnected") && ++ strcmp (dbus_message_get_path (message), DBUS_PATH_LOCAL) == 0) { ++ g_debug ("GsmManager: dbus disconnected; disconnecting dbus clients..."); ++ manager->priv->dbus_disconnected = TRUE; ++ remove_clients_for_connection (manager, NULL); ++ /* let other filters get this disconnected signal, so that they ++ * can handle it too */ ++ } ++ ++ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; ++} + static gboolean + register_manager (GsmManager *manager) + { + GError *error = NULL; ++ DBusConnection *connection; + + error = NULL; + manager->priv->connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); +@@ -1983,6 +2026,12 @@ register_manager (GsmManager *manager) + exit (1); + } + ++ connection = dbus_g_connection_get_connection (manager->priv->connection); ++ dbus_connection_add_filter (connection, ++ gsm_manager_bus_filter, ++ manager, NULL); ++ manager->priv->dbus_disconnected = FALSE; ++ + manager->priv->bus_proxy = dbus_g_proxy_new_for_name (manager->priv->connection, + DBUS_SERVICE_DBUS, + DBUS_PATH_DBUS, +diff --git a/gnome-session/gsm-shell.c b/gnome-session/gsm-shell.c +index 0b26f09..9785160 100644 +--- a/gnome-session/gsm-shell.c ++++ b/gnome-session/gsm-shell.c +@@ -228,7 +228,8 @@ gsm_shell_bus_filter (DBusConnection *connection, + DBUS_INTERFACE_LOCAL, "Disconnected") && + strcmp (dbus_message_get_path (message), DBUS_PATH_LOCAL) == 0) { + gsm_shell_disconnect_from_bus (shell); +- return DBUS_HANDLER_RESULT_HANDLED; ++ /* let other filters get this disconnected signal, so that they ++ * can handle it too */ + } + + return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; diff --git a/gnome-session.changes b/gnome-session.changes index a817d51..6610a9e 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 9 08:00:56 UTC 2011 - vuntz@opensuse.org + +- Add gnome-session-dbus-disconnected.patch: this fixes the case + where the session bus quits before gnome-session, so we can + properly terminate the session. Helps make the new gdm work. + ------------------------------------------------------------------- Mon Sep 5 07:33:53 UTC 2011 - vuntz@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index 5cebb10..82bdeb3 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -37,6 +37,8 @@ Patch1: gnome-session-kdm-support.patch Patch2: gnome-session-wm-switch.patch # PATCH-NEEDS-REBASE gnome-session-bgo507101-tile-ui.patch bgo507101 vuntz@novell.com -- Tile UI for logout dialog. (Was: PATCH-FIX-UPSTREAM) Patch3: gnome-session-bgo507101-tile-ui.patch +# PATCH-FIX-UPSTREAM gnome-session-dbus-disconnected.patch vuntz@opensuse.org -- Various fixes for the case where dbus quits early; helps with the new gdm. Taken from git. +Patch4: gnome-session-dbus-disconnected.patch BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: gnome-patch-translation @@ -125,6 +127,7 @@ translation-update-upstream #%patch2 -p1 # needs-rebase #%patch3 -p0 +%patch4 -p1 # gnome-patch-translation-update %build