Hello community,
here is the log from the commit of package gnome-session
checked in at Thu Jul 12 01:21:02 CEST 2007.
--------
--- GNOME/gnome-session/gnome-session.changes 2007-04-04 14:58:34.000000000 +0200
+++ /mounts/work_src_done/STABLE/gnome-session/gnome-session.changes 2007-07-11 17:28:54.970529000 +0200
@@ -1,0 +2,117 @@
+Tue Jul 10 16:25:12 CEST 2007 - maw@suse.de
+
+- Update to version 2.19.4
+==============
+Version 2.19.4
+==============
+
+Session Manager
+
+ * Use g_timeout_add_seconds() when possible (Vincent)
+ * Improve a bit "wrong clock" check when the user has reconfigured his
+ clock (Vincent)
+ * Fix crash when icons on the splash screen needs to be relayout-ed
+ (Vincent)
+ * Fix compilation issue on Solaris (Vincent)
+
+Session Properties Dialog
+
+ * Fix a crash when the comment for a .desktop file is not defined and a
+ startup program is disabled (Vincent)
+
+Misc
+
+ * Require glib 2.13.0
+
+Translators
+
+ * Tshewang Norbu (dz)
+
+==============
+Version 2.19.3
+==============
+
+Session Manager
+
+ * Don't do logout fade if there's a compositing manager running
+ (Ray Strode, Bastien Nocera)
+ * Start accessibility if GNOME_ACCESSIBILITY is set (Wouter Bolsterlee,
+ Vincent)
+
+Session Properties Dialog
+
+ * Small code cleanup (Vincent)
+
+Translators
+
+ * David Lodge (en_GB)
+ * Jorge González (es)
+ * Ivar Smolin (et)
+ * Espen Stefansen (nb)
+ * Daniel Nylander (sv)
+ * Theppitak Karoonboonyanan (th)
+
+===============
+Version 2.19.2
+===============
+
+Session Manager
+
+ * Use g_usleep() instead of usleep() (Bastien Nocera)
+ * Don't hardcode start of assistive technologies software (Ariel Rios,
+ Vincent)
+ * Fix splash screen in RTL environments (Yair Hershkovitz)
+ * Improve splash screen on old displays (Fedora patch)
+ * Make it possible to use a shaped window for the splash screen
+ (Fedora patch, Vincent)
+ * Display the name of the started application in splash screen even if
+ there's no icon (Vincent)
+ * Don't use deprecated functions (Christian Persch, Vincent)
+ * Don't hardcode esound for the sound daemon (Matthias Clasen, Vincent)
+ * Make the fade on logout faster (Christof Krüger)
+ * Plug leaks (Vincent)
+ * Warn the user if he logs in as root (Vincent, Dan Winship)
+ * Warn the user if the clock is totally wrong and let him launch a
+ config tool (Vincent, Dan Winship)
+ * Change strings about saving the session to be more user-friendly
+ (Vincent)
+ * Remove workaround that chrooted esd to / (fixed in esd) (Vincent)
+ * Make it possible to save a session with multiple clients that are the
+ same program (Hans de Goede, Dan Winship)
+ * Use the new socket path for GDM (Loïc Minier)
+
+Session Properties Dialog
+
+ * Use Add/Remove instead of New/Delete for handling startup programs
+ (Luca Ferretti)
+ * Show the comments in the startup programs list (Vincent)
+ * Change strings about saving the session to be more user-friendly
+ (Vincent)
+ * Make it possible to sort the program lists by clicking on the headers
+ (Vincent)
+ * Create a non-localized version of the Comment field in .desktop files
+ if necessary (Vincent)
+
+Misc
+
+ * Remove xrdb check (Andreas Hanke)
+ * Build fixes (Andreas Hanke, Christian Persch)
+ * Require glib 2.12.0 (Vincent)
+ * Add --with-time-utility configure flag to set the executable that is
+ used to configure the time of the computer (Vincent)
+ * Don't require libgnome-desktop anymore (Vincent)
+ * Add support for beryl in gnome-wm (Alex)
+
+Translators
+
+ * Peter Bach (da)
+ * Jorge González (es)
+ * Ivar Smolin (et)
+ * Iñaki Larrañaga Murgoitio (eu)
+ * Ignacio Casal Quinteiro (gl)
+ * Yair Hershkovitz (he)
+ * Espen Stefansen (nb)
+ * Yannig MARCHEGAY (Kokoyaya) (oc)
+ * Yang Zhang (zh_CN)
+
+-------------------------------------------------------------------
Old:
----
gnome-session-2.0.5-dithering.patch
gnome-session-2.18.0.tar.bz2
gnome-session-bug_255906.patch
gnome-session-speedup.patch
New:
----
gnome-session-2.19.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-session.spec ++++++
--- /var/tmp/diff_new_pack.XL1034/_old 2007-07-12 01:20:17.000000000 +0200
+++ /var/tmp/diff_new_pack.XL1034/_new 2007-07-12 01:20:17.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gnome-session (Version 2.18.0)
+# spec file for package gnome-session (Version 2.19.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,33 +13,32 @@
Name: gnome-session
BuildRequires: CASA-devel control-center2-devel gnome-common gnome-desktop-devel gnome-keyring gnome-patch-translation hicolor-icon-theme intltool libglade2-devel libnotify-devel perl-XML-Parser tcpd-devel update-desktop-files
# for xrdb resp. rsh checks:
-License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
+License: GPL v2 or later, LGPL v2 or later
Group: System/GUI/GNOME
-Version: 2.18.0
-Release: 6
+Version: 2.19.4
+Release: 1
Summary: Session Tools for the GNOME 2.x Desktop
Source: %{name}-%{version}.tar.bz2
Source1: gnome
Source2: gnome.desktop
-Patch1: gnome-session-2.0.5-dithering.patch
-Patch4: gnome-session-suspend.patch
-Patch6: gnome-session-DESKTOP_LAUNCH.patch
-Patch7: gnome-session-splash-screen.diff
-Patch8: gnome-session-remove-dns-warning.patch
-Patch12: gnome-session-speedup.patch
-Patch16: gnome-session-2.12.0-xgl-display-modal-2.patch
-Patch18: gnome-session-2.12.0-su-session-management.patch
-Patch19: gnome-session-2.12.0-unlock-keyring.patch
-Patch21: gnome-session-2.12.0-kdm-support.patch
-Patch22: gnome-session-motd.patch
-Patch24: gnome-session-dist-splash.patch
-Patch26: gnome-session-compiz.patch
-Patch27: gnome-session-migrate-session-manual.patch
-Patch29: gnome-session-wm-switch.patch
+Patch0: gnome-session-suspend.patch
+Patch1: gnome-session-DESKTOP_LAUNCH.patch
+Patch2: gnome-session-splash-screen.diff
+Patch3: gnome-session-remove-dns-warning.patch
+# Patch12 probably can go.
+### Patch12: gnome-session-speedup.patch
+Patch4: gnome-session-2.12.0-xgl-display-modal-2.patch
+Patch5: gnome-session-2.12.0-su-session-management.patch
+Patch6: gnome-session-2.12.0-unlock-keyring.patch
+Patch7: gnome-session-2.12.0-kdm-support.patch
+Patch8: gnome-session-motd.patch
+Patch9: gnome-session-dist-splash.patch
+Patch10: gnome-session-compiz.patch
+Patch11: gnome-session-migrate-session-manual.patch
+Patch12: gnome-session-wm-switch.patch
# FIXME: This doesn't apply. Somebody should go through it and
# make it apply.
-Patch30: gnome-session-tile-ui.patch
-Patch31: gnome-session-bug_255906.patch
+Patch13: gnome-session-tile-ui.patch
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
@@ -70,25 +69,23 @@
%prep
%setup -q
gnome-patch-translation-prepare
+%patch0
%patch1 -p1
+%patch2 -p1
+%patch3
+### %patch12
%patch4
-%patch6 -p1
+%patch5 -p1
+#%patch6 -p1
+%if %suse_version > 1000
%patch7 -p1
%patch8
+%patch9 -p0
+%patch10
+%patch11 -p1
%patch12
-%patch16
-%patch18 -p1
-#%patch19 -p1
-%if %suse_version > 1000
-%patch21 -p1
-%patch22
-%patch24 -p0
-%patch26
-%patch27 -p1
-%patch29
-# %patch30 -p1
+# %patch13 -p1
%endif
-%patch31
gnome-patch-translation-update
%build
@@ -138,6 +135,96 @@
%endif
%changelog
+* Tue Jul 10 2007 - maw@suse.de
+- Update to version 2.19.4
+ ==============
+ Version 2.19.4
+ ==============
+ Session Manager
+ * Use g_timeout_add_seconds() when possible (Vincent)
+ * Improve a bit "wrong clock" check when the user has reconfigured his
+ clock (Vincent)
+ * Fix crash when icons on the splash screen needs to be relayout-ed
+ (Vincent)
+ * Fix compilation issue on Solaris (Vincent)
+ Session Properties Dialog
+ * Fix a crash when the comment for a .desktop file is not defined and a
+ startup program is disabled (Vincent)
+ Misc
+ * Require glib 2.13.0
+ Translators
+ * Tshewang Norbu (dz)
+ ==============
+ Version 2.19.3
+ ==============
+ Session Manager
+ * Don't do logout fade if there's a compositing manager running
+ (Ray Strode, Bastien Nocera)
+ * Start accessibility if GNOME_ACCESSIBILITY is set (Wouter Bolsterlee,
+ Vincent)
+ Session Properties Dialog
+ * Small code cleanup (Vincent)
+ Translators
+ * David Lodge (en_GB)
+ * Jorge González (es)
+ * Ivar Smolin (et)
+ * Espen Stefansen (nb)
+ * Daniel Nylander (sv)
+ * Theppitak Karoonboonyanan (th)
+ ===============
+ Version 2.19.2
+ ===============
+ Session Manager
+ * Use g_usleep() instead of usleep() (Bastien Nocera)
+ * Don't hardcode start of assistive technologies software (Ariel Rios,
+ Vincent)
+ * Fix splash screen in RTL environments (Yair Hershkovitz)
+ * Improve splash screen on old displays (Fedora patch)
+ * Make it possible to use a shaped window for the splash screen
+ (Fedora patch, Vincent)
+ * Display the name of the started application in splash screen even if
+ there's no icon (Vincent)
+ * Don't use deprecated functions (Christian Persch, Vincent)
+ * Don't hardcode esound for the sound daemon (Matthias Clasen, Vincent)
+ * Make the fade on logout faster (Christof Krüger)
+ * Plug leaks (Vincent)
+ * Warn the user if he logs in as root (Vincent, Dan Winship)
+ * Warn the user if the clock is totally wrong and let him launch a
+ config tool (Vincent, Dan Winship)
+ * Change strings about saving the session to be more user-friendly
+ (Vincent)
+ * Remove workaround that chrooted esd to / (fixed in esd) (Vincent)
+ * Make it possible to save a session with multiple clients that are the
+ same program (Hans de Goede, Dan Winship)
+ * Use the new socket path for GDM (Loïc Minier)
+ Session Properties Dialog
+ * Use Add/Remove instead of New/Delete for handling startup programs
+ (Luca Ferretti)
+ * Show the comments in the startup programs list (Vincent)
+ * Change strings about saving the session to be more user-friendly
+ (Vincent)
+ * Make it possible to sort the program lists by clicking on the headers
+ (Vincent)
+ * Create a non-localized version of the Comment field in .desktop files
+ if necessary (Vincent)
+ Misc
+ * Remove xrdb check (Andreas Hanke)
+ * Build fixes (Andreas Hanke, Christian Persch)
+ * Require glib 2.12.0 (Vincent)
+ * Add --with-time-utility configure flag to set the executable that is
+ used to configure the time of the computer (Vincent)
+ * Don't require libgnome-desktop anymore (Vincent)
+ * Add support for beryl in gnome-wm (Alex)
+ Translators
+ * Peter Bach (da)
+ * Jorge González (es)
+ * Ivar Smolin (et)
+ * Iñaki Larrañaga Murgoitio (eu)
+ * Ignacio Casal Quinteiro (gl)
+ * Yair Hershkovitz (he)
+ * Espen Stefansen (nb)
+ * Yannig MARCHEGAY (Kokoyaya) (oc)
+ * Yang Zhang (zh_CN)
* Wed Apr 04 2007 - sbrabec@suse.cz
- Session start script (gnome) cleanup (#254439).
* Tue Apr 03 2007 - jhargadon@suse.de
++++++ gnome-session-2.12.0-kdm-support.patch ++++++
--- /var/tmp/diff_new_pack.XL1034/_old 2007-07-12 01:20:17.000000000 +0200
+++ /var/tmp/diff_new_pack.XL1034/_new 2007-07-12 01:20:17.000000000 +0200
@@ -1,5 +1,7 @@
---- gnome-session-2.15.91/gnome-session/gdm-logout-action.c
-+++ gnome-session-2.15.91/gnome-session/gdm-logout-action.c
+Index: gnome-session-2.19.4/gnome-session/gdm-logout-action.c
+===================================================================
+--- gnome-session-2.19.4.orig/gnome-session/gdm-logout-action.c
++++ gnome-session-2.19.4/gnome-session/gdm-logout-action.c
@@ -56,6 +56,8 @@
#define GDM_ACTION_STR_REBOOT "REBOOT"
#define GDM_ACTION_STR_SUSPEND "SUSPEND"
@@ -9,7 +11,7 @@
typedef struct {
int fd;
char *auth_cookie;
-@@ -64,6 +66,8 @@
+@@ -64,6 +66,8 @@ typedef struct {
GdmLogoutAction current_actions;
time_t last_update;
@@ -18,7 +20,7 @@
} GdmProtocolData;
static GdmProtocolData gdm_protocol_data = {
-@@ -71,11 +75,12 @@
+@@ -71,11 +75,12 @@ static GdmProtocolData gdm_protocol_data
NULL,
GDM_LOGOUT_ACTION_NONE,
GDM_LOGOUT_ACTION_NONE,
@@ -33,7 +35,7 @@
const char *msg)
{
GString *retval;
-@@ -87,7 +92,7 @@
+@@ -87,7 +92,7 @@ gdm_send_protocol_msg (GdmProtocolData *
if (write (data->fd, p, strlen (p)) < 0) {
g_free (p);
@@ -42,7 +44,7 @@
g_strerror (errno));
return NULL;
}
-@@ -153,7 +158,7 @@
+@@ -153,7 +158,7 @@ gdm_authenticate_connection (GdmProtocol
msg = g_strdup_printf (GDM_PROTOCOL_MSG_AUTHENTICATE " %s",
data->auth_cookie);
@@ -51,7 +53,7 @@
g_free (msg);
if (response && !strcmp (response, "OK")) {
-@@ -195,7 +200,7 @@
+@@ -195,7 +200,7 @@ gdm_authenticate_connection (GdmProtocol
XauDisposeAuth (xau);
msg = g_strdup_printf (GDM_PROTOCOL_MSG_AUTHENTICATE " %s", buffer);
@@ -60,7 +62,7 @@
g_free (msg);
if (response && !strcmp (response, "OK")) {
-@@ -218,7 +223,7 @@
+@@ -218,7 +223,7 @@ gdm_authenticate_connection (GdmProtocol
}
static void
@@ -69,7 +71,16 @@
{
if (data->fd)
close (data->fd);
-@@ -237,7 +242,7 @@
+@@ -226,7 +231,7 @@ gdm_shutdown_protocol_connection (GdmPro
+ }
+
+ static gboolean
+-gdm_init_protocol_connection (GdmProtocolData *data)
++dm_init_protocol_connection (GdmProtocolData *data)
+ {
+ struct sockaddr_un addr;
+ char *response;
+@@ -237,7 +242,7 @@ gdm_init_protocol_connection (GdmProtoco
if (data->fd < 0) {
g_warning ("Failed to create GDM socket: %s",
g_strerror (errno));
@@ -77,13 +88,13 @@
+ dm_shutdown_protocol_connection (data);
return FALSE;
}
-
-@@ -247,29 +252,93 @@
+
+@@ -251,16 +256,16 @@ gdm_init_protocol_connection (GdmProtoco
if (connect (data->fd, (struct sockaddr *) &addr, sizeof (addr)) < 0) {
g_warning ("Failed to establish a connection with GDM: %s",
g_strerror (errno));
- gdm_shutdown_protocol_connection (data);
-+ dm_shutdown_protocol_connection (data);
++ dm_shutdown_protocol_connection (data);
return FALSE;
}
@@ -94,89 +105,20 @@
g_warning ("Failed to get protocol version from GDM");
- gdm_shutdown_protocol_connection (data);
-+ dm_shutdown_protocol_connection (data);
++ dm_shutdown_protocol_connection (data);
return FALSE;
}
+@@ -268,7 +273,7 @@ gdm_init_protocol_connection (GdmProtoco
if (!gdm_authenticate_connection (data)) {
g_warning ("Failed to authenticate with GDM");
- gdm_shutdown_protocol_connection (data);
-+ dm_shutdown_protocol_connection (data);
++ dm_shutdown_protocol_connection (data);
return FALSE;
}
- return TRUE;
- }
-
-+static gboolean
-+kdm_init_protocol_connection (GdmProtocolData *data)
-+{
-+ struct sockaddr_un addr;
-+ char *response;
-+ char *dm_display;
-+ char *dm_control;
-+ char *p0 = NULL;
-+
-+ g_assert (data->fd <= 0);
-+
-+ data->fd = socket (AF_UNIX, SOCK_STREAM, 0);
-+ if (data->fd < 0) {
-+ g_warning ("Failed to create KDM socket: %s",
-+ g_strerror (errno));
-+ dm_shutdown_protocol_connection (data);
-+ return FALSE;
-+ }
-+
-+ dm_display = g_strdup (g_getenv ("DISPLAY"));
-+ dm_control = g_strdup (g_getenv ("DM_CONTROL"));
-+
-+ if (dm_display && (p0 = strchr (dm_display, ':')))
-+ p0 = strchr (p0, '.');
-+
-+ if (!dm_control || !strlen (dm_control) ||
-+ !dm_display || !strlen (dm_display)) {
-+ g_free (dm_control);
-+ g_free (dm_display);
-+
-+ g_warning ("Could not locate KDM socket.");
-+ dm_shutdown_protocol_connection (data);
-+ return FALSE;
-+ }
-+
-+ snprintf (addr.sun_path, sizeof (addr.sun_path), "%s/dmctl-%.*s/socket",
-+ dm_control, p0 ? p0 - dm_display : 512, dm_display);
-+ addr.sun_family = AF_UNIX;
-+
-+ g_free (dm_display);
-+ g_free (dm_control);
-+
-+ if (connect (data->fd, (struct sockaddr *) &addr, sizeof (addr)) < 0) {
-+ g_warning ("Failed to establish a connection with KDM: %s",
-+ g_strerror (errno));
-+ dm_shutdown_protocol_connection (data);
-+ return FALSE;
-+ }
-+
-+ return TRUE;
-+}
-+
-+static gboolean
-+dm_init_protocol_connection (GdmProtocolData *data)
-+{
-+ if (g_getenv ("DM_CONTROL") && !g_getenv ("GDMSESSION")) {
-+ data->is_kdm = TRUE;
-+ return kdm_init_protocol_connection (data);
-+ }
-+
-+ data->is_kdm = FALSE;
-+ return gdm_init_protocol_connection (data);
-+}
-+
- static void
- gdm_parse_query_response (GdmProtocolData *data,
- const char *response)
-@@ -317,7 +386,21 @@
+@@ -322,7 +327,21 @@ gdm_parse_query_response (GdmProtocolDat
}
static void
@@ -199,7 +141,7 @@
{
time_t current_time;
char *response;
-@@ -328,21 +411,30 @@
+@@ -333,21 +352,30 @@ gdm_update_logout_actions (GdmProtocolDa
data->last_update = current_time;
@@ -238,7 +180,7 @@
return (gdm_protocol_data.available_actions & action) != 0;
}
-@@ -350,20 +442,15 @@
+@@ -355,20 +383,15 @@ gdm_supports_logout_action (GdmLogoutAct
GdmLogoutAction
gdm_get_logout_action (void)
{
@@ -262,7 +204,7 @@
switch (action) {
case GDM_LOGOUT_ACTION_NONE:
-@@ -380,14 +467,48 @@
+@@ -385,14 +408,48 @@ gdm_set_logout_action (GdmLogoutAction a
break;
}
++++++ gnome-session-2.12.0-su-session-management.patch ++++++
--- /var/tmp/diff_new_pack.XL1034/_old 2007-07-12 01:20:17.000000000 +0200
+++ /var/tmp/diff_new_pack.XL1034/_new 2007-07-12 01:20:17.000000000 +0200
@@ -1,18 +1,20 @@
-diff -Nurp gnome-session-2.12.0-pre/gnome-session/ice.c gnome-session-2.12.0-post/gnome-session/ice.c
---- gnome-session-2.12.0-pre/gnome-session/ice.c 2005-05-17 08:59:05.000000000 -0500
-+++ gnome-session-2.12.0-post/gnome-session/ice.c 2006-01-26 22:02:49.000000000 -0600
-@@ -379,6 +379,8 @@ initialize_ice (void)
-
- p = g_strconcat (ENVNAME "=", ids, NULL);
- putenv (p);
+Index: gnome-session-2.19.4/gnome-session/ice.c
+===================================================================
+--- gnome-session-2.19.4.orig/gnome-session/ice.c
++++ gnome-session-2.19.4/gnome-session/ice.c
+@@ -384,6 +384,8 @@ initialize_ice (void)
+ ids = IceComposeNetworkIdList (num_sockets, sockets);
+ g_setenv (ENVNAME, ids, TRUE);
+ free (ids);
+
+ putenv (g_strconcat (ICE_AUTHORITY_ENV_NAME "=", authfile, NULL));
ice_depth = 0; /* We are live */
}
-diff -Nurp gnome-session-2.12.0-pre/gnome-session/ice.h gnome-session-2.12.0-post/gnome-session/ice.h
---- gnome-session-2.12.0-pre/gnome-session/ice.h 2001-05-10 17:09:15.000000000 -0500
-+++ gnome-session-2.12.0-post/gnome-session/ice.h 2006-01-26 21:51:35.000000000 -0600
+Index: gnome-session-2.19.4/gnome-session/ice.h
+===================================================================
+--- gnome-session-2.19.4.orig/gnome-session/ice.h
++++ gnome-session-2.19.4/gnome-session/ice.h
@@ -24,6 +24,7 @@
#define MAGIC_COOKIE_LEN 16
++++++ gnome-session-2.12.0-xgl-display-modal-2.patch ++++++
--- /var/tmp/diff_new_pack.XL1034/_old 2007-07-12 01:20:17.000000000 +0200
+++ /var/tmp/diff_new_pack.XL1034/_new 2007-07-12 01:20:17.000000000 +0200
@@ -1,7 +1,8 @@
-diff -ur ../gnome-session-2.12.0/gnome-session/logout.c ./gnome-session/logout.c
---- ../gnome-session-2.12.0/gnome-session/logout.c 2005-05-06 12:17:12.000000000 +0200
-+++ ./gnome-session/logout.c 2006-01-07 06:28:42.000000000 +0100
-@@ -26,6 +26,9 @@
+Index: gnome-session/logout.c
+===================================================================
+--- gnome-session/logout.c.orig
++++ gnome-session/logout.c
+@@ -28,6 +28,9 @@
#include
participants (1)
-
root@Hilbert.suse.de