diff options
Diffstat (limited to 'gnome-apps/gdm/gdm-2.2.3.2.ebuild')
-rw-r--r-- | gnome-apps/gdm/gdm-2.2.3.2.ebuild | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/gnome-apps/gdm/gdm-2.2.3.2.ebuild b/gnome-apps/gdm/gdm-2.2.3.2.ebuild deleted file mode 100644 index 8558dabfbe5d..000000000000 --- a/gnome-apps/gdm/gdm-2.2.3.2.ebuild +++ /dev/null @@ -1,91 +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-apps/gdm/gdm-2.2.3.2.ebuild,v 1.1 2001/08/14 21:12:11 hallski Exp $ - -A=${P}.tar.gz -S=${WORKDIR}/${P} -DESCRIPTION="gdm" -SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gdm/${A}" -HOMEPAGE="http://www.gnome.org/" - -DEPEND=">=sys-libs/pam-0.72 - >=sys-apps/tcp-wrappers-7.6 - >=gnome-base/gnome-libs-1.2.4 - >=gnome-base/libglade-0.16-r1 - >=media-libs/gdk-pixbuf-0.11" - -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 -} - -src_compile() { - try ./configure --host=${CHOST} --prefix=/opt/gnome \ - --sysconfdir=/etc/X11 --localstatedir=/var/lib --with-pam-prefix=/etc - - try pmake -} - -src_install() { - try make DESTDIR=${D} sysconfdir=${D}/etc/X11 localstatedir=${D}/var/lib install - - rm -rf ${D}/etc/X11/pam.d - - # log - dodir /var - dodir /var/lib - dodir /var/lib/gdm - chown gdm:gdm ${D}/var/lib/gdm - chmod 750 ${D}/var/lib/gdm - - # pam startup - dodir /etc/pam.d - cd ${FILESDIR}/2.2.3/pam.d - insinto /etc/pam.d - doins gdm - - # gnomerc - dodir /etc/X11/gdm - cd ${FILESDIR}/2.2.3 - exeinto /etc/X11/gdm - doexe 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 dpms vt7:g" \ - -e "s:GtkRC=/opt/gnome/share/themes/Default/gtk/gtkrc:GtkRC=/usr/X11R6/share/themes/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 AUTHORS COPYING ChangeLog NEWS README* RELEASENOTES TODO -} - -pkg_postinst() -{ - rc-update add xdm -} - -pkg_prerm() -{ - rc-update del xdm -} - |