diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-06-19 23:53:47 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-06-19 23:53:47 +0000 |
commit | 6c36895b50ec0f4f3486183e62ba25ed5e8d05d6 (patch) | |
tree | 62d92a0c29f14d123193d376fce745ef750d8736 /gnome-base | |
parent | Slotify (diff) | |
download | historical-6c36895b50ec0f4f3486183e62ba25ed5e8d05d6.tar.gz historical-6c36895b50ec0f4f3486183e62ba25ed5e8d05d6.tar.bz2 historical-6c36895b50ec0f4f3486183e62ba25ed5e8d05d6.zip |
Cleanup and slotify
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gdm/files/digest-gdm-2.2.5.4-r2 | 1 | ||||
-rw-r--r-- | gnome-base/gdm/files/digest-gdm-2.2.5.4-r3 | 1 | ||||
-rw-r--r-- | gnome-base/gdm/files/digest-gdm-2.2.5.4-r4 | 1 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-2.2.5.4-r2.ebuild | 150 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-2.2.5.4-r3.ebuild | 166 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-2.2.5.4-r4.ebuild | 165 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-2.2.5.4-r5.ebuild | 3 |
7 files changed, 2 insertions, 485 deletions
diff --git a/gnome-base/gdm/files/digest-gdm-2.2.5.4-r2 b/gnome-base/gdm/files/digest-gdm-2.2.5.4-r2 deleted file mode 100644 index 48eb54b0a3ed..000000000000 --- a/gnome-base/gdm/files/digest-gdm-2.2.5.4-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 958a589c378f2eae2167bbbd3abdea3b gdm-2.2.5.4.tar.bz2 1586241 diff --git a/gnome-base/gdm/files/digest-gdm-2.2.5.4-r3 b/gnome-base/gdm/files/digest-gdm-2.2.5.4-r3 deleted file mode 100644 index 48eb54b0a3ed..000000000000 --- a/gnome-base/gdm/files/digest-gdm-2.2.5.4-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 958a589c378f2eae2167bbbd3abdea3b gdm-2.2.5.4.tar.bz2 1586241 diff --git a/gnome-base/gdm/files/digest-gdm-2.2.5.4-r4 b/gnome-base/gdm/files/digest-gdm-2.2.5.4-r4 deleted file mode 100644 index 48eb54b0a3ed..000000000000 --- a/gnome-base/gdm/files/digest-gdm-2.2.5.4-r4 +++ /dev/null @@ -1 +0,0 @@ -MD5 958a589c378f2eae2167bbbd3abdea3b gdm-2.2.5.4.tar.bz2 1586241 diff --git a/gnome-base/gdm/gdm-2.2.5.4-r2.ebuild b/gnome-base/gdm/gdm-2.2.5.4-r2.ebuild deleted file mode 100644 index ec08b5b1b5ef..000000000000 --- a/gnome-base/gdm/gdm-2.2.5.4-r2.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Mikael Hallendal <hallski@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.2.5.4-r2.ebuild,v 1.1 2002/01/14 10:34:13 hallski Exp $ - -MY_V="`echo ${PV} |cut -b -5`" -S=${WORKDIR}/${P} -DESCRIPTION="GNOME Display Manager" -SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2" -HOMEPAGE="http://www.gnome.org/" - -DEPEND=">=sys-libs/pam-0.72 - >=sys-apps/tcp-wrappers-7.6 - >=gnome-base/gnome-libs-1.4.1.2-r1 - >=gnome-base/libglade-0.17-r1 - >=media-libs/gdk-pixbuf-0.11.0-r1" - - -src_unpack() { - - unpack ${A} - - cd ${S}/daemon - cp gdm.h gdm.h.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" gdm.h.orig > gdm.h - rm gdm.h.orig - - cd ${S}/config - cp gdm.conf.in gdm.conf.in.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" gdm.conf.in.orig > gdm.conf.in - rm gdm.conf.in.orig -} - -src_compile() { - ./configure --host=${CHOST} \ - --prefix=/usr \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var/lib \ - --with-pam-prefix=/etc || die - - emake || die -} - -src_install() { - cd omf-install - cp Makefile Makefile.old - sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile - rm Makefile.old - cd ${S} - - make prefix=${D}/usr \ - sysconfdir=${D}/etc/X11 \ - localstatedir=${D}/var/lib \ - PAM_PREFIX=${D}/etc \ - install || die - - rm -f ${D}/etc/pam.d/gdm - - # log - mkdir -p ${D}/var/lib/gdm - chown gdm:gdm ${D}/var/lib/gdm - chmod 750 ${D}/var/lib/gdm - - # pam startup - dodir /etc/pam.d - insinto /etc/pam.d - doins ${FILESDIR}/${MY_V}/pam.d/gdm - doins ${FILESDIR}/${MY_V}/pam.d/gdmconfig - - # pam security - dodir /etc/security/console.apps - insinto /etc/security/console.apps - doins ${FILESDIR}/${MY_V}/security/console.apps/gdmconfig - - # gnomerc - dodir /etc/X11/gdm - exeinto /etc/X11/gdm - doexe ${FILESDIR}/${MY_V}/gnomerc - - cd ${D}/etc/X11/gdm - for i in Init/Default PostSession/Default PreSession/Default gdm.conf - do - cp $i $i.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" $i.orig > $i - rm $i.orig - done - - cd ${D}/etc/X11/gdm - cp gdm.conf gdm.conf.orig - - sed -e "s:0=/usr/X11R6/bin/X:0=/usr/X11R6/bin/X -dpi 100 -nolisten tcp dpms vt7:g" \ - -e "s:GtkRC=/opt/gnome/share/themes/Default/gtk/gtkrc:GtkRC=/usr/share/themes/Default/gtk/gtkrc:g" \ - -e "s:BackgroundColor=#007777:BackgroundColor=#2a3f5b:g" \ - -e "s:TitleBar=true:TitleBar=false:g" \ - gdm.conf.orig > gdm.conf - - rm gdm.conf.orig - - cd ${S} - - dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO -} - -pkg_postinst() { - echo ">>> Updating Scrollkeeper database..." - scrollkeeper-update >/dev/null 2>&1 - - # Attempt to restart GDM softly by use of the fifo. Wont work on older - # then 2.2.3.1 versions but should work nicely on later upgrades. - # FIXME: this is just way too complex - FIFOFILE=`grep '^ServAuthDir=' /etc/X11/gdm/gdm.conf | sed -e 's/^ServAuthDir=//'` - if test x$FIFOFILE = x ; then - FIFOFILE=%{localstatedir}/gdm/.gdmfifo - else - FIFOFILE="$FIFOFILE"/.gdmfifo - fi - PIDFILE=`grep '^PidFile=' /etc/X11/gdm/gdm.conf | sed -e 's/^PidFile=//'` - if test x$PIDFILE = x ; then - PIDFILE=/var/run/gdm.pid - fi - if test -w $FIFOFILE ; then - if test -f $PIDFILE ; then - if kill -0 `cat $PIDFILE` ; then - (echo;echo SOFT_RESTART) >> $FIFOFILE - fi - fi - fi - - echo - echo "***********************************************************************" - echo "* To make GDM start at boot, edit /etc/rc.conf (or /etc/conf.d/basic) *" - echo "* and then execute 'rc-update add xdm default'. *" - echo "* *" - echo "* NOTE: you need xfree-4.1.0-r4 or later ... *" - echo "***********************************************************************" - echo -} - -pkg_postrm() { - echo ">>> Updating Scrollkeeper database..." - scrollkeeper-update >/dev/null 2>&1 - - echo - echo "**********************************************" - echo "* To remove GDM from startup please execute *" - echo "* 'rc-update del xdm default' *" - echo "**********************************************" - echo -} - diff --git a/gnome-base/gdm/gdm-2.2.5.4-r3.ebuild b/gnome-base/gdm/gdm-2.2.5.4-r3.ebuild deleted file mode 100644 index 7c282ff2dd7d..000000000000 --- a/gnome-base/gdm/gdm-2.2.5.4-r3.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Mikael Hallendal <hallski@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.2.5.4-r3.ebuild,v 1.1 2002/01/21 02:01:31 azarah Exp $ - -MY_V="`echo ${PV} |cut -b -5`" -S=${WORKDIR}/${P} -DESCRIPTION="GNOME Display Manager" -SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2" -HOMEPAGE="http://www.gnome.org/" - -DEPEND=">=sys-libs/pam-0.72 - >=sys-apps/tcp-wrappers-7.6 - >=gnome-base/gnome-libs-1.4.1.2-r1 - >=gnome-base/libglade-0.17-r1 - >=media-libs/gdk-pixbuf-0.11.0-r1" - -RDEPEND="${DEPEND} - >=x11-base/xfree-4.2.0-r2" - - -src_unpack() { - - unpack ${A} - - cd ${S}/daemon - cp gdm.h gdm.h.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" gdm.h.orig > gdm.h - rm gdm.h.orig - - cd ${S}/config - cp gdm.conf.in gdm.conf.in.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" gdm.conf.in.orig > gdm.conf.in - rm gdm.conf.in.orig -} - -src_compile() { - ./configure --host=${CHOST} \ - --prefix=/usr \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var/lib \ - --with-pam-prefix=/etc || die - - emake || die -} - -src_install() { - cd omf-install - cp Makefile Makefile.old - sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile - rm Makefile.old - cd ${S} - - make prefix=${D}/usr \ - sysconfdir=${D}/etc/X11 \ - localstatedir=${D}/var/lib \ - PAM_PREFIX=${D}/etc \ - install || die - - rm -f ${D}/etc/pam.d/gdm - - # log - mkdir -p ${D}/var/lib/gdm - chown gdm:gdm ${D}/var/lib/gdm - chmod 750 ${D}/var/lib/gdm - - # pam startup - dodir /etc/pam.d - insinto /etc/pam.d - doins ${FILESDIR}/${MY_V}/pam.d/gdm - doins ${FILESDIR}/${MY_V}/pam.d/gdmconfig - - # pam security - dodir /etc/security/console.apps - insinto /etc/security/console.apps - doins ${FILESDIR}/${MY_V}/security/console.apps/gdmconfig - - # gnomerc - dodir /etc/X11/gdm - exeinto /etc/X11/gdm - doexe ${FILESDIR}/${MY_V}/gnomerc - - cd ${D}/etc/X11/gdm - for i in Init/Default PostSession/Default PreSession/Default gdm.conf - do - cp $i $i.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" $i.orig > $i - rm $i.orig - done - - cd ${D}/etc/X11/gdm - cp gdm.conf gdm.conf.orig - - sed -e "s:0=/usr/X11R6/bin/X:0=/usr/X11R6/bin/X -dpi 100 -nolisten tcp dpms vt7:g" \ - -e "s:GtkRC=/opt/gnome/share/themes/Default/gtk/gtkrc:GtkRC=/usr/share/themes/Default/gtk/gtkrc:g" \ - -e "s:BackgroundColor=#007777:BackgroundColor=#2a3f5b:g" \ - -e "s:TitleBar=true:TitleBar=false:g" \ - gdm.conf.orig > gdm.conf - - rm gdm.conf.orig - - cd ${S} - - #support for new session stuff - exeinto /etc/X11/Sessions - doexe ${D}/etc/X11/gdm/Sessions/Gnome - rm -rf ${D}/etc/X11/gdm/Sessions - dosym ../Sessions /etc/X11/gdm/Sessions - - dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO -} - -pkg_preinst() { - #support for new session stuff - if [ -d /etc/X11/gdm/Sessions ] ; then - mv -f /etc/X11/gdm/Sessions /etc/X11/gdm/Sessions.old - fi -} - -pkg_postinst() { - echo ">>> Updating Scrollkeeper database..." - scrollkeeper-update >/dev/null 2>&1 - - # Attempt to restart GDM softly by use of the fifo. Wont work on older - # then 2.2.3.1 versions but should work nicely on later upgrades. - # FIXME: this is just way too complex - FIFOFILE=`grep '^ServAuthDir=' /etc/X11/gdm/gdm.conf | sed -e 's/^ServAuthDir=//'` - if test x$FIFOFILE = x ; then - FIFOFILE=%{localstatedir}/gdm/.gdmfifo - else - FIFOFILE="$FIFOFILE"/.gdmfifo - fi - PIDFILE=`grep '^PidFile=' /etc/X11/gdm/gdm.conf | sed -e 's/^PidFile=//'` - if test x$PIDFILE = x ; then - PIDFILE=/var/run/gdm.pid - fi - if test -w $FIFOFILE ; then - if test -f $PIDFILE ; then - if kill -0 `cat $PIDFILE` ; then - (echo;echo SOFT_RESTART) >> $FIFOFILE - fi - fi - fi - - echo - echo "***********************************************************************" - echo "* To make GDM start at boot, edit /etc/rc.conf (or /etc/conf.d/basic) *" - echo "* and then execute 'rc-update add xdm default'. *" - echo "* *" - echo "* NOTE: you need xfree-4.1.0-r4 or later ... *" - echo "***********************************************************************" - echo -} - -pkg_postrm() { - echo ">>> Updating Scrollkeeper database..." - scrollkeeper-update >/dev/null 2>&1 - - echo - echo "**********************************************" - echo "* To remove GDM from startup please execute *" - echo "* 'rc-update del xdm default' *" - echo "**********************************************" - echo -} - diff --git a/gnome-base/gdm/gdm-2.2.5.4-r4.ebuild b/gnome-base/gdm/gdm-2.2.5.4-r4.ebuild deleted file mode 100644 index 68514779fada..000000000000 --- a/gnome-base/gdm/gdm-2.2.5.4-r4.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Mikael Hallendal <hallski@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.2.5.4-r4.ebuild,v 1.1 2002/01/27 14:01:33 azarah Exp $ - -MY_V="`echo ${PV} |cut -b -5`" -S=${WORKDIR}/${P} -DESCRIPTION="GNOME Display Manager" -SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2" -HOMEPAGE="http://www.gnome.org/" - -DEPEND=">=sys-libs/pam-0.72 - >=sys-apps/tcp-wrappers-7.6 - >=gnome-base/gnome-libs-1.4.1.2-r1 - >=gnome-base/libglade-0.17-r1 - >=media-libs/gdk-pixbuf-0.11.0-r1" - -RDEPEND="${DEPEND} - >=x11-base/xfree-4.2.0-r3 - gnome? ( >=gnome-base/gnome-core-1.4.0.6 )" - - -src_unpack() { - - unpack ${A} - - cd ${S}/daemon - cp gdm.h gdm.h.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" gdm.h.orig > gdm.h - rm gdm.h.orig - - cd ${S}/config - cp gdm.conf.in gdm.conf.in.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" gdm.conf.in.orig > gdm.conf.in - rm gdm.conf.in.orig -} - -src_compile() { - ./configure --host=${CHOST} \ - --prefix=/usr \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var/lib \ - --with-pam-prefix=/etc || die - - emake || die -} - -src_install() { - cd omf-install - cp Makefile Makefile.old - sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile - rm Makefile.old - cd ${S} - - make prefix=${D}/usr \ - sysconfdir=${D}/etc/X11 \ - localstatedir=${D}/var/lib \ - PAM_PREFIX=${D}/etc \ - install || die - - rm -f ${D}/etc/pam.d/gdm - - # log - mkdir -p ${D}/var/lib/gdm - chown gdm:gdm ${D}/var/lib/gdm - chmod 750 ${D}/var/lib/gdm - - # pam startup - dodir /etc/pam.d - insinto /etc/pam.d - doins ${FILESDIR}/${MY_V}/pam.d/gdm - doins ${FILESDIR}/${MY_V}/pam.d/gdmconfig - - # pam security - dodir /etc/security/console.apps - insinto /etc/security/console.apps - doins ${FILESDIR}/${MY_V}/security/console.apps/gdmconfig - - # gnomerc - dodir /etc/X11/gdm - exeinto /etc/X11/gdm - doexe ${FILESDIR}/${MY_V}/gnomerc - - cd ${D}/etc/X11/gdm - for i in Init/Default PostSession/Default PreSession/Default gdm.conf - do - cp $i $i.orig - sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" $i.orig > $i - rm $i.orig - done - - cd ${D}/etc/X11/gdm - cp gdm.conf gdm.conf.orig - - sed -e "s:0=/usr/X11R6/bin/X:0=/usr/X11R6/bin/X -dpi 100 -nolisten tcp dpms vt7:g" \ - -e "s:GtkRC=/opt/gnome/share/themes/Default/gtk/gtkrc:GtkRC=/usr/share/themes/Default/gtk/gtkrc:g" \ - -e "s:BackgroundColor=#007777:BackgroundColor=#2a3f5b:g" \ - -e "s:TitleBar=true:TitleBar=false:g" \ - gdm.conf.orig > gdm.conf - - rm gdm.conf.orig - - cd ${S} - - #support for new session stuff - rm -rf ${D}/etc/X11/gdm/Sessions - dosym ../Sessions /etc/X11/gdm/Sessions - - dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO -} - -pkg_preinst() { - #support for new session stuff - if [ -d /etc/X11/gdm/Sessions ] ; then - mv -f /etc/X11/gdm/Sessions /etc/X11/gdm/Sessions.old - fi -} - -pkg_postinst() { - echo ">>> Updating Scrollkeeper database..." - scrollkeeper-update >/dev/null 2>&1 - - # Attempt to restart GDM softly by use of the fifo. Wont work on older - # then 2.2.3.1 versions but should work nicely on later upgrades. - # FIXME: this is just way too complex - FIFOFILE=`grep '^ServAuthDir=' /etc/X11/gdm/gdm.conf | sed -e 's/^ServAuthDir=//'` - if test x$FIFOFILE = x ; then - FIFOFILE=%{localstatedir}/gdm/.gdmfifo - else - FIFOFILE="$FIFOFILE"/.gdmfifo - fi - PIDFILE=`grep '^PidFile=' /etc/X11/gdm/gdm.conf | sed -e 's/^PidFile=//'` - if test x$PIDFILE = x ; then - PIDFILE=/var/run/gdm.pid - fi - if test -w $FIFOFILE ; then - if test -f $PIDFILE ; then - if kill -0 `cat $PIDFILE` ; then - (echo;echo SOFT_RESTART) >> $FIFOFILE - fi - fi - fi - - echo - echo "***********************************************************************" - echo "* To make GDM start at boot, edit /etc/rc.conf (or /etc/conf.d/basic) *" - echo "* and then execute 'rc-update add xdm default'. *" - echo "* *" - echo "* NOTE: you need xfree-4.1.0-r4 or later ... *" - echo "***********************************************************************" - echo -} - -pkg_postrm() { - echo ">>> Updating Scrollkeeper database..." - scrollkeeper-update >/dev/null 2>&1 - - echo - echo "**********************************************" - echo "* To remove GDM from startup please execute *" - echo "* 'rc-update del xdm default' *" - echo "**********************************************" - echo -} - diff --git a/gnome-base/gdm/gdm-2.2.5.4-r5.ebuild b/gnome-base/gdm/gdm-2.2.5.4-r5.ebuild index d861e5ea6a56..ec764ec9eea5 100644 --- a/gnome-base/gdm/gdm-2.2.5.4-r5.ebuild +++ b/gnome-base/gdm/gdm-2.2.5.4-r5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Mikael Hallendal <hallski@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.2.5.4-r5.ebuild,v 1.3 2002/06/02 20:19:00 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.2.5.4-r5.ebuild,v 1.4 2002/06/19 23:53:47 azarah Exp $ DESCRIPTION="GNOME Display Manager" HOMEPAGE="http://www.gnome.org/" @@ -9,6 +9,7 @@ HOMEPAGE="http://www.gnome.org/" MY_V="`echo ${PV} |cut -b -5`" S=${WORKDIR}/${P} SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2" +SLOT="0" DEPEND=">=sys-libs/pam-0.72 >=sys-apps/tcp-wrappers-7.6 |