public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-boxes/
Date: Mon, 22 Dec 2014 23:11:30 +0000 (UTC)	[thread overview]
Message-ID: <1419289770.840d2c568680620de76905c54c15dc603466daf8.eva@gentoo> (raw)

commit:     840d2c568680620de76905c54c15dc603466daf8
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 23:08:20 2014 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 23:09:30 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=840d2c56

gnome-extra/gnome-boxes: moved to gentoo-x86, sync live ebuild

---
 gnome-extra/gnome-boxes/gnome-boxes-3.14.2.ebuild | 105 ----------------------
 gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild   |  10 ++-
 2 files changed, 6 insertions(+), 109 deletions(-)

diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.14.2.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.14.2.ebuild
deleted file mode 100644
index 2779d8d..0000000
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.14.2.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-GCONF_DEBUG="no"
-VALA_USE_DEPEND="vapigen"
-VALA_MIN_API_VERSION="0.26"
-
-inherit linux-info gnome2 readme.gentoo 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 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
-# 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.
-RDEPEND="
-	>=app-arch/libarchive-3:=
-	>=dev-libs/glib-2.38:2
-	>=dev-libs/gobject-introspection-0.9.6
-	>=dev-libs/libxml2-2.7.8:2
-	>=sys-libs/libosinfo-0.2.11
-	>=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?]
-	>=app-emulation/libvirt-0.9.3[libvirtd,qemu]
-	>=app-emulation/libvirt-glib-0.1.9
-	>=x11-libs/gtk+-3.13.2: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]
-
-	>=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}
-	$(vala_depend)
-	app-text/yelp-tools
-	dev-util/desktop-file-utils
-	>=dev-util/intltool-0.40
-	>=sys-devel/gettext-0.17
-	virtual/pkgconfig
-"
-
-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_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() {
-	# debug needed for splitdebug proper behavior (cardoe), bug #????
-	gnome2_src_configure \
-		--enable-debug \
-		--disable-strict-cc \
-		$(use_enable usbredir) \
-		$(use_enable smartcard) \
-		--enable-ovirt=no
-}
-
-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 a6edd58..b1b0de6 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
@@ -77,11 +77,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
 }
 


             reply	other threads:[~2014-12-22 23:11 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 23:11 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-11 10:10 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-boxes/ Mart Raudsepp
2019-02-23 20:37 Mart Raudsepp
2018-12-09 17:52 Gilles Dartiguelongue
2018-12-09 17:43 Gilles Dartiguelongue
2018-12-09 17:43 Gilles Dartiguelongue
2018-12-09 17:36 Gilles Dartiguelongue
2018-12-09 17:36 Gilles Dartiguelongue
2018-12-08 16:54 Gilles Dartiguelongue
2018-05-27 17:49 Gilles Dartiguelongue
2017-08-11  7:19 Gilles Dartiguelongue
2015-06-10 10:37 Gilles Dartiguelongue
2015-05-12 22:20 Gilles Dartiguelongue
2014-11-23 22:28 Gilles Dartiguelongue
2014-11-03 23:24 Gilles Dartiguelongue
2014-11-02 15:58 Gilles Dartiguelongue
2014-10-18 14:55 Gilles Dartiguelongue
2014-10-13 21:51 Gilles Dartiguelongue
2014-04-21 22:31 Gilles Dartiguelongue
2014-04-20 18:17 Gilles Dartiguelongue
2014-02-12 20:58 Gilles Dartiguelongue
2013-12-01 16:18 Gilles Dartiguelongue
2013-06-12 22:20 Nirbheek Chauhan
2013-04-09 21:11 Gilles Dartiguelongue
2013-03-04 23:08 Gilles Dartiguelongue
2013-02-20 22:41 Gilles Dartiguelongue
2012-11-20  8:10 Gilles Dartiguelongue
2012-10-30 22:03 Gilles Dartiguelongue
2012-05-05 10:03 Nirbheek Chauhan
2012-04-02  7:30 Nirbheek Chauhan
2012-03-26  8:20 Nirbheek Chauhan
2012-03-15 15:44 Nirbheek Chauhan
2012-03-07 16:45 Alexandre Restovtsev
2012-01-26  7:08 Nirbheek Chauhan
2012-01-16 22:30 Nirbheek Chauhan
2011-12-25  0:43 Nirbheek Chauhan
2011-11-22 20:07 Nirbheek Chauhan
2011-11-22 12:32 Nirbheek Chauhan
2011-11-16 23:55 Nirbheek Chauhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1419289770.840d2c568680620de76905c54c15dc603466daf8.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox