summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Matteo Bernardini2024-04-24 14:42:18 +0200
committer Willy Sudiarto Raharjo2024-04-27 04:28:38 +0200
commit536319b52ddbe62bb7851b5098cd5a25c8517e75 (patch)
treea32bcefaacb0c1b9584d2c07db0f2ff26fbdc68c /system
parent1b86962267095e6b19f0139a7a4ee9bd48659468 (diff)
downloadslackbuilds-536319b52ddbe62bb7851b5098cd5a25c8517e75.tar.gz
system/lxdm: Build agains PAM, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/lxdm/README4
-rw-r--r--system/lxdm/lxdm.SlackBuild12
2 files changed, 7 insertions, 9 deletions
diff --git a/system/lxdm/README b/system/lxdm/README
index eff7c7fd0a..0de31dd925 100644
--- a/system/lxdm/README
+++ b/system/lxdm/README
@@ -2,8 +2,8 @@ LXDM - GUI login manager for LXDE
LXDM is a lightweight drop-in replacement for GDM or KDM.
-By default the gtk+3 version of the greeter is built: to
-build the gtk+2 one instead, the script can be run as
+By default the gtk+3 version of the greeter is built: to build
+the gtk+2 one instead (unsupported), the script can be run as
GTK3=no ./lxdm.SlackBuild
diff --git a/system/lxdm/lxdm.SlackBuild b/system/lxdm/lxdm.SlackBuild
index 0547691012..de77b8312a 100644
--- a/system/lxdm/lxdm.SlackBuild
+++ b/system/lxdm/lxdm.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for lxdm
# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
-# Copyright 2012-2017 Matteo Bernardini, Pisa, Italy
+# Copyright 2012-2024 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lxdm
VERSION=${VERSION:-20170805_e3e7517}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,7 +73,7 @@ INDUSLACK_VER=${INDUSLACK_VER:-20170818}
#
WITH_INDUSLACK=${WITH_INDUSLACK:-yes}
-with_gtk3="" ; [ "${GTK3:-yes}" = "yes" ] && with_gtk3="--enable-gtk3"
+with_gtk3="--enable-gtk3" ; [ "${GTK3:-yes}" = "no" ] && with_gtk3=""
set -e
@@ -128,7 +128,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --without-pam \
+ --with-pam \
$with_gtk3 \
--build=$ARCH-slackware-linux
@@ -171,9 +171,7 @@ if [ "${WITH_INDUSLACK}" = "yes" ] ; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE