Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gconf: ChangeLog gconf-2.32.3.ebuild
Date: Fri, 29 Apr 2011 19:10:45
Message-Id: 20110429191034.874D920054@flycatcher.gentoo.org
1 nirbheek 11/04/29 19:10:34
2
3 Modified: ChangeLog
4 Added: gconf-2.32.3.ebuild
5 Log:
6 Bump to 2.32.3
7
8 (Portage version: 2.1.9.46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.249 gnome-base/gconf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.249&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.249&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gconf/ChangeLog?r1=1.248&r2=1.249
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v
20 retrieving revision 1.248
21 retrieving revision 1.249
22 diff -u -r1.248 -r1.249
23 --- ChangeLog 10 Apr 2011 13:01:32 -0000 1.248
24 +++ ChangeLog 29 Apr 2011 19:10:34 -0000 1.249
25 @@ -1,6 +1,11 @@
26 # ChangeLog for gnome-base/gconf
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.248 2011/04/10 13:01:32 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.249 2011/04/29 19:10:34 nirbheek Exp $
30 +
31 +*gconf-2.32.3 (29 Apr 2011)
32 +
33 + 29 Apr 2011; Nirbheek Chauhan <nirbheek@g.o> +gconf-2.32.3.ebuild:
34 + Bump to 2.32.3
35
36 *gconf-2.32.2 (10 Apr 2011)
37
38
39
40
41 1.1 gnome-base/gconf/gconf-2.32.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gconf/gconf-2.32.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gconf/gconf-2.32.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gconf-2.32.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/gconf-2.32.3.ebuild,v 1.1 2011/04/29 19:10:34 nirbheek Exp $
51
52 EAPI="3"
53 GCONF_DEBUG="yes"
54 GNOME_ORG_MODULE="GConf"
55
56 inherit eutils gnome2
57
58 DESCRIPTION="Gnome Configuration System and Daemon"
59 HOMEPAGE="http://projects.gnome.org/gconf/"
60
61 LICENSE="LGPL-2"
62 SLOT="2"
63 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="debug doc +introspection ldap policykit"
65
66 RDEPEND=">=dev-libs/glib-2.25.9:2
67 >=x11-libs/gtk+-2.14:2
68 >=dev-libs/dbus-glib-0.74
69 >=sys-apps/dbus-1
70 >=gnome-base/orbit-2.4:2
71 >=dev-libs/libxml2-2:2
72 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
73 ldap? ( net-nds/openldap )
74 policykit? ( sys-auth/polkit )"
75 DEPEND="${RDEPEND}
76 >=dev-util/intltool-0.35
77 >=dev-util/pkgconfig-0.9
78 doc? ( >=dev-util/gtk-doc-1 )"
79
80 pkg_setup() {
81 DOCS="AUTHORS ChangeLog NEWS README TODO"
82 G2CONF="${G2CONF}
83 --enable-gtk
84 --disable-static
85 --enable-gsettings-backend
86 --with-gtk=2.0
87 $(use_enable introspection)
88 $(use_with ldap openldap)
89 $(use_enable policykit defaults-service)"
90 kill_gconf
91
92 # Need host's IDL compiler for cross or native build, bug #262747
93 export EXTRA_EMAKE="${EXTRA_EMAKE} ORBIT_IDL=/usr/bin/orbit-idl-2"
94 }
95
96 src_prepare() {
97 gnome2_src_prepare
98
99 # Do not start gconfd when installing schemas, fix bug #238276, upstream #631983
100 epatch "${FILESDIR}/${PN}-2.24.0-no-gconfd.patch"
101
102 # Do not crash in gconf_entry_set_value() when entry pointer is NULL, upstream #631985
103 epatch "${FILESDIR}/${PN}-2.28.0-entry-set-value-sigsegv.patch"
104 }
105
106 src_install() {
107 gnome2_src_install
108
109 keepdir /etc/gconf/gconf.xml.mandatory
110 keepdir /etc/gconf/gconf.xml.defaults
111 # Make sure this directory exists, bug #268070, upstream #572027
112 keepdir /etc/gconf/gconf.xml.system
113
114 echo 'CONFIG_PROTECT_MASK="/etc/gconf"' > 50gconf
115 echo 'GSETTINGS_BACKEND="gconf"' >> 50gconf
116 doenvd 50gconf || die "doenv failed"
117 dodir /root/.gconfd || die
118 }
119
120 pkg_preinst() {
121 kill_gconf
122 }
123
124 pkg_postinst() {
125 kill_gconf
126
127 # change the permissions to avoid some gconf bugs
128 einfo "changing permissions for gconf dirs"
129 find /etc/gconf/ -type d -exec chmod ugo+rx "{}" \;
130
131 einfo "changing permissions for gconf files"
132 find /etc/gconf/ -type f -exec chmod ugo+r "{}" \;
133 }
134
135 kill_gconf() {
136 # This function will kill all running gconfd-2 that could be causing troubles
137 if [ -x /usr/bin/gconftool-2 ]
138 then
139 /usr/bin/gconftool-2 --shutdown
140 fi
141
142 return 0
143 }