SHA256
1
0
forked from pool/gdm

osc copypac from project:GNOME:Factory package:gdm revision:414, using expand

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=416
This commit is contained in:
Dominique Leuenberger 2018-11-06 11:21:57 +00:00 committed by Git OBS Bridge
parent 8bee476666
commit b2200d14b6
11 changed files with 223 additions and 124 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6041a07fbbd28f6e55a15abea6fb650c8ab6988df557da320bd6983e4009b571
size 1122352

3
gdm-3.30.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b3d11856adf9fc26b43b2742c196e9e9dc2d2a5eff8bb34d906537288e2732f
size 1263624

View File

@ -1,7 +1,7 @@
Index: gdm-3.19.2/daemon/gdm-session.c Index: gdm-3.29.90/daemon/gdm-session.c
=================================================================== ===================================================================
--- gdm-3.19.2.orig/daemon/gdm-session.c --- gdm-3.29.90.orig/daemon/gdm-session.c 2018-08-03 16:20:50.000000000 +0200
+++ gdm-3.19.2/daemon/gdm-session.c +++ gdm-3.29.90/daemon/gdm-session.c 2018-08-04 00:31:42.875646365 +0200
@@ -43,6 +43,8 @@ @@ -43,6 +43,8 @@
#include <glib-object.h> #include <glib-object.h>
#include <gio/gio.h> #include <gio/gio.h>
@ -11,7 +11,7 @@ Index: gdm-3.19.2/daemon/gdm-session.c
#include "gdm-session.h" #include "gdm-session.h"
#include "gdm-session-glue.h" #include "gdm-session-glue.h"
#include "gdm-dbus-util.h" #include "gdm-dbus-util.h"
@@ -523,6 +525,14 @@ get_fallback_session_name (GdmSession *s @@ -541,6 +543,14 @@ get_fallback_session_name (GdmSession *s
} }
} }

View File

@ -1,23 +0,0 @@
Index: b/data/61-gdm.rules
===================================================================
--- a/data/61-gdm.rules 2018-02-20 02:16:32.000000000 +0800
+++ b/data/61-gdm.rules 2018-04-08 20:31:18.860133428 +0800
@@ -1,2 +1,17 @@
-# disable Wayland on Cirrus chipsets
+# Disable Wayland on specific chipsets
+
+# Cirrus Logic
ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+
+# Matrox Electronics Systems Ltd. MGA G200 server engines
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0522", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0524", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0530", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0532", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0533", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0534", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0536", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+ATTR{vendor}=="0x102b", ATTR{device}=="0x0538", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"
+
+# ASPEED Technology, Inc.
+ATTR{vendor}=="0x1a03", ATTR{device}=="0x2000", RUN+="/bin/sh -c '/bin/mkdir /run/gdm ; /usr/bin/printf \"[daemon]\nWaylandEnable=false\" >> /run/gdm/custom.conf'"

View File

@ -1,8 +1,8 @@
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c Index: gdm-3.29.90/daemon/gdm-display.c
index ab84ba4..e1d0996 100644 ===================================================================
--- a/daemon/gdm-display.c --- gdm-3.29.90.orig/daemon/gdm-display.c 2018-08-03 16:20:47.000000000 +0200
+++ b/daemon/gdm-display.c +++ gdm-3.29.90/daemon/gdm-display.c 2018-08-04 00:31:42.919646968 +0200
@@ -673,7 +673,7 @@ gdm_display_unmanage (GdmDisplay *self) @@ -706,7 +706,7 @@ gdm_display_unmanage (GdmDisplay *self)
} }
elapsed = g_timer_elapsed (self->priv->server_timer, NULL); elapsed = g_timer_elapsed (self->priv->server_timer, NULL);

View File

@ -1,8 +1,8 @@
Index: gdm-3.26.2.1/libgdm/gdm-sessions.c Index: gdm-3.29.90/libgdm/gdm-sessions.c
=================================================================== ===================================================================
--- gdm-3.26.2.1.orig/libgdm/gdm-sessions.c --- gdm-3.29.90.orig/libgdm/gdm-sessions.c 2018-06-26 19:59:06.000000000 +0200
+++ gdm-3.26.2.1/libgdm/gdm-sessions.c +++ gdm-3.29.90/libgdm/gdm-sessions.c 2018-08-04 00:34:12.709684550 +0200
@@ -202,6 +202,34 @@ collect_sessions_from_directory (const c @@ -212,6 +212,34 @@ collect_sessions_from_directory (const c
g_dir_close (dir); g_dir_close (dir);
} }
@ -37,17 +37,17 @@ Index: gdm-3.26.2.1/libgdm/gdm-sessions.c
static void static void
collect_sessions (void) collect_sessions (void)
{ {
@@ -233,6 +261,7 @@ collect_sessions (void) @@ -269,6 +269,7 @@ collect_sessions (void)
#ifdef ENABLE_WAYLAND_SUPPORT
#ifdef ENABLE_USER_DISPLAY_SERVER #ifdef ENABLE_USER_DISPLAY_SERVER
if (g_getenv ("WAYLAND_DISPLAY") == NULL && g_getenv ("RUNNING_UNDER_GDM") != NULL) { if (g_getenv ("WAYLAND_DISPLAY") == NULL && g_getenv ("RUNNING_UNDER_GDM") != NULL) {
g_array_free (wayland_search_array, TRUE);
+ remove_duplicated_session_name(); + remove_duplicated_session_name();
return; return;
} }
#endif #endif
@@ -241,6 +270,8 @@ collect_sessions (void) @@ -279,6 +280,8 @@ collect_sessions (void)
collect_sessions_from_directory (wayland_search_dirs [i]);
} g_array_free (wayland_search_array, TRUE);
#endif #endif
+ +
+ remove_duplicated_session_name(); + remove_duplicated_session_name();

View File

@ -1,7 +1,7 @@
Index: gdm-3.26.1/daemon/main.c Index: gdm-3.29.90/daemon/main.c
=================================================================== ===================================================================
--- gdm-3.26.1.orig/daemon/main.c --- gdm-3.29.90.orig/daemon/main.c 2018-08-03 16:20:51.000000000 +0200
+++ gdm-3.26.1/daemon/main.c +++ gdm-3.29.90/daemon/main.c 2018-08-04 00:35:56.183076931 +0200
@@ -33,6 +33,8 @@ @@ -33,6 +33,8 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <locale.h> #include <locale.h>
@ -43,7 +43,7 @@ Index: gdm-3.26.1/daemon/main.c
static gboolean do_timed_exit = FALSE; static gboolean do_timed_exit = FALSE;
static gboolean print_version = FALSE; static gboolean print_version = FALSE;
static gboolean fatal_warnings = FALSE; static gboolean fatal_warnings = FALSE;
@@ -383,6 +403,8 @@ main (int argc, @@ -382,6 +402,8 @@ main (int argc,
g_chdir ("/"); g_chdir ("/");
@ -52,7 +52,7 @@ Index: gdm-3.26.1/daemon/main.c
main_loop = g_main_loop_new (NULL, FALSE); main_loop = g_main_loop_new (NULL, FALSE);
g_unix_signal_add (SIGTERM, on_shutdown_signal_cb, main_loop); g_unix_signal_add (SIGTERM, on_shutdown_signal_cb, main_loop);
@@ -405,6 +427,10 @@ main (int argc, @@ -404,6 +426,10 @@ main (int argc,
g_main_loop_unref (main_loop); g_main_loop_unref (main_loop);

View File

@ -1,8 +1,8 @@
Index: b/common/Makefile.am Index: gdm-3.29.90/common/Makefile.am
=================================================================== ===================================================================
--- a/common/Makefile.am 2018-01-19 20:09:39.075556951 +0800 --- gdm-3.29.90.orig/common/Makefile.am 2018-08-01 20:59:59.000000000 +0200
+++ b/common/Makefile.am 2018-01-19 20:10:57.572967891 +0800 +++ gdm-3.29.90/common/Makefile.am 2018-08-04 00:23:24.620553113 +0200
@@ -52,11 +52,15 @@ @@ -46,11 +46,15 @@ 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 \
@ -17,11 +17,11 @@ Index: b/common/Makefile.am
+ gdm-sysconfig.h \ + gdm-sysconfig.h \
gdm-log.h \ gdm-log.h \
gdm-log.c \ gdm-log.c \
$(MKDTEMP_FILES) \ $(NULL)
Index: b/common/gdm-settings-system-backend.c Index: gdm-3.29.90/common/gdm-settings-system-backend.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ b/common/gdm-settings-system-backend.c 2018-01-19 20:10:57.572967891 +0800 +++ gdm-3.29.90/common/gdm-settings-system-backend.c 2018-08-04 00:23:24.620553113 +0200
@@ -0,0 +1,369 @@ @@ -0,0 +1,369 @@
+/* -*- 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 -*-
+ * + *
@ -392,10 +392,10 @@ Index: b/common/gdm-settings-system-backend.c
+ +
+ return GDM_SETTINGS_BACKEND (object); + return GDM_SETTINGS_BACKEND (object);
+} +}
Index: b/common/gdm-settings-system-backend.h Index: gdm-3.29.90/common/gdm-settings-system-backend.h
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ b/common/gdm-settings-system-backend.h 2018-01-19 20:10:57.572967891 +0800 +++ gdm-3.29.90/common/gdm-settings-system-backend.h 2018-08-04 00:23:24.620553113 +0200
@@ -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 -*-
+ * + *
@ -453,10 +453,10 @@ Index: b/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: b/common/gdm-settings.c Index: gdm-3.29.90/common/gdm-settings.c
=================================================================== ===================================================================
--- a/common/gdm-settings.c 2018-01-19 20:10:02.587982412 +0800 --- gdm-3.29.90.orig/common/gdm-settings.c 2018-06-26 19:59:06.000000000 +0200
+++ b/common/gdm-settings.c 2018-01-19 20:12:09.186231713 +0800 +++ gdm-3.29.90/common/gdm-settings.c 2018-08-04 00:23:24.620553113 +0200
@@ -38,6 +38,7 @@ @@ -38,6 +38,7 @@
#include "gdm-settings.h" #include "gdm-settings.h"
@ -465,7 +465,7 @@ Index: b/common/gdm-settings.c
#define GDM_SETTINGS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_SETTINGS, GdmSettingsPrivate)) #define GDM_SETTINGS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_SETTINGS, GdmSettingsPrivate))
@@ -198,6 +199,8 @@ @@ -198,6 +199,8 @@ gdm_settings_init (GdmSettings *settings
if (backend) if (backend)
settings->priv->backends = g_list_prepend (NULL, backend); settings->priv->backends = g_list_prepend (NULL, backend);
@ -474,10 +474,10 @@ Index: b/common/gdm-settings.c
backend = gdm_settings_desktop_backend_new (GDM_RUNTIME_CONF); backend = gdm_settings_desktop_backend_new (GDM_RUNTIME_CONF);
if (backend) if (backend)
settings->priv->backends = g_list_prepend (settings->priv->backends, backend); settings->priv->backends = g_list_prepend (settings->priv->backends, backend);
Index: b/common/gdm-sysconfig.c Index: gdm-3.29.90/common/gdm-sysconfig.c
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ b/common/gdm-sysconfig.c 2018-01-19 20:10:57.572967891 +0800 +++ gdm-3.29.90/common/gdm-sysconfig.c 2018-08-04 00:23:24.620553113 +0200
@@ -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 -*-
+ * + *
@ -963,10 +963,10 @@ Index: b/common/gdm-sysconfig.c
+ g_strfreev (lines); + g_strfreev (lines);
+ return result; + return result;
+} +}
Index: b/common/gdm-sysconfig.h Index: gdm-3.29.90/common/gdm-sysconfig.h
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ b/common/gdm-sysconfig.h 2018-01-19 20:10:57.572967891 +0800 +++ gdm-3.29.90/common/gdm-sysconfig.h 2018-08-04 00:23:24.624553173 +0200
@@ -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 -*-
+ * + *
@ -1011,10 +1011,10 @@ Index: b/common/gdm-sysconfig.h
+G_END_DECLS +G_END_DECLS
+ +
+#endif /* __GDM_SYSCONFIG_H */ +#endif /* __GDM_SYSCONFIG_H */
Index: b/data/gdm.conf-custom.in Index: gdm-3.29.90/data/gdm.conf-custom.in
=================================================================== ===================================================================
--- a/data/gdm.conf-custom.in 2018-01-19 20:09:39.075556951 +0800 --- gdm-3.29.90.orig/data/gdm.conf-custom.in 2018-08-01 21:00:01.000000000 +0200
+++ b/data/gdm.conf-custom.in 2018-01-19 20:10:57.572967891 +0800 +++ gdm-3.29.90/data/gdm.conf-custom.in 2018-08-04 00:23:24.624553173 +0200
@@ -1,4 +1,7 @@ @@ -1,4 +1,7 @@
# GDM configuration storage # GDM configuration storage
+# +#
@ -1022,4 +1022,4 @@ Index: b/data/gdm.conf-custom.in
+# +#
[daemon] [daemon]
# Uncoment the line below to force the login screen to use Xorg # Uncomment the line below to force the login screen to use Xorg

View File

@ -1,8 +1,8 @@
Index: gdm-3.26.1/common/gdm-common.c Index: gdm-3.29.90/common/gdm-common.c
=================================================================== ===================================================================
--- gdm-3.26.1.orig/common/gdm-common.c --- gdm-3.29.90.orig/common/gdm-common.c 2018-08-02 22:02:19.000000000 +0200
+++ gdm-3.26.1/common/gdm-common.c +++ gdm-3.29.90/common/gdm-common.c 2018-08-04 00:26:09.874978033 +0200
@@ -591,6 +591,8 @@ gdm_get_script_environment (const char * @@ -628,6 +628,8 @@ gdm_get_script_environment (const char *
if (display_hostname) { if (display_hostname) {
g_hash_table_insert (hash, g_strdup ("REMOTE_HOST"), g_strdup (display_hostname)); g_hash_table_insert (hash, g_strdup ("REMOTE_HOST"), g_strdup (display_hostname));
@ -11,7 +11,7 @@ Index: gdm-3.26.1/common/gdm-common.c
} }
/* Runs as root */ /* Runs as root */
@@ -797,3 +799,14 @@ gdm_shell_expand (const char *str, @@ -839,3 +841,14 @@ gdm_shell_expand (const char *str,
} }
return g_string_free (s, FALSE); return g_string_free (s, FALSE);
} }
@ -26,22 +26,22 @@ Index: gdm-3.26.1/common/gdm-common.c
+ return g_strdup ("localhost"); + return g_strdup ("localhost");
+ } + }
+} +}
Index: gdm-3.26.1/common/gdm-common.h Index: gdm-3.29.90/common/gdm-common.h
=================================================================== ===================================================================
--- gdm-3.26.1.orig/common/gdm-common.h --- gdm-3.29.90.orig/common/gdm-common.h 2018-08-02 22:02:19.000000000 +0200
+++ gdm-3.26.1/common/gdm-common.h +++ gdm-3.29.90/common/gdm-common.h 2018-08-04 00:26:09.874978033 +0200
@@ -54,6 +54,7 @@ const char * gdm_make_temp_dir @@ -56,6 +56,7 @@ char *gdm_generate_random_bytes
char *gdm_generate_random_bytes (gsize size, gboolean gdm_get_login_window_session_id (const char *seat_id,
GError **error); char **session_id);
gboolean gdm_goto_login_session (GError **error); gboolean gdm_goto_login_session (GError **error);
+char *gdm_gethostname (void); +char *gdm_gethostname (void);
GPtrArray *gdm_get_script_environment (const char *username, GPtrArray *gdm_get_script_environment (const char *username,
const char *display_name, const char *display_name,
Index: gdm-3.26.1/daemon/gdm-display-access-file.c Index: gdm-3.29.90/daemon/gdm-display-access-file.c
=================================================================== ===================================================================
--- gdm-3.26.1.orig/daemon/gdm-display-access-file.c --- gdm-3.29.90.orig/daemon/gdm-display-access-file.c 2018-08-03 16:20:47.000000000 +0200
+++ gdm-3.26.1/daemon/gdm-display-access-file.c +++ gdm-3.29.90/daemon/gdm-display-access-file.c 2018-08-04 00:26:09.874978033 +0200
@@ -443,13 +443,10 @@ _get_auth_info_for_display (GdmDisplayAc @@ -443,13 +443,10 @@ _get_auth_info_for_display (GdmDisplayAc
* *
* https://bugs.freedesktop.org/show_bug.cgi?id=43425 * https://bugs.freedesktop.org/show_bug.cgi?id=43425
@ -59,11 +59,11 @@ Index: gdm-3.26.1/daemon/gdm-display-access-file.c
} else { } else {
*family = FamilyWild; *family = FamilyWild;
gdm_display_get_remote_hostname (display, address, NULL); gdm_display_get_remote_hostname (display, address, NULL);
Index: gdm-3.26.1/daemon/gdm-launch-environment.c Index: gdm-3.29.90/daemon/gdm-launch-environment.c
=================================================================== ===================================================================
--- gdm-3.26.1.orig/daemon/gdm-launch-environment.c --- gdm-3.29.90.orig/daemon/gdm-launch-environment.c 2018-08-03 16:20:48.000000000 +0200
+++ gdm-3.26.1/daemon/gdm-launch-environment.c +++ gdm-3.29.90/daemon/gdm-launch-environment.c 2018-08-04 00:26:09.874978033 +0200
@@ -201,6 +201,11 @@ build_launch_environment (GdmLaunchEnvir @@ -218,6 +218,11 @@ build_launch_environment (GdmLaunchEnvir
g_hash_table_insert (hash, g_strdup ("GDM_SEAT_ID"), g_strdup (seat_id)); g_hash_table_insert (hash, g_strdup ("GDM_SEAT_ID"), g_strdup (seat_id));
} }
@ -72,14 +72,14 @@ Index: gdm-3.26.1/daemon/gdm-launch-environment.c
+ g_hash_table_insert (hash, g_strdup ("XAUTHLOCALHOSTNAME"), gdm_gethostname ()); + g_hash_table_insert (hash, g_strdup ("XAUTHLOCALHOSTNAME"), gdm_gethostname ());
+ } + }
+ +
g_hash_table_insert (hash, g_strdup ("PATH"), g_strdup (g_getenv ("PATH")));
g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true")); g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));
Index: gdm-3.26.1/daemon/gdm-session.c
return hash;
Index: gdm-3.29.90/daemon/gdm-session.c
=================================================================== ===================================================================
--- gdm-3.26.1.orig/daemon/gdm-session.c --- gdm-3.29.90.orig/daemon/gdm-session.c 2018-08-04 00:26:09.862977860 +0200
+++ gdm-3.26.1/daemon/gdm-session.c +++ gdm-3.29.90/daemon/gdm-session.c 2018-08-04 00:26:09.874978033 +0200
@@ -2570,6 +2570,14 @@ set_up_session_environment (GdmSession * @@ -2578,6 +2578,14 @@ set_up_session_environment (GdmSession *
} }
} }

View File

@ -1,3 +1,111 @@
-------------------------------------------------------------------
Mon Oct 1 21:18:00 UTC 2018 - luc14n0@linuxmail.org
- Re-add still needed 61-gdm.rules removal until glgo#GNOME/gdm#424
gets fixed.
-------------------------------------------------------------------
Wed Sep 26 10:45:19 UTC 2018 - bjorn.lie@gmail.com
- Update to version 3.30.1:
+ Make udev rule configurable.
+ Follow up fixes dealing with login screen reaping from two
releases ago.
+ Disable wayland on proprietary nvidia machines for now.
+ Updated translations.
- Drop gdm-make-udev-dir-configurable.patch: Fixed upstream.
-------------------------------------------------------------------
Wed Sep 5 02:42:59 UTC 2018 - luc14n0@linuxmail.org
- Update to version 3.30.0:
+ No visible changes for the user.
- Drop gdm-ignore-spurios-SeatNew-signal.patch: fixed upstream.
- Add gdm-make-udev-dir-configurable.patch: Make udev directory
configurable. Patch provided by upstream (glgo#GNOME/gdm!44).
- Rebase gdm-ignore-duplicate-session.patch.
-------------------------------------------------------------------
Sat Sep 1 19:20:01 UTC 2018 - bjorn.lie@gmail.com
- Update to version 3.29.92:
+ Search for sessions in XDG_DATA_DIRS.
+ Blacklist some more wayland unfriendly hardware.
+ Initial setup fix.
+ Flicker fix.
+ Misc bug fixes.
-------------------------------------------------------------------
Fri Aug 24 03:29:91 UTC 2018 - bjorn.lie@gmail.com
- Update to version 3.29.91:
+ CVE-2018-14424: double free fix.
+ Follow up fixes dealing with login screen reaping form last
release.
+ Add more debug logging.
+ Updated translations.
- Drop gdm-CVE-2018-14424.patch: Fixed upstream.
- Add gdm-ignore-spurios-SeatNew-signal.patch: Fix crashes.
-------------------------------------------------------------------
Thu Aug 23 15:03:13 UTC 2018 - bjorn.lie@gmail.com
- Update to version 3.28.4:
+ Add missing gdm-disable-wayland binary (fixes VM boots).
+ Disable wayland for certain server cards that mutter can't yet
handle sufficiently.
- Drop gdm-disable-wayland-on-unsupported-chipsets.patch: Fixed
upstream.
-------------------------------------------------------------------
Wed Aug 15 23:53:20 UTC 2018 - luc14n0@linuxmail.org
- Update to version 3.28.3:
+ CVE-2018-14424 - double free fix.
+ Lifecycle fixes to libgdm/GdmClient.
+ Follow up fixes dealing with login screen reaping from last
release.
+ Allow pam modules to use SIGUSR1.
+ Set PWD for user session.
+ Tell cirrus not to use wayland.
+ Updated translations.
- Drop gdm-CVE-2018-14424.patch: fixed upstream.
- Rebase gdm-disable-wayland-on-unsupported-chipsets.patch applying
it against data/61-gdm.rules.in instead of data/61-gdm.rules to
avoid hard coding directories.
-------------------------------------------------------------------
Wed Aug 15 06:50:36 UTC 2018 - fezhang@suse.com
- Add gdm-CVE-2018-14424.patch: Pass the display object rather than
the id in the removed signal, fix use-after-free of disposed
transient displays (CVE-2018-14424, glgo#GNOME#gdm#401,
boo#1103737).
-------------------------------------------------------------------
Fri Aug 3 22:16:38 UTC 2018 - bjorn.lie@gmail.com
- Update to version 3.29.90:
+ Display wayland on certain server machines.
+ Lifecycle fixes to libgdm/GdmClient.
+ Drop intltool.
+ Build goo clean ups
+ Kill login screen when not in use.
+ Cclean up stale utmp entries.
+ Misc fixes.
+ Updated translations.
- Rebase gdm-disable-wayland-on-unsupported-chipsets.patch.
- Disable
dm-add-runtime-option-to-disable-starting-X-server-as-u.patch:
Needs rebase.
- Refresh the following patches with quilt:
+ gdm-default-wm.patch.
+ gdm-fails-to-restart-gnome-shell.patch.
+ gdm-ignore-duplicate-session.patch.
+ gdm-plymouth-vt1.patch.
+ gdm-sysconfig-settings.patch
+ gdm-xauthlocalhostname.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 31 12:43:52 UTC 2018 - bwiedemann@suse.com Tue Jul 31 12:43:52 UTC 2018 - bwiedemann@suse.com
@ -9,6 +117,16 @@ Thu Jul 26 11:52:06 UTC 2018 - dimstar@opensuse.org
- Enable pam_keyinit module (boo#1081947). - Enable pam_keyinit module (boo#1081947).
-------------------------------------------------------------------
Sat Jun 2 02:39:31 UTC 2018 - luc14n0@linuxmail.org
- Update to version 3.29.1:
+ Reference counting fixes for GdmClient- ensure plymouth is quit
properly even when local greeter is disabled.
+ Make sure GDM doesn't hang when called with unknown command
line arguments.
- Rebase gdm-xauthlocalhostname.patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 20 02:19:32 UTC 2018 - luc14n0@linuxmail.org Sun May 20 02:19:32 UTC 2018 - luc14n0@linuxmail.org
@ -90,7 +208,7 @@ Mon Mar 12 04:46:37 UTC 2018 - yfjiang@suse.com
back GNOME to X, the patch targets to provide a better user back GNOME to X, the patch targets to provide a better user
experiences for servers with mgag200 graphic chips, which suffer experiences for servers with mgag200 graphic chips, which suffer
the sluggish keyboard/mouse issues running GNOME on wayland the sluggish keyboard/mouse issues running GNOME on wayland
(bsc#1073550 bsc#1077802). Some of the servers could not (bsc#1073550, bsc#1077802). Some of the servers could not
initiate GNOME in a similar context (bsc#1070933). initiate GNOME in a similar context (bsc#1070933).
With the complexity of the problem, Wayland probably needs With the complexity of the problem, Wayland probably needs

View File

@ -12,21 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define systemdsystemunitdir %(pkg-config --variable=systemdsystemunitdir systemd) %define systemdsystemunitdir %(pkg-config --variable=systemdsystemunitdir systemd)
# FIXME: need to check what should be done to enable this (at least adapt the pam files). See bnc#699999 # FIXME: need to check what should be done to enable this (at least adapt the pam files). See bnc#699999
%define enable_split_authentication 0 %define enable_split_authentication 0
Name: gdm Name: gdm
Version: 3.28.2 Version: 3.30.1
Release: 0 Release: 0
Summary: The GNOME Display Manager Summary: The GNOME Display Manager
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/GUI/GNOME Group: System/GUI/GNOME
URL: https://wiki.gnome.org/Projects/GDM URL: https://wiki.gnome.org/Projects/GDM
Source: http://download.gnome.org/sources/gdm/3.28/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gdm/3.30/%{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
@ -38,32 +39,32 @@ Source6: gdmflexiserver-wrapper
Source7: X11-displaymanager-gdm Source7: X11-displaymanager-gdm
# GDM does not boostrap using gnome-autogen.sh, but has it's own bootstrap script # GDM does not boostrap using gnome-autogen.sh, but has it's own bootstrap script
Source8: autogen.sh Source8: autogen.sh
# PATCH-FIX-UPSTREAM gdm-disable-wayland-on-unsupported-chipsets.patch bgo#789081 bgo#794106 boo#1059356 boo#1083609 boo#1088539 fezhang@suse.com -- Disable Wayland on unsupported chipsets
Patch1: gdm-disable-wayland-on-unsupported-chipsets.patch # WARNING: do not remove/significantly change patch0 without updating the relevant patch in accountsservice too
# WARNING: do not remove/significantly change patch3 without updating the relevant patch in accountsservice too
# PATCH-FIX-OPENSUSE gdm-sysconfig-settings.patch bnc432360 bsc#919723 hpj@novell.com -- Read autologin options from /etc/sysconfig/displaymanager; note that accountsservice has a similar patch (accountsservice-sysconfig.patch) # PATCH-FIX-OPENSUSE gdm-sysconfig-settings.patch bnc432360 bsc#919723 hpj@novell.com -- Read autologin options from /etc/sysconfig/displaymanager; note that accountsservice has a similar patch (accountsservice-sysconfig.patch)
Patch3: gdm-sysconfig-settings.patch Patch0: gdm-sysconfig-settings.patch
# PATCH-FIX-OPENSUSE gdm-suse-xsession.patch vuntz@novell.com -- Use the /etc/X11/xdm/* scripts # PATCH-FIX-OPENSUSE gdm-suse-xsession.patch vuntz@novell.com -- Use the /etc/X11/xdm/* scripts
Patch7: gdm-suse-xsession.patch Patch2: gdm-suse-xsession.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 Patch3: gdm-default-wm.patch
# PATCH-FIX-OPENSUSE gdm-xauthlocalhostname.patch bnc#538064 vuntz@novell.com -- Set XAUTHLOCALHOSTNAME to current hostname when we authenticate, for local logins, to avoid issues in the session in case the hostname changes later one. See comment 24 in the bug. # PATCH-FIX-OPENSUSE gdm-xauthlocalhostname.patch bnc#538064 vuntz@novell.com -- Set XAUTHLOCALHOSTNAME to current hostname when we authenticate, for local logins, to avoid issues in the session in case the hostname changes later one. See comment 24 in the bug.
Patch35: gdm-xauthlocalhostname.patch Patch4: gdm-xauthlocalhostname.patch
# PATCH-FIX-OPENSUSE gdm-ignore-duplicate-session.patch xwang@suse.com -- gdm sessions entries duplicate # PATCH-FIX-OPENSUSE gdm-ignore-duplicate-session.patch xwang@suse.com -- gdm sessions entries duplicate
Patch36: gdm-ignore-duplicate-session.patch Patch5: gdm-ignore-duplicate-session.patch
# PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running # PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running
Patch41: gdm-plymouth-vt1.patch Patch6: gdm-plymouth-vt1.patch
# PATCH-FIX-UPSTREAM gdm-fails-to-restart-gnome-shell.patch bsc#981976 bgo#769969 tyang@suse.com -- Gdm should stop after a few times fails # PATCH-FIX-UPSTREAM gdm-fails-to-restart-gnome-shell.patch bsc#981976 bgo#769969 tyang@suse.com -- Gdm should stop after a few times fails
Patch42: gdm-fails-to-restart-gnome-shell.patch Patch7: gdm-fails-to-restart-gnome-shell.patch
# PATCH-FIX-UPSTREAM gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch bnc#1075805 bgo#793255 msrb@suse.com -- Add runtime option to start X under root instead of regular user. Necessary if no DRI drivers are present. # PATCH-NEEDS-REBASE gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch bnc#1075805 bgo#793255 msrb@suse.com -- Add runtime option to start X under root instead of regular user. Necessary if no DRI drivers are present. WAS: PATCH-FIX-UPSTREAM, rejected upstream
Patch43: gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch Patch8: gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch
### NOTE: Keep please SLE-only patches at bottom (starting on 1000). ### NOTE: Keep please SLE-only patches at bottom (starting on 1000).
# PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 qzhao@suse.com -- Disable gnome-initial-setup runs before gdm, g-i-s will only serve for CJK people to choose the input-method after login. # PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 qzhao@suse.com -- Disable gnome-initial-setup runs before gdm, g-i-s will only serve for CJK people to choose the input-method after login.
Patch1002: gdm-disable-gnome-initial-setup.patch Patch1000: gdm-disable-gnome-initial-setup.patch
BuildRequires: check-devel BuildRequires: check-devel
# needed for directory ownership # dconf and gnome-session-core are needed for directory ownership
BuildRequires: dconf BuildRequires: dconf
# needed for directory ownership
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: gnome-session-core BuildRequires: gnome-session-core
@ -191,18 +192,21 @@ running display manager.
%prep %prep
%setup -q %setup -q
cp %{SOURCE8} . cp %{SOURCE8} .
%patch1 -p1 %patch0 -p1
%patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1 %patch7 -p1
%patch34 -p1 #patch8 -p1
%patch35 -p1
%patch36 -p1 # TODO: Hack still needed until https://gitlab.gnome.org/GNOME/gdm/issues/424 gets fixed and released.
%patch41 -p1 rm data/61-gdm.rules
%patch42 -p1
%patch43 -p1
# SLE-only patches start at 1000 # SLE-only patches start at 1000
%if !0%{?is_opensuse} %if !0%{?is_opensuse}
%patch1002 -p1 %patch1000 -p1
%endif %endif
%build %build
@ -231,7 +235,8 @@ autoreconf -fiv
--disable-split-authentication \ --disable-split-authentication \
%endif %endif
--with-initial-vt=7 \ --with-initial-vt=7 \
--with-run-dir=/run/gdm --with-run-dir=/run/gdm \
--with-udevdir=/usr/lib/udev
%make_build V=1 %make_build V=1
%install %install
@ -271,7 +276,6 @@ install -D -m 644 %{SOURCE7} %{buildroot}%{_libexecdir}/X11/displaymanagers/gdm
mkdir -p %{buildroot}%{_sysconfdir}/alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives
touch %{buildroot}%{_sysconfdir}/alternatives/default-displaymanager touch %{buildroot}%{_sysconfdir}/alternatives/default-displaymanager
ln -s %{_sysconfdir}/alternatives/default-displaymanager %{buildroot}%{_libexecdir}/X11/displaymanagers/default-displaymanager ln -s %{_sysconfdir}/alternatives/default-displaymanager %{buildroot}%{_libexecdir}/X11/displaymanagers/default-displaymanager
# Install other files # Install other files
mkdir -p %{buildroot}%{_localstatedir}/log/gdm mkdir -p %{buildroot}%{_localstatedir}/log/gdm
mkdir -p %{buildroot}/run/gdm mkdir -p %{buildroot}/run/gdm
@ -325,7 +329,7 @@ dconf update
%files %files
%license COPYING %license COPYING
%doc AUTHORS ChangeLog NEWS README %doc AUTHORS NEWS README.md
%doc %{_datadir}/help/C/%{name}/ %doc %{_datadir}/help/C/%{name}/
%dir %config %{_sysconfdir}/gdm %dir %config %{_sysconfdir}/gdm
%config %{_sysconfdir}/gdm/[IPXl]* %config %{_sysconfdir}/gdm/[IPXl]*