Accepting request 58282 from home:vuntz:branches:GNOME:Factory

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/58282
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=150
This commit is contained in:
Vincent Untz 2011-01-14 17:58:21 +00:00 committed by Git OBS Bridge
parent a5d06b6ac6
commit 585922d567
3 changed files with 29 additions and 15 deletions

View File

@ -1,17 +1,17 @@
Index: gdm-2.31.2/daemon/gdm-server.c Index: gdm-2.32.0/daemon/gdm-server.c
=================================================================== ===================================================================
--- gdm-2.31.2.orig/daemon/gdm-server.c --- gdm-2.32.0.orig/daemon/gdm-server.c
+++ gdm-2.31.2/daemon/gdm-server.c +++ gdm-2.32.0/daemon/gdm-server.c
@@ -33,6 +33,8 @@ @@ -27,6 +27,8 @@
#include <grp.h> #include <string.h>
#include <signal.h> #include <sys/types.h>
#include <sys/resource.h> #include <sys/wait.h>
+#include <sys/ioctl.h> +#include <sys/ioctl.h>
+#include <sys/vt.h> +#include <sys/vt.h>
#include <errno.h>
#ifdef HAVE_SYS_PRCTL_H #include <ctype.h>
#include <sys/prctl.h> #include <pwd.h>
@@ -154,6 +156,92 @@ _gdm_server_query_ck_for_display_device @@ -157,6 +159,92 @@ _gdm_server_query_ck_for_display_device
return out; return out;
} }
@ -104,7 +104,7 @@ Index: gdm-2.31.2/daemon/gdm-server.c
char * char *
gdm_server_get_display_device (GdmServer *server) gdm_server_get_display_device (GdmServer *server)
{ {
@@ -314,6 +402,11 @@ gdm_server_resolve_command_line (GdmServ @@ -317,6 +405,11 @@ gdm_server_resolve_command_line (GdmServ
if (vtarg != NULL && ! gotvtarg) { if (vtarg != NULL && ! gotvtarg) {
argv[len++] = g_strdup (vtarg); argv[len++] = g_strdup (vtarg);

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jan 14 18:51:02 CET 2011 - vuntz@opensuse.org
- Rebase gdm-vt-allocation-hack.patch to actually apply.
- Apply gdm-vt-allocation-hack.patch on 11.4 and later again: the
topic needs more discussion, and without the hack, on a default
boot, a mingetty instance will receive all the input from Xorg.
This is because Xorg will start on tty2 and a mingetty will also
start there, because of the sysvinit configration. This is
extremely bad, since this means everything the user types will
lead to login attemps in mingetty.
- Add gnome-power-manager and iso-codes Recommends: they are both
improving the gdm experience, but are not mandatory.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 11 12:57:17 CET 2011 - vuntz@opensuse.org Tue Jan 11 12:57:17 CET 2011 - vuntz@opensuse.org

View File

@ -55,7 +55,7 @@ Patch1: gdm-plymouth-X-nr.patch
Patch2: gdm-helper-directory.patch Patch2: gdm-helper-directory.patch
# PATCH-FIX-OPENSUSE gdm-is-not-unstable-unless.patch vuntz@opensuse.org -- Make gdm think it's never running a development version unless SUSE_ENABLE_UNSTABLE_CHECK is set. This disables fatal warnings as well as abusive log # PATCH-FIX-OPENSUSE gdm-is-not-unstable-unless.patch vuntz@opensuse.org -- Make gdm think it's never running a development version unless SUSE_ENABLE_UNSTABLE_CHECK is set. This disables fatal warnings as well as abusive log
Patch3: gdm-is-not-unstable-unless.patch Patch3: gdm-is-not-unstable-unless.patch
# PATCH-FIX-UPSTREAM gdm-vt-allocation-hack.patch bgo511168 hpj@novell.com -- Needed for user switching. Needed only for 11.3 and earlier # PATCH-FIX-UPSTREAM gdm-vt-allocation-hack.patch bgo511168 hpj@novell.com -- Needed for user switching
Patch4: gdm-vt-allocation-hack.patch Patch4: gdm-vt-allocation-hack.patch
# PATCH-FIX-UPSTREAM gdm-focus-user-chooser.patch bgo#629310 bnc#652938 vuntz@opensuse.org -- Correctly give the focus to the user chooser on startup # PATCH-FIX-UPSTREAM gdm-focus-user-chooser.patch bgo#629310 bnc#652938 vuntz@opensuse.org -- Correctly give the focus to the user chooser on startup
Patch5: gdm-focus-user-chooser.patch Patch5: gdm-focus-user-chooser.patch
@ -102,7 +102,9 @@ Requires: xorg-x11-server-extra
# For groupadd, useradd, usermod # For groupadd, useradd, usermod
PreReq: pwdutils PreReq: pwdutils
PreReq: %insserv_prereq PreReq: %insserv_prereq
Recommends: gnome-power-manager
Recommends: gnome-settings-daemon Recommends: gnome-settings-daemon
Recommends: iso-codes
%gconf_schemas_prereq %gconf_schemas_prereq
%description %description
@ -150,9 +152,7 @@ translation-update-upstream
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%if 0%{?suse_version} <= 1130
%patch4 -p1 %patch4 -p1
%endif
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1