Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gdm for openSUSE:Factory checked in 
at 2022-03-23 20:17:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdm (Old)
 and      /work/SRC/openSUSE:Factory/.gdm.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdm"

Wed Mar 23 20:17:10 2022 rev:242 rq:964039 version:42.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdm/gdm.changes  2022-02-17 23:40:51.239700752 
+0100
+++ /work/SRC/openSUSE:Factory/.gdm.new.25692/gdm.changes       2022-03-23 
20:18:42.742474098 +0100
@@ -1,0 +2,24 @@
+Mon Mar 21 22:43:33 UTC 2022 - Luciano Santos <luc1...@opensuse.org>
+
+- Update to version 42.0:
+  + Improvements to work better on NVidia cards.
+  + Look in DATADIR for launching environment data files.
+  + PAM updates on exherbo.
+  + Updated translations.
+- Add pkgconfig(gudev-1.0), with minimal version of 232, as a new
+  build requirement.
+- Add explicit update-alternatives to post(un) requirements to
+  avoid rare unexpected behaviors due to package order of
+  installation.
+- Replace systemdsystemunitdir with _unitdir macro. There's no need
+  to manually define it anymore since systemd-rpm-macros already
+  provide it.
+
+-------------------------------------------------------------------
+Wed Mar 16 00:53:48 UTC 2022 - Xiaoguang Wang <xiaoguang.w...@suse.com>
+
+- Add gdm-restart-session-when-X-server-restart.patch:
+  Avoiding the blank screen when X server restarts with
+  GDM_DISABLE_USER_DISPLAY_SERVER=1 (bsc#1196974).
+
+-------------------------------------------------------------------

Old:
----
  gdm-41.3.tar.xz

New:
----
  gdm-42.0.tar.xz
  gdm-restart-session-when-X-server-restart.patch

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

Other differences:
------------------
++++++ gdm.spec ++++++
--- /var/tmp/diff_new_pack.yMZ2Dn/_old  2022-03-23 20:18:44.278474967 +0100
+++ /var/tmp/diff_new_pack.yMZ2Dn/_new  2022-03-23 20:18:44.282474969 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%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
 %define enable_split_authentication 0
 
@@ -29,14 +28,14 @@
 %endif
 
 Name:           gdm
-Version:        41.3
+Version:        42.0
 Release:        0
 Summary:        The GNOME Display Manager
 License:        GPL-2.0-or-later
 Group:          System/GUI/GNOME
 URL:            https://wiki.gnome.org/Projects/GDM
 
-Source0:        
https://download.gnome.org/sources/gdm/41/%{name}-%{version}.tar.xz
+Source0:        
https://download.gnome.org/sources/gdm/42/%{name}-%{version}.tar.xz
 Source1:        gdm.pamd
 Source2:        gdm-autologin.pamd
 Source3:        gdm-launch-environment.pamd
@@ -76,6 +75,8 @@
 Patch1000:      gdm-disable-gnome-initial-setup.patch
 # PATCH-FIX-SLE gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch 
bnc#1188912 jsc#SLE-17880 xw...@suse.com -- Add runtime option to start X under 
root instead of regular user.
 Patch1001:      gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch
+# PATCH-FIX-SLE gdm-restart-session-when-X-server-restart.patch bsc#1196974 
xw...@suse.com -- Fix blank screen when X restarts with 
GDM_DISABLE_USER_DISPLAY_SERVER=1.
+Patch1002:      gdm-restart-session-when-X-server-restart.patch
 BuildRequires:  check-devel
 # dconf and gnome-session-core are needed for directory ownership
 BuildRequires:  dconf
@@ -101,6 +102,7 @@
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.9.12
 BuildRequires:  pkgconfig(gthread-2.0)
 BuildRequires:  pkgconfig(gtk+-3.0) >= 2.91.1
+BuildRequires:  pkgconfig(gudev-1.0) >= 232
 BuildRequires:  pkgconfig(iso-codes)
 BuildRequires:  pkgconfig(libcanberra-gtk3) >= 0.4
 BuildRequires:  pkgconfig(libkeyutils)
@@ -124,6 +126,8 @@
 Requires:       xdm
 Requires(post): dconf
 Requires(pre):  group(video)
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
 Recommends:     iso-codes
 # accessibility
 Recommends:     orca
@@ -185,7 +189,7 @@
 Summary:        The GNOME Display Manager -- Upstream default configuration
 Group:          System/GUI/GNOME
 Requires:       %{name} = %{version}
-Supplements:    packageand(%{name}:branding-upstream)
+Supplements:    (%{name} and branding-upstream)
 Conflicts:      %{name}-branding
 Provides:       %{name}-branding = %{version}
 BuildArch:      noarch
@@ -200,7 +204,7 @@
 This package provides the upstream default configuration for gdm.
 
 %package systemd
-Summary:        systemd gdm.service file
+Summary:        Systemd gdm.service file
 Group:          System/GUI/GNOME
 Requires:       gdm
 BuildArch:      noarch
@@ -243,6 +247,7 @@
 %if 0%{?sle_version}
 %patch1000 -p1
 %patch1001 -p1
+%patch1002 -p1
 %endif
 
 %build
@@ -322,6 +327,8 @@
 %check
 %meson_test
 
+# FIXME -- Document why we don't use %%service_add_*/%%service_del_* macros.
+
 %pre -f gdm.pre
 
 %post
@@ -404,7 +411,7 @@
 %config(noreplace) %{_sysconfdir}/gdm/custom.conf
 
 %files systemd
-%{systemdsystemunitdir}/gdm.service
+%{_unitdir}/gdm.service
 
 %files -n gdmflexiserver
 %{_bindir}/gdmflexiserver

++++++ gdm-41.3.tar.xz -> gdm-42.0.tar.xz ++++++
++++ 4194 lines of diff (skipped)

++++++ gdm-restart-session-when-X-server-restart.patch ++++++
Index: gdm-41.3/daemon/gdm-local-display-factory.c
===================================================================
--- gdm-41.3.orig/daemon/gdm-local-display-factory.c
+++ gdm-41.3/daemon/gdm-local-display-factory.c
@@ -541,8 +541,10 @@ on_display_status_changed (GdmDisplay
                  * ensures we get a new login screen when the user logs out,
                  * if there isn't one.
                  */
+                g_debug ("GdmLocalDisplayFactory: session_class = %s active_vt 
= %u", session_class, factory->active_vt);
                 if (is_local &&
-                    (g_strcmp0 (session_class, "greeter") != 0 || 
factory->active_vt == GDM_INITIAL_VT)) {
+                    (g_strcmp0 (session_class, "greeter") != 0 || 
factory->active_vt == GDM_INITIAL_VT
+                      || factory->active_vt == 0)) {
                         /* reset num failures */
                         factory->num_failures = 0;
 
Index: gdm-41.3/daemon/gdm-manager.c
===================================================================
--- gdm-41.3.orig/daemon/gdm-manager.c
+++ gdm-41.3/daemon/gdm-manager.c
@@ -1548,7 +1548,8 @@ on_display_status_changed (GdmDisplay *d
                         }
 #endif
 
-                        g_object_set_data (G_OBJECT (display), 
"gdm-user-session", NULL);
+                        if (getenv ("GDM_DISABLE_USER_DISPLAY_SERVER") == NULL 
)
+                                g_object_set_data (G_OBJECT (display), 
"gdm-user-session", NULL);
 
                         if (display == manager->priv->automatic_login_display) 
{
                                 g_clear_weak_pointer 
(&manager->priv->automatic_login_display);

Reply via email to