diff options
author | James Rich <james@chowhouse.com> | 2010-05-11 15:18:37 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 15:18:37 +0200 |
commit | f5de26e6f50459ed5afe0f8ef1438f4b5213f440 (patch) | |
tree | a577c5d53caa8fb4c0c27ab3d8ceb8af5f6749fe /system | |
parent | 3dfe9603250b69c1e8d49b06b71e886f0038bbdb (diff) |
system/gdm: Initial import
Diffstat (limited to 'system')
-rw-r--r-- | system/gdm/README | 11 | ||||
-rw-r--r-- | system/gdm/Sessions/blackbox.desktop | 8 | ||||
-rw-r--r-- | system/gdm/Sessions/fluxbox.desktop | 8 | ||||
-rw-r--r-- | system/gdm/Sessions/fvwm2.desktop | 8 | ||||
-rw-r--r-- | system/gdm/Sessions/kde.desktop | 8 | ||||
-rw-r--r-- | system/gdm/Sessions/twm.desktop | 8 | ||||
-rw-r--r-- | system/gdm/Sessions/windowmaker.desktop | 8 | ||||
-rw-r--r-- | system/gdm/Sessions/xfce.desktop | 8 | ||||
-rw-r--r-- | system/gdm/gdm.SlackBuild | 80 | ||||
-rw-r--r-- | system/gdm/gdm.info | 8 | ||||
-rw-r--r-- | system/gdm/slack-desc | 19 |
11 files changed, 174 insertions, 0 deletions
diff --git a/system/gdm/README b/system/gdm/README new file mode 100644 index 0000000000000..4a551598dec1c --- /dev/null +++ b/system/gdm/README @@ -0,0 +1,11 @@ +The Gnome Display Manager (GDM) is a display manager that implements all +significant features required for managing local and remote displays. +For full information about GDM features, refer to the documentation. + +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 + diff --git a/system/gdm/Sessions/blackbox.desktop b/system/gdm/Sessions/blackbox.desktop new file mode 100644 index 0000000000000..e678881e31e19 --- /dev/null +++ b/system/gdm/Sessions/blackbox.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Blackbox +Comment=The blackbox window manager +Exec=/etc/X11/xdm/Xsession blackbox +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/Sessions/fluxbox.desktop b/system/gdm/Sessions/fluxbox.desktop new file mode 100644 index 0000000000000..ea81e1acf9b1e --- /dev/null +++ b/system/gdm/Sessions/fluxbox.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Fluxbox +Comment=The fluxbox window manager +Exec=/etc/X11/xdm/Xsession fluxbox +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/Sessions/fvwm2.desktop b/system/gdm/Sessions/fvwm2.desktop new file mode 100644 index 0000000000000..3d22d0b144704 --- /dev/null +++ b/system/gdm/Sessions/fvwm2.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=FVWM2 +Comment=The fvwm2 window manager +Exec=/etc/X11/xdm/Xsession fvwm2 +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/Sessions/kde.desktop b/system/gdm/Sessions/kde.desktop new file mode 100644 index 0000000000000..0a98e73f019bb --- /dev/null +++ b/system/gdm/Sessions/kde.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=KDE +Comment=The K Desktop Environment +Exec=/etc/X11/xdm/Xsession kde +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/Sessions/twm.desktop b/system/gdm/Sessions/twm.desktop new file mode 100644 index 0000000000000..c5f7a7dad342b --- /dev/null +++ b/system/gdm/Sessions/twm.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=TWM +Comment=The twm window manager +Exec=/etc/X11/xdm/Xsession twm +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/Sessions/windowmaker.desktop b/system/gdm/Sessions/windowmaker.desktop new file mode 100644 index 0000000000000..206a0c7f281f3 --- /dev/null +++ b/system/gdm/Sessions/windowmaker.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Windowmaker +Comment=The Windowmaker window manager +Exec=/etc/X11/xdm/Xsession windowmaker +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/Sessions/xfce.desktop b/system/gdm/Sessions/xfce.desktop new file mode 100644 index 0000000000000..285affda3afc2 --- /dev/null +++ b/system/gdm/Sessions/xfce.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=XFCE +Comment=The Cholesterol Free Desktop Environment +Exec=/etc/X11/xdm/Xsession xfce +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/system/gdm/gdm.SlackBuild b/system/gdm/gdm.SlackBuild new file mode 100644 index 0000000000000..bb9e45b7738ec --- /dev/null +++ b/system/gdm/gdm.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh +# +# Written by James Rich james@chowhouse.com + +# Assumed to be in public domain per our submission guidelines +# Modified by the SlackBuilds.org project + +PRGNAM=gdm +VERSION=2.16.1 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT + +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +cd $PRGNAM-$VERSION || exit 1 + +chown -R root:root . +find . -perm 666 -exec chmod 644 {} \; +find . -perm 664 -exec chmod 644 {} \; +find . -perm 600 -exec chmod 644 {} \; +find . -perm 444 -exec chmod 644 {} \; +find . -perm 400 -exec chmod 644 {} \; +find . -perm 440 -exec chmod 644 {} \; +find . -perm 777 -exec chmod 755 {} \; +find . -perm 775 -exec chmod 755 {} \; +find . -perm 511 -exec chmod 755 {} \; +find . -perm 711 -exec chmod 755 {} \; +find . -perm 555 -exec chmod 755 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc/X11 \ + --localstatedir=/var/lib/gdm \ + --docdir=/usr/doc \ + --with-dmconfdir=/etc/X11/gdm \ + --disable-scrollkeeper \ + --enable-console-helper=no \ + --enable-static=no \ + || exit 1 + +make || exit 1 +make install DESTDIR=$PKG + +( cd $PKG + 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README COPYING AUTHORS TODO docs/C/* \ + $PKG/usr/doc/$PRGNAM-$VERSION + +# 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/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/system/gdm/gdm.info b/system/gdm/gdm.info new file mode 100644 index 0000000000000..adb173ab41d12 --- /dev/null +++ b/system/gdm/gdm.info @@ -0,0 +1,8 @@ +PRGNAM="gdm" +VERSION="2.16.1" +HOMEPAGE="http://www.gnome.org/projects/gdm/" +DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gdm/2.16/" +MD5SUM="a2e68fac4763f1cf1050eeb19accb43f" +MAINTAINER="James Rich" +EMAIL="james@chowhouse.com" +APPROVED="rworkman" diff --git a/system/gdm/slack-desc b/system/gdm/slack-desc new file mode 100644 index 0000000000000..d762f7eac855b --- /dev/null +++ b/system/gdm/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +gdm: gdm (GNOME Display Manager) +gdm: +gdm: The Gnome Display Manager (GDM) is a display manager that +gdm: implements all significant features required for managing +gdm: local and remote displays. For full information about +gdm: GDM features, refer to the documentation. +gdm: +gdm: +gdm: +gdm: +gdm: |