Gentoo Archives: gentoo-commits

From: "Daniel Gryniewicz (dang)" <dang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/sabayon: ChangeLog sabayon-2.20.1.ebuild
Date: Tue, 25 Sep 2007 14:30:00
Message-Id: E1IaBHy-0000LE-6x@stork.gentoo.org
1 dang 07/09/25 14:21:26
2
3 Modified: ChangeLog
4 Added: sabayon-2.20.1.ebuild
5 Log:
6 New series for Gnome 2.20
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.27 app-admin/sabayon/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 12 Sep 2007 02:40:51 -0000 1.26
23 +++ ChangeLog 25 Sep 2007 14:21:25 -0000 1.27
24 @@ -1,6 +1,9 @@
25 # ChangeLog for app-admin/sabayon
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.26 2007/09/12 02:40:51 tgall Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.27 2007/09/25 14:21:25 dang Exp $
29 +
30 + 25 Sep 2007; Daniel Gryniewicz <dang@g.o> ChangeLog:
31 + New series for Gnome 2.20
32
33 11 Sept 2007; Tom Gall <tgall@g.o> sabayon-2.18.1.ebuild:
34 Stable for ppc64 (bug #185823).
35
36
37
38 1.1 app-admin/sabayon/sabayon-2.20.1.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/sabayon-2.20.1.ebuild?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/sabayon-2.20.1.ebuild?rev=1.1&content-type=text/plain
42
43 Index: sabayon-2.20.1.ebuild
44 ===================================================================
45 # Copyright 1999-2007 Gentoo Foundation
46 # Distributed under the terms of the GNU General Public License v2
47 # $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.20.1.ebuild,v 1.1 2007/09/25 14:21:25 dang Exp $
48
49 inherit gnome2 eutils python multilib
50
51 DESCRIPTION="Tool to maintain user profiles in a GNOME desktop"
52 HOMEPAGE="http://www.gnome.org/projects/sabayon/"
53
54 LICENSE="GPL-2"
55 SLOT="0"
56 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
57 IUSE=""
58
59 # Unfortunately the configure.ac is wildly insufficient, so dependencies have
60 # to be got from the RPM .spec file...
61 DEPEND="dev-lang/python
62 >=x11-libs/gtk+-2.6.0
63 >=dev-python/pygtk-2.5.3
64 x11-libs/pango
65 dev-python/python-ldap
66 x11-base/xorg-server"
67
68 RDEPEND="${DEPEND}
69 virtual/pam
70 app-admin/gamin
71 dev-libs/libxml2
72 >=gnome-base/gconf-2.8.1
73 >=dev-python/gnome-python-2.6.0"
74
75 pkg_setup() {
76 if built_with_use x11-base/xorg-server minimal; then
77 eerror "${PN} needs Xnest, which the minimal USE flag disables."
78 eerror "Please re-emerge x11-base/xorg-xserver with USE=-minimal"
79 die "need x11-base/xorg-xserver built without minimal USE flag"
80 fi
81 if ! built_with_use dev-libs/libxml2 python; then
82 eerror "${PN} needs the python bindings to libxml2."
83 eerror "Please re-emerge dev-libs/libxml2 with USE=python"
84 die "need dev-libs/libxml2 built with python USE flag"
85 fi
86 # dang: I don't think this should happen... Python is a system dep
87 if ! python_mod_exists gamin; then
88 # app-admin/gamin (0.1.7, at least) lacks "python" USE flag even though
89 # it builds python bindings. That's not good, hackers. That's not good.
90 eerror "${PN} needs the python bindings to gamin. Please re-emerge"
91 eerror "app-admin/gamin, and ensure the python bindings are built."
92 die "need python bindings to app-admin/gamin"
93 fi
94
95 G2CONF="--with-distro=gentoo \
96 --with-prototype-user=${PN}-admin \
97 --enable-console-helper=no \
98 --with-pam-prefix=/lib/security"
99
100 einfo "Adding user '${PN}-admin' as the prototype user"
101 # I think /var/lib/sabayon is the correct directory to use here.
102 enewgroup ${PN}-admin
103 enewuser ${PN}-admin -1 -1 "/var/lib/sabayon" "${PN}-admin"
104 # Should we delete the user/group on unmerge?
105
106 DOCS="AUTHORS ChangeLog ISSUES NEWS README TODO"
107 USE_DESTDIR="1"
108 }
109
110 pkg_postinst() {
111 # unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd
112 elog "To apply Sabayon defaults and mandatory settings to all users, put"
113 elog ' include "$(HOME)/.gconf.path.mandatory"'
114 elog "in /etc/gconf/2/local-mandatory.path and put"
115 elog ' include "$(HOME)/.gconf.path.defaults"'
116 elog "in /etc/gconf/2/local-defaults.path."
117 elog "You can safely create these files if they do not already exist."
118 }
119
120
121
122 --
123 gentoo-commits@g.o mailing list