Update to 47.0, drop X11 support
This commit is contained in:
parent
9c3cea8074
commit
fb193607e1
30
gdm.spec
30
gdm.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: gdm
|
||||
Epoch: 1
|
||||
Version: 47~alpha
|
||||
Version: 47.0
|
||||
Release: %autorelease
|
||||
Summary: The GNOME Display Manager
|
||||
|
||||
@ -21,17 +21,14 @@ Source5: default.pa-for-gdm
|
||||
Source6: gdm.sysusers
|
||||
|
||||
# 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-data-add-system-dconf-databases-to-gdm-profile.patch
|
||||
Patch: 0001-xorg-detect.patch
|
||||
Patch: 0001-Add-headless-session-files.patch
|
||||
|
||||
BuildRequires: dconf
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: git-core
|
||||
BuildRequires: meson
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig(accountsservice) >= 0.6.3
|
||||
@ -71,8 +68,6 @@ Requires: pam
|
||||
Requires: /sbin/nologin
|
||||
Requires: systemd >= 186
|
||||
Requires: system-logos
|
||||
Requires: xhost xmodmap xrdb
|
||||
Requires: xorg-x11-xinit
|
||||
Requires: python3-pam
|
||||
|
||||
# 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,
|
||||
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
|
||||
sessions (in the latter case, via the XDMCP protocol). In cases where the
|
||||
session doesn't provide it's own display server, GDM can start the display
|
||||
server on behalf of the session.
|
||||
sessions (in the latter case, via GNOME Remote Desktop and the RDP protocol).
|
||||
|
||||
%package devel
|
||||
Summary: Development files for gdm
|
||||
@ -112,18 +105,21 @@ files that are helpful to PAM modules wishing to support
|
||||
GDM specific authentication features.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n gdm-%{tarball_version}
|
||||
%autosetup -S git -p1 -n gdm-%{tarball_version}
|
||||
|
||||
%build
|
||||
%meson -Dpam-prefix=%{_sysconfdir} \
|
||||
-Drun-dir=/run/gdm \
|
||||
-Dudev-dir=%{_udevrulesdir} \
|
||||
-Ddefault-path=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin \
|
||||
-Ddefault-pam-config=redhat \
|
||||
-Ddistro=redhat \
|
||||
-Dprofiling=true \
|
||||
-Dplymouth=enabled \
|
||||
-Dselinux=enabled
|
||||
-Dselinux=enabled\
|
||||
-Dwayland-support=true \
|
||||
-Dx11-support=false \
|
||||
-Dxdmcp=disabled
|
||||
|
||||
%meson_build
|
||||
|
||||
|
||||
@ -146,8 +142,6 @@ rm -rf %{buildroot}/%{_prefix}/doc
|
||||
# create log dir
|
||||
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}/run/gdm
|
||||
@ -227,7 +221,6 @@ fi
|
||||
%config %{_sysconfdir}/pam.d/gdm-autologin
|
||||
%config %{_sysconfdir}/pam.d/gdm-password
|
||||
# not config files
|
||||
%{_sysconfdir}/gdm/Xsession
|
||||
%{_datadir}/gdm/gdm.schemas
|
||||
%{_sysconfdir}/dbus-1/system.d/gdm.conf
|
||||
%dir %{_sysconfdir}/gdm/Init
|
||||
@ -238,17 +231,13 @@ fi
|
||||
%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.override
|
||||
%{_libexecdir}/gdm-host-chooser
|
||||
%{_libexecdir}/gdm-runtime-config
|
||||
%{_libexecdir}/gdm-session-worker
|
||||
%{_libexecdir}/gdm-simple-chooser
|
||||
%{_libexecdir}/gdm-wayland-session
|
||||
%{_libexecdir}/gdm-x-session
|
||||
%{_libexecdir}/gdm-headless-login-session
|
||||
%{_sbindir}/gdm
|
||||
%{_bindir}/gdmflexiserver
|
||||
%{_bindir}/gdm-config
|
||||
%{_bindir}/gdm-screenshot
|
||||
%dir %{_datadir}/dconf
|
||||
%dir %{_datadir}/dconf/profile
|
||||
%{_datadir}/dconf/profile/gdm
|
||||
@ -274,7 +263,6 @@ fi
|
||||
%config %{_sysconfdir}/pam.d/gdm-smartcard
|
||||
%config %{_sysconfdir}/pam.d/gdm-fingerprint
|
||||
%{_sysconfdir}/pam.d/gdm-launch-environment
|
||||
%{_udevrulesdir}/61-gdm.rules
|
||||
%{_unitdir}/gdm.service
|
||||
%{_unitdir}/gnome-headless-session@.service
|
||||
%dir %{_userunitdir}/gnome-session@gnome-login.target.d/
|
||||
|
Loading…
Reference in New Issue
Block a user