sddm: enable sddm-x11 for SonicDE, drop sddm-wayland-generic, bump to 0.21.0-11.
All checks were successful
Build RPMs / build (push) Successful in 9m41s

SonicDE is X11-only, so build the sddm-x11 subpackage and remove the
sddm-wayland-generic subpackage. Allow either xorg-x11-server-Xorg or
xlibre-xserver-Xorg as the X server dependency.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
test 2026-08-28 16:59:07 +00:00
commit 29aa76882b

View file

@ -1,9 +1,9 @@
# Disable X11 for RHEL 10+ # SonicDE uses X11 (xlibre-xserver) on EL 10+
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10] %bcond_without x11
Name: sddm Name: sddm
Version: 0.21.0 Version: 0.21.0
Release: 10%{?dist} Release: 11%{?dist}
License: GPL-2.0-or-later License: GPL-2.0-or-later
Summary: QML based desktop and login manager Summary: QML based desktop and login manager
@ -103,36 +103,22 @@ Requires(pre): shadow-utils
# Virtual dependency for sddm greeter setup # Virtual dependency for sddm greeter setup
Requires: sddm-greeter-displayserver Requires: sddm-greeter-displayserver
Suggests: sddm-wayland-generic Suggests: sddm-x11
%description %description
SDDM is a modern graphical display manager aiming to be fast, simple and SDDM is a modern graphical display manager aiming to be fast, simple and
beautiful. It uses modern technologies like QtQuick, which in turn gives the beautiful. It uses modern technologies like QtQuick, which in turn gives the
designer the ability to create smooth, animated user interfaces. designer the ability to create smooth, animated user interfaces.
%package wayland-generic
Summary: Generic Wayland SDDM greeter configuration
Provides: sddm-greeter-displayserver
Conflicts: sddm-greeter-displayserver
Requires: weston
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description wayland-generic
This package contains configuration and dependencies for SDDM
to use Weston for the greeter display server.
This is the generic default Wayland configuration provided
by SDDM.
%if %{with x11} %if %{with x11}
%package x11 %package x11
Summary: X11 SDDM greeter configuration Summary: X11 SDDM greeter configuration
Provides: sddm-greeter-displayserver Provides: sddm-greeter-displayserver
Conflicts: sddm-greeter-displayserver Conflicts: sddm-greeter-displayserver
Obsoletes: sddm-wayland-generic < %{version}-%{release}
# This will eventually go away... # This will eventually go away...
Provides: deprecated() Provides: deprecated()
Requires: xorg-x11-server-Xorg Requires: (xorg-x11-server-Xorg or xlibre-xserver-Xorg)
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Recommends: qt6-qtvirtualkeyboard Recommends: qt6-qtvirtualkeyboard
BuildArch: noarch BuildArch: noarch
@ -279,9 +265,6 @@ ln -sr %{buildroot}%{_bindir}/sddm-greeter-qt6 %{buildroot}%{_bindir}/sddm-greet
%{_mandir}/man5/sddm-state.conf.5* %{_mandir}/man5/sddm-state.conf.5*
%files wayland-generic
# No files since default configuration
%if %{with x11} %if %{with x11}
%files x11 %files x11
@ -296,6 +279,9 @@ ln -sr %{buildroot}%{_bindir}/sddm-greeter-qt6 %{buildroot}%{_bindir}/sddm-greet
%changelog %changelog
* Fri Aug 28 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 0.21.0-11
- SonicDE: build sddm-x11, drop sddm-wayland-generic, support xlibre-xserver
* Sat Feb 15 2025 Neal Gompa <ngompa@fedoraproject.org> - 0.21.0-9 * Sat Feb 15 2025 Neal Gompa <ngompa@fedoraproject.org> - 0.21.0-9
- Fix embedding correct background in default theme - Fix embedding correct background in default theme