summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2014-12-21 11:23:11 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2014-12-21 11:23:11 +0000
commit49a12118569afe7b51d8229f119c66b0b6347e24 (patch)
tree0905c7e849892241e7a82ff8f8350fd4e388eabe /gnome-extra/gnome-boxes
parentrm old (diff)
downloadgentoo-2-49a12118569afe7b51d8229f119c66b0b6347e24.tar.gz
gentoo-2-49a12118569afe7b51d8229f119c66b0b6347e24.tar.bz2
gentoo-2-49a12118569afe7b51d8229f119c66b0b6347e24.zip
Fix kernel configuration check, bug #504822. Clean up old revision.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'gnome-extra/gnome-boxes')
-rw-r--r--gnome-extra/gnome-boxes/ChangeLog6
-rw-r--r--gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild95
-rw-r--r--gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild12
3 files changed, 12 insertions, 101 deletions
diff --git a/gnome-extra/gnome-boxes/ChangeLog b/gnome-extra/gnome-boxes/ChangeLog
index d627ce62be49..d645c83b4d54 100644
--- a/gnome-extra/gnome-boxes/ChangeLog
+++ b/gnome-extra/gnome-boxes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/gnome-boxes
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-boxes/ChangeLog,v 1.9 2014/07/24 18:20:19 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-boxes/ChangeLog,v 1.10 2014/12/21 11:23:11 eva Exp $
+
+ 21 Dec 2014; Gilles Dartiguelongue <eva@gentoo.org>
+ -gnome-boxes-3.10.2.ebuild, gnome-boxes-3.12.3.ebuild:
+ Fix kernel configuration check, bug #504822. Clean up old revision.
24 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> gnome-boxes-3.10.2.ebuild,
gnome-boxes-3.12.3.ebuild:
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild
deleted file mode 100644
index e06dbfa6cc9b..000000000000
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-boxes/gnome-boxes-3.10.2.ebuild,v 1.5 2014/07/24 18:20:19 ssuominen Exp $
-
-EAPI="5"
-GCONF_DEBUG="no"
-VALA_USE_DEPEND="vapigen"
-VALA_MIN_API_VERSION="0.22"
-
-inherit linux-info gnome2 vala
-
-DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems"
-HOMEPAGE="https://wiki.gnome.org/Design/Apps/Boxes"
-
-LICENSE="LGPL-2"
-SLOT="0"
-
-# We force 'bindist' due licenses from gnome-boxes-nonfree
-IUSE="smartcard usbredir" #bindist
-KEYWORDS="amd64" # qemu-kvm[spice] is 64bit-only
-
-# NOTE: sys-fs/* stuff is called via exec()
-# FIXME: ovirt is not available in tree
-RDEPEND="
- >=dev-libs/glib-2.32:2
- >=dev-libs/gobject-introspection-0.9.6
- >=dev-libs/libxml2-2.7.8:2
- >=sys-libs/libosinfo-0.2.7
- >=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?]
- >=app-emulation/libvirt-0.9.3[libvirtd,qemu]
- >=app-emulation/libvirt-glib-0.1.7
- >=x11-libs/gtk+-3.9:3
- >=net-libs/gtk-vnc-0.4.4[gtk3]
- >=net-misc/spice-gtk-0.16[gtk3,smartcard?,usbredir?]
-
- >=app-misc/tracker-0.16:0=[iso]
-
- >=media-libs/clutter-gtk-1.3.2:1.0
- >=media-libs/clutter-1.11.14:1.0
- >=sys-apps/util-linux-2.20
- >=net-libs/libsoup-2.38:2.4
-
- sys-fs/fuse
- sys-fs/fuseiso
- sys-fs/mtools
- virtual/libgudev:=
-"
-# !bindist? ( gnome-extra/gnome-boxes-nonfree )
-
-DEPEND="${RDEPEND}
- app-text/yelp-tools
- dev-util/desktop-file-utils
- >=dev-util/intltool-0.40
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
-"
-
-pkg_pretend() {
- linux_config_exists
-
- 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
-}
-
-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() {
- DOCS="AUTHORS README NEWS THANKS TODO"
- # debug needed for splitdebug proper behavior (cardoe)
- gnome2_src_configure \
- --enable-debug \
- --disable-strict-cc \
- $(use_enable usbredir) \
- $(use_enable smartcard) \
- --enable-ovirt=no
-}
-
-pkg_postinst() {
- gnome2_pkg_postinst
- elog "Before running gnome-boxes, you will need to load the KVM modules"
- elog "If you have an Intel Processor, run:"
- elog " modprobe kvm-intel"
- einfo
- elog "If you have an AMD Processor, run:"
- elog " modprobe kvm-amd"
-}
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild
index 94554bef4078..efbda5d0ae61 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild,v 1.3 2014/07/24 18:20:19 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-boxes/gnome-boxes-3.12.3.ebuild,v 1.4 2014/12/21 11:23:11 eva Exp $
EAPI="5"
GCONF_DEBUG="no"
@@ -62,11 +62,13 @@ If you have an AMD Processor, run:
# modprobe kvm-amd"
pkg_pretend() {
- linux_config_exists
+ linux-info_get_any_version
- if ! { linux_chkconfig_present KVM_AMD || \
- linux_chkconfig_present KVM_INTEL; }; then
- ewarn "You need KVM support in your kernel to use GNOME Boxes!"
+ 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
}