Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/sabayon: ChangeLog sabayon-2.28.1.ebuild
Date: Thu, 29 Oct 2009 20:56:21
Message-Id: E1N3c2d-0004ZZ-68@stork.gentoo.org
1 eva 09/10/29 20:56:19
2
3 Modified: ChangeLog
4 Added: sabayon-2.28.1.ebuild
5 Log:
6 New version for GNOME 2.28.
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.63 app-admin/sabayon/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 24 Oct 2009 16:41:23 -0000 1.62
23 +++ ChangeLog 29 Oct 2009 20:56:18 -0000 1.63
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-admin/sabayon
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.62 2009/10/24 16:41:23 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.63 2009/10/29 20:56:18 eva Exp $
29 +
30 +*sabayon-2.28.1 (29 Oct 2009)
31 +
32 + 29 Oct 2009; Gilles Dartiguelongue <eva@g.o>
33 + +sabayon-2.28.1.ebuild:
34 + New version for GNOME 2.28.
35
36 24 Oct 2009; nixnut <nixnut@g.o> sabayon-2.25.0.ebuild:
37 ppc stable #281427
38
39
40
41 1.1 app-admin/sabayon/sabayon-2.28.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/sabayon-2.28.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/sabayon-2.28.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sabayon-2.28.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.28.1.ebuild,v 1.1 2009/10/29 20:56:18 eva Exp $
51
52 EAPI="2"
53 GCONF_DEBUG="no"
54
55 inherit gnome2 eutils python multilib
56
57 DESCRIPTION="Tool to maintain user profiles in a GNOME desktop"
58 HOMEPAGE="http://www.gnome.org/projects/sabayon/"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE=""
64
65 # Unfortunately the configure.ac is wildly insufficient, so dependencies have
66 # to be got from the RPM .spec file...
67 # But the .spec file got removed :/
68 COMMON_DEPEND=">=dev-lang/python-2.4
69 >=x11-libs/gtk+-2.6.0
70 >=dev-python/pygtk-2.5.3
71 >=dev-python/pygobject-2.15
72 x11-libs/pango
73 dev-python/python-ldap
74 x11-base/xorg-server[kdrive]"
75
76 RDEPEND="${COMMON_DEPEND}
77 dev-python/pyxdg
78 dev-libs/libxml2[python]
79 >=gnome-base/gconf-2.8.1
80 >=dev-python/libbonobo-python-2.6
81 >=dev-python/gconf-python-2.6
82 x11-libs/gksu"
83
84 DEPEND="${COMMON_DEPEND}
85 >=dev-util/intltool-0.40"
86
87 DOCS="AUTHORS ChangeLog ISSUES NEWS README TODO"
88
89 pkg_setup() {
90 G2CONF="${G2CONF}
91 --disable-static
92 --with-distro=gentoo
93 --with-prototype-user=${PN}-admin
94 --enable-console-helper=no"
95
96 einfo "Adding user '${PN}-admin' as the prototype user"
97 # I think /var/lib/sabayon is the correct directory to use here.
98 enewgroup ${PN}-admin
99 enewuser ${PN}-admin -1 -1 "/var/lib/sabayon" "${PN}-admin"
100 # Should we delete the user/group on unmerge?
101 }
102
103 src_prepare() {
104 gnome2_src_prepare
105
106 # Switch gnomesu to gksu; bug #197865
107 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop || die "gksu sed failed"
108 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop.in || die "gksu sed failed"
109
110 # disable pyc compiling
111 mv py-compile py-compile.orig
112 ln -s $(type -P true) py-compile
113 }
114
115 pkg_postinst() {
116 gnome2_pkg_postinst
117 python_mod_optimize $(python_get_sitedir)/sabayon
118
119 # unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd
120 elog "To apply Sabayon defaults and mandatory settings to all users, put"
121 elog ' include "$(HOME)/.gconf.path.mandatory"'
122 elog "in /etc/gconf/2/local-mandatory.path and put"
123 elog ' include "$(HOME)/.gconf.path.defaults"'
124 elog "in /etc/gconf/2/local-defaults.path."
125 elog "You can safely create these files if they do not already exist."
126 }
127
128 pkg_postrm() {
129 gnome2_pkg_postrm
130 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/sabayon
131 }