Accepting request 21202 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/gdm via accept of submit request 21202 revision 2. Request was accepted with message: Thanks for the submission. OBS-URL: https://build.opensuse.org/request/show/21202 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=96
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4e842a59285a456d9a9cc03e5519f027319fc254d98f818c275a7e90882ab6f9
|
|
||||||
size 2392706
|
|
3
gdm-2.28.0.tar.bz2
Normal file
3
gdm-2.28.0.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b83db2613192df8a8865ca59877de5181df6247cd17be42418cc5a39d314d5a4
|
||||||
|
size 2314347
|
13
gdm-build-fixes.patch
Normal file
13
gdm-build-fixes.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: gdm-2.28.0/daemon/gdm-slave.c
|
||||||
|
===================================================================
|
||||||
|
--- gdm-2.28.0.orig/daemon/gdm-slave.c
|
||||||
|
+++ gdm-2.28.0/daemon/gdm-slave.c
|
||||||
|
@@ -836,6 +836,8 @@ gdm_slave_parse_enriched_login (GdmSlave
|
||||||
|
} else {
|
||||||
|
return (g_strdup (username));
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
gboolean
|
@@ -1,17 +1,19 @@
|
|||||||
diff -ur gdm-2.27.4/configure.ac gdm-2.27.4.patched//configure.ac
|
Index: gdm-2.28.0/configure.ac
|
||||||
--- gdm-2.27.4/configure.ac 2009-07-20 04:17:17.000000000 +0200
|
===================================================================
|
||||||
+++ gdm-2.27.4.patched//configure.ac 2009-07-20 17:50:13.000000000 +0200
|
--- gdm-2.28.0.orig/configure.ac
|
||||||
@@ -68,6 +68,7 @@
|
+++ gdm-2.28.0/configure.ac
|
||||||
PKG_CHECK_MODULES(DAEMON,
|
@@ -70,6 +70,7 @@ PKG_CHECK_MODULES(DAEMON,
|
||||||
dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
|
dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
|
||||||
gobject-2.0 >= $GLIB_REQUIRED_VERSION
|
gobject-2.0 >= $GLIB_REQUIRED_VERSION
|
||||||
|
gio-2.0 >= $GLIB_REQUIRED_VERSION
|
||||||
+ hal
|
+ hal
|
||||||
)
|
)
|
||||||
AC_SUBST(DAEMON_CFLAGS)
|
AC_SUBST(DAEMON_CFLAGS)
|
||||||
AC_SUBST(DAEMON_LIBS)
|
AC_SUBST(DAEMON_LIBS)
|
||||||
diff -ur gdm-2.27.4/daemon/gdm-session-direct.c gdm-2.27.4.patched//daemon/gdm-session-direct.c
|
Index: gdm-2.28.0/daemon/gdm-session-direct.c
|
||||||
--- gdm-2.27.4/daemon/gdm-session-direct.c 2009-07-20 03:09:09.000000000 +0200
|
===================================================================
|
||||||
+++ gdm-2.27.4.patched//daemon/gdm-session-direct.c 2009-07-20 17:53:04.000000000 +0200
|
--- gdm-2.28.0.orig/daemon/gdm-session-direct.c
|
||||||
|
+++ gdm-2.28.0/daemon/gdm-session-direct.c
|
||||||
@@ -45,6 +45,8 @@
|
@@ -45,6 +45,8 @@
|
||||||
#include <dbus/dbus-glib.h>
|
#include <dbus/dbus-glib.h>
|
||||||
#include <dbus/dbus-glib-lowlevel.h>
|
#include <dbus/dbus-glib-lowlevel.h>
|
||||||
@@ -21,7 +23,7 @@ diff -ur gdm-2.27.4/daemon/gdm-session-direct.c gdm-2.27.4.patched//daemon/gdm-s
|
|||||||
#include "gdm-session-direct.h"
|
#include "gdm-session-direct.h"
|
||||||
#include "gdm-session.h"
|
#include "gdm-session.h"
|
||||||
#include "gdm-session-private.h"
|
#include "gdm-session-private.h"
|
||||||
@@ -597,14 +599,66 @@
|
@@ -600,14 +602,66 @@ get_default_language_name (GdmSessionDir
|
||||||
return setlocale (LC_MESSAGES, NULL);
|
return setlocale (LC_MESSAGES, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,7 +93,7 @@ diff -ur gdm-2.27.4/daemon/gdm-session-direct.c gdm-2.27.4.patched//daemon/gdm-s
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
@@ -1955,9 +2009,10 @@
|
@@ -1970,9 +2024,10 @@ setup_session_environment (GdmSessionDir
|
||||||
|
|
||||||
if (strcmp (get_layout_name (session),
|
if (strcmp (get_layout_name (session),
|
||||||
get_default_layout_name (session)) == 0) {
|
get_default_layout_name (session)) == 0) {
|
||||||
@@ -105,10 +107,11 @@ diff -ur gdm-2.27.4/daemon/gdm-session-direct.c gdm-2.27.4.patched//daemon/gdm-s
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdm_session_direct_set_environment_variable (session,
|
gdm_session_direct_set_environment_variable (session,
|
||||||
diff -ur gdm-2.27.4/daemon/gdm-session-settings.c gdm-2.27.4.patched//daemon/gdm-session-settings.c
|
Index: gdm-2.28.0/daemon/gdm-session-settings.c
|
||||||
--- gdm-2.27.4/daemon/gdm-session-settings.c 2009-05-19 17:18:12.000000000 +0200
|
===================================================================
|
||||||
+++ gdm-2.27.4.patched//daemon/gdm-session-settings.c 2009-07-20 17:50:13.000000000 +0200
|
--- gdm-2.28.0.orig/daemon/gdm-session-settings.c
|
||||||
@@ -149,8 +149,7 @@
|
+++ gdm-2.28.0/daemon/gdm-session-settings.c
|
||||||
|
@@ -149,8 +149,7 @@ gdm_session_settings_set_layout_name (Gd
|
||||||
{
|
{
|
||||||
g_return_if_fail (GDM_IS_SESSION_SETTINGS (settings));
|
g_return_if_fail (GDM_IS_SESSION_SETTINGS (settings));
|
||||||
|
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
|
Index: gdm-2.28.0/daemon/gdm-session-worker.c
|
||||||
index c1ac7cf..a5de412 100644
|
===================================================================
|
||||||
--- a/daemon/gdm-session-worker.c
|
--- gdm-2.28.0.orig/daemon/gdm-session-worker.c
|
||||||
+++ b/daemon/gdm-session-worker.c
|
+++ gdm-2.28.0/daemon/gdm-session-worker.c
|
||||||
@@ -149,6 +149,9 @@ typedef int (* GdmSessionWorkerPamNewMessagesFunc) (int,
|
@@ -157,6 +157,9 @@ typedef int (* GdmSessionWorkerPamNewMes
|
||||||
const struct pam_message **,
|
const struct pam_message **,
|
||||||
struct pam_response **,
|
struct pam_response **,
|
||||||
gpointer);
|
gpointer);
|
||||||
@@ -12,10 +12,11 @@ index c1ac7cf..a5de412 100644
|
|||||||
|
|
||||||
G_DEFINE_TYPE (GdmSessionWorker, gdm_session_worker, G_TYPE_OBJECT)
|
G_DEFINE_TYPE (GdmSessionWorker, gdm_session_worker, G_TYPE_OBJECT)
|
||||||
|
|
||||||
@@ -617,6 +620,21 @@ attempt_to_load_user_settings (GdmSessionWorker *worker,
|
@@ -597,6 +600,22 @@ attempt_to_load_user_settings (GdmSessio
|
||||||
passwd_entry->pw_dir,
|
gdm_session_settings_load (worker->priv->user_settings,
|
||||||
|
username,
|
||||||
NULL);
|
NULL);
|
||||||
|
+
|
||||||
+ /* These singal handlers should be disconnected after the loading,
|
+ /* These singal handlers should be disconnected after the loading,
|
||||||
+ * so that gdm_session_settings_set_* APIs don't cause the emitting
|
+ * so that gdm_session_settings_set_* APIs don't cause the emitting
|
||||||
+ * of Saved*NameRead D-Bus signals any more.
|
+ * of Saved*NameRead D-Bus signals any more.
|
||||||
@@ -31,6 +32,6 @@ index c1ac7cf..a5de412 100644
|
|||||||
+ g_signal_handlers_disconnect_by_func (worker->priv->user_settings,
|
+ g_signal_handlers_disconnect_by_func (worker->priv->user_settings,
|
||||||
+ G_CALLBACK (on_saved_layout_name_read),
|
+ G_CALLBACK (on_saved_layout_name_read),
|
||||||
+ worker);
|
+ worker);
|
||||||
seteuid (old_uid);
|
|
||||||
setegid (old_gid);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
26
gdm.changes
26
gdm.changes
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 28 14:59:45 CEST 2009 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.28.0:
|
||||||
|
+ GDM supports the ability to specify the automatic/timed login
|
||||||
|
user via a script via the same interface that the old GDM
|
||||||
|
supported.
|
||||||
|
+ The user's dmrc and face image files are stored in
|
||||||
|
/var/cache/gdm, so that the login process does not need to
|
||||||
|
access the user's $HOME directory before authentication. Refer
|
||||||
|
to bgo#565151.
|
||||||
|
+ Fix the login GUI options widget so the language/session/layout
|
||||||
|
choices are not reset after a failed login.
|
||||||
|
+ Fix language dialog so it does not crash if the user click's
|
||||||
|
the "OK" button when no language is selected.
|
||||||
|
+ Fix to ensure that the login dialog regains focus after the
|
||||||
|
language or layout dialogs are used.
|
||||||
|
+ The language dialog has improved logic to sort the language
|
||||||
|
names more correctly.
|
||||||
|
+ Make sure to check error variable is not NULL before
|
||||||
|
referencing it in the gdm-user-manager code.
|
||||||
|
+ Make sure to not print NULL strings since this causes crashes
|
||||||
|
on some platforms.
|
||||||
|
+ Improve documentation.
|
||||||
|
- Add gdm-build-fixes.patch to fix build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 28 14:25:50 CEST 2009 - vuntz@opensuse.org
|
Mon Sep 28 14:25:50 CEST 2009 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
13
gdm.spec
13
gdm.spec
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gdm (Version 2.27.90)
|
# spec file for package gdm (Version 2.28.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -41,7 +41,7 @@ BuildRequires: xorg-x11-server-extra
|
|||||||
BuildRequires: zenity
|
BuildRequires: zenity
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Version: 2.27.90
|
Version: 2.28.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: The GNOME 2.x Display Manager
|
Summary: The GNOME 2.x Display Manager
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@@ -79,9 +79,11 @@ Patch32: gdm-keyboard-from-hal.patch
|
|||||||
# PATCH-FIX-OPENSUSE gdm-keyboard-from-sysconfig.patch bnc432360 bnc478083 hpj@novell.com -- Read keyboard options from sysconfig (for openSUSE <= 11.1, since keyboard layout wasn't in hal)
|
# PATCH-FIX-OPENSUSE gdm-keyboard-from-sysconfig.patch bnc432360 bnc478083 hpj@novell.com -- Read keyboard options from sysconfig (for openSUSE <= 11.1, since keyboard layout wasn't in hal)
|
||||||
Patch33: gdm-keyboard-from-sysconfig.patch
|
Patch33: gdm-keyboard-from-sysconfig.patch
|
||||||
# PATCH-FIX-OPENSUSE gdm-default-wm.patch vuntz@novell.com -- Use sysconfig to know to which desktop to use by default
|
# PATCH-FIX-OPENSUSE gdm-default-wm.patch vuntz@novell.com -- Use sysconfig to know to which desktop to use by default
|
||||||
Patch34: gdm-default-wm.patch
|
Patch34: gdm-default-wm.patch
|
||||||
# PATCH-FIX-OPENSUSE gdm-xauthlocalhostname.patch vuntz@novell.com -- Set XAUTHLOCALHOSTNAME to localhost for local logins to avoid issues in the session in case the hostname changes
|
# PATCH-FIX-OPENSUSE gdm-xauthlocalhostname.patch bgo555464 vuntz@novell.com -- Set XAUTHLOCALHOSTNAME to localhost for local logins to avoid issues in the session in case the hostname changes
|
||||||
Patch35: gdm-xauthlocalhostname.patch
|
Patch35: gdm-xauthlocalhostname.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gdm-build-fixes.patch bgo596605 vuntz@novell.com -- Add missing return value
|
||||||
|
Patch36: gdm-build-fixes.patch
|
||||||
# PATCH-FIX-OPENSUSE gdm-selinux.patch -- Small changes to make it compile fine with SELinux
|
# PATCH-FIX-OPENSUSE gdm-selinux.patch -- Small changes to make it compile fine with SELinux
|
||||||
Patch60: gdm-selinux.patch
|
Patch60: gdm-selinux.patch
|
||||||
Url: http://www.gnome.org/
|
Url: http://www.gnome.org/
|
||||||
@@ -152,6 +154,7 @@ gnome-patch-translation-prepare
|
|||||||
%endif
|
%endif
|
||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch35 -p1
|
%patch35 -p1
|
||||||
|
%patch36 -p1
|
||||||
%patch60
|
%patch60
|
||||||
# gnome-patch-translation-update
|
# gnome-patch-translation-update
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user