diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2007-03-27 17:21:04 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2007-03-27 17:21:04 +0000 |
commit | 4badf3aa63ab00022b8683a59a6ada65b582412a (patch) | |
tree | 0346a67e4b0b77f999ea1cc754a37dd1594af8c5 /app-admin | |
parent | gnome 2.18.0 (diff) | |
download | gentoo-2-4badf3aa63ab00022b8683a59a6ada65b582412a.tar.gz gentoo-2-4badf3aa63ab00022b8683a59a6ada65b582412a.tar.bz2 gentoo-2-4badf3aa63ab00022b8683a59a6ada65b582412a.zip |
gnome 2.18.0
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sabayon/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/sabayon/files/digest-sabayon-2.18.0 | 3 | ||||
-rw-r--r-- | app-admin/sabayon/sabayon-2.18.0.ebuild | 74 |
3 files changed, 83 insertions, 1 deletions
diff --git a/app-admin/sabayon/ChangeLog b/app-admin/sabayon/ChangeLog index e08b04eb5520..524d2364f8a5 100644 --- a/app-admin/sabayon/ChangeLog +++ b/app-admin/sabayon/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/sabayon # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.16 2007/02/04 08:54:59 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.17 2007/03/27 17:21:04 dang Exp $ + +*sabayon-2.18.0 (27 Mar 2007) + + 27 Mar 2007; Daniel Gryniewicz <dang@gentoo.org> +sabayon-2.18.0.ebuild: + gnome 2.18.0 04 Feb 2007; Markus Rothe <corsair@gentoo.org> sabayon-2.12.4.ebuild: Stable on ppc64; bug #164978 diff --git a/app-admin/sabayon/files/digest-sabayon-2.18.0 b/app-admin/sabayon/files/digest-sabayon-2.18.0 new file mode 100644 index 000000000000..16bca1a010db --- /dev/null +++ b/app-admin/sabayon/files/digest-sabayon-2.18.0 @@ -0,0 +1,3 @@ +MD5 4287b41906b78e13edec3f88c65fff04 sabayon-2.18.0.tar.bz2 589133 +RMD160 ac07b0b67ab4833fec3013c81cdb958241730b36 sabayon-2.18.0.tar.bz2 589133 +SHA256 ed4134b50ef9f66af2a4d7c77c2355fd818401d72080bb0aee862e8a487c6bc6 sabayon-2.18.0.tar.bz2 589133 diff --git a/app-admin/sabayon/sabayon-2.18.0.ebuild b/app-admin/sabayon/sabayon-2.18.0.ebuild new file mode 100644 index 000000000000..f54ce60e7cb7 --- /dev/null +++ b/app-admin/sabayon/sabayon-2.18.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.18.0.ebuild,v 1.1 2007/03/27 17:21:04 dang Exp $ + +inherit gnome2 eutils python multilib + +DESCRIPTION="Tool to maintain user profiles in a GNOME desktop" +HOMEPAGE="http://www.gnome.org/projects/sabayon/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Unfortunately the configure.ac is wildly insufficient, so dependencies have +# to be got from the RPM .spec file... +DEPEND="dev-lang/python + >=x11-libs/gtk+-2.6.0 + >=dev-python/pygtk-2.5.3 + x11-libs/pango + dev-python/python-ldap + x11-base/xorg-server" + +RDEPEND="${DEPEND} + virtual/pam + app-admin/gamin + dev-libs/libxml2 + >=gnome-base/gconf-2.8.1 + >=dev-python/gnome-python-2.6.0" + +pkg_setup() { + if built_with_use x11-base/xorg-server minimal; then + eerror "${PN} needs Xnest, which the minimal USE flag disables." + eerror "Please re-emerge x11-base/xorg-xserver with USE=-minimal" + die "need x11-base/xorg-xserver built without minimal USE flag" + fi + if ! built_with_use dev-libs/libxml2 python; then + eerror "${PN} needs the python bindings to libxml2." + eerror "Please re-emerge dev-libs/libxml2 with USE=python" + die "need dev-libs/libxml2 built with python USE flag" + fi + # dang: I don't think this should happen... Python is a system dep + if ! python_mod_exists gamin; then + # app-admin/gamin (0.1.7, at least) lacks "python" USE flag even though + # it builds python bindings. That's not good, hackers. That's not good. + eerror "${PN} needs the python bindings to gamin. Please re-emerge" + eerror "app-admin/gamin, and ensure the python bindings are built." + die "need python bindings to app-admin/gamin" + fi + + G2CONF="--with-distro=gentoo \ + --with-prototype-user=${PN}-admin \ + --enable-console-helper=no \ + --with-pam-prefix=/lib/security" + + einfo "Adding user '${PN}-admin' as the prototype user" + # I think /var/lib/sabayon is the correct directory to use here. + enewgroup ${PN}-admin + enewuser ${PN}-admin -1 -1 "/var/lib/sabayon" "${PN}-admin" + # Should we delete the user/group on unmerge? + + DOCS="AUTHORS ChangeLog ISSUES NEWS README TODO" + USE_DESTDIR="1" +} + +pkg_postinst() { + # unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd + elog "To apply Sabayon defaults and mandatory settings to all users, put" + elog ' include "$(HOME)/.gconf.path.mandatory"' + elog "in /etc/gconf/2/local-mandatory.path and put" + elog ' include "$(HOME)/.gconf.path.defaults"' + elog "in /etc/gconf/2/local-defaults.path." + elog "You can safely create these files if they do not already exist." +} |