1 |
commit: 768620a1b02e0894ccad3b944001aa97e7f1a6a7 |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 15 10:11:22 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 15 10:11:22 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=768620a1 |
7 |
|
8 |
Various packages: port to EAPI 4 |
9 |
|
10 |
--- |
11 |
.../libvirt-glib/libvirt-glib-9999.ebuild | 14 +++--- |
12 |
app-misc/the-board/the-board-9999.ebuild | 2 +- |
13 |
dev-libs/gjs/gjs-9999.ebuild | 4 +- |
14 |
.../gobject-introspection-9999.ebuild | 6 +- |
15 |
dev-util/anjuta/anjuta-3.2.1.ebuild | 5 +-- |
16 |
dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild | 4 +- |
17 |
gnome-extra/libgda/libgda-9999.ebuild | 6 ++- |
18 |
media-sound/rhythmbox/rhythmbox-9999.ebuild | 47 ++++---------------- |
19 |
media-video/cheese/cheese-9999.ebuild | 4 +- |
20 |
net-libs/gtk-vnc/gtk-vnc-9999.ebuild | 8 ++-- |
21 |
net-misc/spice-gtk/spice-gtk-9999.ebuild | 2 +- |
22 |
11 files changed, 35 insertions(+), 67 deletions(-) |
23 |
|
24 |
diff --git a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild |
25 |
index f164a9a..6357b16 100644 |
26 |
--- a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild |
27 |
+++ b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild |
28 |
@@ -7,7 +7,7 @@ GCONF_DEBUG="no" |
29 |
GNOME2_LA_PUNT="yes" |
30 |
EGIT_REPO_URI="git://libvirt.org/libvirt-glib.git" |
31 |
|
32 |
-inherit gnome2 |
33 |
+inherit python gnome2 |
34 |
if [[ ${PV} = 9999 ]]; then |
35 |
inherit gnome2-live |
36 |
fi |
37 |
@@ -22,7 +22,7 @@ if [[ ${PV} = 9999 ]]; then |
38 |
else |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
fi |
41 |
-IUSE="doc +introspection +vala" |
42 |
+IUSE="doc +introspection python +vala" |
43 |
REQUIRED_USE="vala? ( introspection )" |
44 |
|
45 |
RDEPEND=" |
46 |
@@ -39,14 +39,12 @@ pkg_setup() { |
47 |
# NEWS, ChangeLog, are empty in git |
48 |
# README is empty |
49 |
DOCS="AUTHORS ChangeLog HACKING NEWS" |
50 |
- # TODO: use_with python when python.eclass is fixed |
51 |
G2CONF="--disable-test-coverage |
52 |
- --without-python |
53 |
VAPIGEN=$(type -P vapigen-0.14) |
54 |
$(use_enable introspection) |
55 |
- $(use_enable vala)" |
56 |
-} |
57 |
+ $(use_enable vala) |
58 |
+ $(use_with python)" |
59 |
|
60 |
-src_prepare() { |
61 |
- gnome2_src_prepare |
62 |
+ python_set_active_version 2 |
63 |
+ python_pkg_setup |
64 |
} |
65 |
|
66 |
diff --git a/app-misc/the-board/the-board-9999.ebuild b/app-misc/the-board/the-board-9999.ebuild |
67 |
index 26b618c..cdc0d54 100644 |
68 |
--- a/app-misc/the-board/the-board-9999.ebuild |
69 |
+++ b/app-misc/the-board/the-board-9999.ebuild |
70 |
@@ -2,7 +2,7 @@ |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
# $Header: $ |
73 |
|
74 |
-EAPI="3" |
75 |
+EAPI="4" |
76 |
GCONF_DEBUG="no" |
77 |
GNOME2_LA_PUNT="yes" |
78 |
|
79 |
|
80 |
diff --git a/dev-libs/gjs/gjs-9999.ebuild b/dev-libs/gjs/gjs-9999.ebuild |
81 |
index 6af992c..b9b8da2 100644 |
82 |
--- a/dev-libs/gjs/gjs-9999.ebuild |
83 |
+++ b/dev-libs/gjs/gjs-9999.ebuild |
84 |
@@ -2,9 +2,8 @@ |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.29.0.ebuild,v 1.1 2011/06/14 13:19:59 nirbheek Exp $ |
87 |
|
88 |
-EAPI="3" |
89 |
+EAPI="4" |
90 |
GCONF_DEBUG="no" |
91 |
-GNOME_TARBALL_SUFFIX="xz" |
92 |
GNOME2_LA_PUNT="yes" |
93 |
PYTHON_DEPEND="2" |
94 |
|
95 |
@@ -47,6 +46,7 @@ pkg_setup() { |
96 |
--disable-systemtap |
97 |
--disable-dtrace |
98 |
--disable-coverage" |
99 |
+ python_pkg_setup |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
|
104 |
diff --git a/dev-libs/gobject-introspection/gobject-introspection-9999.ebuild b/dev-libs/gobject-introspection/gobject-introspection-9999.ebuild |
105 |
index 6d81201..bbc0c3d 100644 |
106 |
--- a/dev-libs/gobject-introspection/gobject-introspection-9999.ebuild |
107 |
+++ b/dev-libs/gobject-introspection/gobject-introspection-9999.ebuild |
108 |
@@ -2,13 +2,12 @@ |
109 |
# Distributed under the terms of the GNU General Public License v2 |
110 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.10.8.ebuild,v 1.10 2011/05/02 04:39:55 jer Exp $ |
111 |
|
112 |
-EAPI="3" |
113 |
+EAPI="4" |
114 |
GCONF_DEBUG="no" |
115 |
-GNOME_TARBALL_SUFFIX="xz" |
116 |
GNOME2_LA_PUNT="yes" |
117 |
PYTHON_DEPEND="2:2.5" |
118 |
|
119 |
-inherit gnome2 python |
120 |
+inherit python gnome2 |
121 |
if [[ ${PV} = 9999 ]]; then |
122 |
inherit gnome2-live |
123 |
fi |
124 |
@@ -42,6 +41,7 @@ pkg_setup() { |
125 |
$(use_enable test tests)" |
126 |
|
127 |
python_set_active_version 2 |
128 |
+ python_pkg_setup |
129 |
} |
130 |
|
131 |
src_prepare() { |
132 |
|
133 |
diff --git a/dev-util/anjuta/anjuta-3.2.1.ebuild b/dev-util/anjuta/anjuta-3.2.1.ebuild |
134 |
index 08aba87..63a3439 100644 |
135 |
--- a/dev-util/anjuta/anjuta-3.2.1.ebuild |
136 |
+++ b/dev-util/anjuta/anjuta-3.2.1.ebuild |
137 |
@@ -73,6 +73,7 @@ pkg_setup() { |
138 |
DOCS="AUTHORS ChangeLog FUTURE MAINTAINERS NEWS README ROADMAP THANKS TODO" |
139 |
|
140 |
G2CONF="${G2CONF} |
141 |
+ VALAC=$(type -P valac-0.14) |
142 |
--disable-static |
143 |
--disable-schemas-compile |
144 |
--docdir=/usr/share/doc/${PF} |
145 |
@@ -85,10 +86,6 @@ pkg_setup() { |
146 |
$(use_enable subversion plugin-subversion) |
147 |
$(use_enable vala)" |
148 |
|
149 |
- if use vala; then |
150 |
- G2CONF="${G2CONF} VALAC=$(type -P valac-0.14)" |
151 |
- fi |
152 |
- |
153 |
# Conflics with -pg in a plugin, bug #266777 |
154 |
filter-flags -fomit-frame-pointer |
155 |
|
156 |
|
157 |
diff --git a/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild |
158 |
index 2044c84..03139c3 100644 |
159 |
--- a/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild |
160 |
+++ b/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild |
161 |
@@ -2,9 +2,8 @@ |
162 |
# Distributed under the terms of the GNU General Public License v2 |
163 |
# $Header: $ |
164 |
|
165 |
-EAPI="3" |
166 |
+EAPI="4" |
167 |
GNOME_ORG_MODULE="glib" |
168 |
-GNOME_TARBALL_SUFFIX="xz" |
169 |
PYTHON_DEPEND="2:2.5" |
170 |
PYTHON_USE_WITH="xml" |
171 |
|
172 |
@@ -37,6 +36,7 @@ S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" |
173 |
|
174 |
pkg_setup() { |
175 |
python_set_active_version 2 |
176 |
+ python_pkg_setup |
177 |
} |
178 |
|
179 |
src_prepare() { |
180 |
|
181 |
diff --git a/gnome-extra/libgda/libgda-9999.ebuild b/gnome-extra/libgda/libgda-9999.ebuild |
182 |
index ae702c3..cd89291 100644 |
183 |
--- a/gnome-extra/libgda/libgda-9999.ebuild |
184 |
+++ b/gnome-extra/libgda/libgda-9999.ebuild |
185 |
@@ -2,10 +2,9 @@ |
186 |
# Distributed under the terms of the GNU General Public License v2 |
187 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.2.0.ebuild,v 1.3 2010/11/01 12:18:13 eva Exp $ |
188 |
|
189 |
-EAPI="3" |
190 |
+EAPI="4" |
191 |
GNOME2_LA_PUNT="yes" |
192 |
GCONF_DEBUG="yes" |
193 |
-GNOME_TARBALL_SUFFIX="xz" # remove when python eclass supports EAPI 4 |
194 |
PYTHON_DEPEND="2" |
195 |
|
196 |
inherit db-use eutils flag-o-matic gnome2 java-pkg-opt-2 python |
197 |
@@ -112,6 +111,9 @@ pkg_setup() { |
198 |
--disable-default-binary" |
199 |
|
200 |
export XDG_DATA_HOME="${T}/.local" |
201 |
+ |
202 |
+ python_set_active_version 2 |
203 |
+ python_pkg_setup |
204 |
} |
205 |
|
206 |
src_prepare() { |
207 |
|
208 |
diff --git a/media-sound/rhythmbox/rhythmbox-9999.ebuild b/media-sound/rhythmbox/rhythmbox-9999.ebuild |
209 |
index bfcde61..04ec1cb 100644 |
210 |
--- a/media-sound/rhythmbox/rhythmbox-9999.ebuild |
211 |
+++ b/media-sound/rhythmbox/rhythmbox-9999.ebuild |
212 |
@@ -2,7 +2,7 @@ |
213 |
# Distributed under the terms of the GNU General Public License v2 |
214 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.8-r1.ebuild,v 1.2 2010/07/06 15:46:43 ssuominen Exp $ |
215 |
|
216 |
-EAPI="3" |
217 |
+EAPI="4" |
218 |
GNOME2_LA_PUNT="yes" |
219 |
PYTHON_DEPEND="python? 2:2.5" |
220 |
PYTHON_USE_WITH="xml" |
221 |
@@ -27,6 +27,13 @@ else |
222 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
223 |
fi |
224 |
|
225 |
+REQUIRED_USE=" |
226 |
+ ipod? ( udev ) |
227 |
+ mtp? ( udev ) |
228 |
+ dbus? ( python ) |
229 |
+ gnome-keyring? ( python ) |
230 |
+ webkit? ( python )" |
231 |
+ |
232 |
# FIXME: double check what to do with fm-radio plugin |
233 |
# FIXME: Zeitgeist python plugin |
234 |
# NOTE: Rhythmbox uses both gdbus and dbus-python right now |
235 |
@@ -110,47 +117,11 @@ pkg_setup() { |
236 |
G2CONF="${G2CONF} PYTHON=$(PYTHON -2)" |
237 |
fi |
238 |
|
239 |
- if ! use udev; then |
240 |
- if use ipod; then |
241 |
- ewarn "ipod support requires udev support. Please" |
242 |
- ewarn "re-emerge with USE=udev to enable ipod support" |
243 |
- G2CONF="${G2CONF} --without-ipod" |
244 |
- fi |
245 |
- |
246 |
- if use mtp; then |
247 |
- ewarn "MTP support requires udev support. Please" |
248 |
- ewarn "re-emerge with USE=udev to enable MTP support" |
249 |
- G2CONF="${G2CONF} --without-mtp" |
250 |
- fi |
251 |
- else |
252 |
- G2CONF="${G2CONF} $(use_with ipod) $(use_with mtp)" |
253 |
- fi |
254 |
- |
255 |
- if ! use cdr ; then |
256 |
- ewarn "You have cdr USE flag disabled." |
257 |
- ewarn "You will not be able to burn CDs." |
258 |
- fi |
259 |
- |
260 |
- if ! use python; then |
261 |
- if use dbus; then |
262 |
- ewarn "You need python support to use the im-status plugin" |
263 |
- fi |
264 |
- |
265 |
- if use webkit; then |
266 |
- ewarn "You need python support in addition to webkit to be able to use" |
267 |
- ewarn "the context panel plugin." |
268 |
- fi |
269 |
- fi |
270 |
- |
271 |
- if use gnome-keyring && ! use python; then |
272 |
- ewarn "The magnatune plugin requires USE='python gnome-keyring'" |
273 |
- fi |
274 |
- |
275 |
# --enable-vala just installs the sample vala plugin, and the configure |
276 |
# checks are broken, so don't enable it |
277 |
G2CONF="${G2CONF} |
278 |
MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins |
279 |
- VALAC=$(type -P valac-0.12) |
280 |
+ VALAC=$(type -P valac-0.14) |
281 |
--enable-mmkeys |
282 |
--disable-more-warnings |
283 |
--disable-scrollkeeper |
284 |
|
285 |
diff --git a/media-video/cheese/cheese-9999.ebuild b/media-video/cheese/cheese-9999.ebuild |
286 |
index 56b0d61..c6001e2 100644 |
287 |
--- a/media-video/cheese/cheese-9999.ebuild |
288 |
+++ b/media-video/cheese/cheese-9999.ebuild |
289 |
@@ -16,7 +16,7 @@ HOMEPAGE="http://www.gnome.org/projects/cheese/" |
290 |
|
291 |
LICENSE="GPL-2" |
292 |
SLOT="0" |
293 |
-IUSE="doc +introspection vala" |
294 |
+IUSE="doc +introspection" |
295 |
if [[ ${PV} = 9999 ]]; then |
296 |
KEYWORDS="" |
297 |
else |
298 |
@@ -77,7 +77,7 @@ pkg_setup() { |
299 |
} |
300 |
|
301 |
src_compile() { |
302 |
- # Clutter-related sandbox violations when USE="doc introspection -vala" and |
303 |
+ # Clutter-related sandbox violations when USE="doc introspection" and |
304 |
# FEATURES="-userpriv" (see bug #385917). |
305 |
# Work around the issue with the same horrible hack as in bug #385433. |
306 |
DISPLAY="999invalid" |
307 |
|
308 |
diff --git a/net-libs/gtk-vnc/gtk-vnc-9999.ebuild b/net-libs/gtk-vnc/gtk-vnc-9999.ebuild |
309 |
index 653531e..527aabe 100644 |
310 |
--- a/net-libs/gtk-vnc/gtk-vnc-9999.ebuild |
311 |
+++ b/net-libs/gtk-vnc/gtk-vnc-9999.ebuild |
312 |
@@ -2,9 +2,8 @@ |
313 |
# Distributed under the terms of the GNU General Public License v2 |
314 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/gtk-vnc-0.4.3-r1.ebuild,v 1.6 2011/10/30 17:24:14 armin76 Exp $ |
315 |
|
316 |
-EAPI="3" |
317 |
+EAPI="4" |
318 |
GNOME2_LA_PUNT="yes" |
319 |
-GNOME_TARBALL_SUFFIX="xz" |
320 |
|
321 |
inherit autotools eutils base gnome.org python |
322 |
if [[ ${PV} = 9999 ]]; then |
323 |
@@ -22,6 +21,7 @@ else |
324 |
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
325 |
fi |
326 |
IUSE="examples +gtk3 +introspection python sasl +vala" |
327 |
+REQUIRED_USE="vala? ( introspection )" |
328 |
|
329 |
# libview is used in examples/gvncviewer -- no need |
330 |
# TODO: review nsplugin when it will be considered less experimental |
331 |
@@ -57,6 +57,7 @@ GTK3_BUILDDIR="${WORKDIR}/${P}_gtk3" |
332 |
|
333 |
pkg_setup() { |
334 |
python_set_active_version 2 |
335 |
+ python_pkg_setup |
336 |
} |
337 |
|
338 |
src_prepare() { |
339 |
@@ -81,10 +82,9 @@ src_configure() { |
340 |
local myconf |
341 |
myconf=" |
342 |
$(use_with examples) \ |
343 |
- $(use_enable vala) \ |
344 |
- $(use_enable vala introspection) \ |
345 |
$(use_enable introspection) \ |
346 |
$(use_with sasl) \ |
347 |
+ $(use_enable vala) \ |
348 |
VAPIGEN=$(type -P vapigen-0.14) \ |
349 |
--with-coroutine=gthread \ |
350 |
--without-libview \ |
351 |
|
352 |
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild |
353 |
index 59c00c9..b499340 100644 |
354 |
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild |
355 |
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild |
356 |
@@ -2,7 +2,7 @@ |
357 |
# Distributed under the terms of the GNU General Public License v2 |
358 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.ebuild,v 1.2 2011/10/19 08:37:10 dev-zero Exp $ |
359 |
|
360 |
-EAPI=3 |
361 |
+EAPI="4" |
362 |
GCONF_DEBUG="no" |
363 |
|
364 |
inherit eutils python gnome2-utils |