diff options
Diffstat (limited to 'system/gdm/gdm.SlackBuild')
-rw-r--r-- | system/gdm/gdm.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild index 0c35c52a88922..418279c1e1f9f 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 |