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.ebuild
Date: Wed, 17 Oct 2007 23:13:46
Message-Id: E1IiHv3-0004IE-DU@stork.gentoo.org
1 eva 07/10/17 23:03:17
2
3 Modified: ChangeLog
4 Added: gconf-2.20.1.ebuild
5 Log:
6 bump to 2.20.1
7 (Portage version: 2.1.3.13)
8
9 Revision Changes Path
10 1.172 gnome-base/gconf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.172&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?rev=1.172&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/ChangeLog?r1=1.171&r2=1.172
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v
19 retrieving revision 1.171
20 retrieving revision 1.172
21 diff -u -r1.171 -r1.172
22 --- ChangeLog 25 Sep 2007 18:29:55 -0000 1.171
23 +++ ChangeLog 17 Oct 2007 23:03:16 -0000 1.172
24 @@ -1,6 +1,11 @@
25 # ChangeLog for gnome-base/gconf
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.171 2007/09/25 18:29:55 dang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.172 2007/10/17 23:03:16 eva Exp $
29 +
30 +*gconf-2.20.1 (17 Oct 2007)
31 +
32 + 17 Oct 2007; Gilles Dartiguelongue <eva@g.o> +gconf-2.20.1.ebuild:
33 + bump to 2.20.1
34
35 25 Sep 2007; Daniel Gryniewicz <dang@g.o> ChangeLog:
36 New series for Gnome 2.20
37
38
39
40 1.1 gnome-base/gconf/gconf-2.20.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.20.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gconf/gconf-2.20.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gconf-2.20.1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.20.1.ebuild,v 1.1 2007/10/17 23:03:16 eva Exp $
50
51 inherit gnome2
52
53 MY_PN=GConf
54 MY_P=${MY_PN}-${PV}
55 PVP=(${PV//[-\._]/ })
56
57 DESCRIPTION="Gnome Configuration System and Daemon"
58 HOMEPAGE="http://www.gnome.org/"
59 SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP[0]}.${PVP[1]}/${MY_P}.tar.bz2"
60
61 LICENSE="LGPL-2"
62 SLOT="2"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="debug doc"
65
66 RDEPEND=">=dev-libs/glib-2.10
67 >=x11-libs/gtk+-2.8.16
68 >=gnome-base/orbit-2.4
69 >=dev-libs/libxml2-2"
70 DEPEND="${RDEPEND}
71 >=dev-util/intltool-0.35
72 >=dev-util/pkgconfig-0.9
73 doc? ( >=dev-util/gtk-doc-1 )"
74
75 # FIXME : consider merging the tree (?)
76 DOCS="AUTHORS ChangeLog NEWS README TODO"
77
78 S="${WORKDIR}/${MY_P}"
79
80 pkg_setup() {
81 G2CONF="${G2CONF} --enable-gtk $(use_enable debug)"
82 kill_gconf
83 }
84
85 src_install() {
86 gnome2_src_install
87
88 # hack hack
89 dodir /etc/gconf/gconf.xml.mandatory
90 dodir /etc/gconf/gconf.xml.defaults
91 touch "${D}"/etc/gconf/gconf.xml.mandatory/.keep${SLOT}
92 touch "${D}"/etc/gconf/gconf.xml.defaults/.keep${SLOT}
93
94 echo 'CONFIG_PROTECT_MASK="/etc/gconf"' > 50gconf
95 doenvd 50gconf || die
96 dodir /root/.gconfd
97 }
98
99 pkg_preinst() {
100 kill_gconf
101 }
102
103 pkg_postinst() {
104 kill_gconf
105
106 #change the permissions to avoid some gconf bugs
107 einfo "changing permissions for gconf dirs"
108 find /etc/gconf/ -type d -exec chmod ugo+rx "{}" \;
109
110 einfo "changing permissions for gconf files"
111 find /etc/gconf/ -type f -exec chmod ugo+r "{}" \;
112 }
113
114 kill_gconf() {
115 # this function will kill all running gconfd that could be causing troubles
116 if [ -x /usr/bin/gconftool ]
117 then
118 /usr/bin/gconftool --shutdown
119 fi
120 if [ -x /usr/bin/gconftool-1 ]
121 then
122 /usr/bin/gconftool-1 --shutdown
123 fi
124
125 # and for gconf 2
126 if [ -x /usr/bin/gconftool-2 ]
127 then
128 /usr/bin/gconftool-2 --shutdown
129 fi
130 return 0
131 }
132
133
134
135 --
136 gentoo-commits@g.o mailing list