summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrakash Shetty <crux@gentoo.org>2001-07-05 06:31:12 +0000
committerPrakash Shetty <crux@gentoo.org>2001-07-05 06:31:12 +0000
commit1dd974ab4b21d46ed883aa35450ab377c89656ce (patch)
tree9a34a605e948094e2929c9839e67d933db9eeb9e /gnome-base/gdm
parentImport of root-tail into portage tree. (diff)
downloadhistorical-1dd974ab4b21d46ed883aa35450ab377c89656ce.tar.gz
historical-1dd974ab4b21d46ed883aa35450ab377c89656ce.tar.bz2
historical-1dd974ab4b21d46ed883aa35450ab377c89656ce.zip
GDM - Gnome Display Manager - New versions 2.2.2.1 & 2.2.3 - Ebuild by Joerg Krause <joerg@epost.de>
Diffstat (limited to 'gnome-base/gdm')
-rw-r--r--gnome-base/gdm/files/digest-gdm-2.2.2.11
-rw-r--r--gnome-base/gdm/files/digest-gdm-2.2.31
-rw-r--r--gnome-base/gdm/gdm-2.2.2.1.ebuild92
-rw-r--r--gnome-base/gdm/gdm-2.2.3.ebuild92
4 files changed, 186 insertions, 0 deletions
diff --git a/gnome-base/gdm/files/digest-gdm-2.2.2.1 b/gnome-base/gdm/files/digest-gdm-2.2.2.1
new file mode 100644
index 000000000000..2c536436daa4
--- /dev/null
+++ b/gnome-base/gdm/files/digest-gdm-2.2.2.1
@@ -0,0 +1 @@
+MD5 64998ab01bff71429903e40313a120e3 gdm-2.2.2.1.tar.bz2
diff --git a/gnome-base/gdm/files/digest-gdm-2.2.3 b/gnome-base/gdm/files/digest-gdm-2.2.3
new file mode 100644
index 000000000000..d0092ec4789a
--- /dev/null
+++ b/gnome-base/gdm/files/digest-gdm-2.2.3
@@ -0,0 +1 @@
+MD5 07bb5713c4fb43320797eaa290c1e4d6 gdm-2.2.3.tar.gz
diff --git a/gnome-base/gdm/gdm-2.2.2.1.ebuild b/gnome-base/gdm/gdm-2.2.2.1.ebuild
new file mode 100644
index 000000000000..a963a49e2ca5
--- /dev/null
+++ b/gnome-base/gdm/gdm-2.2.2.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Joerg Krause <joerg@epost.de>
+
+S=${WORKDIR}/${P}
+DESCRIPTION="gdm"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${P}.tar.gz"
+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
+ >=gnome-base/gdk-pixbuf-0.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/daemon
+ cp gdm.h gdm.h.orig
+ sed -e "s:/var/gdm:/var/lib/gdm:" \
+ -e "s:/usr/bin/X11:/usr/X11R6/bin:g" \
+ gdm.h.orig > gdm.h
+}
+
+src_compile() {
+ try ./configure --host=${CHOST} --prefix=/opt/gnome \
+ --sysconfdir=/etc/X11 --localstatedir=/var/lib
+
+ try make
+}
+
+src_install() {
+ try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/X11 \
+ localstatedir=${D}/var/lib install
+ #mv ${D}/etc/X11/pam.d ${D}/etc
+
+ 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}/pam.d
+ insinto /etc/pam.d
+ doins gdm
+
+ 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
+
+ # Background Picture
+ dodir /opt/gnome/share
+ dodir /opt/gnome/share/pixmaps
+ insinto /opt/gnome/share/pixmaps
+ doins ${FILESDIR}/gdm_background.jpg
+
+ cd ${D}/etc/X11/gdm
+ cp gdm.conf gdm.conf.orig
+ sed -e "s:BackgroundType=2:BackgroundType=1:g" \
+ -e "s:BackgroundImage=:BackgroundImage=/opt/gnome/share/pixmaps/gdm_background.jpg:g" \
+ -e "s:BackgroundScaleToFit=true:BackgroundScaleToFit=false:g" \
+ -e "s:GnomeDefaultSession:#GnomeDefaultSession:g" \
+ -e "s:0=/usr/X11R6/bin/X:0=/usr/X11R6/bin/X -depth 16 -dpi 100 dpms vt12:g" \
+ gdm.conf.orig > gdm.conf
+ rm gdm.conf.orig
+
+ rm Sessions/*
+ exeinto /etc/X11/gdm/Sessions
+ doexe ${FILESDIR}/wm/{afterstep,blackbox,enlightenment,fvwm,gnome,icewm,kde,pwm,windowmaker,xfce}
+ cd ${S}
+ dodoc AUTHORS COPYING ChangeLog NEWS README* RELEASENOTES TODO
+}
+
+pkg_postinst()
+{
+ rc-update add xdm
+}
+
+pkg_prerm()
+{
+ rc-update del xdm
+}
+
diff --git a/gnome-base/gdm/gdm-2.2.3.ebuild b/gnome-base/gdm/gdm-2.2.3.ebuild
new file mode 100644
index 000000000000..944497272c87
--- /dev/null
+++ b/gnome-base/gdm/gdm-2.2.3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Joerg Krause <joerg@epost.de>
+
+S=${WORKDIR}/${P}
+DESCRIPTION="gdm"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/latest/sources/${P}.tar.gz"
+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
+ >=gnome-base/gdk-pixbuf-0.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/daemon
+ cp gdm.h gdm.h.orig
+ sed -e "s:/var/gdm:/var/lib/gdm:" \
+ -e "s:/usr/bin/X11:/usr/X11R6/bin:g" \
+ gdm.h.orig > gdm.h
+}
+
+src_compile() {
+ try ./configure --host=${CHOST} --prefix=/opt/gnome \
+ --sysconfdir=/etc/X11 --localstatedir=/var/lib
+
+ try make
+}
+
+src_install() {
+ try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/X11 \
+ localstatedir=${D}/var/lib install
+ #mv ${D}/etc/X11/pam.d ${D}/etc
+
+ 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}/pam.d
+ insinto /etc/pam.d
+ doins gdm
+
+ 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
+
+ # Background Picture
+ dodir /opt/gnome/share
+ dodir /opt/gnome/share/pixmaps
+ insinto /opt/gnome/share/pixmaps
+ doins ${FILESDIR}/gdm_background.jpg
+
+ cd ${D}/etc/X11/gdm
+ cp gdm.conf gdm.conf.orig
+ sed -e "s:BackgroundType=2:BackgroundType=1:g" \
+ -e "s:BackgroundImage=:BackgroundImage=/opt/gnome/share/pixmaps/gdm_background.jpg:g" \
+ -e "s:BackgroundScaleToFit=true:BackgroundScaleToFit=false:g" \
+ -e "s:GnomeDefaultSession:#GnomeDefaultSession:g" \
+ -e "s:0=/usr/X11R6/bin/X:0=/usr/X11R6/bin/X -depth 16 -dpi 100 dpms vt12:g" \
+ gdm.conf.orig > gdm.conf
+ rm gdm.conf.orig
+
+ rm Sessions/*
+ exeinto /etc/X11/gdm/Sessions
+ doexe ${FILESDIR}/wm/{afterstep,blackbox,enlightenment,fvwm,gnome,icewm,kde,pwm,windowmaker,xfce}
+ cd ${S}
+ dodoc AUTHORS COPYING ChangeLog NEWS README* RELEASENOTES TODO
+}
+
+pkg_postinst()
+{
+ rc-update add xdm
+}
+
+pkg_prerm()
+{
+ rc-update del xdm
+}
+