Accepting request 158323 from GNOME:Next
Push GNOME:Next OBS-URL: https://build.opensuse.org/request/show/158323 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=236
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fbf41bd68299eccdcf456c0869771999f75d3d9bf0f57ce1038db08b54e8cbb9
|
|
||||||
size 1627356
|
|
3
gdm-3.7.91.tar.xz
Normal file
3
gdm-3.7.91.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6d42c9dbcceb549975b7fb461c78e808a3f3e8d3d4f79adfdbe3eedb3688b35f
|
||||||
|
size 1625804
|
@@ -1,33 +0,0 @@
|
|||||||
From 47c73024739a65614c6a0ddcdd1c08239798044a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ray Strode <rstrode@redhat.com>
|
|
||||||
Date: Thu, 04 Oct 2012 21:36:57 +0000
|
|
||||||
Subject: slave: only set up autologin conversations
|
|
||||||
|
|
||||||
Right now any time any session conversation is started,
|
|
||||||
we run its setup call if autologin is enabled. We should only do this
|
|
||||||
for autologin sessions, otherwise, we may repeat work done by
|
|
||||||
the greeter.
|
|
||||||
|
|
||||||
https://bugzilla.gnome.org/show_bug.cgi?id=682467
|
|
||||||
---
|
|
||||||
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
|
|
||||||
index 9bc8522..4bbf503 100644
|
|
||||||
--- a/daemon/gdm-simple-slave.c
|
|
||||||
+++ b/daemon/gdm-simple-slave.c
|
|
||||||
@@ -485,8 +485,12 @@ on_session_conversation_started (GdmSession *session,
|
|
||||||
char *username;
|
|
||||||
int delay;
|
|
||||||
|
|
||||||
+ g_debug ("GdmSimpleSlave: session conversation started for service %s", service_name);
|
|
||||||
+
|
|
||||||
+ if (g_strcmp0 (service_name, "gdm-autologin") != 0) {
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
- g_debug ("GdmSimpleSlave: session conversation started");
|
|
||||||
enabled = FALSE;
|
|
||||||
gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay);
|
|
||||||
if (! enabled) {
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2
|
|
||||||
|
|
@@ -1,80 +0,0 @@
|
|||||||
Index: gdm-3.6.2/configure
|
|
||||||
===================================================================
|
|
||||||
--- gdm-3.6.2.orig/configure
|
|
||||||
+++ gdm-3.6.2/configure
|
|
||||||
@@ -26020,7 +26020,7 @@ fi
|
|
||||||
if ! test -z "$with_pid_file"; then
|
|
||||||
GDM_PID_FILE=$with_pid_file
|
|
||||||
else
|
|
||||||
- GDM_PID_FILE=/var/run/gdm.pid
|
|
||||||
+ GDM_PID_FILE=/run/gdm.pid
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
@@ -26041,7 +26041,7 @@ fi
|
|
||||||
if ! test -z "$with_ran_once_marker_directory"; then
|
|
||||||
GDM_RAN_ONCE_MARKER_DIR=$with_ran_once_marker_directory
|
|
||||||
else
|
|
||||||
- GDM_RAN_ONCE_MARKER_DIR=${localstatedir}/run/gdm
|
|
||||||
+ GDM_RAN_ONCE_MARKER_DIR=/run/gdm
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
@@ -26085,7 +26085,7 @@ fi
|
|
||||||
if ! test -z "$with_xauth_dir"; then
|
|
||||||
GDM_XAUTH_DIR=$with_xauth_dir
|
|
||||||
else
|
|
||||||
- GDM_XAUTH_DIR=${localstatedir}/run/gdm
|
|
||||||
+ GDM_XAUTH_DIR=/run/gdm
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
@@ -26101,7 +26101,7 @@ fi
|
|
||||||
if ! test -z "$with_screenshot_dir"; then
|
|
||||||
GDM_SCREENSHOT_DIR=$with_screenshot_dir
|
|
||||||
else
|
|
||||||
- GDM_SCREENSHOT_DIR=${localstatedir}/run/gdm/greeter
|
|
||||||
+ GDM_SCREENSHOT_DIR=/run/gdm/greeter
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
Index: gdm-3.6.2/configure.ac
|
|
||||||
===================================================================
|
|
||||||
--- gdm-3.6.2.orig/configure.ac
|
|
||||||
+++ gdm-3.6.2/configure.ac
|
|
||||||
@@ -1326,7 +1326,7 @@ AC_ARG_WITH(pid-file,
|
|
||||||
if ! test -z "$with_pid_file"; then
|
|
||||||
GDM_PID_FILE=$with_pid_file
|
|
||||||
else
|
|
||||||
- GDM_PID_FILE=/var/run/gdm.pid
|
|
||||||
+ GDM_PID_FILE=/run/gdm.pid
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(GDM_PID_FILE)
|
|
||||||
@@ -1343,7 +1343,7 @@ AC_ARG_WITH(ran-once-marker-directory,
|
|
||||||
if ! test -z "$with_ran_once_marker_directory"; then
|
|
||||||
GDM_RAN_ONCE_MARKER_DIR=$with_ran_once_marker_directory
|
|
||||||
else
|
|
||||||
- GDM_RAN_ONCE_MARKER_DIR=${localstatedir}/run/gdm
|
|
||||||
+ GDM_RAN_ONCE_MARKER_DIR=/run/gdm
|
|
||||||
fi
|
|
||||||
AC_SUBST(GDM_RAN_ONCE_MARKER_DIR)
|
|
||||||
AC_DEFINE_UNQUOTED(GDM_RAN_ONCE_MARKER_DIR, "$GDM_RAN_ONCE_MARKER_DIR", [ran once marker dir])
|
|
||||||
@@ -1379,7 +1379,7 @@ AC_ARG_WITH(xauth-dir,
|
|
||||||
if ! test -z "$with_xauth_dir"; then
|
|
||||||
GDM_XAUTH_DIR=$with_xauth_dir
|
|
||||||
else
|
|
||||||
- GDM_XAUTH_DIR=${localstatedir}/run/gdm
|
|
||||||
+ GDM_XAUTH_DIR=/run/gdm
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(GDM_XAUTH_DIR)
|
|
||||||
@@ -1395,7 +1395,7 @@ AC_ARG_WITH(screenshot-dir,
|
|
||||||
if ! test -z "$with_screenshot_dir"; then
|
|
||||||
GDM_SCREENSHOT_DIR=$with_screenshot_dir
|
|
||||||
else
|
|
||||||
- GDM_SCREENSHOT_DIR=${localstatedir}/run/gdm/greeter
|
|
||||||
+ GDM_SCREENSHOT_DIR=/run/gdm/greeter
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(GDM_SCREENSHOT_DIR)
|
|
@@ -1,8 +1,8 @@
|
|||||||
Index: gdm-3.5.4/common/Makefile.am
|
Index: gdm-3.7.5/common/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gdm-3.5.4.orig/common/Makefile.am
|
--- gdm-3.7.5.orig/common/Makefile.am
|
||||||
+++ gdm-3.5.4/common/Makefile.am
|
+++ gdm-3.7.5/common/Makefile.am
|
||||||
@@ -77,6 +77,8 @@ libgdmcommon_la_SOURCES = \
|
@@ -61,6 +61,8 @@ libgdmcommon_la_SOURCES = \
|
||||||
gdm-settings-backend.h \
|
gdm-settings-backend.h \
|
||||||
gdm-settings-desktop-backend.c \
|
gdm-settings-desktop-backend.c \
|
||||||
gdm-settings-desktop-backend.h \
|
gdm-settings-desktop-backend.h \
|
||||||
@@ -11,7 +11,7 @@ Index: gdm-3.5.4/common/Makefile.am
|
|||||||
gdm-settings-keys.h \
|
gdm-settings-keys.h \
|
||||||
gdm-settings-utils.h \
|
gdm-settings-utils.h \
|
||||||
gdm-settings-utils.c \
|
gdm-settings-utils.c \
|
||||||
@@ -84,6 +86,8 @@ libgdmcommon_la_SOURCES = \
|
@@ -68,6 +70,8 @@ libgdmcommon_la_SOURCES = \
|
||||||
gdm-settings-direct.h \
|
gdm-settings-direct.h \
|
||||||
gdm-settings-client.h \
|
gdm-settings-client.h \
|
||||||
gdm-settings-client.c \
|
gdm-settings-client.c \
|
||||||
@@ -19,11 +19,11 @@ Index: gdm-3.5.4/common/Makefile.am
|
|||||||
+ gdm-sysconfig.h \
|
+ gdm-sysconfig.h \
|
||||||
gdm-log.h \
|
gdm-log.h \
|
||||||
gdm-log.c \
|
gdm-log.c \
|
||||||
gdm-md5.h \
|
$(MKDTEMP_FILES) \
|
||||||
Index: gdm-3.5.4/common/gdm-settings-system-backend.c
|
Index: gdm-3.7.5/common/gdm-settings-system-backend.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ gdm-3.5.4/common/gdm-settings-system-backend.c
|
+++ gdm-3.7.5/common/gdm-settings-system-backend.c
|
||||||
@@ -0,0 +1,348 @@
|
@@ -0,0 +1,348 @@
|
||||||
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
||||||
+ *
|
+ *
|
||||||
@@ -373,10 +373,10 @@ Index: gdm-3.5.4/common/gdm-settings-system-backend.c
|
|||||||
+
|
+
|
||||||
+ return GDM_SETTINGS_BACKEND (object);
|
+ return GDM_SETTINGS_BACKEND (object);
|
||||||
+}
|
+}
|
||||||
Index: gdm-3.5.4/common/gdm-settings-system-backend.h
|
Index: gdm-3.7.5/common/gdm-settings-system-backend.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ gdm-3.5.4/common/gdm-settings-system-backend.h
|
+++ gdm-3.7.5/common/gdm-settings-system-backend.h
|
||||||
@@ -0,0 +1,56 @@
|
@@ -0,0 +1,56 @@
|
||||||
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
||||||
+ *
|
+ *
|
||||||
@@ -434,10 +434,10 @@ Index: gdm-3.5.4/common/gdm-settings-system-backend.h
|
|||||||
+G_END_DECLS
|
+G_END_DECLS
|
||||||
+
|
+
|
||||||
+#endif /* __GDM_SETTINGS_SYSTEM_BACKEND_H */
|
+#endif /* __GDM_SETTINGS_SYSTEM_BACKEND_H */
|
||||||
Index: gdm-3.5.4/common/gdm-settings.c
|
Index: gdm-3.7.5/common/gdm-settings.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gdm-3.5.4.orig/common/gdm-settings.c
|
--- gdm-3.7.5.orig/common/gdm-settings.c
|
||||||
+++ gdm-3.5.4/common/gdm-settings.c
|
+++ gdm-3.7.5/common/gdm-settings.c
|
||||||
@@ -39,6 +39,7 @@
|
@@ -39,6 +39,7 @@
|
||||||
#include "gdm-settings-glue.h"
|
#include "gdm-settings-glue.h"
|
||||||
|
|
||||||
@@ -565,10 +565,10 @@ Index: gdm-3.5.4/common/gdm-settings.c
|
|||||||
|
|
||||||
G_OBJECT_CLASS (gdm_settings_parent_class)->finalize (object);
|
G_OBJECT_CLASS (gdm_settings_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
Index: gdm-3.5.4/common/gdm-sysconfig.c
|
Index: gdm-3.7.5/common/gdm-sysconfig.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ gdm-3.5.4/common/gdm-sysconfig.c
|
+++ gdm-3.7.5/common/gdm-sysconfig.c
|
||||||
@@ -0,0 +1,484 @@
|
@@ -0,0 +1,484 @@
|
||||||
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
||||||
+ *
|
+ *
|
||||||
@@ -1054,10 +1054,10 @@ Index: gdm-3.5.4/common/gdm-sysconfig.c
|
|||||||
+ g_strfreev (lines);
|
+ g_strfreev (lines);
|
||||||
+ return result;
|
+ return result;
|
||||||
+}
|
+}
|
||||||
Index: gdm-3.5.4/common/gdm-sysconfig.h
|
Index: gdm-3.7.5/common/gdm-sysconfig.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ gdm-3.5.4/common/gdm-sysconfig.h
|
+++ gdm-3.7.5/common/gdm-sysconfig.h
|
||||||
@@ -0,0 +1,43 @@
|
@@ -0,0 +1,43 @@
|
||||||
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
||||||
+ *
|
+ *
|
||||||
@@ -1102,10 +1102,10 @@ Index: gdm-3.5.4/common/gdm-sysconfig.h
|
|||||||
+G_END_DECLS
|
+G_END_DECLS
|
||||||
+
|
+
|
||||||
+#endif /* __GDM_SYSCONFIG_H */
|
+#endif /* __GDM_SYSCONFIG_H */
|
||||||
Index: gdm-3.5.4/data/gdm.conf-custom.in
|
Index: gdm-3.7.5/data/gdm.conf-custom.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gdm-3.5.4.orig/data/gdm.conf-custom.in
|
--- gdm-3.7.5.orig/data/gdm.conf-custom.in
|
||||||
+++ gdm-3.5.4/data/gdm.conf-custom.in
|
+++ gdm-3.7.5/data/gdm.conf-custom.in
|
||||||
@@ -1,4 +1,7 @@
|
@@ -1,4 +1,7 @@
|
||||||
# GDM configuration storage
|
# GDM configuration storage
|
||||||
+#
|
+#
|
||||||
|
@@ -3,9 +3,9 @@ Index: gdm-3.7.3.1/daemon/gdm-display-access-file.c
|
|||||||
--- gdm-3.7.3.1.orig/daemon/gdm-display-access-file.c
|
--- gdm-3.7.3.1.orig/daemon/gdm-display-access-file.c
|
||||||
+++ gdm-3.7.3.1/daemon/gdm-display-access-file.c
|
+++ gdm-3.7.3.1/daemon/gdm-display-access-file.c
|
||||||
@@ -443,13 +443,10 @@ _get_auth_info_for_display (GdmDisplayAc
|
@@ -443,13 +443,10 @@ _get_auth_info_for_display (GdmDisplayAc
|
||||||
gdm_display_is_local (display, &is_local, NULL);
|
*
|
||||||
|
* https://bugs.freedesktop.org/show_bug.cgi?id=43425
|
||||||
if (is_local) {
|
*/
|
||||||
- char localhost[HOST_NAME_MAX + 1] = "";
|
- char localhost[HOST_NAME_MAX + 1] = "";
|
||||||
*family = FamilyLocal;
|
*family = FamilyLocal;
|
||||||
- if (gethostname (localhost, HOST_NAME_MAX) == 0) {
|
- if (gethostname (localhost, HOST_NAME_MAX) == 0) {
|
||||||
@@ -13,8 +13,8 @@ Index: gdm-3.7.3.1/daemon/gdm-display-access-file.c
|
|||||||
- } else {
|
- } else {
|
||||||
- *address = g_strdup ("localhost");
|
- *address = g_strdup ("localhost");
|
||||||
- }
|
- }
|
||||||
+ /* using the new function we create in the patch, to detect
|
+ /* using the new function we create in the patch, to detect
|
||||||
+ * changes here, in the original code */
|
+ * changes here, in the original code */
|
||||||
+ *address = gdm_gethostname ();
|
+ *address = gdm_gethostname ();
|
||||||
} else {
|
} else {
|
||||||
*family = FamilyWild;
|
*family = FamilyWild;
|
||||||
|
77
gdm.changes
77
gdm.changes
@@ -1,3 +1,80 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 6 10:30:17 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.7.91:
|
||||||
|
+ Correct path of run dir.
|
||||||
|
+ Don't set _XROOTPMAP_ID at startup anymore.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 1 11:43:10 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Drop klogd Requires: this is no longer needed due to the changes
|
||||||
|
with earlygdm / systemd integration.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 20 19:51:07 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.7.90:
|
||||||
|
+ Add gdm-pin service file.
|
||||||
|
+ use 0711 for directories.
|
||||||
|
+ don't enable systemd journal if systemd is disabled.
|
||||||
|
+ Add a --with-run-dir.
|
||||||
|
+ Start to land prerequisite bits needed for future
|
||||||
|
systemd-ification.
|
||||||
|
- Drop gdm-move-everything-to-run.patch: fixed upstream (slightly
|
||||||
|
different)
|
||||||
|
- Pass --with-run-dir=/run/gdm to configure.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 5 13:24:31 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.7.5:
|
||||||
|
+ Randr performance improvement
|
||||||
|
+ Remove gdm wrapper script
|
||||||
|
+ Integrate better with systemd journal
|
||||||
|
+ Use glib signal handling helpers instead of home brew ones
|
||||||
|
+ Don't load gio modules in launch environment
|
||||||
|
+ Enable gsd keyboard plugin in launch environment
|
||||||
|
+ Don't warp pointer to 0,0
|
||||||
|
+ Don't record a login uid for gdm's login session
|
||||||
|
+ Other misc fixes
|
||||||
|
+ Updated translations.
|
||||||
|
- Add pkgconfig(libsystemd-journal) BuildRequries: new dependency.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 29 23:00:00 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.7.3.1:
|
||||||
|
+ Fix xauthoriation for su/ssh compatibility.
|
||||||
|
- Changes from version 3.7.3:
|
||||||
|
+ Drop dead code.
|
||||||
|
+ Deprecation fixes.
|
||||||
|
+ Compiler warning fixes.
|
||||||
|
+ Change default location of language config file.
|
||||||
|
+ Be more resiliant against hostname changes.
|
||||||
|
+ Fix spew in error path.
|
||||||
|
- Changes from version 3.7.2:
|
||||||
|
+ Ignore pam info messages for automatic logins
|
||||||
|
+ Unlock fixes
|
||||||
|
+ User switching fix on consolekit systems
|
||||||
|
+ Be more robust against empty user shells/home dirs
|
||||||
|
+ Create program session log file as root instead of after setuid
|
||||||
|
+ Properly reload gdm.schemas on SIGHUP
|
||||||
|
+ Bring back gdmflexiserver
|
||||||
|
+ Fix shutdown and restart with ConsoleKit (bgo#686125)
|
||||||
|
+ Refactor autologin conversation handling (bgo#682467)
|
||||||
|
+ Add host authorizations individually (bgo#686186)
|
||||||
|
+ Make gdm socket world accessible (bgo#685935)
|
||||||
|
+ Allow NULs in X11 cookies (bgo#687691)
|
||||||
|
+ Dont set a busy cursor (bgo#687791)
|
||||||
|
+ Use a whitelist for gsd plugins (bgo#662220)
|
||||||
|
+ Drop obsolete desktop files (bgo#684508)
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop gdm-autologin-session-logout.patch: fixed upstream.
|
||||||
|
- Rebase gdm-sysconfig-settings.patch and
|
||||||
|
gdm-xauthlocalhostname.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 28 10:36:39 UTC 2013 - rmilasan@suse.com
|
Mon Jan 28 10:36:39 UTC 2013 - rmilasan@suse.com
|
||||||
|
|
||||||
|
17
gdm.spec
17
gdm.spec
@@ -27,13 +27,13 @@
|
|||||||
%define enable_split_authentication 0
|
%define enable_split_authentication 0
|
||||||
|
|
||||||
Name: gdm
|
Name: gdm
|
||||||
Version: 3.6.2
|
Version: 3.7.91
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GNOME Display Manager
|
Summary: The GNOME Display Manager
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Url: http://projects.gnome.org/gdm/
|
Url: http://projects.gnome.org/gdm/
|
||||||
Source: http://download.gnome.org/sources/gdm/3.6/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gdm/3.7/%{name}-%{version}.tar.xz
|
||||||
Source1: gdm.pamd
|
Source1: gdm.pamd
|
||||||
Source2: gdm-autologin.pamd
|
Source2: gdm-autologin.pamd
|
||||||
Source3: gdm-launch-environment.pamd
|
Source3: gdm-launch-environment.pamd
|
||||||
@@ -64,10 +64,6 @@ Patch34: gdm-default-wm.patch
|
|||||||
Patch35: gdm-xauthlocalhostname.patch
|
Patch35: gdm-xauthlocalhostname.patch
|
||||||
# PATCH-FIX-UPSTREAM gdm-look-at-runlevel.patch bnc540482 bgo599180 vuntz@opensuse.org -- Look at the current runlevel before managing the display again, so we don't do this when shutting down or rebooting
|
# PATCH-FIX-UPSTREAM gdm-look-at-runlevel.patch bnc540482 bgo599180 vuntz@opensuse.org -- Look at the current runlevel before managing the display again, so we don't do this when shutting down or rebooting
|
||||||
Patch40: gdm-look-at-runlevel.patch
|
Patch40: gdm-look-at-runlevel.patch
|
||||||
# PATCH-FIX-UPSTREAM gdm-autologin-session-logout.patch bgo#682467 dimstar@opensuse.org -- Fix login after logging out from a auto-login session
|
|
||||||
Patch41: gdm-autologin-session-logout.patch
|
|
||||||
# PATCH-FIX-OPENSUSE gdm-move-everything-to-run.patch bgo#692733 rmilasan@suse.com -- Move everything (socket and pid files) to /run
|
|
||||||
Patch42: gdm-move-everything-to-run.patch
|
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
# needed for directory ownership
|
# needed for directory ownership
|
||||||
BuildRequires: dconf
|
BuildRequires: dconf
|
||||||
@@ -92,6 +88,7 @@ BuildRequires: xorg-x11-server-extra
|
|||||||
BuildRequires: pkgconfig(accountsservice)
|
BuildRequires: pkgconfig(accountsservice)
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
BuildRequires: pkgconfig(libsystemd-daemon)
|
BuildRequires: pkgconfig(libsystemd-daemon)
|
||||||
|
BuildRequires: pkgconfig(libsystemd-journal)
|
||||||
BuildRequires: pkgconfig(libsystemd-login) >= 186
|
BuildRequires: pkgconfig(libsystemd-login) >= 186
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(nss)
|
BuildRequires: pkgconfig(nss)
|
||||||
@@ -105,7 +102,6 @@ Requires: ConsoleKit-x11
|
|||||||
%endif
|
%endif
|
||||||
Requires: gdmflexiserver
|
Requires: gdmflexiserver
|
||||||
Requires: gnome-session-core
|
Requires: gnome-session-core
|
||||||
Requires: klogd
|
|
||||||
Requires: xorg-x11-server-extra
|
Requires: xorg-x11-server-extra
|
||||||
### Packages for the gdm session (see /usr/share/gnome-session/sessions/{gdm,gdm-fallback}.session and /usr/share/gdm/greeter/applications)
|
### Packages for the gdm session (see /usr/share/gnome-session/sessions/{gdm,gdm-fallback}.session and /usr/share/gdm/greeter/applications)
|
||||||
## Fallback
|
## Fallback
|
||||||
@@ -238,8 +234,6 @@ translation-update-upstream
|
|||||||
%patch34 -p1
|
%patch34 -p1
|
||||||
%patch35 -p1
|
%patch35 -p1
|
||||||
%patch40 -p1
|
%patch40 -p1
|
||||||
%patch41 -p1
|
|
||||||
%patch42 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
NOCONFIGURE=1 gnome-autogen.sh
|
NOCONFIGURE=1 gnome-autogen.sh
|
||||||
@@ -264,7 +258,8 @@ NOCONFIGURE=1 gnome-autogen.sh
|
|||||||
--disable-split-authentication \
|
--disable-split-authentication \
|
||||||
%endif
|
%endif
|
||||||
--disable-scrollkeeper \
|
--disable-scrollkeeper \
|
||||||
--with-initial-vt=7
|
--with-initial-vt=7 \
|
||||||
|
--with-run-dir=/run/gdm
|
||||||
%__make %{?jobs:-j%jobs} V=1
|
%__make %{?jobs:-j%jobs} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -279,8 +274,6 @@ mkdir -p %{buildroot}%{_libdir}/gdm/simple-greeter/extensions
|
|||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
rm %{buildroot}%{systemdsystemunitdir}/gdm.service
|
rm %{buildroot}%{systemdsystemunitdir}/gdm.service
|
||||||
%endif
|
%endif
|
||||||
# Remove wrapper, it is not needed.
|
|
||||||
mv $RPM_BUILD_ROOT%{_sbindir}/gdm-binary $RPM_BUILD_ROOT%{_sbindir}/gdm
|
|
||||||
# dconf database, rebuilt in scriptlets; touch it for %%ghost
|
# dconf database, rebuilt in scriptlets; touch it for %%ghost
|
||||||
touch %{buildroot}%{_sysconfdir}/dconf/db/gdm
|
touch %{buildroot}%{_sysconfdir}/dconf/db/gdm
|
||||||
## Install PAM files.
|
## Install PAM files.
|
||||||
|
Reference in New Issue
Block a user