[packages/gdm] - updated to 49.3 (the last version with X11 support)
qboosh
qboosh at pld-linux.org
Thu Jul 23 07:07:17 CEST 2026
commit d5dbfb5c0f834403b0afccc1d6324cb92f1c8948
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jul 23 07:07:24 2026 +0200
- updated to 49.3 (the last version with X11 support)
gdm-bool.patch | 34 ------------------------------
gdm.spec | 16 ++++++--------
no-merged-usr.patch | 60 -----------------------------------------------------
3 files changed, 6 insertions(+), 104 deletions(-)
---
diff --git a/gdm.spec b/gdm.spec
index 6280438..8ac2c35 100644
--- a/gdm.spec
+++ b/gdm.spec
@@ -16,13 +16,13 @@ Summary(pt_BR.UTF-8): Gerenciador de Entrada do GNOME
Summary(ru.UTF-8): Дисплейный менеджер GNOME
Summary(uk.UTF-8): Дисплейний менеджер GNOME
Name: gdm
-Version: 48.0
-Release: 6
+Version: 49.3
+Release: 1
Epoch: 2
License: GPL v2+
Group: X11/Applications
-Source0: https://download.gnome.org/sources/gdm/48/%{name}-%{version}.tar.xz
-# Source0-md5: a17868752c9a90ed560891886f2882f2
+Source0: https://download.gnome.org/sources/gdm/49/%{name}-%{version}.tar.xz
+# Source0-md5: f966997dbfd20ecdde100d05c13f06d5
Source1: %{name}.pamd
Source2: %{name}.init
Source3: %{name}-pld-logo.png
@@ -37,8 +37,6 @@ Patch1: %{name}-xsession.patch
Patch2: %{name}-defaults.patch
Patch3: %{name}-both-libraries.patch
Patch4: display-fallback.patch
-Patch5: no-merged-usr.patch
-Patch6: %{name}-bool.patch
URL: https://wiki.gnome.org/Projects/GDM
BuildRequires: accountsservice-devel >= 0.6.35
BuildRequires: audit-libs-devel
@@ -64,6 +62,7 @@ BuildRequires: pkgconfig
BuildRequires: plymouth-devel
BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 2.042
+# >= 1:257 for userdb support
BuildRequires: systemd-devel >= 1:209
BuildRequires: tar >= 1:1.22
BuildRequires: udev-devel
@@ -220,8 +219,6 @@ Pakiet zawiera statyczne biblioteki GDM.
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
-%patch -P5 -p1
-%patch -P6 -p1
%build
%meson \
@@ -340,7 +337,6 @@ fi
%attr(755,root,root) %{_libexecdir}/gdm-wayland-session
%attr(755,root,root) %{_libexecdir}/gdm-x-session
/%{_lib}/security/pam_gdm.so
-/lib/udev/rules.d/61-gdm.rules
%dir %{_sysconfdir}/gdm
%dir %{_sysconfdir}/gdm/Init
%attr(755,root,root) %config %{_sysconfdir}/gdm/Init/Default
@@ -356,7 +352,7 @@ fi
%{_datadir}/dconf/profile/gdm
%{_datadir}/polkit-1/rules.d/20-gdm.rules
%dir %{systemduserunitdir}/gnome-session at gnome-login.target.d
-%{systemduserunitdir}/gnome-session at gnome-login.target.d/session.conf
+%{systemduserunitdir}/gnome-session at gnome-login.target.d/gnome-login.session.conf
%attr(1770,root,xdm) %dir /var/lib/gdm
%attr(755,xdm,xdm) /var/lib/gdm/.local
%attr(750,xdm,xdm) %dir /var/log/gdm
diff --git a/gdm-bool.patch b/gdm-bool.patch
deleted file mode 100644
index 811122a..0000000
--- a/gdm-bool.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- gdm-48.0/common/gdm-settings-utils.h.orig 2025-03-17 17:07:15.000000000 +0100
-+++ gdm-48.0/common/gdm-settings-utils.h 2026-05-25 17:59:38.797481677 +0200
-@@ -44,7 +44,7 @@ gboolean gdm_settings_p
- GSList **list);
-
- gboolean gdm_settings_parse_value_as_boolean (const char *value,
-- gboolean *bool);
-+ gboolean *bool_);
- gboolean gdm_settings_parse_value_as_integer (const char *value,
- int *intval);
- gboolean gdm_settings_parse_value_as_double (const char *value,
---- gdm-48.0/common/gdm-settings-utils.c.orig 2025-03-17 17:07:15.000000000 +0100
-+++ gdm-48.0/common/gdm-settings-utils.c 2026-05-25 17:59:55.300839369 +0200
-@@ -287,16 +287,16 @@ gdm_settings_parse_boolean_as_value (gb
- /* adapted from GKeyFile */
- gboolean
- gdm_settings_parse_value_as_boolean (const char *value,
-- gboolean *bool)
-+ gboolean *bool_)
- {
- g_return_val_if_fail (value != NULL, FALSE);
-- g_return_val_if_fail (bool != NULL, FALSE);
-+ g_return_val_if_fail (bool_ != NULL, FALSE);
-
- if (g_ascii_strcasecmp (value, "true") == 0 || strcmp (value, "1") == 0) {
-- *bool = TRUE;
-+ *bool_ = TRUE;
- return TRUE;
- } else if (g_ascii_strcasecmp (value, "false") == 0 || strcmp (value, "0") == 0) {
-- *bool = FALSE;
-+ *bool_ = FALSE;
- return TRUE;
- } else {
- return FALSE;
diff --git a/no-merged-usr.patch b/no-merged-usr.patch
deleted file mode 100644
index 29d24de..0000000
--- a/no-merged-usr.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- gdm-48.0/data/61-gdm.rules.in~ 2025-03-17 17:07:15.000000000 +0100
-+++ gdm-48.0/data/61-gdm.rules.in 2026-01-04 17:29:24.763333505 +0100
-@@ -2,13 +2,13 @@
- ACTION!="bind", ACTION!="add", GOTO="gdm_pci_device_end"
-
- # cirrus
--ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
-+ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
- # virtio
--ATTR{vendor}=="0x1af4", ATTR{device}=="0x1050", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
-+ATTR{vendor}=="0x1af4", ATTR{device}=="0x1050", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
- # qxl
--ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
-+ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
- # vga
--ATTR{vendor}=="0x1234", ATTR{device}=="0x1111", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
-+ATTR{vendor}=="0x1234", ATTR{device}=="0x1111", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
-
- # disable Wayland on Hi1710 chipsets
- ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", GOTO="gdm_disable_wayland"
-@@ -21,7 +21,7 @@
- SUBSYSTEM!="drm", GOTO="gdm_hardware_gpu_end"
- DRIVERS=="simple-framebuffer", GOTO="gdm_hardware_gpu_end"
- IMPORT{parent}="GDM_MACHINE_HAS_VIRTUAL_GPU"
--ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}!="1", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-hardware-gpu"
-+ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}!="1", RUN+="/bin/touch /run/udev/gdm-machine-has-hardware-gpu"
- LABEL="gdm_hardware_gpu_end"
-
- # The vendor nvidia driver has multiple modules that need to be loaded before GDM can make an
-@@ -30,7 +30,7 @@
- KERNEL!="nvidia", GOTO="gdm_nvidia_end"
- SUBSYSTEM!="module", GOTO="gdm_nvidia_end"
- ACTION!="add", GOTO="gdm_nvidia_end"
--RUN+="/usr/bin/touch /run/udev/gdm-machine-has-vendor-nvidia-driver"
-+RUN+="/bin/touch /run/udev/gdm-machine-has-vendor-nvidia-driver"
-
- # Import nvidia kernel parameters
- IMPORT{program}="/bin/sh -c \"sed -e 's/: /=/g' -e 's/\([^[:upper:]]\)\([[:upper:]]\)/\1_\2/g' -e 's/[[:lower:]]/\U&/g' -e 's/^/NVIDIA_/' /proc/driver/nvidia/params\""
-@@ -40,8 +40,8 @@
- ENV{NVIDIA_ENABLE_S0IX_POWER_MANAGEMENT}=="1", GOTO="gdm_nvidia_suspend_end"
-
- # Check if suspend/resume services necessary for working wayland support is available
--TEST{0711}!="/usr/bin/nvidia-sleep.sh", GOTO="gdm_disable_wayland"
--TEST{0711}!="/usr/lib/systemd/system-sleep/nvidia", GOTO="gdm_disable_wayland"
-+TEST{0711}!="/bin/nvidia-sleep.sh", GOTO="gdm_disable_wayland"
-+TEST{0711}!="/lib/systemd/system-sleep/nvidia", GOTO="gdm_disable_wayland"
-
- ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!="1", GOTO="gdm_disable_wayland"
- IMPORT{program}="/bin/sh -c 'echo NVIDIA_HIBERNATE=`systemctl is-enabled nvidia-hibernate`'"
-@@ -59,8 +59,8 @@
- SUBSYSTEM!="drm", GOTO="gdm_hybrid_graphics_check_end"
- ACTION!="add", GOTO="gdm_hybrid_graphics_check_end"
- IMPORT{program}="/bin/sh -c \"echo GDM_NUMBER_OF_GRAPHICS_CARDS=`ls -1d /sys/class/drm/card[0-9] | wc -l`\""
--ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}=="1", RUN+="/usr/bin/rm -f /run/udev/gdm-machine-has-hybrid-graphics"
--ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}!="1", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-hybrid-graphics"
-+ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}=="1", RUN+="/bin/rm -f /run/udev/gdm-machine-has-hybrid-graphics"
-+ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}!="1", RUN+="/bin/touch /run/udev/gdm-machine-has-hybrid-graphics"
- LABEL="gdm_hybrid_graphics_check_end"
-
- # Disable wayland in situation where we're in a guest with a virtual gpu and host passthrough gpu
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gdm.git/commitdiff/d5dbfb5c0f834403b0afccc1d6324cb92f1c8948
More information about the pld-cvs-commit
mailing list