Skip to content

Commit

Permalink
gdm: use official Xsession
Browse files Browse the repository at this point in the history
Fixes loading the profile on X11 sessions.
  • Loading branch information
oreo639 authored and paper42 committed Oct 2, 2022
1 parent f8abf30 commit 27348ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions srcpkgs/gdm/files/Xsession

This file was deleted.

6 changes: 2 additions & 4 deletions srcpkgs/gdm/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'gdm'
pkgname=gdm
version=42.0
revision=2
revision=3
build_helper="gir"
build_style=meson
configure_args="
-Ddefault-pam-config=arch -Dat-spi-registryd-dir=/usr/libexec
-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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 27348ab

Please sign in to comment.