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