Accepting request 964039 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/964039 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=242
This commit is contained in:
commit
9714cce3b3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb0b650a7cea90f09a33284fbd02975315407efc18e814009852d1bcad3437d4
|
||||
size 807452
|
3
gdm-42.0.tar.xz
Normal file
3
gdm-42.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a328ac976937bec179971ff07829a1246b98ce724181c128ae32a0ba47ad3855
|
||||
size 811200
|
30
gdm-restart-session-when-X-server-restart.patch
Normal file
30
gdm-restart-session-when-X-server-restart.patch
Normal file
@ -0,0 +1,30 @@
|
||||
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);
|
24
gdm.changes
24
gdm.changes
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 22:43:33 UTC 2022 - Luciano Santos <luc14n0@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.wang@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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 08:33:14 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
19
gdm.spec
19
gdm.spec
@ -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 @@ Patch15: gdm-disable-wayland-on-mgag200-chipsets.patch
|
||||
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 xwang@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 xwang@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-2.0) >= 2.56.0
|
||||
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: gnome-shell
|
||||
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 @@ providing graphical log-ins and managing local and remote displays.
|
||||
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 @@ providing graphical log-ins and managing local and remote displays.
|
||||
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 @@ running display manager.
|
||||
%if 0%{?sle_version}
|
||||
%patch1000 -p1
|
||||
%patch1001 -p1
|
||||
%patch1002 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -322,6 +327,8 @@ install -m 644 %{SOURCE11} %{buildroot}%{_sysusersdir}/gdm.conf
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
# FIXME -- Document why we don't use %%service_add_*/%%service_del_* macros.
|
||||
|
||||
%pre -f gdm.pre
|
||||
|
||||
%post
|
||||
@ -404,7 +411,7 @@ dconf update
|
||||
%config(noreplace) %{_sysconfdir}/gdm/custom.conf
|
||||
|
||||
%files systemd
|
||||
%{systemdsystemunitdir}/gdm.service
|
||||
%{_unitdir}/gdm.service
|
||||
|
||||
%files -n gdmflexiserver
|
||||
%{_bindir}/gdmflexiserver
|
||||
|
Loading…
x
Reference in New Issue
Block a user