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.20.1-r1.ebuild gconf-2.16.0.ebuild gconf-2.20.0.ebuild
Date: Tue, 01 Jan 2008 21:45:57
Message-Id: E1J9ovi-0007DQ-Qg@stork.gentoo.org
1 eva 08/01/01 21:45:46
2
3 Modified: ChangeLog
4 Added: gconf-2.20.1-r1.ebuild
5 Removed: gconf-2.16.0.ebuild gconf-2.20.0.ebuild
6 Log:
7 prune old releases
8 add a patch to remove automagic dependency on ldap
9 (Portage version: 2.1.4_rc11)
10
11 Revision Changes Path
12 1.179 gnome-base/gconf/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.179&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.179&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?r1=1.178&r2=1.179
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v
21 retrieving revision 1.178
22 retrieving revision 1.179
23 diff -u -r1.178 -r1.179
24 --- ChangeLog 29 Nov 2007 05:10:29 -0000 1.178
25 +++ ChangeLog 1 Jan 2008 21:45:46 -0000 1.179
26 @@ -1,6 +1,14 @@
27 # ChangeLog for gnome-base/gconf
28 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.178 2007/11/29 05:10:29 jer Exp $
30 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.179 2008/01/01 21:45:46 eva Exp $
32 +
33 +*gconf-2.20.1-r1 (01 Jan 2008)
34 +
35 + 01 Jan 2008; Gilles Dartiguelongue <eva@g.o>
36 + +files/gconf-2.20.1-automagic-ldap.patch, -gconf-2.16.0.ebuild,
37 + -gconf-2.20.0.ebuild, +gconf-2.20.1-r1.ebuild:
38 + prune old releases
39 + add a patch to remove automagic dependency on ldap
40
41 29 Nov 2007; Jeroen Roovers <jer@g.o> gconf-2.20.1.ebuild:
42 Stable for HPPA (bug #199740).
43
44
45
46 1.1 gnome-base/gconf/gconf-2.20.1-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.20.1-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.20.1-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: gconf-2.20.1-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/gconf-2.20.1-r1.ebuild,v 1.1 2008/01/01 21:45:46 eva Exp $
56
57 inherit gnome2 autotools
58
59 MY_PN=GConf
60 MY_P=${MY_PN}-${PV}
61 PVP=(${PV//[-\._]/ })
62
63 DESCRIPTION="Gnome Configuration System and Daemon"
64 HOMEPAGE="http://www.gnome.org/"
65 SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP[0]}.${PVP[1]}/${MY_P}.tar.bz2"
66
67 LICENSE="LGPL-2"
68 SLOT="2"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
70 IUSE="debug doc"
71
72 RDEPEND=">=dev-libs/glib-2.10
73 >=x11-libs/gtk+-2.8.16
74 >=gnome-base/orbit-2.4
75 >=dev-libs/libxml2-2"
76 DEPEND="${RDEPEND}
77 >=dev-util/intltool-0.35
78 >=dev-util/pkgconfig-0.9
79 doc? ( >=dev-util/gtk-doc-1 )"
80
81 # FIXME : consider merging the tree (?)
82 DOCS="AUTHORS ChangeLog NEWS README TODO"
83
84 S="${WORKDIR}/${MY_P}"
85
86 pkg_setup() {
87 G2CONF="${G2CONF} --enable-gtk $(use_enable debug)"
88 kill_gconf
89 }
90
91 src_unpack() {
92 gnome2_src_unpack
93
94 # fix bug #193442
95 epatch "${FILESDIR}/${P}-automagic-ldap.patch"
96
97 cp aclocal.m4 old.m4
98 AT_M4DIR="." eautoreconf
99 }
100
101 src_install() {
102 gnome2_src_install
103
104 # hack hack
105 dodir /etc/gconf/gconf.xml.mandatory
106 dodir /etc/gconf/gconf.xml.defaults
107 touch "${D}"/etc/gconf/gconf.xml.mandatory/.keep${SLOT}
108 touch "${D}"/etc/gconf/gconf.xml.defaults/.keep${SLOT}
109
110 echo 'CONFIG_PROTECT_MASK="/etc/gconf"' > 50gconf
111 doenvd 50gconf || die
112 dodir /root/.gconfd
113 }
114
115 pkg_preinst() {
116 kill_gconf
117 }
118
119 pkg_postinst() {
120 kill_gconf
121
122 #change the permissions to avoid some gconf bugs
123 einfo "changing permissions for gconf dirs"
124 find /etc/gconf/ -type d -exec chmod ugo+rx "{}" \;
125
126 einfo "changing permissions for gconf files"
127 find /etc/gconf/ -type f -exec chmod ugo+r "{}" \;
128 }
129
130 kill_gconf() {
131 # this function will kill all running gconfd that could be causing troubles
132 if [ -x /usr/bin/gconftool ]
133 then
134 /usr/bin/gconftool --shutdown
135 fi
136 if [ -x /usr/bin/gconftool-1 ]
137 then
138 /usr/bin/gconftool-1 --shutdown
139 fi
140
141 # and for gconf 2
142 if [ -x /usr/bin/gconftool-2 ]
143 then
144 /usr/bin/gconftool-2 --shutdown
145 fi
146 return 0
147 }
148
149
150
151 --
152 gentoo-commits@g.o mailing list