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