From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-boxes/
Date: Sun, 25 Dec 2011 00:43:38 +0000 (UTC) [thread overview]
Message-ID: <09f4ae7cb009518c876947211efc20375c5a574b.nirbheek@gentoo> (raw)
commit: 09f4ae7cb009518c876947211efc20375c5a574b
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 19:06:31 2011 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 00:42:59 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=09f4ae7c
gnome-extra/gnome-boxes: 3.2.2 → 3.3.3
---
...boxes-3.3.2.ebuild => gnome-boxes-3.3.3.ebuild} | 40 ++++++++++++-------
| 40 ++++++++++++-------
2 files changed, 50 insertions(+), 30 deletions(-)
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.3.2.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.3.3.ebuild
similarity index 65%
rename from gnome-extra/gnome-boxes/gnome-boxes-3.3.2.ebuild
rename to gnome-extra/gnome-boxes/gnome-boxes-3.3.3.ebuild
index db26615..a238507 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-3.3.2.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.3.3.ebuild
@@ -5,7 +5,7 @@
EAPI="4"
GCONF_DEBUG="no"
-inherit gnome2
+inherit linux-info gnome2
if [[ ${PV} = 9999 ]]; then
inherit gnome2-live
fi
@@ -24,18 +24,23 @@ fi
# CHECK: We're hard-depending on qemu-kvm[spice]. Does app-emulation/qemu
# support spice or not?
+# NOTE: sys-fs/ stuff is called via exec()
RDEPEND="
>=dev-libs/libxml2-2.7.8:2
>=sys-fs/udev-167[gudev]
>=dev-libs/glib-2.29.90:2
>=dev-libs/gobject-introspection-0.9.6
- >=sys-libs/libosinfo-0.0.1
+ >=sys-libs/libosinfo-0.0.3
app-emulation/qemu-kvm[spice]
>=app-emulation/libvirt-0.9.3[libvirtd,qemu]
- >=app-emulation/libvirt-glib-0.0.2
+ >=app-emulation/libvirt-glib-0.0.3
>=x11-libs/gtk+-3.3.3:3
>=net-libs/gtk-vnc-0.4.4[gtk3]
- >=net-misc/spice-gtk-0.7.81[gtk3]"
+ >=net-misc/spice-gtk-0.7.98[gtk3]
+
+ sys-fs/fuse
+ sys-fs/fuseiso
+ sys-fs/mtools"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.22
>=dev-util/intltool-0.40
@@ -50,22 +55,27 @@ if [[ ${PV} = 9999 ]]; then
>=net-misc/spice-gtk-0.7.1[introspection,vala]"
fi
+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
+}
+
pkg_setup() {
- DOCS="AUTHORS MAINTAINERS README TODO"
+ DOCS="AUTHORS README NEWS THANKS TODO"
G2CONF="--disable-schemas-compile
--disable-strict-cc
VALAC=$(type -P valac-0.14)"
}
pkg_postinst() {
- gnome2_pkg_postinst
- elog "You need to start the libvirtd daemon to use ${PN}."
- elog "If you use openrc, this can be accomplished by running:"
- elog ""
- elog " rc-service libvirtd start"
- elog ""
- elog "To add libvirtd to your default runlevel, run:"
- elog ""
- elog " rc-update add libvirtd default"
- elog ""
+ elog "Before running gnome-boxes, you will need to load the KVM modules"
+ elog "If you have an Intel Processor, run:"
+ elog " modprobe kvm kvm-intel"
+ einfo
+ elog "If you have an AMD Processor, run:"
+ elog " modprobe kvm kvm-amd"
}
--git a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
index db26615..a238507 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
@@ -5,7 +5,7 @@
EAPI="4"
GCONF_DEBUG="no"
-inherit gnome2
+inherit linux-info gnome2
if [[ ${PV} = 9999 ]]; then
inherit gnome2-live
fi
@@ -24,18 +24,23 @@ fi
# CHECK: We're hard-depending on qemu-kvm[spice]. Does app-emulation/qemu
# support spice or not?
+# NOTE: sys-fs/ stuff is called via exec()
RDEPEND="
>=dev-libs/libxml2-2.7.8:2
>=sys-fs/udev-167[gudev]
>=dev-libs/glib-2.29.90:2
>=dev-libs/gobject-introspection-0.9.6
- >=sys-libs/libosinfo-0.0.1
+ >=sys-libs/libosinfo-0.0.3
app-emulation/qemu-kvm[spice]
>=app-emulation/libvirt-0.9.3[libvirtd,qemu]
- >=app-emulation/libvirt-glib-0.0.2
+ >=app-emulation/libvirt-glib-0.0.3
>=x11-libs/gtk+-3.3.3:3
>=net-libs/gtk-vnc-0.4.4[gtk3]
- >=net-misc/spice-gtk-0.7.81[gtk3]"
+ >=net-misc/spice-gtk-0.7.98[gtk3]
+
+ sys-fs/fuse
+ sys-fs/fuseiso
+ sys-fs/mtools"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.22
>=dev-util/intltool-0.40
@@ -50,22 +55,27 @@ if [[ ${PV} = 9999 ]]; then
>=net-misc/spice-gtk-0.7.1[introspection,vala]"
fi
+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
+}
+
pkg_setup() {
- DOCS="AUTHORS MAINTAINERS README TODO"
+ DOCS="AUTHORS README NEWS THANKS TODO"
G2CONF="--disable-schemas-compile
--disable-strict-cc
VALAC=$(type -P valac-0.14)"
}
pkg_postinst() {
- gnome2_pkg_postinst
- elog "You need to start the libvirtd daemon to use ${PN}."
- elog "If you use openrc, this can be accomplished by running:"
- elog ""
- elog " rc-service libvirtd start"
- elog ""
- elog "To add libvirtd to your default runlevel, run:"
- elog ""
- elog " rc-update add libvirtd default"
- elog ""
+ elog "Before running gnome-boxes, you will need to load the KVM modules"
+ elog "If you have an Intel Processor, run:"
+ elog " modprobe kvm kvm-intel"
+ einfo
+ elog "If you have an AMD Processor, run:"
+ elog " modprobe kvm kvm-amd"
}
next reply other threads:[~2011-12-25 0:43 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-25 0:43 Nirbheek Chauhan [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-12-22 23:11 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-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=09f4ae7cb009518c876947211efc20375c5a574b.nirbheek@gentoo \
--to=nirbheek@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