From 6fc175bb7ecda8063aaf23138540654405c21313 Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Thu, 24 Mar 2022 18:39:20 -0700 Subject: [PATCH] gdm: update to 42.0 --- srcpkgs/gdm/template | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/gdm/template b/srcpkgs/gdm/template index ee14eb63190..3686c70b740 100644 --- a/srcpkgs/gdm/template +++ b/srcpkgs/gdm/template @@ -1,6 +1,6 @@ # Template file for 'gdm' pkgname=gdm -version=41.3 +version=42.0 revision=1 build_helper="gir" build_style=meson @@ -14,7 +14,7 @@ configure_args=" hostmakedepends="dconf gettext itstool pkg-config" makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel - plymouth-devel" + plymouth-devel libgudev-devel" depends="gnome-settings-daemon gnome-shell gnome-session gnome-themes-extra gsettings-desktop-schemas xorg-server xorg-server-xwayland xrdb" checkdepends="check-devel" @@ -23,7 +23,7 @@ maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/GDM" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=bb0b650a7cea90f09a33284fbd02975315407efc18e814009852d1bcad3437d4 +checksum=a328ac976937bec179971ff07829a1246b98ce724181c128ae32a0ba47ad3855 conf_files=" /etc/gdm/custom.conf @@ -47,10 +47,11 @@ fi post_install() { vinstall $FILESDIR/Xsession 755 etc/gdm - vsed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/* - vsed -i '/pam_tally.so/d' \ - $DESTDIR/etc/pam.d/gdm-smartcard \ - $DESTDIR/etc/pam.d/gdm-fingerprint + for f in $DESTDIR/etc/pam.d/*; do + if grep -q "pam_systemd.so" "$f"; then + vsed -i "s/pam_systemd\.so/pam_elogind.so/" "$f" + fi + done rm -rf ${DESTDIR}/tmp # runit service