Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/dconf/
Date: Wed, 25 Oct 2017 22:21:57
Message-Id: 1508970070.200c8a0dd05ca290abd54f78403a34eae5a2ae47.leio@gentoo
1 commit: 200c8a0dd05ca290abd54f78403a34eae5a2ae47
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 25 22:20:57 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 25 22:21:10 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200c8a0d
7
8 gnome-base/dconf: bump to 0.26.1
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.2
11
12 gnome-base/dconf/Manifest | 1 +
13 gnome-base/dconf/dconf-0.26.1.ebuild | 62 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/gnome-base/dconf/Manifest b/gnome-base/dconf/Manifest
17 index 9e1f19b3107..807e3858659 100644
18 --- a/gnome-base/dconf/Manifest
19 +++ b/gnome-base/dconf/Manifest
20 @@ -1 +1,2 @@
21 DIST dconf-0.26.0.tar.xz 219688 SHA256 8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9 SHA512 ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e WHIRLPOOL 5e4e24aa6083ad5a7a50041772bb7d466eb9cee93725311516fd6070a1b31b8db137772a3c55fa7cfca1675f72f9ab35b70d6aec1b67666eeedfbdfdebd9ac7a
22 +DIST dconf-0.26.1.tar.xz 218516 SHA256 d583b1f7fc93b879e2956acc6a26ea05a445a0002158aeef80c8e378e1414535 SHA512 4d2b4afce189e448e3bd4e9c2f9d3d5eec6c694748aec87a9a8de047296c858772a5234dbcace8e84d99c5378d2d1ba35cafb5e5ea7efca25c10a53a55b8b6da WHIRLPOOL a790df3c838e0d7e78b4bed6e547f8627348897c9d50c2990208afcc91855b8181b19cd318f48de6ed739bb367f04b84e7f5563fe9f6f2a91a7ed9cfe8db0e59
23
24 diff --git a/gnome-base/dconf/dconf-0.26.1.ebuild b/gnome-base/dconf/dconf-0.26.1.ebuild
25 new file mode 100644
26 index 00000000000..88dcc0547e9
27 --- /dev/null
28 +++ b/gnome-base/dconf/dconf-0.26.1.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +inherit gnome2 bash-completion-r1 virtualx
35 +
36 +DESCRIPTION="Simple low-level configuration system"
37 +HOMEPAGE="https://wiki.gnome.org/action/show/Projects/dconf"
38 +
39 +LICENSE="LGPL-2.1+"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux"
42 +IUSE=""
43 +
44 +RDEPEND="
45 + >=dev-libs/glib-2.44.0:2
46 + sys-apps/dbus
47 +"
48 +DEPEND="${RDEPEND}
49 + app-text/docbook-xml-dtd:4.2
50 + app-text/docbook-xsl-stylesheets
51 + dev-libs/libxslt
52 + dev-util/gdbus-codegen
53 + >=dev-util/gtk-doc-am-1.15
54 + sys-devel/gettext
55 + virtual/pkgconfig
56 +"
57 +
58 +src_configure() {
59 + gnome2_src_configure \
60 + --disable-gcov \
61 + --enable-man \
62 + VALAC=$(type -P true)
63 +}
64 +
65 +src_test() {
66 + virtx emake check
67 +}
68 +
69 +src_install() {
70 + gnome2_src_install
71 +
72 + # GSettings backend may be one of: memory, gconf, dconf
73 + # Only dconf is really considered functional by upstream
74 + # must have it enabled over gconf if both are installed
75 + echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
76 + echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
77 + doenvd 51dconf
78 +}
79 +
80 +pkg_postinst() {
81 + gnome2_pkg_postinst
82 + # Kill existing dconf-service processes as recommended by upstream due to
83 + # possible changes in the dconf private dbus API.
84 + # dconf-service will be dbus-activated on next use.
85 + pids=$(pgrep -x dconf-service)
86 + if [[ $? == 0 ]]; then
87 + ebegin "Stopping dconf-service; it will automatically restart on demand"
88 + kill ${pids}
89 + eend $?
90 + fi
91 +}