1 |
commit: 0d4d44bf15963cd4fe6b4ccb2bc0b958515a6bf0 |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 28 00:07:05 2012 +0000 |
4 |
Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 28 00:07:05 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0d4d44bf |
7 |
|
8 |
gnome-base/dconf: 0.14.0 now in gx86; sync live ebuild with gx86 |
9 |
|
10 |
--- |
11 |
gnome-base/dconf/dconf-0.13.90.ebuild | 76 --------------------------------- |
12 |
gnome-base/dconf/dconf-9999.ebuild | 17 +++++--- |
13 |
2 files changed, 11 insertions(+), 82 deletions(-) |
14 |
|
15 |
diff --git a/gnome-base/dconf/dconf-0.13.90.ebuild b/gnome-base/dconf/dconf-0.13.90.ebuild |
16 |
deleted file mode 100644 |
17 |
index e6bb5b9..0000000 |
18 |
--- a/gnome-base/dconf/dconf-0.13.90.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,76 +0,0 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild,v 1.6 2012/01/18 20:33:49 maekke Exp $ |
24 |
- |
25 |
-EAPI="4" |
26 |
-GCONF_DEBUG="no" |
27 |
- |
28 |
-inherit gnome2 bash-completion-r1 |
29 |
-if [[ ${PV} = 9999 ]]; then |
30 |
- inherit gnome2-live |
31 |
-fi |
32 |
- |
33 |
-DESCRIPTION="Simple low-level configuration system" |
34 |
-HOMEPAGE="http://live.gnome.org/dconf" |
35 |
- |
36 |
-LICENSE="LGPL-2.1" |
37 |
-SLOT="0" |
38 |
-# TODO: coverage ? |
39 |
-IUSE="doc +X" |
40 |
-if [[ ${PV} = 9999 ]]; then |
41 |
- KEYWORDS="" |
42 |
-else |
43 |
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
44 |
-fi |
45 |
- |
46 |
-RDEPEND=">=dev-libs/glib-2.33.3:2 |
47 |
- sys-apps/dbus |
48 |
- X? ( >=dev-libs/libxml2-2.7.7:2 |
49 |
- x11-libs/gtk+:3 )" |
50 |
-DEPEND="${RDEPEND} |
51 |
- dev-libs/libxslt |
52 |
- sys-devel/gettext |
53 |
- >=dev-util/intltool-0.50 |
54 |
- doc? ( >=dev-util/gtk-doc-1.15 )" |
55 |
- |
56 |
-if [[ ${PV} = 9999 ]]; then |
57 |
- DEPEND="${DEPEND} |
58 |
- dev-util/gtk-doc-am |
59 |
- >=dev-lang/vala-0.17.0:0.18" |
60 |
-fi |
61 |
- |
62 |
-pkg_setup() { |
63 |
- G2CONF="${G2CONF} |
64 |
- --disable-schemas-compile |
65 |
- --disable-gcov |
66 |
- $(use_enable X editor) |
67 |
- VALAC=$(type -P valac-0.18)" |
68 |
-} |
69 |
- |
70 |
-src_install() { |
71 |
- gnome2_src_install |
72 |
- |
73 |
- # GSettings backend may be one of: memory, gconf, dconf |
74 |
- # Only dconf is really considered functional by upstream |
75 |
- # must have it enabled over gconf if both are installed |
76 |
- echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf |
77 |
- echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf |
78 |
- doenvd 51dconf |
79 |
- |
80 |
- # Install bash-completion file properly to the system |
81 |
- rm -rv "${ED}usr/share/bash-completion" || die |
82 |
- newbashcomp "${S}/bin/completion/dconf" ${PN} |
83 |
-} |
84 |
- |
85 |
-pkg_postinst() { |
86 |
- gnome2_pkg_postinst |
87 |
- # Kill existing dconf-service processes as recommended by upstream due to |
88 |
- # possible changes in the dconf private dbus API. |
89 |
- # dconf-service will be dbus-activated on next use. |
90 |
- pids=$(pgrep -x dconf-service) |
91 |
- if [[ $? == 0 ]]; then |
92 |
- ebegin "Stopping dconf-service; it will automatically restart on demand" |
93 |
- kill ${pids} |
94 |
- eend $? |
95 |
- fi |
96 |
-} |
97 |
|
98 |
diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-9999.ebuild |
99 |
index e6bb5b9..8acaac5 100644 |
100 |
--- a/gnome-base/dconf/dconf-9999.ebuild |
101 |
+++ b/gnome-base/dconf/dconf-9999.ebuild |
102 |
@@ -1,11 +1,11 @@ |
103 |
# Copyright 1999-2012 Gentoo Foundation |
104 |
# Distributed under the terms of the GNU General Public License v2 |
105 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild,v 1.6 2012/01/18 20:33:49 maekke Exp $ |
106 |
+# $Header: $ |
107 |
|
108 |
EAPI="4" |
109 |
GCONF_DEBUG="no" |
110 |
|
111 |
-inherit gnome2 bash-completion-r1 |
112 |
+inherit gnome2 bash-completion-r1 virtualx |
113 |
if [[ ${PV} = 9999 ]]; then |
114 |
inherit gnome2-live |
115 |
fi |
116 |
@@ -13,10 +13,10 @@ fi |
117 |
DESCRIPTION="Simple low-level configuration system" |
118 |
HOMEPAGE="http://live.gnome.org/dconf" |
119 |
|
120 |
-LICENSE="LGPL-2.1" |
121 |
+LICENSE="LGPL-2.1+" |
122 |
SLOT="0" |
123 |
# TODO: coverage ? |
124 |
-IUSE="doc +X" |
125 |
+IUSE="doc test +X" |
126 |
if [[ ${PV} = 9999 ]]; then |
127 |
KEYWORDS="" |
128 |
else |
129 |
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND} |
130 |
dev-libs/libxslt |
131 |
sys-devel/gettext |
132 |
>=dev-util/intltool-0.50 |
133 |
+ virtual/pkgconfig |
134 |
doc? ( >=dev-util/gtk-doc-1.15 )" |
135 |
|
136 |
if [[ ${PV} = 9999 ]]; then |
137 |
@@ -44,7 +45,11 @@ pkg_setup() { |
138 |
--disable-schemas-compile |
139 |
--disable-gcov |
140 |
$(use_enable X editor) |
141 |
- VALAC=$(type -P valac-0.18)" |
142 |
+ VALAC=$(type -P valac-0.18)" # harmless even if valac-0.18 not found |
143 |
+} |
144 |
+ |
145 |
+src_test() { |
146 |
+ Xemake check |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
@@ -59,7 +64,7 @@ src_install() { |
151 |
|
152 |
# Install bash-completion file properly to the system |
153 |
rm -rv "${ED}usr/share/bash-completion" || die |
154 |
- newbashcomp "${S}/bin/completion/dconf" ${PN} |
155 |
+ dobashcomp "${S}/bin/completion/dconf" |
156 |
} |
157 |
|
158 |
pkg_postinst() { |