1 |
commit: ae7b4f3625a5efa7dfce759d8c2717f1c889e448 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 16 16:00:51 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 1 15:48:53 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ae7b4f36 |
7 |
|
8 |
gnome-extra/gnome-boxes: 3.6.3-r1 → 3.10.2 |
9 |
|
10 |
--- |
11 |
...s-3.6.3-r1.ebuild => gnome-boxes-3.10.2.ebuild} | 44 ++++++---- |
12 |
gnome-extra/gnome-boxes/gnome-boxes-3.6.3.ebuild | 94 ---------------------- |
13 |
gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild | 35 ++++---- |
14 |
gnome-extra/gnome-boxes/metadata.xml | 6 +- |
15 |
4 files changed, 53 insertions(+), 126 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild |
18 |
similarity index 69% |
19 |
rename from gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild |
20 |
rename to gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild |
21 |
index 3a51ebd..124bb8e 100644 |
22 |
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.6.3-r1.ebuild |
23 |
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild |
24 |
@@ -1,11 +1,11 @@ |
25 |
-# Copyright 1999-2012 Gentoo Foundation |
26 |
+# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Header: $ |
29 |
|
30 |
EAPI="5" |
31 |
GCONF_DEBUG="no" |
32 |
VALA_USE_DEPEND="vapigen" |
33 |
-VALA_MIN_API_VERSION="0.18" |
34 |
+VALA_MIN_API_VERSION="0.22" |
35 |
|
36 |
inherit linux-info gnome2 vala |
37 |
if [[ ${PV} = 9999 ]]; then |
38 |
@@ -17,7 +17,7 @@ HOMEPAGE="https://live.gnome.org/Design/Apps/Boxes" |
39 |
|
40 |
LICENSE="LGPL-2" |
41 |
SLOT="0" |
42 |
-IUSE="bindist" |
43 |
+IUSE="bindist smartcard usbredir" |
44 |
if [[ ${PV} = 9999 ]]; then |
45 |
KEYWORDS="" |
46 |
else |
47 |
@@ -25,18 +25,19 @@ else |
48 |
fi |
49 |
|
50 |
# NOTE: sys-fs/* stuff is called via exec() |
51 |
+# FIXME: ovirt is not available in tree |
52 |
RDEPEND=" |
53 |
- >=dev-libs/libxml2-2.7.8:2 |
54 |
- >=virtual/udev-165[gudev] |
55 |
- >=dev-libs/glib-2.29.90:2 |
56 |
+ >=dev-libs/glib-2.32:2 |
57 |
>=dev-libs/gobject-introspection-0.9.6 |
58 |
- >=sys-libs/libosinfo-0.2.1 |
59 |
- app-emulation/qemu[spice] |
60 |
+ >=dev-libs/libxml2-2.7.8:2 |
61 |
+ >=sys-libs/libosinfo-0.2.7 |
62 |
+ >=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?] |
63 |
>=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
64 |
- >=app-emulation/libvirt-glib-0.1.2 |
65 |
- >=x11-libs/gtk+-3.5.5:3 |
66 |
+ >=app-emulation/libvirt-glib-0.1.7 |
67 |
+ >=x11-libs/gtk+-3.9:3 |
68 |
>=net-libs/gtk-vnc-0.4.4[gtk3] |
69 |
- >=net-misc/spice-gtk-0.12.101[gtk3] |
70 |
+ >=net-misc/spice-gtk-0.16[gtk3,smartcard?,usbredir?] |
71 |
+ |
72 |
>=app-misc/tracker-0.16:0=[iso] |
73 |
|
74 |
>=media-libs/clutter-gtk-1.3.2:1.0 |
75 |
@@ -47,9 +48,12 @@ RDEPEND=" |
76 |
sys-fs/fuse |
77 |
sys-fs/fuseiso |
78 |
sys-fs/mtools |
79 |
+ >=virtual/udev-165[gudev] |
80 |
!bindist? ( gnome-extra/gnome-boxes-nonfree ) |
81 |
" |
82 |
DEPEND="${RDEPEND} |
83 |
+ app-text/yelp-tools |
84 |
+ dev-util/desktop-file-utils |
85 |
>=dev-util/intltool-0.40 |
86 |
>=sys-devel/gettext-0.17 |
87 |
virtual/pkgconfig |
88 |
@@ -61,7 +65,8 @@ if [[ ${PV} = 9999 ]]; then |
89 |
sys-libs/libosinfo[introspection,vala] |
90 |
app-emulation/libvirt-glib[introspection,vala] |
91 |
net-libs/gtk-vnc[introspection,vala] |
92 |
- net-misc/spice-gtk[introspection,vala]" |
93 |
+ net-misc/spice-gtk[introspection,vala] |
94 |
+ net-libs/rest:0.7[introspection]" |
95 |
fi |
96 |
|
97 |
pkg_pretend() { |
98 |
@@ -74,18 +79,23 @@ pkg_pretend() { |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
- # Add support for tracker-0.16 |
103 |
- sed -e "s/\(tracker-sparql\)-.*/\1-0.16/" \ |
104 |
- -i configure.ac configure || die |
105 |
+ # Do not change CFLAGS, wondering about VALA ones but appears to be |
106 |
+ # needed as noted in configure comments below |
107 |
+ sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure{.ac,} || die |
108 |
|
109 |
- gnome2_src_prepare |
110 |
vala_src_prepare |
111 |
+ gnome2_src_prepare |
112 |
} |
113 |
|
114 |
src_configure() { |
115 |
DOCS="AUTHORS README NEWS THANKS TODO" |
116 |
+ # debug needed for splitdebug proper behavior (cardoe) |
117 |
gnome2_src_configure \ |
118 |
- --disable-strict-cc |
119 |
+ --enable-debug \ |
120 |
+ --disable-strict-cc \ |
121 |
+ $(use_enable usbredir) \ |
122 |
+ $(use_enable smartcard) \ |
123 |
+ --enable-ovirt=no |
124 |
} |
125 |
|
126 |
pkg_postinst() { |
127 |
|
128 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.6.3.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.6.3.ebuild |
129 |
deleted file mode 100644 |
130 |
index 43279aa..0000000 |
131 |
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.6.3.ebuild |
132 |
+++ /dev/null |
133 |
@@ -1,94 +0,0 @@ |
134 |
-# Copyright 1999-2012 Gentoo Foundation |
135 |
-# Distributed under the terms of the GNU General Public License v2 |
136 |
-# $Header: $ |
137 |
- |
138 |
-EAPI="4" |
139 |
-GCONF_DEBUG="no" |
140 |
- |
141 |
-inherit linux-info gnome2 |
142 |
-if [[ ${PV} = 9999 ]]; then |
143 |
- inherit gnome2-live |
144 |
-fi |
145 |
- |
146 |
-DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems" |
147 |
-HOMEPAGE="https://live.gnome.org/Design/Apps/Boxes" |
148 |
- |
149 |
-LICENSE="LGPL-2" |
150 |
-SLOT="0" |
151 |
-IUSE="bindist" |
152 |
-if [[ ${PV} = 9999 ]]; then |
153 |
- KEYWORDS="" |
154 |
-else |
155 |
- KEYWORDS="~amd64" # qemu-kvm[spice] is 64bit-only |
156 |
-fi |
157 |
- |
158 |
-# NOTE: sys-fs/* stuff is called via exec() |
159 |
-RDEPEND=" |
160 |
- >=dev-libs/libxml2-2.7.8:2 |
161 |
- >=virtual/udev-165[gudev] |
162 |
- >=dev-libs/glib-2.29.90:2 |
163 |
- >=dev-libs/gobject-introspection-0.9.6 |
164 |
- >=sys-libs/libosinfo-0.2.1 |
165 |
- app-emulation/qemu[spice] |
166 |
- >=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
167 |
- >=app-emulation/libvirt-glib-0.1.2 |
168 |
- >=x11-libs/gtk+-3.5.5:3 |
169 |
- >=net-libs/gtk-vnc-0.4.4[gtk3] |
170 |
- >=net-misc/spice-gtk-0.12.101[gtk3] |
171 |
- >=app-misc/tracker-0.14[iso] |
172 |
- <app-misc/tracker-0.16 |
173 |
- |
174 |
- >=media-libs/clutter-gtk-1.3.2:1.0 |
175 |
- >=media-libs/clutter-1.11.14:1.0 |
176 |
- >=sys-apps/util-linux-2.20 |
177 |
- >=net-libs/libsoup-2.38:2.4 |
178 |
- |
179 |
- sys-fs/fuse |
180 |
- sys-fs/fuseiso |
181 |
- sys-fs/mtools |
182 |
- !bindist? ( gnome-extra/gnome-boxes-nonfree ) |
183 |
-" |
184 |
-DEPEND="${RDEPEND} |
185 |
- >=dev-util/intltool-0.40 |
186 |
- >=sys-devel/gettext-0.17 |
187 |
- virtual/pkgconfig |
188 |
-" |
189 |
- |
190 |
-if [[ ${PV} = 9999 ]]; then |
191 |
- DEPEND="${DEPEND} |
192 |
- >=dev-lang/vala-0.17.2:0.18[vapigen] |
193 |
- sys-libs/libosinfo[introspection,vala] |
194 |
- app-emulation/libvirt-glib[introspection,vala] |
195 |
- net-libs/gtk-vnc[introspection,vala] |
196 |
- net-misc/spice-gtk[introspection,vala]" |
197 |
-fi |
198 |
- |
199 |
-pkg_pretend() { |
200 |
- linux_config_exists |
201 |
- |
202 |
- if ! { linux_chkconfig_present KVM_AMD || \ |
203 |
- linux_chkconfig_present KVM_INTEL; }; then |
204 |
- ewarn "You need KVM support in your kernel to use GNOME Boxes!" |
205 |
- fi |
206 |
-} |
207 |
- |
208 |
-src_configure() { |
209 |
- DOCS="AUTHORS README NEWS THANKS TODO" |
210 |
- G2CONF="${G2CONF} |
211 |
- --disable-schemas-compile |
212 |
- --disable-strict-cc |
213 |
- VALAC=$(type -P valac-0.18) |
214 |
- VAPIGEN=$(type -P vapigen-0.18) |
215 |
- " |
216 |
- gnome2_src_configure |
217 |
-} |
218 |
- |
219 |
-pkg_postinst() { |
220 |
- gnome2_pkg_postinst |
221 |
- elog "Before running gnome-boxes, you will need to load the KVM modules" |
222 |
- elog "If you have an Intel Processor, run:" |
223 |
- elog " modprobe kvm-intel" |
224 |
- einfo |
225 |
- elog "If you have an AMD Processor, run:" |
226 |
- elog " modprobe kvm-amd" |
227 |
-} |
228 |
|
229 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild |
230 |
index 8c4f9bf..eb2b91d 100644 |
231 |
--- a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild |
232 |
+++ b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild |
233 |
@@ -1,11 +1,13 @@ |
234 |
-# Copyright 1999-2012 Gentoo Foundation |
235 |
+# Copyright 1999-2013 Gentoo Foundation |
236 |
# Distributed under the terms of the GNU General Public License v2 |
237 |
# $Header: $ |
238 |
|
239 |
EAPI="5" |
240 |
GCONF_DEBUG="no" |
241 |
+VALA_USE_DEPEND="vapigen" |
242 |
+VALA_MIN_API_VERSION="0.22" |
243 |
|
244 |
-inherit linux-info gnome2 |
245 |
+inherit linux-info gnome2 vala |
246 |
if [[ ${PV} = 9999 ]]; then |
247 |
inherit gnome2-live |
248 |
fi |
249 |
@@ -23,16 +25,16 @@ else |
250 |
fi |
251 |
|
252 |
# NOTE: sys-fs/* stuff is called via exec() |
253 |
+# FIXME: ovirt is not available in tree |
254 |
RDEPEND=" |
255 |
- >=dev-libs/libxml2-2.7.8:2 |
256 |
- >=virtual/udev-165[gudev] |
257 |
- >=dev-libs/glib-2.29.90:2 |
258 |
+ >=dev-libs/glib-2.32:2 |
259 |
>=dev-libs/gobject-introspection-0.9.6 |
260 |
- >=sys-libs/libosinfo-0.2.1 |
261 |
+ >=dev-libs/libxml2-2.7.8:2 |
262 |
+ >=sys-libs/libosinfo-0.2.7 |
263 |
>=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?] |
264 |
>=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
265 |
- >=app-emulation/libvirt-glib-0.1.2 |
266 |
- >=x11-libs/gtk+-3.5.5:3 |
267 |
+ >=app-emulation/libvirt-glib-0.1.7 |
268 |
+ >=x11-libs/gtk+-3.9:3 |
269 |
>=net-libs/gtk-vnc-0.4.4[gtk3] |
270 |
>=net-misc/spice-gtk-0.16[gtk3,smartcard?,usbredir?] |
271 |
|
272 |
@@ -46,9 +48,12 @@ RDEPEND=" |
273 |
sys-fs/fuse |
274 |
sys-fs/fuseiso |
275 |
sys-fs/mtools |
276 |
+ >=virtual/udev-165[gudev] |
277 |
!bindist? ( gnome-extra/gnome-boxes-nonfree ) |
278 |
" |
279 |
DEPEND="${RDEPEND} |
280 |
+ app-text/yelp-tools |
281 |
+ dev-util/desktop-file-utils |
282 |
>=dev-util/intltool-0.40 |
283 |
>=sys-devel/gettext-0.17 |
284 |
virtual/pkgconfig |
285 |
@@ -56,11 +61,12 @@ DEPEND="${RDEPEND} |
286 |
|
287 |
if [[ ${PV} = 9999 ]]; then |
288 |
DEPEND="${DEPEND} |
289 |
- >=dev-lang/vala-0.17.2:0.18[vapigen] |
290 |
+ $(vala_depend) |
291 |
sys-libs/libosinfo[introspection,vala] |
292 |
app-emulation/libvirt-glib[introspection,vala] |
293 |
net-libs/gtk-vnc[introspection,vala] |
294 |
- net-misc/spice-gtk[introspection,vala]" |
295 |
+ net-misc/spice-gtk[introspection,vala] |
296 |
+ net-libs/rest:0.7[introspection]" |
297 |
fi |
298 |
|
299 |
pkg_pretend() { |
300 |
@@ -75,8 +81,10 @@ pkg_pretend() { |
301 |
src_prepare() { |
302 |
# Do not change CFLAGS, wondering about VALA ones but appears to be |
303 |
# needed as noted in configure comments below |
304 |
- sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"' -i configure.ac || die |
305 |
- gnome2_src_configure |
306 |
+ sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure.ac || die |
307 |
+ |
308 |
+ vala_src_prepare |
309 |
+ gnome2_src_prepare |
310 |
} |
311 |
|
312 |
src_configure() { |
313 |
@@ -87,8 +95,7 @@ src_configure() { |
314 |
--disable-strict-cc \ |
315 |
$(use_enable usbredir) \ |
316 |
$(use_enable smartcard) \ |
317 |
- VALAC=$(type -P valac-0.18) \ |
318 |
- VAPIGEN=$(type -P vapigen-0.18) |
319 |
+ --enable-ovirt=no |
320 |
} |
321 |
|
322 |
pkg_postinst() { |
323 |
|
324 |
diff --git a/gnome-extra/gnome-boxes/metadata.xml b/gnome-extra/gnome-boxes/metadata.xml |
325 |
index 6e0e2ec..fa5ebd0 100644 |
326 |
--- a/gnome-extra/gnome-boxes/metadata.xml |
327 |
+++ b/gnome-extra/gnome-boxes/metadata.xml |
328 |
@@ -1,5 +1,9 @@ |
329 |
<?xml version="1.0" encoding="UTF-8"?> |
330 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
331 |
<pkgmetadata> |
332 |
- <herd>gnome</herd> |
333 |
+ <herd>gnome</herd> |
334 |
+ <use> |
335 |
+ <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB |
336 |
+ devices to another machine over TCP</flag> |
337 |
+ </use> |
338 |
</pkgmetadata> |