Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gconf: ChangeLog gconf-2.28.0.ebuild gconf-2.26.0.ebuild gconf-2.26.2.ebuild
Date: Thu, 29 Oct 2009 23:38:53
Message-Id: E1N3eZu-0002zS-T7@stork.gentoo.org
1 eva 09/10/29 23:38:50
2
3 Modified: ChangeLog
4 Added: gconf-2.28.0.ebuild
5 Removed: gconf-2.26.0.ebuild gconf-2.26.2.ebuild
6 Log:
7 New version for GNOME 2.28. Clean up old revision.
8 (Portage version: 2.2_rc46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.215 gnome-base/gconf/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.215&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.215&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?r1=1.214&r2=1.215
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v
20 retrieving revision 1.214
21 retrieving revision 1.215
22 diff -u -r1.214 -r1.215
23 --- ChangeLog 24 Oct 2009 16:27:06 -0000 1.214
24 +++ ChangeLog 29 Oct 2009 23:38:50 -0000 1.215
25 @@ -1,6 +1,12 @@
26 # ChangeLog for gnome-base/gconf
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.214 2009/10/24 16:27:06 nixnut Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.215 2009/10/29 23:38:50 eva Exp $
30 +
31 +*gconf-2.28.0 (29 Oct 2009)
32 +
33 + 29 Oct 2009; Gilles Dartiguelongue <eva@g.o> -gconf-2.26.0.ebuild,
34 + -gconf-2.26.2.ebuild, +gconf-2.28.0.ebuild:
35 + New version for GNOME 2.28. Clean up old revision.
36
37 24 Oct 2009; nixnut <nixnut@g.o> gconf-2.26.2-r1.ebuild:
38 ppc stable #281427
39
40
41
42 1.1 gnome-base/gconf/gconf-2.28.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.28.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.28.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gconf-2.28.0.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/gconf-2.28.0.ebuild,v 1.1 2009/10/29 23:38:50 eva Exp $
52
53 EAPI="2"
54
55 inherit eutils gnome2
56
57 MY_PN=GConf
58 MY_P=${MY_PN}-${PV}
59 PVP=(${PV//[-\._]/ })
60
61 DESCRIPTION="Gnome Configuration System and Daemon"
62 HOMEPAGE="http://www.gnome.org/"
63 SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP[0]}.${PVP[1]}/${MY_P}.tar.bz2"
64
65 LICENSE="LGPL-2"
66 SLOT="2"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="debug doc ldap policykit"
69
70 RDEPEND=">=dev-libs/glib-2.14
71 >=x11-libs/gtk+-2.8.16
72 >=dev-libs/dbus-glib-0.74
73 >=sys-apps/dbus-1
74 >=gnome-base/orbit-2.4
75 >=dev-libs/libxml2-2
76 ldap? ( net-nds/openldap )
77 policykit? ( sys-auth/polkit )"
78 DEPEND="${RDEPEND}
79 >=dev-util/intltool-0.35
80 >=dev-util/pkgconfig-0.9
81 >=dev-util/gtk-doc-am-1.10
82 doc? ( >=dev-util/gtk-doc-1 )"
83
84 DOCS="AUTHORS ChangeLog NEWS README TODO"
85
86 S="${WORKDIR}/${MY_P}"
87
88 pkg_setup() {
89 G2CONF="${G2CONF}
90 --enable-gtk
91 --disable-static
92 $(use_with ldap openldap)
93 $(use_enable policykit defaults-service)"
94 kill_gconf
95
96 # Need host's IDL compiler for cross or native build, bug #262747
97 export EXTRA_EMAKE="${EXTRA_EMAKE} ORBIT_IDL=/usr/bin/orbit-idl-2"
98 }
99
100 src_prepare() {
101 gnome2_src_prepare
102
103 # Do not start gconfd when installing schemas, fix bug #238276, upstream ?
104 epatch "${FILESDIR}/${PN}-2.24.0-no-gconfd.patch"
105
106 # Fix intltoolize broken file, see upstream #577133
107 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed"
108 }
109
110 # Can't run tests, missing script.
111 #src_test() {
112 # emake -C tests || die "make tests failed"
113 # sh "${S}"/tests/runtests.sh || die "running tests failed"
114 #}
115
116 src_install() {
117 gnome2_src_install
118
119 keepdir /etc/gconf/gconf.xml.mandatory
120 keepdir /etc/gconf/gconf.xml.defaults
121 # Make sure this directory exists, bug #268070, upstream #572027
122 keepdir /etc/gconf/gconf.xml.system
123
124 echo 'CONFIG_PROTECT_MASK="/etc/gconf"' > 50gconf
125 doenvd 50gconf || die "doenv failed"
126 dodir /root/.gconfd
127 }
128
129 pkg_preinst() {
130 kill_gconf
131 }
132
133 pkg_postinst() {
134 kill_gconf
135
136 # change the permissions to avoid some gconf bugs
137 einfo "changing permissions for gconf dirs"
138 find /etc/gconf/ -type d -exec chmod ugo+rx "{}" \;
139
140 einfo "changing permissions for gconf files"
141 find /etc/gconf/ -type f -exec chmod ugo+r "{}" \;
142 }
143
144 kill_gconf() {
145 # This function will kill all running gconfd-2 that could be causing troubles
146 if [ -x /usr/bin/gconftool-2 ]
147 then
148 /usr/bin/gconftool-2 --shutdown
149 fi
150
151 return 0
152 }