summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2018-05-27 16:47:08 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2018-05-27 19:48:42 +0200
commit46371c213aef1ce350d36e789f5919af1c5fcf78 (patch)
treedc59741f2cfd3bae088dc72f1e65d8af68ced395
parentgnome-base/nautilus: 3.26.2 → 3.26.3.1 (diff)
downloadgnome-46371c21.tar.gz
gnome-46371c21.tar.bz2
gnome-46371c21.zip
gnome-extra/gnome-boxes: 3.24.1-r1 → 3.26.2
Allow resizing disks with snapshots. VM now run in background during install. Update various bits to glib/gtk+ new APIs. Add shared folders support. Package-Manager: Portage-2.3.40, Repoman-2.3.9 Manifest-Sign-Key: 0x5A56C8CD0C13248A
-rw-r--r--gnome-extra/gnome-boxes/Manifest23
-rw-r--r--gnome-extra/gnome-boxes/gnome-boxes-3.26.2.ebuild105
-rw-r--r--gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild16
3 files changed, 136 insertions, 8 deletions
diff --git a/gnome-extra/gnome-boxes/Manifest b/gnome-extra/gnome-boxes/Manifest
new file mode 100644
index 00000000..86379d59
--- /dev/null
+++ b/gnome-extra/gnome-boxes/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST gnome-boxes-3.26.2.tar.xz 1929860 BLAKE2B b1bb5abbef7b2db70d8b64754362aa170c7acbfd42a92f1104b6adfb3c69922007ac3ab4e5c488693a5ed063be06b4eb8bd10aacd910aa322135b70a440a36dc SHA512 385568b8e1306cf8517f44eb49536f3a5edb38d8d2832abe66b956b7df2f44f6f74ea9d66edbb38dd417690fc67aefa6736e071f55944c3f0c5198b459560393
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQKTBAEBCAB9FiEEX+aBqe7MmoWBwzA1lSmjXZiBxnkFAlsKxOhfFIAAAAAALgAo
+aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVG
+RTY4MUE5RUVDQzlBODU4MUMzMzAzNTk1MjlBMzVEOTg4MUM2NzkACgkQlSmjXZiB
+xnnXfQ//c5u8RLoxs2fukactS2vTkhRMOoJ39GDmgod2RtS7TjNKC+/bblIOoDxi
+UPAtvh7IlmoGtzqDjGjkV1SNxc7pR1WELqJucQ1eqeSv41ORmMgIpa4PgOHE+ChX
+dJ4umMgrE6ug58mxbdDFqUpOtGoBfDwXr37PI06a/95FZJxHofb8Ek7VN6nXmCVk
+o+2R7Rt7pVSGPjGasWDWY5IL/SzcO92ox8n9GBb+XmspOrAasmOBLt6njhraMJ1B
+kU9sTgZUGAH5DScRHrEwZLT1XvAqo5vnZrlGgQ2f4C1SnWwR8ukhJFwQKO5GWIPc
+yOuzMecLO7xqAVh138EtscCJ08ZCOtQt4irs/fx2k2KCCFGwcj8rI5CCDsr03p2n
+AZyKdZGV3oAyTbR18cDPJeuTKQuEV1nkN1G2hsc3VE/CvezMXt7NiJ4nR1bwQu1q
+beDeEBUc1ZVA6dDA5/Up75zUb9sUJNWBNumjpgpOv5Bydq6vZduw9ZiTJOxA8Pul
+Rlm7kzeItKAp0DO3qAP0cj0e4LUsfjBItoIMM97E/D+grs8A1MqQiJYdjA9ORR3V
+Kbwhe8ivfEq3oOB9stxTAPsHkJYbAaOBs+SCsXHHrWOZAbwHFSfATErkl7sUlCDM
+cnIerK6BsUYWArauKRxW/0q/BBKHFiE8Hj3K5FWjVNeZ8WwK3ss=
+=0CE5
+-----END PGP SIGNATURE-----
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.26.2.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.26.2.ebuild
new file mode 100644
index 00000000..d7281d4d
--- /dev/null
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.26.2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.36"
+
+inherit gnome2 linux-info readme.gentoo-r1 vala
+
+DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems"
+HOMEPAGE="https://wiki.gnome.org/Apps/Boxes"
+
+LICENSE="LGPL-2"
+SLOT="0"
+
+# We force 'bindist' due to licenses from gnome-boxes-nonfree
+IUSE="" #bindist
+
+KEYWORDS="~amd64"
+
+# NOTE: sys-fs/* stuff is called via exec()
+# FIXME: ovirt is not available in tree
+# FIXME: use vala.eclass but only because of libgd not being able
+# to use its pre-generated files so do not copy all the
+# vala deps like live ebuild has.
+# FIXME: qemu probably needs to depend on spice[smartcard]
+# directly with USE=spice
+RDEPEND="
+ >=app-arch/libarchive-3:=
+ >=dev-libs/glib-2.52:2
+ >=dev-libs/gobject-introspection-0.9.6:=
+ >=dev-libs/libxml2-2.7.8:2
+ >=sys-libs/libosinfo-0.2.12
+ >=app-emulation/qemu-1.3.1[spice,smartcard,usbredir]
+ >=app-emulation/libvirt-0.9.3[libvirtd,qemu]
+ >=app-emulation/libvirt-glib-0.2.3
+ >=x11-libs/gtk+-3.19.8:3
+ >=net-libs/gtk-vnc-0.4.4[gtk3(+)]
+ app-crypt/libsecret
+ app-emulation/spice[smartcard]
+ >=net-misc/spice-gtk-0.32[gtk3(+),smartcard,usbredir]
+ virtual/libusb:1
+
+ >=app-misc/tracker-0.16:0=[iso]
+
+ >=net-libs/libsoup-2.44:2.4
+
+ sys-fs/mtools
+ >=virtual/libgudev-165:=
+"
+# !bindist? ( gnome-extra/gnome-boxes-nonfree )
+# libxml2+gdk-pixbuf required for glib-compile-resources
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ app-text/yelp-tools
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ x11-libs/gdk-pixbuf:2
+"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM modules.
+If you have an Intel Processor, run:
+# modprobe kvm-intel
+
+If you have an AMD Processor, run:
+# modprobe kvm-amd"
+
+pkg_pretend() {
+ linux-info_get_any_version
+
+ if linux_config_exists; then
+ if ! { linux_chkconfig_present KVM_AMD || \
+ linux_chkconfig_present KVM_INTEL; }; then
+ ewarn "You need KVM support in your kernel to use GNOME Boxes!"
+ fi
+ fi
+}
+
+src_prepare() {
+ # Do not change CFLAGS, wondering about VALA ones but appears to be
+ # needed as noted in configure comments below
+ sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure{.ac,} || die
+
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # debug needed for splitdebug proper behavior (cardoe), bug #????
+ gnome2_src_configure \
+ --enable-debug \
+ --disable-strict-cc \
+ --disable-ovirt
+}
+
+src_install() {
+ gnome2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ readme.gentoo_print_elog
+}
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
index 40462419..1998516e 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VALA_USE_DEPEND="vapigen"
-VALA_MIN_API_VERSION="0.28"
+VALA_MIN_API_VERSION="0.36"
inherit gnome2 linux-info readme.gentoo-r1 vala
if [[ ${PV} = 9999 ]]; then
@@ -34,26 +34,26 @@ RDEPEND="
>=app-emulation/libvirt-0.9.3[libvirtd,qemu]
>=app-emulation/libvirt-glib-0.2.3
>=x11-libs/gtk+-3.19.8:3
- >=net-libs/gtk-vnc-0.4.4[gtk3]
+ >=net-libs/gtk-vnc-0.4.4[gtk3(+)]
app-crypt/libsecret
app-emulation/spice[smartcard]
- >=net-misc/spice-gtk-0.32[gtk3,smartcard,usbredir]
+ >=net-misc/spice-gtk-0.32[gtk3(+),smartcard,usbredir]
virtual/libusb:1
>=app-misc/tracker-0.16:0=[iso]
- >=sys-apps/util-linux-2.20
- >=net-libs/libsoup-2.38:2.4
+ >=net-libs/libsoup-2.44:2.4
sys-fs/mtools
>=virtual/libgudev-165:=
!bindist? ( gnome-extra/gnome-boxes-nonfree )
"
+# libxml2+gdk-pixbuf required for glib-compile-resources
DEPEND="${RDEPEND}
app-text/yelp-tools
- >=dev-util/intltool-0.40
- >=sys-devel/gettext-0.17
+ >=sys-devel/gettext-0.19.8
virtual/pkgconfig
+ x11-libs/gdk-pixbuf:2
"
if [[ ${PV} = 9999 ]]; then