Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/dconf: ChangeLog dconf-0.10.0.ebuild
Date: Sat, 29 Oct 2011 00:49:15
Message-Id: 20111029004904.AE7012004B@flycatcher.gentoo.org
1 tetromino 11/10/29 00:49:04
2
3 Modified: ChangeLog
4 Added: dconf-0.10.0.ebuild
5 Log:
6 Bump to 0.10.0 from the overlay. Update to bash-completion-r1 and kill existing dconf-service processes in pkg_postinst following upstream recommendation.
7
8 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.20 gnome-base/dconf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/dconf/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 28 Oct 2011 19:56:20 -0000 1.19
24 +++ ChangeLog 29 Oct 2011 00:49:04 -0000 1.20
25 @@ -1,6 +1,16 @@
26 # ChangeLog for gnome-base/dconf
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/ChangeLog,v 1.19 2011/10/28 19:56:20 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/ChangeLog,v 1.20 2011/10/29 00:49:04 tetromino Exp $
30 +
31 +*dconf-0.10.0 (29 Oct 2011)
32 +
33 + 29 Oct 2011; Alexandre Rostovtsev <tetromino@g.o>
34 + +dconf-0.10.0.ebuild:
35 + Bump to 0.10.0 from the overlay. Update to bash-completion-r1 and kill
36 + existing dconf-service processes in pkg_postinst following upstream
37 + recommendation.
38 + Notable changes: support for maybe types, dconf-editor and commandline tool
39 + improvements.
40
41 28 Oct 2011; Markus Meier <maekke@g.o> dconf-0.8.0.ebuild:
42 arm stable, bug #385699
43
44
45
46 1.1 gnome-base/dconf/dconf-0.10.0.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild?rev=1.1&content-type=text/plain
50
51 Index: dconf-0.10.0.ebuild
52 ===================================================================
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild,v 1.1 2011/10/29 00:49:04 tetromino Exp $
56
57 EAPI="4"
58 GCONF_DEBUG="no"
59
60 inherit autotools eutils gnome2 bash-completion-r1
61
62 DESCRIPTION="Simple low-level configuration system"
63 HOMEPAGE="http://live.gnome.org/dconf"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
68 IUSE="doc vala +X"
69
70 RDEPEND=">=dev-libs/glib-2.29.90:2
71 sys-apps/dbus
72 X? ( >=dev-libs/libxml2-2.7.7:2
73 x11-libs/gtk+:3 )"
74 # vala:0.14 due to an automagic version-check #ifdef (commit a15d9621)
75 DEPEND="${RDEPEND}
76 doc? ( >=dev-util/gtk-doc-1.15 )
77 vala? ( dev-lang/vala:0.14 )"
78
79 pkg_setup() {
80 G2CONF="${G2CONF}
81 --disable-schemas-compile
82 $(use_enable vala)
83 $(use_enable X editor)
84 VALAC=$(type -p valac-0.14)"
85 }
86
87 src_prepare() {
88 # Fix vala automagic support, upstream bug #634171
89 epatch "${FILESDIR}/${PN}-0.8.0-automagic-vala.patch"
90
91 mkdir -p m4 || die
92 eautoreconf
93
94 gnome2_src_prepare
95 }
96
97 src_install() {
98 gnome2_src_install
99
100 # GSettings backend may be one of: memory, gconf, dconf
101 # Only dconf is really considered functional by upstream
102 # must have it enabled over gconf if both are installed
103 echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
104 echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
105 doenvd 51dconf
106
107 # Remove bash-completion file installed by build system
108 rm -rv "${ED}/etc/bash_completion.d/" || die
109 newbashcomp "${S}/bin/dconf-bash-completion.sh" ${PN}
110 }
111
112 pkg_postinst() {
113 gnome2_pkg_postinst
114 # Kill existing dconf-service processes as recommended by upstream due to
115 # possible changes in the dconf private dbus API.
116 # dconf-service will be dbus-activated on next use.
117 pids=$(pgrep -x dconf-service)
118 if [[ $? == 0 ]]; then
119 ebegin "Stopping dconf-service; it will automatically restart on demand"
120 kill ${pids}
121 eend $?
122 fi
123 }