aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-11 22:26:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:26:41 +0200
commit0f8d117a5868b06a9cddb4fdb05634c8037c1d48 (patch)
tree60c9b5f033f854caa7192293bf3dd5893cd51611
parentd16f52d16bc7f4c8e88f920111d522b224a97e15 (diff)
system/gdm: Updated for version 2.20.7
-rw-r--r--system/gdm/README4
-rw-r--r--system/gdm/gdm.SlackBuild17
-rw-r--r--system/gdm/gdm.info8
3 files changed, 14 insertions, 15 deletions
diff --git a/system/gdm/README b/system/gdm/README
index 09b9540ea2833..fc619007f12dc 100644
--- a/system/gdm/README
+++ b/system/gdm/README
@@ -7,5 +7,5 @@ The Sessions that gdm uses are installed in /etc/X11/gdm/Sessions.
Several example files are included for blackbox, fluxbox, fvwm2,
kde, twm, windowmaker, and xfce.
-gdm requires libgnomecanvas and gnome-doc-utils, both of which
-are also available at SlackBuilds.org
+libgnomecanvas and gnome-doc-utils (also available at SBo) are
+required to build GDM.
diff --git a/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild
index 4c25daafedeb8..f9ef8f5985aa5 100644
--- a/system/gdm/gdm.SlackBuild
+++ b/system/gdm/gdm.SlackBuild
@@ -9,7 +9,7 @@
# Script maintained by Frank Caraballo <fecaraballo{at}gmail{dot}com>
PRGNAM=gdm
-VERSION=2.20.4
+VERSION=2.20.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -44,7 +43,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc/X11 \
- --localstatedir=/var/lib/gdm \
+ --localstatedir=/var/lib/$PRGNAM \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--program-prefix="" \
@@ -54,14 +53,14 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared=yes \
--enable-static=no \
--enable-ipv6=yes \
- --with-dmconfdir=/etc/X11/gdm \
+ --with-dmconfdir=/etc/X11/$PRGNAM \
|| exit 1
make || exit 1
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
@@ -76,9 +75,9 @@ cp -a AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README* TODO docs/C/* \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Simple session files designed to work with Slackware:
-mkdir -p $PKG/etc/X11/gdm/Sessions
-cp $CWD/Sessions/* $PKG/etc/X11/gdm/Sessions
-chmod 0755 $PKG/etc/X11/gdm/Sessions/*
+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/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/system/gdm/gdm.info b/system/gdm/gdm.info
index ec1a85eafd88c..830e426a6f472 100644
--- a/system/gdm/gdm.info
+++ b/system/gdm/gdm.info
@@ -1,8 +1,8 @@
PRGNAM="gdm"
-VERSION="2.20.4"
+VERSION="2.20.7"
HOMEPAGE="http://www.gnome.org/projects/gdm/"
-DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gdm/2.20/gdm-2.20.4.tar.bz2"
-MD5SUM="53a75133cadf1de5fea2be49483b9ce3"
+DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gdm/2.20/gdm-2.20.7.tar.bz2"
+MD5SUM="15be72743003cb1e36c9ce2ac2de5381"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
-APPROVED="David Somero"
+APPROVED="rworkman"