From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RecBn-0000NG-Vm for garchives@archives.gentoo.org; Sun, 25 Dec 2011 00:43:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 998C121C05A; Sun, 25 Dec 2011 00:43:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5687121C05A for ; Sun, 25 Dec 2011 00:43:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C217A1B4004 for ; Sun, 25 Dec 2011 00:43:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BAC8980051 for ; Sun, 25 Dec 2011 00:43:38 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" Message-ID: <09f4ae7cb009518c876947211efc20375c5a574b.nirbheek@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-boxes/ X-VCS-Repository: proj/gnome X-VCS-Files: gnome-extra/gnome-boxes/gnome-boxes-3.3.2.ebuild gnome-extra/gnome-boxes/gnome-boxes-3.3.3.ebuild gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild X-VCS-Directories: gnome-extra/gnome-boxes/ X-VCS-Committer: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: 09f4ae7cb009518c876947211efc20375c5a574b Date: Sun, 25 Dec 2011 00:43:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6973b9a8-4dc0-4676-89db-532f54d3ecb6 X-Archives-Hash: dd113044d3543ff9b2e16b30cae40bba commit: 09f4ae7cb009518c876947211efc20375c5a574b Author: Nirbheek Chauhan gentoo org> AuthorDate: Sat Dec 24 19:06:31 2011 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Sun Dec 25 00:42:59 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D09f4ae7c gnome-extra/gnome-boxes: 3.2.2 =E2=86=92 3.3.3 --- ...boxes-3.3.2.ebuild =3D> gnome-boxes-3.3.3.ebuild} | 40 ++++++++++++= ------- gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild | 40 ++++++++++++--= ----- 2 files changed, 50 insertions(+), 30 deletions(-) diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.3.2.ebuild b/gnome-ext= ra/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=3D"4" GCONF_DEBUG=3D"no" =20 -inherit gnome2 +inherit linux-info gnome2 if [[ ${PV} =3D 9999 ]]; then inherit gnome2-live fi @@ -24,18 +24,23 @@ fi =20 # CHECK: We're hard-depending on qemu-kvm[spice]. Does app-emulation/qem= u # support spice or not? +# NOTE: sys-fs/ stuff is called via exec() RDEPEND=3D" >=3Ddev-libs/libxml2-2.7.8:2 >=3Dsys-fs/udev-167[gudev] >=3Ddev-libs/glib-2.29.90:2 >=3Ddev-libs/gobject-introspection-0.9.6 - >=3Dsys-libs/libosinfo-0.0.1 + >=3Dsys-libs/libosinfo-0.0.3 app-emulation/qemu-kvm[spice] >=3Dapp-emulation/libvirt-0.9.3[libvirtd,qemu] - >=3Dapp-emulation/libvirt-glib-0.0.2 + >=3Dapp-emulation/libvirt-glib-0.0.3 >=3Dx11-libs/gtk+-3.3.3:3 >=3Dnet-libs/gtk-vnc-0.4.4[gtk3] - >=3Dnet-misc/spice-gtk-0.7.81[gtk3]" + >=3Dnet-misc/spice-gtk-0.7.98[gtk3] + + sys-fs/fuse + sys-fs/fuseiso + sys-fs/mtools" DEPEND=3D"${RDEPEND} >=3Ddev-util/pkgconfig-0.22 >=3Ddev-util/intltool-0.40 @@ -50,22 +55,27 @@ if [[ ${PV} =3D 9999 ]]; then >=3Dnet-misc/spice-gtk-0.7.1[introspection,vala]" fi =20 +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=3D"AUTHORS MAINTAINERS README TODO" + DOCS=3D"AUTHORS README NEWS THANKS TODO" G2CONF=3D"--disable-schemas-compile --disable-strict-cc VALAC=3D$(type -P valac-0.14)" } =20 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" } diff --git a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild b/gnome-extr= a/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=3D"4" GCONF_DEBUG=3D"no" =20 -inherit gnome2 +inherit linux-info gnome2 if [[ ${PV} =3D 9999 ]]; then inherit gnome2-live fi @@ -24,18 +24,23 @@ fi =20 # CHECK: We're hard-depending on qemu-kvm[spice]. Does app-emulation/qem= u # support spice or not? +# NOTE: sys-fs/ stuff is called via exec() RDEPEND=3D" >=3Ddev-libs/libxml2-2.7.8:2 >=3Dsys-fs/udev-167[gudev] >=3Ddev-libs/glib-2.29.90:2 >=3Ddev-libs/gobject-introspection-0.9.6 - >=3Dsys-libs/libosinfo-0.0.1 + >=3Dsys-libs/libosinfo-0.0.3 app-emulation/qemu-kvm[spice] >=3Dapp-emulation/libvirt-0.9.3[libvirtd,qemu] - >=3Dapp-emulation/libvirt-glib-0.0.2 + >=3Dapp-emulation/libvirt-glib-0.0.3 >=3Dx11-libs/gtk+-3.3.3:3 >=3Dnet-libs/gtk-vnc-0.4.4[gtk3] - >=3Dnet-misc/spice-gtk-0.7.81[gtk3]" + >=3Dnet-misc/spice-gtk-0.7.98[gtk3] + + sys-fs/fuse + sys-fs/fuseiso + sys-fs/mtools" DEPEND=3D"${RDEPEND} >=3Ddev-util/pkgconfig-0.22 >=3Ddev-util/intltool-0.40 @@ -50,22 +55,27 @@ if [[ ${PV} =3D 9999 ]]; then >=3Dnet-misc/spice-gtk-0.7.1[introspection,vala]" fi =20 +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=3D"AUTHORS MAINTAINERS README TODO" + DOCS=3D"AUTHORS README NEWS THANKS TODO" G2CONF=3D"--disable-schemas-compile --disable-strict-cc VALAC=3D$(type -P valac-0.14)" } =20 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" }