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.30.1.ebuild
Date: Tue, 28 Sep 2010 22:03:29
Message-Id: 20100928213716.D41BE20051@flycatcher.gentoo.org
1 eva 10/09/28 21:37:16
2
3 Modified: ChangeLog
4 Added: sabayon-2.30.1.ebuild
5 Log:
6 Version bump. Translation updates. Drop *.la file installation, bug #299638.
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.78 app-admin/sabayon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.78&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.78&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sabayon/ChangeLog?r1=1.77&r2=1.78
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v
20 retrieving revision 1.77
21 retrieving revision 1.78
22 diff -u -r1.77 -r1.78
23 --- ChangeLog 11 Sep 2010 18:56:08 -0000 1.77
24 +++ ChangeLog 28 Sep 2010 21:37:16 -0000 1.78
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-admin/sabayon
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.77 2010/09/11 18:56:08 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.78 2010/09/28 21:37:16 eva Exp $
30 +
31 +*sabayon-2.30.1 (28 Sep 2010)
32 +
33 + 28 Sep 2010; Gilles Dartiguelongue <eva@g.o>
34 + +sabayon-2.30.1.ebuild:
35 + Version bump. Translation updates. Drop *.la file installation, bug
36 + #299638.
37
38 11 Sep 2010; Joseph Jezak <josejx@g.o> sabayon-2.30.0.ebuild:
39 Marked ppc for bug #324077.
40
41
42
43 1.1 app-admin/sabayon/sabayon-2.30.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sabayon/sabayon-2.30.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sabayon/sabayon-2.30.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: sabayon-2.30.1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.30.1.ebuild,v 1.1 2010/09/28 21:37:16 eva Exp $
53
54 EAPI="2"
55 GCONF_DEBUG="no"
56
57 inherit gnome2 eutils python multilib
58
59 DESCRIPTION="Tool to maintain user profiles in a GNOME desktop"
60 HOMEPAGE="http://www.gnome.org/projects/sabayon/"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
65 IUSE=""
66
67 # Unfortunately the configure.ac is wildly insufficient, so dependencies have
68 # to be got from the RPM .spec file...
69 # But the .spec file got removed :/
70 COMMON_DEPEND=">=dev-lang/python-2.4
71 >=x11-libs/gtk+-2.6.0
72 >=dev-python/pygtk-2.16
73 >=dev-python/pygobject-2.15
74 app-admin/pessulus
75 x11-libs/pango
76 dev-python/python-ldap
77 x11-base/xorg-server[kdrive]"
78
79 RDEPEND="${COMMON_DEPEND}
80 dev-python/pyxdg
81 dev-libs/libxml2[python]
82 >=gnome-base/gconf-2.8.1
83 >=dev-python/libbonobo-python-2.6
84 >=dev-python/gconf-python-2.6
85 x11-libs/gksu"
86
87 DEPEND="${COMMON_DEPEND}
88 >=dev-util/intltool-0.40
89 >=app-text/gnome-doc-utils-0.17.3"
90
91 DOCS="AUTHORS ChangeLog ISSUES NEWS README TODO"
92
93 pkg_setup() {
94 G2CONF="${G2CONF}
95 --disable-static
96 --with-distro=gentoo
97 --with-prototype-user=${PN}-admin
98 --enable-console-helper=no"
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
107 src_prepare() {
108 gnome2_src_prepare
109
110 # Switch gnomesu to gksu; bug #197865
111 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop || die "gksu sed failed"
112 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop.in || die "gksu sed failed"
113
114 # disable pyc compiling
115 mv py-compile py-compile.orig
116 ln -s $(type -P true) py-compile
117 }
118
119 src_install() {
120 gnome2_src_install
121 python_clean_installation_image
122 }
123
124 pkg_postinst() {
125 gnome2_pkg_postinst
126 python_mod_optimize $(python_get_sitedir)/sabayon
127
128 # unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd
129 elog "To apply Sabayon defaults and mandatory settings to all users, put"
130 elog ' include "$(HOME)/.gconf.path.mandatory"'
131 elog "in /etc/gconf/2/local-mandatory.path and put"
132 elog ' include "$(HOME)/.gconf.path.defaults"'
133 elog "in /etc/gconf/2/local-defaults.path."
134 elog "You can safely create these files if they do not already exist."
135 }
136
137 pkg_postrm() {
138 gnome2_pkg_postrm
139 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/sabayon
140 }