From 782a1a852d27ff3bc22284f2c36609b37c30ec76 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 2 Oct 2022 15:41:00 -0700 Subject: [PATCH] gdm: Use offical Xsession Fixes loading the profile on X11 sessions. --- srcpkgs/gdm/files/Xsession | 2 -- srcpkgs/gdm/template | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100755 srcpkgs/gdm/files/Xsession diff --git a/srcpkgs/gdm/files/Xsession b/srcpkgs/gdm/files/Xsession deleted file mode 100755 index d5726cfcd265..000000000000 --- a/srcpkgs/gdm/files/Xsession +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec $@ diff --git a/srcpkgs/gdm/template b/srcpkgs/gdm/template index e2b2fcfc2eb9..b504f4ba2adf 100644 --- a/srcpkgs/gdm/template +++ b/srcpkgs/gdm/template @@ -1,7 +1,7 @@ # Template file for 'gdm' pkgname=gdm version=42.0 -revision=2 +revision=3 build_helper="gir" build_style=meson configure_args=" @@ -9,7 +9,7 @@ configure_args=" -Dtcp-wrappers=false -Dscreenshot-dir=/var/lib/gdm/greeter -Dplymouth=enabled -Dxauth-dir=/run/gdm -Dpid-file=/run/gdm/gdm.pid -Dsystemd-journal=false -Dinitial-vt=7 -Dwayland-support=true - -Dselinux=disabled -Dlibaudit=disabled + -Dselinux=disabled -Dlibaudit=disabled -Dgdm-xsession=true -Dsystemdsystemunitdir=/usr/lib/systemd/system -Dsystemduserunitdir=/usr/lib/systemd/user" hostmakedepends="dconf gettext itstool pkg-config" @@ -49,8 +49,6 @@ if [ "$CROSS_BUILD" ]; then fi post_install() { - vinstall $FILESDIR/Xsession 755 etc/gdm - 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"