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.22.1.ebuild
Date: Sat, 27 Sep 2008 17:22:37
Message-Id: E1KjdV4-0006VY-FH@stork.gentoo.org
1 eva 08/09/27 17:22:34
2
3 Modified: ChangeLog
4 Added: sabayon-2.22.1.ebuild
5 Log:
6 bump to 2.22.1. Translation updates and login performance enhancements.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.51 app-admin/sabayon/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.51&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?rev=1.51&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/ChangeLog?r1=1.50&r2=1.51
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v
19 retrieving revision 1.50
20 retrieving revision 1.51
21 diff -u -r1.50 -r1.51
22 --- ChangeLog 25 Sep 2008 16:10:56 -0000 1.50
23 +++ ChangeLog 27 Sep 2008 17:22:33 -0000 1.51
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-admin/sabayon
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.50 2008/09/25 16:10:56 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.51 2008/09/27 17:22:33 eva Exp $
29 +
30 +*sabayon-2.22.1 (27 Sep 2008)
31 +
32 + 27 Sep 2008; Gilles Dartiguelongue <eva@g.o>
33 + +sabayon-2.22.1.ebuild:
34 + bump to 2.22.1. Translation updates and login performance enhancements.
35
36 25 Sep 2008; Jeroen Roovers <jer@g.o> sabayon-2.22.0.ebuild:
37 Stable for HPPA (bug #236971).
38
39
40
41 1.1 app-admin/sabayon/sabayon-2.22.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/sabayon-2.22.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/sabayon/sabayon-2.22.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sabayon-2.22.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.22.1.ebuild,v 1.1 2008/09/27 17:22:33 eva Exp $
51
52 inherit gnome2 eutils python multilib
53 #pam
54
55 DESCRIPTION="Tool to maintain user profiles in a GNOME desktop"
56 HOMEPAGE="http://www.gnome.org/projects/sabayon/"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
61 IUSE=""
62
63 # Unfortunately the configure.ac is wildly insufficient, so dependencies have
64 # to be got from the RPM .spec file...
65 DEPEND="dev-lang/python
66 >=x11-libs/gtk+-2.6.0
67 >=dev-python/pygtk-2.5.3
68 x11-libs/pango
69 dev-python/python-ldap
70 x11-base/xorg-server"
71
72 # virtual/pam
73 RDEPEND="${DEPEND}
74 dev-python/pyxdg
75 dev-libs/libxml2
76 >=gnome-base/gconf-2.8.1
77 >=dev-python/gnome-python-2.6.0
78 x11-libs/gksu"
79
80 DOCS="AUTHORS ChangeLog ISSUES NEWS README TODO"
81
82 pkg_setup() {
83 if built_with_use x11-base/xorg-server minimal; then
84 eerror "${PN} needs Xnest, which the minimal USE flag disables."
85 eerror "Please re-emerge x11-base/xorg-xserver with USE=-minimal"
86 die "need x11-base/xorg-xserver built without minimal USE flag"
87 fi
88 if ! built_with_use dev-libs/libxml2 python; then
89 eerror "${PN} needs the python bindings to libxml2."
90 eerror "Please re-emerge dev-libs/libxml2 with USE=python"
91 die "need dev-libs/libxml2 built with python USE flag"
92 fi
93 G2CONF="${G2CONF}
94 --with-distro=gentoo
95 --with-prototype-user=${PN}-admin
96 --enable-console-helper=no"
97 #--with-pam-prefix=$(getpam_mod_dir)"
98
99 einfo "Adding user '${PN}-admin' as the prototype user"
100 # I think /var/lib/sabayon is the correct directory to use here.
101 enewgroup ${PN}-admin
102 enewuser ${PN}-admin -1 -1 "/var/lib/sabayon" "${PN}-admin"
103 # Should we delete the user/group on unmerge?
104 }
105
106 src_unpack() {
107 gnome2_src_unpack
108
109 # Switch gnomesu to gksu; bug #197865
110 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop || die "gksu sed failed"
111 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop.in || die "gksu sed failed"
112
113 # disable pyc compiling
114 mv py-compile py-compile.orig
115 ln -s $(type -P true) py-compile
116 }
117
118 pkg_postinst() {
119 gnome2_pkg_postinst
120
121 python_version
122 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/sabayon
123
124 # unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd
125 elog "To apply Sabayon defaults and mandatory settings to all users, put"
126 elog ' include "$(HOME)/.gconf.path.mandatory"'
127 elog "in /etc/gconf/2/local-mandatory.path and put"
128 elog ' include "$(HOME)/.gconf.path.defaults"'
129 elog "in /etc/gconf/2/local-defaults.path."
130 elog "You can safely create these files if they do not already exist."
131 }
132
133 pkg_postrm() {
134 gnome2_pkg_postrm
135
136 python_version
137 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/sabayon
138 }