commit gdm for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdm for openSUSE:Factory checked in at 2024-06-04 12:50:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdm (Old) and /work/SRC/openSUSE:Factory/.gdm.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gdm" Tue Jun 4 12:50:20 2024 rev:267 rq:1178280 version:46.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gdm/gdm.changes 2024-03-20 21:13:15.847565910 +0100 +++ /work/SRC/openSUSE:Factory/.gdm.new.24587/gdm.changes 2024-06-04 12:50:23.994234518 +0200 @@ -1,0 +2,11 @@ +Mon Jun 3 09:50:14 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> + +- Update to version 46.2: + + Block suspend when remote displays are active. + + Support S0ix suspend when deciding if nvidia should use + wayland. + + Misc fixes. + + Updated translations. +- Rebase gdm-initial-setup-hardening.patch. + +------------------------------------------------------------------- Old: ---- gdm-46.0.obscpio New: ---- gdm-46.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm.spec ++++++ --- /var/tmp/diff_new_pack.I2KLGx/_old 2024-06-04 12:50:24.858265872 +0200 +++ /var/tmp/diff_new_pack.I2KLGx/_new 2024-06-04 12:50:24.858265872 +0200 @@ -27,7 +27,7 @@ %endif Name: gdm -Version: 46.0 +Version: 46.2 Release: 0 Summary: The GNOME Display Manager License: GPL-2.0-or-later ++++++ _service ++++++ --- /var/tmp/diff_new_pack.I2KLGx/_old 2024-06-04 12:50:24.910267759 +0200 +++ /var/tmp/diff_new_pack.I2KLGx/_new 2024-06-04 12:50:24.914267904 +0200 @@ -3,7 +3,7 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://gitlab.gnome.org/GNOME/gdm.git</param> - <param name="revision">46.0</param> + <param name="revision">46.2</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionrewrite-pattern">(.*)\+0</param> <param name="versionrewrite-replacement">\1</param> ++++++ gdm-46.0.obscpio -> gdm-46.2.obscpio ++++++ /work/SRC/openSUSE:Factory/gdm/gdm-46.0.obscpio /work/SRC/openSUSE:Factory/.gdm.new.24587/gdm-46.2.obscpio differ: char 48, line 1 ++++++ gdm-initial-setup-hardening.patch ++++++ --- /var/tmp/diff_new_pack.I2KLGx/_old 2024-06-04 12:50:25.034272259 +0200 +++ /var/tmp/diff_new_pack.I2KLGx/_new 2024-06-04 12:50:25.038272404 +0200 @@ -1,8 +1,8 @@ -Index: gdm-45.beta/daemon/gdm-display.c +Index: gdm-46.2/daemon/gdm-display.c =================================================================== ---- gdm-45.beta.orig/daemon/gdm-display.c -+++ gdm-45.beta/daemon/gdm-display.c -@@ -1537,12 +1537,12 @@ can_create_environment (const char *sess +--- gdm-46.2.orig/daemon/gdm-display.c ++++ gdm-46.2/daemon/gdm-display.c +@@ -1538,12 +1538,12 @@ can_create_environment (const char *sess return session_exists; } @@ -18,7 +18,7 @@ return TRUE; return FALSE; -@@ -1624,7 +1624,7 @@ wants_initial_setup (GdmDisplay *self) +@@ -1625,7 +1625,7 @@ wants_initial_setup (GdmDisplay *self) priv = gdm_display_get_instance_private (self); @@ -27,11 +27,11 @@ return FALSE; } -Index: gdm-45.beta/daemon/gdm-manager.c +Index: gdm-46.2/daemon/gdm-manager.c =================================================================== ---- gdm-45.beta.orig/daemon/gdm-manager.c -+++ gdm-45.beta/daemon/gdm-manager.c -@@ -60,7 +60,7 @@ +--- gdm-46.2.orig/daemon/gdm-manager.c ++++ gdm-46.2/daemon/gdm-manager.c +@@ -62,7 +62,7 @@ #define GDM_MANAGER_DISPLAYS_PATH GDM_DBUS_PATH "/Displays" #define INITIAL_SETUP_USERNAME "gnome-initial-setup" @@ -40,32 +40,28 @@ typedef struct { -@@ -1789,6 +1789,7 @@ on_start_user_session (StartUserSessionO - gboolean doing_initial_setup = FALSE; +@@ -1847,6 +1847,7 @@ on_start_user_session (StartUserSessionO + gboolean fail_if_already_switched = TRUE; GdmDisplay *display; const char *session_id; + int fd = -1; g_debug ("GdmManager: start or jump to session"); -@@ -1815,6 +1816,15 @@ on_start_user_session (StartUserSessionO - "doing-initial-setup", &doing_initial_setup, - NULL); - -+ fd = open(BLOCK_INITIAL_SETUP, O_RDONLY|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0644); -+ if (fd == -1 && errno != EEXIST) { -+ g_warning ("GdmDisplay: Could not write initial-setup-done marker to %s: %s", -+ BLOCK_INITIAL_SETUP, -+ strerror(errno)); -+ } -+ else { -+ close(fd); -+ } - if (doing_initial_setup) - chown_initial_setup_home_dir (); - -@@ -1835,20 +1845,9 @@ on_start_user_session (StartUserSessionO - +@@ -1889,22 +1890,21 @@ on_start_user_session (StartUserSessionO + "doing-initial-setup", &doing_initial_setup, + NULL); + ++ fd = open(BLOCK_INITIAL_SETUP, O_RDONLY|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0644); ++ if (fd == -1 && errno != EEXIST) { ++ g_warning ("GdmDisplay: Could not write initial-setup-done marker to %s: %s", ++ BLOCK_INITIAL_SETUP, ++ strerror(errno)); ++ } ++ else { ++ close(fd); ++ } ++ g_object_ref (display); if (doing_initial_setup) { - g_autoptr(GError) error = NULL; @@ -85,11 +81,11 @@ } else { g_debug ("GdmManager: session has its display server, reusing our server for another login screen"); } -Index: gdm-45.beta/daemon/meson.build +Index: gdm-46.2/daemon/meson.build =================================================================== ---- gdm-45.beta.orig/daemon/meson.build -+++ gdm-45.beta/daemon/meson.build -@@ -210,6 +210,7 @@ endif +--- gdm-46.2.orig/daemon/meson.build ++++ gdm-46.2/daemon/meson.build +@@ -227,6 +227,7 @@ endif gdm_daemon = executable('gdm', [ gdm_daemon_sources, gdm_daemon_gen_sources ], ++++++ gdm.obsinfo ++++++ --- /var/tmp/diff_new_pack.I2KLGx/_old 2024-06-04 12:50:25.130275742 +0200 +++ /var/tmp/diff_new_pack.I2KLGx/_new 2024-06-04 12:50:25.134275888 +0200 @@ -1,5 +1,5 @@ name: gdm -version: 46.0 -mtime: 1710790580 -commit: a5b591cd8d1db5c5d1ebe67d10ec3fe57b9bbded +version: 46.2 +mtime: 1716997827 +commit: fe66f25999e329212193559972fb23dd096889f2
participants (1)
-
Source-Sync