summaryrefslogtreecommitdiff
path: root/system/gdm/gdm.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-06-10 22:15:46 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:25 -0500
commit4262912eb374de6dc6f7b08466e80cec8c1b0e84 (patch)
tree88961aa3cc030cde49c3e3179127b9bb9d2d6bf7 /system/gdm/gdm.SlackBuild
parent352fd57c70dd6430f0270a2605d4d32dce974297 (diff)
downloadslackbuilds-4262912eb374de6dc6f7b08466e80cec8c1b0e84.tar.gz
system/gdm: Updated for version 2.20.11.
This also includes quite a few cleanups and enhancements over the previous build. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gdm/gdm.SlackBuild')
-rw-r--r--system/gdm/gdm.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild
index 0c35c52a88..418279c1e1 100644
--- a/system/gdm/gdm.SlackBuild
+++ b/system/gdm/gdm.SlackBuild
@@ -9,7 +9,7 @@
# Modified by Frank Caraballo <fecaraballo{at}gmail{dot}com>
PRGNAM=gdm
-VERSION=${VERSION:-2.20.10}
+VERSION=${VERSION:-2.20.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,22 +71,26 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-console-helper=no \
--enable-static=no \
--enable-ipv6=yes \
- --with-dmconfdir=/etc/X11/$PRGNAM \
+ --with-dmconfdir=/usr/share/xsessions \
--build=$ARCH-slackware-linux
make SUSPEND_COMMAND=/usr/sbin/pm-suspend
make SUSPEND_COMMAND=/usr/sbin/pm-suspend install-strip DESTDIR=$PKG
# Install some simple session files designed to work with Slackware
-mkdir -p $PKG/etc/X11/$PRGNAM/Sessions
-cp -r $CWD/Sessions/* $PKG/etc/X11/$PRGNAM/Sessions
-chmod 0755 $PKG/etc/X11/$PRGNAM/Sessions/*
+mkdir -p $PKG/usr/share/xsessions
+cp $CWD/sessions/* $PKG/usr/share/xsessions
+chmod 0755 $PKG/usr/share/xsessions/*
# Make xfce the default session
patch -d $PKG -p1 < $CWD/make_xfce_default_session.diff
-# Let's not clobber the a custom config
+# Let's not clobber the configs
mv $PKG/etc/X11/gdm/custom.conf $PKG/etc/X11/gdm/custom.conf.new
+mv $PKG/etc/X11/gdm/Xsession $PKG/etc/X11/gdm/Xsession.new
+mv $PKG/etc/X11/gdm/Init/Default $PKG/etc/X11/gdm/Init/Default.new
+mv $PKG/etc/X11/gdm/PreSession/Default $PKG/etc/X11/gdm/PreSession/Default.new
+mv $PKG/etc/X11/gdm/PostSession/Default $PKG/etc/X11/gdm/PostSession/Default.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done