Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/dconf: dconf-0.12.1.ebuild ChangeLog dconf-0.8.0.ebuild
Date: Tue, 01 May 2012 19:39:17
Message-Id: 20120501193901.BCC752004B@flycatcher.gentoo.org
1 pacho 12/05/01 19:39:01
2
3 Modified: ChangeLog
4 Added: dconf-0.12.1.ebuild
5 Removed: dconf-0.8.0.ebuild
6 Log:
7 Version bump, remove old.
8
9 (Portage version: 2.1.10.57/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.33 gnome-base/dconf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/ChangeLog?rev=1.33&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/ChangeLog?rev=1.33&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/ChangeLog?r1=1.32&r2=1.33
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-base/dconf/ChangeLog,v
21 retrieving revision 1.32
22 retrieving revision 1.33
23 diff -u -r1.32 -r1.33
24 --- ChangeLog 2 Apr 2012 03:30:49 -0000 1.32
25 +++ ChangeLog 1 May 2012 19:39:01 -0000 1.33
26 @@ -1,6 +1,12 @@
27 # ChangeLog for gnome-base/dconf
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/ChangeLog,v 1.32 2012/04/02 03:30:49 tetromino Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/ChangeLog,v 1.33 2012/05/01 19:39:01 pacho Exp $
31 +
32 +*dconf-0.12.1 (01 May 2012)
33 +
34 + 01 May 2012; Pacho Ramos <pacho@g.o> +dconf-0.12.1.ebuild,
35 + -dconf-0.8.0.ebuild:
36 + Version bump, remove old.
37
38 02 Apr 2012; Alexandre Rostovtsev <tetromino@g.o>
39 -files/dconf-0.11.5-automagic-vala.patch, dconf-0.12.0.ebuild:
40
41
42
43 1.1 gnome-base/dconf/dconf-0.12.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/dconf-0.12.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/dconf/dconf-0.12.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: dconf-0.12.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.12.1.ebuild,v 1.1 2012/05/01 19:39:01 pacho Exp $
53
54 EAPI="4"
55 GCONF_DEBUG="no"
56
57 inherit gnome2 bash-completion-r1
58
59 DESCRIPTION="Simple low-level configuration system"
60 HOMEPAGE="http://live.gnome.org/dconf"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
65 IUSE="doc +X"
66
67 RDEPEND=">=dev-libs/glib-2.31.18:2
68 sys-apps/dbus
69 X? ( >=dev-libs/libxml2-2.7.7:2
70 x11-libs/gtk+:3 )"
71 DEPEND="${RDEPEND}
72 doc? ( >=dev-util/gtk-doc-1.15 )"
73 # eautoreconf requires gtk-doc-am
74
75 pkg_setup() {
76 G2CONF="${G2CONF}
77 --disable-schemas-compile
78 $(use_enable X editor)
79 VALAC=$(type -P valac-0.16)" # harmless even if valac-0.16 not found
80 }
81
82 src_install() {
83 gnome2_src_install
84
85 # GSettings backend may be one of: memory, gconf, dconf
86 # Only dconf is really considered functional by upstream
87 # must have it enabled over gconf if both are installed
88 echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
89 echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
90 doenvd 51dconf
91
92 # Remove bash-completion file installed by build system
93 rm -rv "${ED}etc/bash_completion.d/" || die
94 newbashcomp "${S}/bin/dconf-bash-completion.sh" ${PN}
95 }
96
97 pkg_postinst() {
98 gnome2_pkg_postinst
99 # Kill existing dconf-service processes as recommended by upstream due to
100 # possible changes in the dconf private dbus API.
101 # dconf-service will be dbus-activated on next use.
102 pids=$(pgrep -x dconf-service)
103 if [[ $? == 0 ]]; then
104 ebegin "Stopping dconf-service; it will automatically restart on demand"
105 kill ${pids}
106 eend $?
107 fi
108 }