r17325 - in /desktop/unstable/gdm/debian: changelog control control.in patches/35_gdm.conf.patch patches/52_shutdown_crash.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Wed Oct 22 13:13:17 UTC 2008
Author: joss
Date: Wed Oct 22 13:13:17 2008
New Revision: 17325
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17325
Log:
* 52_shutdown_crash.patch: updated to also ignore the signals in the
shutdown process.
* 35_gdm.conf.patch: use pm-suspend instead of s2ram, for consistency
with HAL. Closes: #503085.
* Suggest pm-utils instead of uswsusp.
Modified:
desktop/unstable/gdm/debian/changelog
desktop/unstable/gdm/debian/control
desktop/unstable/gdm/debian/control.in
desktop/unstable/gdm/debian/patches/35_gdm.conf.patch
desktop/unstable/gdm/debian/patches/52_shutdown_crash.patch
Modified: desktop/unstable/gdm/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/changelog?rev=17325&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/changelog (original)
+++ desktop/unstable/gdm/debian/changelog Wed Oct 22 13:13:17 2008
@@ -1,3 +1,13 @@
+gdm (2.20.7-4) UNRELEASED; urgency=low
+
+ * 52_shutdown_crash.patch: updated to also ignore the signals in the
+ shutdown process.
+ * 35_gdm.conf.patch: use pm-suspend instead of s2ram, for consistency
+ with HAL. Closes: #503085.
+ * Suggest pm-utils instead of uswsusp.
+
+ -- Josselin Mouette <joss at debian.org> Wed, 03 Sep 2008 13:01:44 +0200
+
gdm (2.20.7-3) unstable; urgency=low
* Install the debian-moreblue-orbit theme, thanks Andre Luiz Rodrigues
Modified: desktop/unstable/gdm/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/control?rev=17325&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/control (original)
+++ desktop/unstable/gdm/debian/control Wed Oct 22 13:13:17 2008
@@ -51,7 +51,7 @@
xserver-xephyr | xnest,
xserver-xorg
Suggests: locales,
- uswsusp,
+ pm-utils,
libpam-gnome-keyring
Provides: x-display-manager
Conflicts: fast-user-switch-applet (<< 2.17.4),
Modified: desktop/unstable/gdm/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/control.in?rev=17325&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/control.in (original)
+++ desktop/unstable/gdm/debian/control.in Wed Oct 22 13:13:17 2008
@@ -51,7 +51,7 @@
xserver-xephyr | xnest,
xserver-xorg
Suggests: locales,
- uswsusp,
+ pm-utils,
libpam-gnome-keyring
Provides: x-display-manager
Conflicts: fast-user-switch-applet (<< 2.17.4),
Modified: desktop/unstable/gdm/debian/patches/35_gdm.conf.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/35_gdm.conf.patch?rev=17325&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/patches/35_gdm.conf.patch (original)
+++ desktop/unstable/gdm/debian/patches/35_gdm.conf.patch Wed Oct 22 13:13:17 2008
@@ -3,10 +3,10 @@
* update comments
* update pathnames
-Index: gdm-2.20.1/config/gdm.conf.in
+Index: gdm-2.20.7/config/gdm.conf.in
===================================================================
---- gdm-2.20.1.orig/config/gdm.conf.in 2007-10-15 23:43:04.000000000 +0200
-+++ gdm-2.20.1/config/gdm.conf.in 2007-11-27 23:29:52.581571830 +0100
+--- gdm-2.20.7.orig/config/gdm.conf.in 2008-06-30 19:53:14.000000000 +0200
++++ gdm-2.20.7/config/gdm.conf.in 2008-10-22 15:11:29.371844187 +0200
@@ -1,14 +1,8 @@
# GDM System Defaults Configuration file.
#
@@ -43,7 +43,7 @@
#
# For full reference documentation see the GNOME help browser under
# GNOME|System category. You can also find the docs in HTML form on
-@@ -68,7 +64,7 @@ TimedLoginDelay=30
+@@ -68,7 +64,7 @@
# The greeter for attached (non-xdmcp) logins. Change gdmlogin to gdmgreeter
# to get the new graphical greeter.
@@ -52,7 +52,7 @@
# The greeter for xdmcp logins, usually you want a less graphically intensive
# greeter here so it's better to leave this with gdmlogin
-@@ -83,13 +79,9 @@ TimedLoginDelay=30
+@@ -83,13 +79,9 @@
#GtkModulesList=gail:atk-bridge:@libdir@/gtk-2.0/modules/libdwellmouselistener:@libdir@/gtk-2.0/modules/libkeymouselistener
# Default path to set. The profile scripts will likely override this value.
@@ -68,7 +68,7 @@
# If you are having trouble with using a single server for a long time and want
# GDM to kill/restart the server, turn this on. On Solaris, this value is
-@@ -105,7 +97,7 @@ Group=gdm
+@@ -105,7 +97,7 @@
# To try to kill all clients started at greeter time or in the Init script.
# does not always work, only if those clients have a window of their own.
#KillInitClients=true
@@ -77,7 +77,7 @@
# Note that a post login script is run before a PreSession script. It is run
# after the login is successful and before any setup is run on behalf of the
-@@ -126,9 +118,9 @@ XKeepsCrashing=@gdmconfdir@/XKeepsCrashi
+@@ -126,9 +118,9 @@
#
# Reboot, Halt and suspend commands, you can add different commands separated
# by a semicolon. GDM will use the first one it can find.
@@ -86,11 +86,11 @@
-SuspendCommand=@SUSPEND_COMMAND@
+RebootCommand=/sbin/shutdown -r now "Rebooted via gdm."
+HaltCommand=/sbin/shutdown -h now "Shut Down via gdm."
-+SuspendCommand=/usr/sbin/s2ram
++SuspendCommand=/usr/sbin/pm-suspend
# The following options specify how GDM system commands are supported.
#
-@@ -161,11 +153,10 @@ ServAuthDir=@authdir@
+@@ -161,11 +153,10 @@
BaseXsession=@gdmconfdir@/Xsession
# This is a directory where .desktop files describing the sessions live. It is
# really a PATH style variable since 2.4.4.2 to allow actual interoperability
@@ -105,7 +105,7 @@
# Better leave this blank and HOME will be used. You can use syntax ~/ below
# to indicate home directory of the user. You can also set this to something
# like /tmp if you don't want the authorizations to be in home directories.
-@@ -202,8 +193,8 @@ XnestUnscaledFontPath=@X_XNEST_UNSCALED_
+@@ -202,8 +193,8 @@
# Automatic VT allocation. Right now only works on Linux. This way we force
# X to use specific vts. Turn VTAllocation to false if this is causing
# problems.
@@ -116,7 +116,7 @@
# Should double login be treated with a warning (and possibility to change VT's
# on Linux and FreeBSD systems for console logins)
#DoubleLoginWarning=true
-@@ -242,7 +233,7 @@ GdmXserverTimeout=10
+@@ -242,7 +233,7 @@
[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
@@ -125,7 +125,7 @@
# Allow login as root via XDMCP. This value will be overridden and set to
# false if the /etc/default/login file exists and contains
# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists
-@@ -252,7 +243,7 @@ AllowRemoteRoot=false
+@@ -252,7 +243,7 @@
AllowRemoteAutoLogin=false
# 0 is the most restrictive, 1 allows group write permissions, 2 allows all
# write permissions.
@@ -134,7 +134,7 @@
# Check if directories are owned by logon user. Set to false, if you have, for
# example, home directories owned by some other user.
CheckDirOwner=true
-@@ -271,7 +262,7 @@ SupportAutomount=false
+@@ -271,7 +262,7 @@
# Note: Anytime we find a -query or -indirect on the command line we do not add
# a "-nolisten tcp", as then the query just wouldn't work, so this setting only
# affects truly attached sessions.
@@ -143,7 +143,7 @@
# By default never place cookies if we "detect" NFS. We detect NFS by
# detecting "root-squashing". It seems bad practice to place cookies on things
# that go over the network by default and thus we do not do it by default.
-@@ -352,7 +343,7 @@ Enable=false
+@@ -352,7 +343,7 @@
#GtkRC=@datadir@/themes/Default/gtk-2.0/gtkrc
# The GTK+ theme to use for the GUI.
@@ -152,7 +152,7 @@
# If to allow changing the GTK+ (widget) theme from the greeter. Currently
# this only affects the standard greeter as the graphical greeter does not yet
# have this ability.
-@@ -391,13 +382,13 @@ Enable=false
+@@ -391,13 +382,13 @@
# affect the Face Browser (MinimalUID, DefaultFace, Include, Exclude,
# IncludeAll, GlobalFaceDir) are used by both the Standard and Themed
# greeter.
@@ -168,7 +168,7 @@
# Users listed in Include will be included in the face browser and in the
# gdmsetup selection list for Automatic/Timed login. Users should be separated
# by commas.
-@@ -406,7 +397,7 @@ Browser=false
+@@ -406,7 +397,7 @@
# gdmsetup selection list for Automatic/Timed login. Excluded users will still
# be able to log in, but will have to type their username. Users should be
# separated by commas.
@@ -177,7 +177,7 @@
# By default, an empty include list means display no users. By setting
# IncludeAll to true, the password file will be scanned and all users will be
# displayed except users excluded via the Exclude setting and user ID's less
-@@ -414,16 +405,16 @@ Browser=false
+@@ -414,16 +405,16 @@
# large numbers of users and this feature should not be used in such
# environments. The setting of IncludeAll does nothing if Include is set to a
# non-empty value.
@@ -197,7 +197,7 @@
# Logo shown on file chooser button in gdmsetup (do not modify this value).
#ChooserButtonLogo=@pixmapdir@/gdm-foot-logo.png
# The standard greeter should shake if a user entered the wrong username or
-@@ -512,8 +503,8 @@ GraphicalThemedColor=#76848F
+@@ -509,8 +500,8 @@
# list then provide a list that is delimited by /: to the GraphicalThemes
# key and set GraphicalThemeRand to true. Otherwise use GraphicalTheme
# and specify just one theme.
Modified: desktop/unstable/gdm/debian/patches/52_shutdown_crash.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/52_shutdown_crash.patch?rev=17325&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/patches/52_shutdown_crash.patch (original)
+++ desktop/unstable/gdm/debian/patches/52_shutdown_crash.patch Wed Oct 22 13:13:17 2008
@@ -4,8 +4,31 @@
Index: gdm-2.20.7/daemon/gdm.c
===================================================================
--- gdm-2.20.7.orig/daemon/gdm.c 2008-06-30 19:53:13.000000000 +0200
-+++ gdm-2.20.7/daemon/gdm.c 2008-08-29 16:41:50.896047612 +0200
-@@ -708,6 +708,7 @@ halt_machine (void)
++++ gdm-2.20.7/daemon/gdm.c 2008-09-03 13:01:06.066776853 +0200
+@@ -293,6 +293,22 @@
+ const char *pidfile;
+ gboolean first;
+ GSList *displays;
++ struct sigaction sig;
++
++ /* Remove all signal handlers, since we are freeing structures used by the handlers */
++ sig.sa_handler = SIG_DFL;
++ sig.sa_flags = SA_RESTART;
++ sigemptyset (&sig.sa_mask);
++ sigaction (SIGTERM, &sig, NULL);
++ sigaction (SIGINT, &sig, NULL);
++ sigaction (SIGHUP, &sig, NULL);
++ sigaction (SIGUSR1, &sig, NULL);
++#ifdef SIGXCPU
++ sigaction (SIGXCPU, &sig, NULL);
++#endif
++#ifdef SIGXFSZ
++ sigaction (SIGXFSZ, &sig, NULL);
++#endif
+
+ displays = gdm_daemon_config_get_display_list ();
+
+@@ -708,6 +724,7 @@
change_to_first_and_clear (FALSE);
#endif /* __linux */
@@ -13,7 +36,7 @@
}
}
-@@ -728,6 +729,7 @@ restart_machine (void)
+@@ -728,6 +745,7 @@
change_to_first_and_clear (TRUE);
#endif /* __linux */
More information about the pkg-gnome-commits
mailing list