diff options
author | Mike Gardiner <obz@gentoo.org> | 2004-11-25 09:28:32 +0000 |
---|---|---|
committer | Mike Gardiner <obz@gentoo.org> | 2004-11-25 09:28:32 +0000 |
commit | 8c7bf872f7a2c226f075a0c041ec4b1dd1c76d4c (patch) | |
tree | b065c6c355f549a35617ae830ca27bb26dd90f9c /gnome-base | |
parent | New version (Manifest recommit) (diff) | |
download | gentoo-2-8c7bf872f7a2c226f075a0c041ec4b1dd1c76d4c.tar.gz gentoo-2-8c7bf872f7a2c226f075a0c041ec4b1dd1c76d4c.tar.bz2 gentoo-2-8c7bf872f7a2c226f075a0c041ec4b1dd1c76d4c.zip |
New version
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gdm/ChangeLog | 7 | ||||
-rw-r--r-- | gnome-base/gdm/Manifest | 17 | ||||
-rw-r--r-- | gnome-base/gdm/files/digest-gdm-2.6.0.6 | 2 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-2.6.0.6.ebuild | 137 |
4 files changed, 155 insertions, 8 deletions
diff --git a/gnome-base/gdm/ChangeLog b/gnome-base/gdm/ChangeLog index 2d6a89dccfe4..76b05ec56be6 100644 --- a/gnome-base/gdm/ChangeLog +++ b/gnome-base/gdm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-base/gdm # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.75 2004/11/12 03:50:42 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.76 2004/11/25 09:28:32 obz Exp $ + +*gdm-2.6.0.6 (25 Nov 2004) + + 25 Nov 2004; Mike Gardiner <obz@gentoo.org> +gdm-2.6.0.6.ebuild: + New version 12 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> gdm-2.6.0.4-r1.ebuild: Stable on sparc diff --git a/gnome-base/gdm/Manifest b/gnome-base/gdm/Manifest index d7dd5c0cdd34..92e0f0da9cf8 100644 --- a/gnome-base/gdm/Manifest +++ b/gnome-base/gdm/Manifest @@ -1,17 +1,20 @@ -MD5 66b453852c24813b7fb32eb71e0e41b4 ChangeLog 10367 +MD5 1a98d41637d8a9d72302ec2350ee632b .gdm-2.6.0.6.ebuild.swp 12288 +MD5 f7a9dfd964e64421f45717e94703e75d gdm-2.6.0.3.ebuild 3385 +MD5 bf4c39edd0c28adfccb8247fe0b068d7 gdm-2.4.4.7-r1.ebuild 3427 MD5 35366f1ca77e222f08da145690671bc7 gdm-2.2.5.4-r5.ebuild 4427 +MD5 bcad622afa45df08dde06826b40f142f gdm-2.6.0.4-r1.ebuild 3286 MD5 6dcf2c48a2846433f8abf94aa493f074 gdm-2.4.1.7-r1.ebuild 5284 -MD5 bf4c39edd0c28adfccb8247fe0b068d7 gdm-2.4.4.7-r1.ebuild 3427 +MD5 66b453852c24813b7fb32eb71e0e41b4 ChangeLog 10367 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 -MD5 f7a9dfd964e64421f45717e94703e75d gdm-2.6.0.3.ebuild 3385 -MD5 bcad622afa45df08dde06826b40f142f gdm-2.6.0.4-r1.ebuild 3286 +MD5 5fd21d04d2702a4090fdf394ff1c82af gdm-2.6.0.6.ebuild 3189 MD5 80ecdc9dea675084c39d7d30876acf5b files/digest-gdm-2.2.5.4-r5 65 MD5 6392095707ae98912a626cb035796255 files/digest-gdm-2.4.1.7-r1 134 MD5 25720fd12f8eee788fc5169824a0fe7e files/digest-gdm-2.4.4.7-r1 205 -MD5 b2d71444a82a418126728e6301dd3389 files/gdm-2.4.1.7-gtk-2.4.patch 5730 -MD5 7dc28411b445f8459abba359b03f36b8 files/gdm-2.4.4-selinux_remove_attr.patch 826 -MD5 6d2d226ffb2ab29992376b5e2e4abe9f files/digest-gdm-2.6.0.3 205 MD5 5f1a2155fb7d9ac84b228d439df56777 files/digest-gdm-2.6.0.4-r1 137 +MD5 6d2d226ffb2ab29992376b5e2e4abe9f files/digest-gdm-2.6.0.3 205 +MD5 2f7f1a2f8ba0b8808f27f0a1f6abdcee files/digest-gdm-2.6.0.6 137 +MD5 7dc28411b445f8459abba359b03f36b8 files/gdm-2.4.4-selinux_remove_attr.patch 826 +MD5 b2d71444a82a418126728e6301dd3389 files/gdm-2.4.1.7-gtk-2.4.patch 5730 MD5 2a4dc345919a4094ead16d7a122e40bf files/2.2.5/gnomerc 235 MD5 2a4dc345919a4094ead16d7a122e40bf files/2.4.1/gnomerc 235 MD5 0107e56a45d8ef4413c1779e809f1c03 files/2.4.4/Xsession 6198 diff --git a/gnome-base/gdm/files/digest-gdm-2.6.0.6 b/gnome-base/gdm/files/digest-gdm-2.6.0.6 new file mode 100644 index 000000000000..1d5f42b2383a --- /dev/null +++ b/gnome-base/gdm/files/digest-gdm-2.6.0.6 @@ -0,0 +1,2 @@ +MD5 8dca7cb1f28d81f60f6e07b3c24288c5 gdm-2.6.0.6.tar.bz2 3216098 +MD5 02d70f412218f8da910ae6f317aae4b9 gentoo-gdm-theme-r2.tar.bz2 418934 diff --git a/gnome-base/gdm/gdm-2.6.0.6.ebuild b/gnome-base/gdm/gdm-2.6.0.6.ebuild new file mode 100644 index 000000000000..e202c7b7e651 --- /dev/null +++ b/gnome-base/gdm/gdm-2.6.0.6.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.6.0.6.ebuild,v 1.1 2004/11/25 09:28:32 obz Exp $ + +inherit gnome2 eutils + +DESCRIPTION="GNOME2 Display Manager" +HOMEPAGE="http://www.jirka.org/gdm.html" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64 ~mips ~ppc64" +IUSE="tcpd xinerama selinux" + +SRC_URI="${SRC_URI} + mirror://gentoo/gentoo-gdm-theme-r2.tar.bz2" +MY_V="`echo ${PV} |cut -b -5`" + +RDEPEND=">=sys-libs/pam-0.72 + >=x11-libs/pango-1.4.1 + >=x11-libs/gtk+-2.4 + >=gnome-base/libglade-2 + >=gnome-base/librsvg-2 + >=media-libs/libart_lgpl-2.3.11 + >=dev-libs/libxml2-2.4.12 + >=gnome-base/libgnome-2 + >=gnome-base/libgnomeui-2 + >=gnome-base/libgnomecanvas-2 + selinux? ( sys-libs/libselinux )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.29 + >=app-text/scrollkeeper-0.3.11 + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" + +G2CONF="${G2CONF} \ + --sysconfdir=/etc/X11 \ + --localstatedir=/var \ + --with-pam-prefix=/etc \ + --with-xdmcp \ + `use_with tcpd tcp-wrappers` \ + `use_with xinerama` \ + `use_with selinux`" + +src_unpack() { + + unpack ${A} + + cd ${S} + # remove unneeded linker directive for selinux (#41022) + epatch ${FILESDIR}/${PN}-2.4.4-selinux_remove_attr.patch + +} + +src_install() { + + gnome2_src_install \ + PAM_PREFIX=${D}/etc \ + sysconfdir=${D}/etc/X11 \ + localstatedir=${D}/var + + # gdm-binary should be gdm to work with our init (#5598) + rm -f ${D}/usr/bin/gdm + mv ${D}/usr/bin/gdm-binary ${D}/usr/bin/gdm + dosym /usr/bin/gdm /usr/bin/gdm-binary + + # 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 ${FILESDIR}/${MY_V}/Xsession + + # add a custom xsession .desktop by default (#44537) + exeinto /etc/X11/dm/Sessions + doexe ${FILESDIR}/${MY_V}/custom.desktop + + # We replace the pam stuff by our own + rm -f ${D}/etc/pam.d/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 + doins ${FILESDIR}/${MY_V}/pam.d/gdm-autologin + + # pam security + dodir /etc/security/console.apps + insinto /etc/security/console.apps + doins ${FILESDIR}/${MY_V}/security/console.apps/gdmconfig + + # use graphical greeter local + dosed "s:#Greeter=/usr/bin/gdmlogin:Greeter=/usr/bin/gdmgreeter:" /etc/X11/gdm/gdm.conf + # use Gentoo theme + dosed "s:#GraphicalTheme=circles:GraphicalTheme=gentoo-cow:" /etc/X11/gdm/gdm.conf + + # Move Gentoo theme in + mv ${WORKDIR}/gentoo-* ${D}/usr/share/gdm/themes + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO + +} + +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'" + +} |