summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-07-23 04:00:44 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-07-23 04:00:44 +0000
commit64a041e8fe2a2ea4abac06f9af24cea3aa4d7276 (patch)
tree2c4335fd88d8847d1f797edeb8c198e4f1c7ed73 /gnome-base
parentClean up unnecessary versions (diff)
downloadhistorical-64a041e8fe2a2ea4abac06f9af24cea3aa4d7276.tar.gz
historical-64a041e8fe2a2ea4abac06f9af24cea3aa4d7276.tar.bz2
historical-64a041e8fe2a2ea4abac06f9af24cea3aa4d7276.zip
Clean up unnecessary versions
Package-Manager: portage-2.1.1_pre3-r1
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gdm/Manifest29
-rw-r--r--gnome-base/gdm/files/digest-gdm-2.14.89
-rw-r--r--gnome-base/gdm/files/digest-gdm-2.14.99
-rw-r--r--gnome-base/gdm/gdm-2.14.8.ebuild165
-rw-r--r--gnome-base/gdm/gdm-2.14.9.ebuild165
5 files changed, 7 insertions, 370 deletions
diff --git a/gnome-base/gdm/Manifest b/gnome-base/gdm/Manifest
index b4ac2e34feda..800ae4d3237d 100644
--- a/gnome-base/gdm/Manifest
+++ b/gnome-base/gdm/Manifest
@@ -37,7 +37,6 @@ AUX gdm-2.8-CVE-2006-1057.patch 3670 RMD160 a8cdac77abe6b7c00b242d834daf872d50df
MD5 427dde842f39e8008ac1bb9afed23a00 files/gdm-2.8-CVE-2006-1057.patch 3670
RMD160 a8cdac77abe6b7c00b242d834daf872d50dfedc0 files/gdm-2.8-CVE-2006-1057.patch 3670
SHA256 4574e37308e1186f50d601daae7fdc0cf1fc108ede4e2138b1c3d21504cdbadb files/gdm-2.8-CVE-2006-1057.patch 3670
-DIST gdm-2.14.8.tar.bz2 3044411 RMD160 edd44dfb1b50324c03752363e7b51cd836085b1a SHA1 efcddbce23061126ab62e1a2081d83edf01195be SHA256 b59c1cd595a45b243f3cb50ac045a0dea2c3449b13690434e95402cbef8171ab
DIST gdm-2.14.9.tar.bz2 3046665 RMD160 f043ed11a8b174556b114e52dc50daa5432e68bb SHA1 264eaa09874a930c4080f903f43631dbf621e111 SHA256 0483dac71c88ca0da5ee85729c0c1dd6793d928109ac79ad56583aa1a5ff43d2
DIST gdm-2.2.5.4.tar.bz2 1586241 RMD160 ce4df48deaf595ca1008f9d1589649198e124daf SHA256 25ac704433cbd84ab8e80eea8cbf1890aae33ef8de94520b544584bbf598e9ec
DIST gdm-2.8-gentoo-files-r2.tar.bz2 3101 RMD160 b1776e987bf87e7db34d73bdf7a8eebfdcd51e54 SHA1 0b41c955ec8980c011b856aa653102da485dd20c SHA256 c9335d71ab0a2ceca6a5959947aabf3728031e86dcb5536b7b57c6115c4ce53e
@@ -45,18 +44,10 @@ DIST gdm-2.8.0.7.tar.bz2 2777760 RMD160 1c75d83e1a0f94ec1b927491a0409ea86e12a51f
DIST gdm-2.8.0.8.tar.bz2 2785955 RMD160 755f69a3158d9fd56a5c93b6e6a1b51013050e86 SHA1 bc57658edf1dbd428eb58b71778e42e4a35b06c6 SHA256 37aba29a59f8d78ff3ee3a808972183eb38b897d710fc2715a12381729df2dc4
DIST gentoo-gdm-theme-r2.tar.bz2 418934 RMD160 58088fe8a8141938a3efb9352020b14731d6ac56 SHA1 4cce27757f49c38fd18829bf4068972f88144556 SHA256 29927ac5a0d265703150ffee4eaa4399eace73792365eacfd4174b36c4a9909e
DIST gentoo-gdm-theme-r3.tar.bz2 411703 RMD160 9188c8f2661163be72595a6b4924fae0648e7df5 SHA1 246a7ce67ad9d826b1cca6d90b53369b88be72ac SHA256 c7cbe97757ff93f0ffd42f9d9fb702278a361e830940a03901cda9943f44ba68
-EBUILD gdm-2.14.8.ebuild 4243 RMD160 2ba9d2215192084cca5582f5456bdb314378c5be SHA1 31c7f889d3979c65dc59b6e3d8b5dc6e78e1bf2c SHA256 f1d4bc7049ee16b9bf56e2b87b78fe00732bd885f1e70d75936c643b001df819
-MD5 f9b50031ca1596037eb51e745c681d35 gdm-2.14.8.ebuild 4243
-RMD160 2ba9d2215192084cca5582f5456bdb314378c5be gdm-2.14.8.ebuild 4243
-SHA256 f1d4bc7049ee16b9bf56e2b87b78fe00732bd885f1e70d75936c643b001df819 gdm-2.14.8.ebuild 4243
EBUILD gdm-2.14.9-r1.ebuild 4560 RMD160 38db3cf9fdbc37a2ec72ec99ddc592bc3c91abbb SHA1 3ad26afb2072ed21265a72d4d2123a1effbb1d20 SHA256 20ad6febbd8a5a2a77305a56445e0bd1f3902ae498966c45402f5d83286f5ba8
MD5 873691297ef2f46993d51017b444630a gdm-2.14.9-r1.ebuild 4560
RMD160 38db3cf9fdbc37a2ec72ec99ddc592bc3c91abbb gdm-2.14.9-r1.ebuild 4560
SHA256 20ad6febbd8a5a2a77305a56445e0bd1f3902ae498966c45402f5d83286f5ba8 gdm-2.14.9-r1.ebuild 4560
-EBUILD gdm-2.14.9.ebuild 4243 RMD160 708592d0861fa2ee467b1b8e16e7d12f38416334 SHA1 952a88b4741127133862993d0c83b68a44c51c3d SHA256 e978ff4ddbaf72b63bb035d6b9ae06fc5c4ff45feb4d8f06e0ce3946176c72d2
-MD5 af217ffb8fbecff3db79538d547ab2ae gdm-2.14.9.ebuild 4243
-RMD160 708592d0861fa2ee467b1b8e16e7d12f38416334 gdm-2.14.9.ebuild 4243
-SHA256 e978ff4ddbaf72b63bb035d6b9ae06fc5c4ff45feb4d8f06e0ce3946176c72d2 gdm-2.14.9.ebuild 4243
EBUILD gdm-2.2.5.4-r5.ebuild 4688 RMD160 1431c820a70c2945368ae968733c77704c13a0c8 SHA1 5a9b90f5bf6f4a6c1576008ff62f203365d1bf81 SHA256 98fa6a5f5582bdd302563fc59445fac4ea87957ed6a9efad1e41ec7aa627cfd9
MD5 06ae905e1c548b97c7c4d22a35c2d77c gdm-2.2.5.4-r5.ebuild 4688
RMD160 1431c820a70c2945368ae968733c77704c13a0c8 gdm-2.2.5.4-r5.ebuild 4688
@@ -73,20 +64,14 @@ EBUILD gdm-2.8.0.8.ebuild 3993 RMD160 3e2082237a978e4bb59776830726c40504c62e4e S
MD5 c4b1aeb6ac925985eb7f4f08c0835eec gdm-2.8.0.8.ebuild 3993
RMD160 3e2082237a978e4bb59776830726c40504c62e4e gdm-2.8.0.8.ebuild 3993
SHA256 0deb3a4c356511965d7197031b267c425e6ddda8b9c5bea48663c9beaa654731 gdm-2.8.0.8.ebuild 3993
-MISC ChangeLog 22850 RMD160 60c0c4ff6030f0a1650e371a4185371d6dcc8fa8 SHA1 b9b59e7a1c9651870543137228e054a8e22cc016 SHA256 42e5ea50cb674c6eb921cc24337a5d693d3c049693f5ad757acc1b68efdd33c1
-MD5 1fc81c753bfb0cc479247d781bcbb49b ChangeLog 22850
-RMD160 60c0c4ff6030f0a1650e371a4185371d6dcc8fa8 ChangeLog 22850
-SHA256 42e5ea50cb674c6eb921cc24337a5d693d3c049693f5ad757acc1b68efdd33c1 ChangeLog 22850
+MISC ChangeLog 22976 RMD160 736644bec695070c0a2c809cb401bf36e7fb360f SHA1 f30c83b6caab39c50ba1302f6fafde6b4b11a96f SHA256 78a612ef7c0872a8ba46b1583b22c5012135344a9fc0f8f187ab4e7e9ee8dd29
+MD5 0621e8e06e786029f8ac0e80d0c2639b ChangeLog 22976
+RMD160 736644bec695070c0a2c809cb401bf36e7fb360f ChangeLog 22976
+SHA256 78a612ef7c0872a8ba46b1583b22c5012135344a9fc0f8f187ab4e7e9ee8dd29 ChangeLog 22976
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158
SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158
-MD5 3abcdf41171e796de8878aae681fa223 files/digest-gdm-2.14.8 768
-RMD160 c1eab140ffeffc4a4693cf79749ebfe032c7d53e files/digest-gdm-2.14.8 768
-SHA256 eaca95dab3626ff54e83fa30089e99169150fcd7eeda81bff313b6a3886beebe files/digest-gdm-2.14.8 768
-MD5 ea4fc423e9d653330920d389a43122f0 files/digest-gdm-2.14.9 768
-RMD160 71291a8c33d020c4d3766e41dd8a243fa159a41e files/digest-gdm-2.14.9 768
-SHA256 34ff0a74b881c8f694b858c4918511a843ad6b4c650f58d1007aeb9ab75d6bf7 files/digest-gdm-2.14.9 768
MD5 ea4fc423e9d653330920d389a43122f0 files/digest-gdm-2.14.9-r1 768
RMD160 71291a8c33d020c4d3766e41dd8a243fa159a41e files/digest-gdm-2.14.9-r1 768
SHA256 34ff0a74b881c8f694b858c4918511a843ad6b4c650f58d1007aeb9ab75d6bf7 files/digest-gdm-2.14.9-r1 768
@@ -105,7 +90,7 @@ SHA256 c0a06a42d9256d58b8af8c138b0b8339a6b45ff5449139faba1c5e3eb518947c files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux)
-iD8DBQFEu8ZBomPajV0RnrERAk7SAJ9m7dquvQUnHuQEt/7pMlrajyLSyACfXJ34
-+tGgXeZvJUeSv9s7kKHsqLM=
-=C0Dy
+iD8DBQFEwvRPomPajV0RnrERAvtEAJ9js5SNSo8JiISYCBXfUY5Qd2DuiQCfT9oB
+9m9uUUlKNwsKPi0ZkdeOEj0=
+=jBH8
-----END PGP SIGNATURE-----
diff --git a/gnome-base/gdm/files/digest-gdm-2.14.8 b/gnome-base/gdm/files/digest-gdm-2.14.8
deleted file mode 100644
index 9f29ddb50c1e..000000000000
--- a/gnome-base/gdm/files/digest-gdm-2.14.8
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 03ecfced7b4331542b35746f3b4b92a4 gdm-2.14.8.tar.bz2 3044411
-RMD160 edd44dfb1b50324c03752363e7b51cd836085b1a gdm-2.14.8.tar.bz2 3044411
-SHA256 b59c1cd595a45b243f3cb50ac045a0dea2c3449b13690434e95402cbef8171ab gdm-2.14.8.tar.bz2 3044411
-MD5 a23df5fecb624744c016ad2fe8ebe5e8 gdm-2.8-gentoo-files-r2.tar.bz2 3101
-RMD160 b1776e987bf87e7db34d73bdf7a8eebfdcd51e54 gdm-2.8-gentoo-files-r2.tar.bz2 3101
-SHA256 c9335d71ab0a2ceca6a5959947aabf3728031e86dcb5536b7b57c6115c4ce53e gdm-2.8-gentoo-files-r2.tar.bz2 3101
-MD5 146b311aea6ca3b6b9bdbe551cb7c0ae gentoo-gdm-theme-r3.tar.bz2 411703
-RMD160 9188c8f2661163be72595a6b4924fae0648e7df5 gentoo-gdm-theme-r3.tar.bz2 411703
-SHA256 c7cbe97757ff93f0ffd42f9d9fb702278a361e830940a03901cda9943f44ba68 gentoo-gdm-theme-r3.tar.bz2 411703
diff --git a/gnome-base/gdm/files/digest-gdm-2.14.9 b/gnome-base/gdm/files/digest-gdm-2.14.9
deleted file mode 100644
index a4f7e106abb4..000000000000
--- a/gnome-base/gdm/files/digest-gdm-2.14.9
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 7e46bc3b0a5b08e79f1f2f1b869caf40 gdm-2.14.9.tar.bz2 3046665
-RMD160 f043ed11a8b174556b114e52dc50daa5432e68bb gdm-2.14.9.tar.bz2 3046665
-SHA256 0483dac71c88ca0da5ee85729c0c1dd6793d928109ac79ad56583aa1a5ff43d2 gdm-2.14.9.tar.bz2 3046665
-MD5 a23df5fecb624744c016ad2fe8ebe5e8 gdm-2.8-gentoo-files-r2.tar.bz2 3101
-RMD160 b1776e987bf87e7db34d73bdf7a8eebfdcd51e54 gdm-2.8-gentoo-files-r2.tar.bz2 3101
-SHA256 c9335d71ab0a2ceca6a5959947aabf3728031e86dcb5536b7b57c6115c4ce53e gdm-2.8-gentoo-files-r2.tar.bz2 3101
-MD5 146b311aea6ca3b6b9bdbe551cb7c0ae gentoo-gdm-theme-r3.tar.bz2 411703
-RMD160 9188c8f2661163be72595a6b4924fae0648e7df5 gentoo-gdm-theme-r3.tar.bz2 411703
-SHA256 c7cbe97757ff93f0ffd42f9d9fb702278a361e830940a03901cda9943f44ba68 gentoo-gdm-theme-r3.tar.bz2 411703
diff --git a/gnome-base/gdm/gdm-2.14.8.ebuild b/gnome-base/gdm/gdm-2.14.8.ebuild
deleted file mode 100644
index 8bb17b998428..000000000000
--- a/gnome-base/gdm/gdm-2.14.8.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.14.8.ebuild,v 1.1 2006/06/08 05:01:07 leonardop Exp $
-
-inherit eutils pam gnome2
-
-DESCRIPTION="GNOME Display Manager"
-HOMEPAGE="http://www.gnome.org/projects/gdm/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="accessibility ipv6 pam selinux tcpd xinerama"
-
-# Name of the tarball with gentoo specific files
-GDM_EXTRA="${PN}-2.8-gentoo-files-r2"
-
-SRC_URI="${SRC_URI}
- mirror://gentoo/gentoo-gdm-theme-r3.tar.bz2
- mirror://gentoo/${GDM_EXTRA}.tar.bz2"
-
-RDEPEND="pam? ( virtual/pam )
- !pam? ( sys-apps/shadow )
- >=dev-libs/glib-2.8
- >=x11-libs/gtk+-2.6
- >=x11-libs/pango-1.3
- >=gnome-base/libglade-1.99.2
- >=gnome-base/libgnomecanvas-1.109
- >=gnome-base/librsvg-1.1.1
- >=dev-libs/libxml2-2.4.12
- >=media-libs/libart_lgpl-2.3.11
- selinux? ( sys-libs/libselinux )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
- || ( (
- x11-libs/libX11
- x11-libs/libXdmcp
- x11-libs/libXi
- x11-libs/libXext
- x11-libs/libXinerama
- x11-libs/libdmx
- x11-libs/libXau
- x11-apps/sessreg
- accessibility? ( x11-libs/libXevie ) )
- virtual/x11 )"
-
-DEPEND="${RDEPEND}
- || ( (
- x11-proto/inputproto
- x11-proto/dmxproto )
- virtual/x11 )
- >=dev-util/pkgconfig-0.9
- >=dev-util/intltool-0.28
- sys-devel/gettext
- >=app-text/gnome-doc-utils-0.3.2
- >=app-text/scrollkeeper-0.1.4"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-MAKEOPTS="${MAKEOPTS} -j1"
-
-
-pkg_setup() {
- G2CONF="--disable-scrollkeeper \
- --sysconfdir=/etc/X11 \
- --localstatedir=/var \
- --with-xdmcp \
- --with-pam-prefix=/etc \
- $(use_enable accessibility xevie) \
- $(use_enable ipv6) \
- $(use_with selinux) \
- $(use_with tcpd tcp-wrappers) \
- $(use_with xinerama)"
-
- if use pam; then
- G2CONF="${G2CONF} --enable-authentication-scheme=pam"
- else
- G2CONF="${G2CONF} --enable-console-helper=no \
- --enable-authentication-scheme=shadow"
- fi
-
- enewgroup gdm
- enewuser gdm -1 -1 /var/lib/gdm gdm
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # remove unneeded linker directive for selinux (#41022)
- epatch "${FILESDIR}"/${PN}-2.13.0.1-selinux-remove-attr.patch
-
- # Fix missing intllib
- epatch "${FILESDIR}"/${PN}-2.13.0.7-gdm-dmx-intllibs.patch
-
- gnome2_omf_fix docs/*/Makefile.in docs/Makefile.in
-}
-
-src_install() {
- gnome2_src_install
-
- local gentoodir="${WORKDIR}/${GDM_EXTRA}"
-
- # gdm-binary should be gdm to work with our init (#5598)
- rm -f ${D}/usr/sbin/gdm
- dosym /usr/sbin/gdm-binary /usr/sbin/gdm
- # our x11's scripts point to /usr/bin/gdm
- dosym /usr/sbin/gdm-binary /usr/bin/gdm
-
- # log, etc.
- keepdir /var/log/gdm
- keepdir /var/gdm
- chown root:gdm ${D}/var/gdm
- chmod 1770 ${D}/var/gdm
-
- # use our own session script
- rm -f ${D}/etc/X11/gdm/Xsession
- exeinto /etc/X11/gdm
- doexe ${gentoodir}/Xsession
-
- # add a custom xsession .desktop by default (#44537)
- exeinto /etc/X11/dm/Sessions
- doexe ${gentoodir}/custom.desktop
-
- # We replace the pam stuff by our own
- rm -rf ${D}/etc/pam.d
-
- dopamd ${gentoodir}/pam.d/*
- dopamsecurity console.apps ${gentoodir}/security/console.apps/gdmsetup
-
- # use graphical greeter local
- dosed "s:#Greeter=/usr/libexec/gdmlogin:Greeter=/usr/libexec/gdmgreeter:" \
- /etc/X11/gdm/gdm.conf
- # list available users
- dosed "s:^#MinimalUID=.*:MinimalUID=1000:" /etc/X11/gdm/gdm.conf
- dosed "s:^#IncludeAll=.*:IncludeAll=true:" /etc/X11/gdm/gdm.conf
- # Fix old X11R6 paths
- dosed "s:/usr/X11R6/bin:/usr/bin:" /etc/X11/gdm/gdm.conf
-
- # Move Gentoo theme in
- mv ${WORKDIR}/gentoo-* ${D}/usr/share/gdm/themes
-}
-
-pkg_postinst() {
- gnome2_pkg_postinst
-
- # Soft restart, assumes Gentoo defaults for file locations
- FIFOFILE=/var/gdm/.gdmfifo
- PIDFILE=/var/run/gdm.pid
- if [ -w ${FIFOFILE} ] ; then
- if [ -f ${PIDFILE} ] ; then
- if kill -0 `cat ${PIDFILE}`; then
- (echo;echo SOFT_RESTART) >> ${FIFOFILE}
- fi
- fi
- fi
-
- einfo "To make GDM start at boot, edit /etc/rc.conf"
- einfo "and then execute 'rc-update add xdm default'."
-}
-
-pkg_postrm() {
- gnome2_pkg_postrm
-
- einfo "To remove GDM from startup please execute"
- einfo "'rc-update del xdm default'"
-}
diff --git a/gnome-base/gdm/gdm-2.14.9.ebuild b/gnome-base/gdm/gdm-2.14.9.ebuild
deleted file mode 100644
index c9bed87e7e51..000000000000
--- a/gnome-base/gdm/gdm-2.14.9.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.14.9.ebuild,v 1.1 2006/06/12 23:05:37 leonardop Exp $
-
-inherit eutils pam gnome2
-
-DESCRIPTION="GNOME Display Manager"
-HOMEPAGE="http://www.gnome.org/projects/gdm/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="accessibility ipv6 pam selinux tcpd xinerama"
-
-# Name of the tarball with gentoo specific files
-GDM_EXTRA="${PN}-2.8-gentoo-files-r2"
-
-SRC_URI="${SRC_URI}
- mirror://gentoo/gentoo-gdm-theme-r3.tar.bz2
- mirror://gentoo/${GDM_EXTRA}.tar.bz2"
-
-RDEPEND="pam? ( virtual/pam )
- !pam? ( sys-apps/shadow )
- >=dev-libs/glib-2.8
- >=x11-libs/gtk+-2.6
- >=x11-libs/pango-1.3
- >=gnome-base/libglade-1.99.2
- >=gnome-base/libgnomecanvas-1.109
- >=gnome-base/librsvg-1.1.1
- >=dev-libs/libxml2-2.4.12
- >=media-libs/libart_lgpl-2.3.11
- selinux? ( sys-libs/libselinux )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
- || ( (
- x11-libs/libX11
- x11-libs/libXdmcp
- x11-libs/libXi
- x11-libs/libXext
- x11-libs/libXinerama
- x11-libs/libdmx
- x11-libs/libXau
- x11-apps/sessreg
- accessibility? ( x11-libs/libXevie ) )
- virtual/x11 )"
-
-DEPEND="${RDEPEND}
- || ( (
- x11-proto/inputproto
- x11-proto/dmxproto )
- virtual/x11 )
- >=dev-util/pkgconfig-0.9
- >=dev-util/intltool-0.28
- sys-devel/gettext
- >=app-text/gnome-doc-utils-0.3.2
- >=app-text/scrollkeeper-0.1.4"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-MAKEOPTS="${MAKEOPTS} -j1"
-
-
-pkg_setup() {
- G2CONF="--disable-scrollkeeper \
- --sysconfdir=/etc/X11 \
- --localstatedir=/var \
- --with-xdmcp \
- --with-pam-prefix=/etc \
- $(use_enable accessibility xevie) \
- $(use_enable ipv6) \
- $(use_with selinux) \
- $(use_with tcpd tcp-wrappers) \
- $(use_with xinerama)"
-
- if use pam; then
- G2CONF="${G2CONF} --enable-authentication-scheme=pam"
- else
- G2CONF="${G2CONF} --enable-console-helper=no \
- --enable-authentication-scheme=shadow"
- fi
-
- enewgroup gdm
- enewuser gdm -1 -1 /var/lib/gdm gdm
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # remove unneeded linker directive for selinux (#41022)
- epatch "${FILESDIR}"/${PN}-2.13.0.1-selinux-remove-attr.patch
-
- # Fix missing intllib
- epatch "${FILESDIR}"/${PN}-2.13.0.7-gdm-dmx-intllibs.patch
-
- gnome2_omf_fix docs/*/Makefile.in docs/Makefile.in
-}
-
-src_install() {
- gnome2_src_install
-
- local gentoodir="${WORKDIR}/${GDM_EXTRA}"
-
- # gdm-binary should be gdm to work with our init (#5598)
- rm -f ${D}/usr/sbin/gdm
- dosym /usr/sbin/gdm-binary /usr/sbin/gdm
- # our x11's scripts point to /usr/bin/gdm
- dosym /usr/sbin/gdm-binary /usr/bin/gdm
-
- # log, etc.
- keepdir /var/log/gdm
- keepdir /var/gdm
- chown root:gdm ${D}/var/gdm
- chmod 1770 ${D}/var/gdm
-
- # use our own session script
- rm -f ${D}/etc/X11/gdm/Xsession
- exeinto /etc/X11/gdm
- doexe ${gentoodir}/Xsession
-
- # add a custom xsession .desktop by default (#44537)
- exeinto /etc/X11/dm/Sessions
- doexe ${gentoodir}/custom.desktop
-
- # We replace the pam stuff by our own
- rm -rf ${D}/etc/pam.d
-
- dopamd ${gentoodir}/pam.d/*
- dopamsecurity console.apps ${gentoodir}/security/console.apps/gdmsetup
-
- # use graphical greeter local
- dosed "s:#Greeter=/usr/libexec/gdmlogin:Greeter=/usr/libexec/gdmgreeter:" \
- /etc/X11/gdm/gdm.conf
- # list available users
- dosed "s:^#MinimalUID=.*:MinimalUID=1000:" /etc/X11/gdm/gdm.conf
- dosed "s:^#IncludeAll=.*:IncludeAll=true:" /etc/X11/gdm/gdm.conf
- # Fix old X11R6 paths
- dosed "s:/usr/X11R6/bin:/usr/bin:" /etc/X11/gdm/gdm.conf
-
- # Move Gentoo theme in
- mv ${WORKDIR}/gentoo-* ${D}/usr/share/gdm/themes
-}
-
-pkg_postinst() {
- gnome2_pkg_postinst
-
- # Soft restart, assumes Gentoo defaults for file locations
- FIFOFILE=/var/gdm/.gdmfifo
- PIDFILE=/var/run/gdm.pid
- if [ -w ${FIFOFILE} ] ; then
- if [ -f ${PIDFILE} ] ; then
- if kill -0 `cat ${PIDFILE}`; then
- (echo;echo SOFT_RESTART) >> ${FIFOFILE}
- fi
- fi
- fi
-
- einfo "To make GDM start at boot, edit /etc/rc.conf"
- einfo "and then execute 'rc-update add xdm default'."
-}
-
-pkg_postrm() {
- gnome2_pkg_postrm
-
- einfo "To remove GDM from startup please execute"
- einfo "'rc-update del xdm default'"
-}