Gentoo Archives: gentoo-commits

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