1 |
commit: 3cb7174b3767a7b4c9cb31fdb7d5bd36c99c70af |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 12:05:19 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 12:22:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb7174b |
7 |
|
8 |
gnome-base/dconf: Version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
gnome-base/dconf/Manifest | 1 + |
13 |
gnome-base/dconf/dconf-0.26.0.ebuild | 69 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/gnome-base/dconf/Manifest b/gnome-base/dconf/Manifest |
17 |
index 613a03e..ebfc03b 100644 |
18 |
--- a/gnome-base/dconf/Manifest |
19 |
+++ b/gnome-base/dconf/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST dconf-0.24.0.tar.xz 218512 SHA256 4373e0ced1f4d7d68d518038796c073696280e22957babb29feb0267c630fec2 SHA512 8c2092f1a3002df386686473e6841d600665b3d2ae0e24625c9943b1a636706ecafc31e05f0db48958bbfd666680bb107f47978a9d867b151d1c61fc3c3b591a WHIRLPOOL 16f2fbf706247ad980c7c7cb3d937f060d4ed7c94209427eecd96d8ca55566e7da60d65d9dbf65b7476824215a0fa3bf0614ecfc6f4749ad017c515991bf9891 |
22 |
+DIST dconf-0.26.0.tar.xz 219688 SHA256 8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9 SHA512 ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e WHIRLPOOL 5e4e24aa6083ad5a7a50041772bb7d466eb9cee93725311516fd6070a1b31b8db137772a3c55fa7cfca1675f72f9ab35b70d6aec1b67666eeedfbdfdebd9ac7a |
23 |
|
24 |
diff --git a/gnome-base/dconf/dconf-0.26.0.ebuild b/gnome-base/dconf/dconf-0.26.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..91e5778 |
27 |
--- /dev/null |
28 |
+++ b/gnome-base/dconf/dconf-0.26.0.ebuild |
29 |
@@ -0,0 +1,69 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+inherit gnome2 bash-completion-r1 virtualx |
36 |
+ |
37 |
+DESCRIPTION="Simple low-level configuration system" |
38 |
+HOMEPAGE="https://wiki.gnome.org/action/show/Projects/dconf" |
39 |
+ |
40 |
+LICENSE="LGPL-2.1+" |
41 |
+SLOT="0" |
42 |
+ |
43 |
+# TODO: coverage ? |
44 |
+IUSE="test" |
45 |
+ |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-libs/glib-2.44.0:2 |
50 |
+" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ app-text/docbook-xml-dtd:4.2 |
53 |
+ app-text/docbook-xsl-stylesheets |
54 |
+ dev-libs/libxslt |
55 |
+ dev-util/gdbus-codegen |
56 |
+ >=dev-util/gtk-doc-am-1.15 |
57 |
+ sys-devel/gettext |
58 |
+ virtual/pkgconfig |
59 |
+" |
60 |
+ |
61 |
+src_configure() { |
62 |
+ gnome2_src_configure \ |
63 |
+ --disable-gcov \ |
64 |
+ --enable-man \ |
65 |
+ VALAC=$(type -P true) |
66 |
+} |
67 |
+ |
68 |
+src_test() { |
69 |
+ virtx emake check |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ gnome2_src_install |
74 |
+ |
75 |
+ # GSettings backend may be one of: memory, gconf, dconf |
76 |
+ # Only dconf is really considered functional by upstream |
77 |
+ # must have it enabled over gconf if both are installed |
78 |
+ echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf |
79 |
+ echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf |
80 |
+ doenvd 51dconf |
81 |
+ |
82 |
+ # Install bash-completion file properly to the system |
83 |
+ rm -rv "${ED}usr/share/bash-completion" || die |
84 |
+ dobashcomp "${S}/bin/completion/dconf" |
85 |
+} |
86 |
+ |
87 |
+pkg_postinst() { |
88 |
+ gnome2_pkg_postinst |
89 |
+ # Kill existing dconf-service processes as recommended by upstream due to |
90 |
+ # possible changes in the dconf private dbus API. |
91 |
+ # dconf-service will be dbus-activated on next use. |
92 |
+ pids=$(pgrep -x dconf-service) |
93 |
+ if [[ $? == 0 ]]; then |
94 |
+ ebegin "Stopping dconf-service; it will automatically restart on demand" |
95 |
+ kill ${pids} |
96 |
+ eend $? |
97 |
+ fi |
98 |
+} |