diff options
Diffstat (limited to 'desktop/gdm/gdm.SlackBuild')
-rw-r--r-- | desktop/gdm/gdm.SlackBuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/desktop/gdm/gdm.SlackBuild b/desktop/gdm/gdm.SlackBuild index c9dc47d6b0..bb955aeea1 100644 --- a/desktop/gdm/gdm.SlackBuild +++ b/desktop/gdm/gdm.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gdm VERSION=${VERSION:-42.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +79,8 @@ find -L . \ # A couple patches taken from Artix Linux: patch -Np1 -i $CWD/0001-Xsession-Don-t-start-ssh-agent-by-default.patch patch -Np1 -i $CWD/0002-meson-allow-building-with-elogind.patch +patch -Np1 -i $CWD/0003-add-wayland-session-script.patch +patch -Np1 -i $CWD/0004-fix-Xsession-language-in-gnome.patch mkdir build cd build @@ -103,7 +105,7 @@ cd build -Dsystemd-journal=false \ -Dsystemdsystemunitdir=no \ -Dsystemduserunitdir=no \ - -Dsysconfsubdir=/etc/X11/gdm \ + -Dsysconfsubdir=/etc/gdm \ -Dinitial-vt=7 "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install @@ -116,6 +118,14 @@ mkdir -p $PKG/etc/pam.d cat $CWD/gdm-autologin.pam > $PKG/etc/pam.d/gdm-autologin cat $CWD/gdm-password.pam > $PKG/etc/pam.d/gdm-password cat $CWD/gdm-launch-environment.pam > $PKG/etc/pam.d/gdm-launch-environment +cat $CWD/wayland-session > $PKG/etc/gdm/wayland-session + +# Install GDM wrapper script: +mv $PKG/usr/sbin/{gdm,gdm-bin} +cat $CWD/gdm.wrap > $PKG/usr/sbin/gdm + +# Handle /etc/gdm/custom.conf a little nicer: +mv $PKG/etc/gdm/{custom.conf,custom.conf.new} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |