Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gdm for openSUSE:Factory checked in 
at 2023-01-24 19:42:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdm (Old)
 and      /work/SRC/openSUSE:Factory/.gdm.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdm"

Tue Jan 24 19:42:37 2023 rev:251 rq:1060503 version:43.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdm/gdm.changes  2023-01-06 17:05:25.184135557 
+0100
+++ /work/SRC/openSUSE:Factory/.gdm.new.32243/gdm.changes       2023-01-24 
20:21:15.564764916 +0100
@@ -1,0 +2,7 @@
+Wed Jan 18 01:35:21 UTC 2023 - Yifan Jiang <yfji...@suse.com>
+
+- Update gdm-disable-gnome-initial-setup.patch: Refactoring to
+  disable it on SLE runtime, so with the same executable it is
+  still possible to run on Leap (jsc#PED-1719).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdm-disable-gnome-initial-setup.patch ++++++
--- /var/tmp/diff_new_pack.GyL6I9/_old  2023-01-24 20:21:16.504769626 +0100
+++ /var/tmp/diff_new_pack.GyL6I9/_new  2023-01-24 20:21:16.508769646 +0100
@@ -1,43 +1,32 @@
-Index: gdm-41.0/daemon/gdm-display.c
+Index: gdm-41.3/daemon/gdm-display.c
 ===================================================================
---- gdm-41.0.orig/daemon/gdm-display.c
-+++ gdm-41.0/daemon/gdm-display.c
-@@ -573,7 +573,7 @@ gdm_display_prepare (GdmDisplay *self)
-                 exit (EXIT_FAILURE);
-         }
- 
--        priv->doing_initial_setup = wants_initial_setup (self);
-+        priv->doing_initial_setup = FALSE;
+--- gdm-41.3.orig/daemon/gdm-display.c
++++ gdm-41.3/daemon/gdm-display.c
+@@ -1655,6 +1655,9 @@ wants_initial_setup (GdmDisplay *self)
+         gboolean enabled = FALSE;
+         gboolean forced = FALSE;
  
-         g_object_ref (self);
-         ret = GDM_DISPLAY_GET_CLASS (self)->prepare (self);
-@@ -1542,6 +1542,7 @@ on_launch_environment_session_died (GdmL
-         self_destruct (self);
- }
++        g_autofree gchar *release_name = NULL;
++        release_name = g_get_os_info (G_OS_INFO_KEY_NAME);
++
+         priv = gdm_display_get_instance_private (self);
  
-+#if 0
- static gboolean
- can_create_environment (const char *session_id)
- {
-@@ -1693,6 +1694,7 @@ wants_initial_setup (GdmDisplay *self)
+         if (already_done_initial_setup ()) {
+@@ -1691,6 +1694,16 @@ wants_initial_setup (GdmDisplay *self)
+                 return FALSE;
+         }
  
++      if (release_name == NULL) {
++              g_error ("GdmDisplay: Failed to parse os-release");
++                return enabled;
++        }
++
++        if (g_str_has_prefix (release_name, "SLE")) {
++                g_debug ("GdmDisplay: Disable gnome-initial-setup on SLE");
++              return FALSE;
++        }
++
          return enabled;
  }
-+#endif
  
- void
- gdm_display_start_greeter_session (GdmDisplay *self)
-Index: gdm-41.0/data/gdm.schemas.in
-===================================================================
---- gdm-41.0.orig/data/gdm.schemas.in
-+++ gdm-41.0/data/gdm.schemas.in
-@@ -50,7 +50,7 @@
-     <schema>
-       <key>daemon/InitialSetupEnable</key>
-       <signature>b</signature>
--      <default>true</default>
-+      <default>false</default>
-     </schema>
-     <schema>
-       <key>daemon/PreferredDisplayServer</key>
 

Reply via email to