Update to 47.0, drop X11 support

This commit is contained in:
Ray Strode 2024-09-17 13:20:37 -04:00
parent 9c3cea8074
commit fb193607e1

View File

@ -6,7 +6,7 @@
Name: gdm Name: gdm
Epoch: 1 Epoch: 1
Version: 47~alpha Version: 47.0
Release: %autorelease Release: %autorelease
Summary: The GNOME Display Manager Summary: The GNOME Display Manager
@ -21,17 +21,14 @@ Source5: default.pa-for-gdm
Source6: gdm.sysusers Source6: gdm.sysusers
# Downstream patches # Downstream patches
Patch: 0001-data-Drop-unused-gdm_prefer_xorg-rule.patch
Patch: 0002-data-Drop-X11-fallback-rules.patch
Patch: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch Patch: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch
Patch: 0001-data-add-system-dconf-databases-to-gdm-profile.patch Patch: 0001-data-add-system-dconf-databases-to-gdm-profile.patch
Patch: 0001-xorg-detect.patch
Patch: 0001-Add-headless-session-files.patch Patch: 0001-Add-headless-session-files.patch
BuildRequires: dconf BuildRequires: dconf
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: libXdmcp-devel BuildRequires: git-core
BuildRequires: meson BuildRequires: meson
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: pkgconfig(accountsservice) >= 0.6.3 BuildRequires: pkgconfig(accountsservice) >= 0.6.3
@ -71,8 +68,6 @@ Requires: pam
Requires: /sbin/nologin Requires: /sbin/nologin
Requires: systemd >= 186 Requires: systemd >= 186
Requires: system-logos Requires: system-logos
Requires: xhost xmodmap xrdb
Requires: xorg-x11-xinit
Requires: python3-pam Requires: python3-pam
# Until the greeter gets dynamic user support, it can't # Until the greeter gets dynamic user support, it can't
@ -89,9 +84,7 @@ functionality for logging in a user and unlocking the user's session after
it's been locked. GDM also provides functionality for initiating user-switching, it's been locked. GDM also provides functionality for initiating user-switching,
so more than one user can be logged in at the same time. It handles so more than one user can be logged in at the same time. It handles
graphical session registration with the system for both local and remote graphical session registration with the system for both local and remote
sessions (in the latter case, via the XDMCP protocol). In cases where the sessions (in the latter case, via GNOME Remote Desktop and the RDP protocol).
session doesn't provide it's own display server, GDM can start the display
server on behalf of the session.
%package devel %package devel
Summary: Development files for gdm Summary: Development files for gdm
@ -112,18 +105,21 @@ files that are helpful to PAM modules wishing to support
GDM specific authentication features. GDM specific authentication features.
%prep %prep
%autosetup -p1 -n gdm-%{tarball_version} %autosetup -S git -p1 -n gdm-%{tarball_version}
%build %build
%meson -Dpam-prefix=%{_sysconfdir} \ %meson -Dpam-prefix=%{_sysconfdir} \
-Drun-dir=/run/gdm \ -Drun-dir=/run/gdm \
-Dudev-dir=%{_udevrulesdir} \
-Ddefault-path=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin \ -Ddefault-path=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin \
-Ddefault-pam-config=redhat \ -Ddefault-pam-config=redhat \
-Ddistro=redhat \ -Ddistro=redhat \
-Dprofiling=true \ -Dprofiling=true \
-Dplymouth=enabled \ -Dplymouth=enabled \
-Dselinux=enabled -Dselinux=enabled\
-Dwayland-support=true \
-Dx11-support=false \
-Dxdmcp=disabled
%meson_build %meson_build
@ -146,8 +142,6 @@ rm -rf %{buildroot}/%{_prefix}/doc
# create log dir # create log dir
mkdir -p %{buildroot}/var/log/gdm mkdir -p %{buildroot}/var/log/gdm
(cd %{buildroot}%{_sysconfdir}/gdm; ln -sf ../X11/xinit/Xsession .)
mkdir -p %{buildroot}%{_datadir}/gdm/autostart/LoginWindow mkdir -p %{buildroot}%{_datadir}/gdm/autostart/LoginWindow
mkdir -p %{buildroot}/run/gdm mkdir -p %{buildroot}/run/gdm
@ -227,7 +221,6 @@ fi
%config %{_sysconfdir}/pam.d/gdm-autologin %config %{_sysconfdir}/pam.d/gdm-autologin
%config %{_sysconfdir}/pam.d/gdm-password %config %{_sysconfdir}/pam.d/gdm-password
# not config files # not config files
%{_sysconfdir}/gdm/Xsession
%{_datadir}/gdm/gdm.schemas %{_datadir}/gdm/gdm.schemas
%{_sysconfdir}/dbus-1/system.d/gdm.conf %{_sysconfdir}/dbus-1/system.d/gdm.conf
%dir %{_sysconfdir}/gdm/Init %dir %{_sysconfdir}/gdm/Init
@ -238,17 +231,13 @@ fi
%dir %{_sysconfdir}/dconf/db/gdm.d/locks %dir %{_sysconfdir}/dconf/db/gdm.d/locks
%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.override %{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.override
%{_libexecdir}/gdm-host-chooser
%{_libexecdir}/gdm-runtime-config %{_libexecdir}/gdm-runtime-config
%{_libexecdir}/gdm-session-worker %{_libexecdir}/gdm-session-worker
%{_libexecdir}/gdm-simple-chooser
%{_libexecdir}/gdm-wayland-session %{_libexecdir}/gdm-wayland-session
%{_libexecdir}/gdm-x-session
%{_libexecdir}/gdm-headless-login-session %{_libexecdir}/gdm-headless-login-session
%{_sbindir}/gdm %{_sbindir}/gdm
%{_bindir}/gdmflexiserver %{_bindir}/gdmflexiserver
%{_bindir}/gdm-config %{_bindir}/gdm-config
%{_bindir}/gdm-screenshot
%dir %{_datadir}/dconf %dir %{_datadir}/dconf
%dir %{_datadir}/dconf/profile %dir %{_datadir}/dconf/profile
%{_datadir}/dconf/profile/gdm %{_datadir}/dconf/profile/gdm
@ -274,7 +263,6 @@ fi
%config %{_sysconfdir}/pam.d/gdm-smartcard %config %{_sysconfdir}/pam.d/gdm-smartcard
%config %{_sysconfdir}/pam.d/gdm-fingerprint %config %{_sysconfdir}/pam.d/gdm-fingerprint
%{_sysconfdir}/pam.d/gdm-launch-environment %{_sysconfdir}/pam.d/gdm-launch-environment
%{_udevrulesdir}/61-gdm.rules
%{_unitdir}/gdm.service %{_unitdir}/gdm.service
%{_unitdir}/gnome-headless-session@.service %{_unitdir}/gnome-headless-session@.service
%dir %{_userunitdir}/gnome-session@gnome-login.target.d/ %dir %{_userunitdir}/gnome-session@gnome-login.target.d/