system/gdm: Updated for version 2.20.7

This commit is contained in:
Frank Caraballo 2010-05-11 22:26:41 +02:00 committed by Robby Workman
parent d16f52d16b
commit 0f8d117a58
3 changed files with 14 additions and 15 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"