summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2011-07-21 21:39:41 +0000
committerDoug Goldstein <cardoe@gentoo.org>2011-07-21 21:39:41 +0000
commit614f474ba4f382408bac4a4879b31a3add0c64b7 (patch)
treee977d4340652b71c0756131b7f86655c475a01e9 /app-emulation/virt-manager
parentAdd ~mips to 7.9999 and 9999 ebuilds so that the keyword doesn't get lost again. (diff)
downloadgentoo-2-614f474ba4f382408bac4a4879b31a3add0c64b7.tar.gz
gentoo-2-614f474ba4f382408bac4a4879b31a3add0c64b7.tar.bz2
gentoo-2-614f474ba4f382408bac4a4879b31a3add0c64b7.zip
Removed installation of the TUI version of virt-manager. Support SPICE
virtual machines. Patch from Malte Starostik <m-starostik@versanet.de>. bug #356825 (Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virt-manager')
-rw-r--r--app-emulation/virt-manager/ChangeLog10
-rw-r--r--app-emulation/virt-manager/metadata.xml3
-rw-r--r--app-emulation/virt-manager/virt-manager-0.8.7-r3.ebuild78
3 files changed, 90 insertions, 1 deletions
diff --git a/app-emulation/virt-manager/ChangeLog b/app-emulation/virt-manager/ChangeLog
index ebca14d7e369..10cfa80037e6 100644
--- a/app-emulation/virt-manager/ChangeLog
+++ b/app-emulation/virt-manager/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emulation/virt-manager
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.49 2011/07/21 21:08:50 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.50 2011/07/21 21:39:41 cardoe Exp $
+
+*virt-manager-0.8.7-r3 (21 Jul 2011)
+
+ 21 Jul 2011; Doug Goldstein <cardoe@gentoo.org>
+ +virt-manager-0.8.7-r3.ebuild, metadata.xml:
+ Removed installation of the TUI version of virt-manager. Support SPICE
+ virtual machines. Patch from Malte Starostik <m-starostik@versanet.de>.
+ bug #356825
21 Jul 2011; Doug Goldstein <cardoe@gentoo.org> virt-manager-9999.ebuild:
Switch to git-2 eclass from git eclass.
diff --git a/app-emulation/virt-manager/metadata.xml b/app-emulation/virt-manager/metadata.xml
index b52b644d0fa1..28dcc7d8d2b8 100644
--- a/app-emulation/virt-manager/metadata.xml
+++ b/app-emulation/virt-manager/metadata.xml
@@ -13,5 +13,8 @@
Depend on the proper libraries needed to connect to SASL-enabled
libvirtd instances (e.g. Kerberos-protected instances).
</flag>
+ <flag name='spice'>
+ Support connecting to SPICE-enabled virtual machines.
+ </flag>
</use>
</pkgmetadata>
diff --git a/app-emulation/virt-manager/virt-manager-0.8.7-r3.ebuild b/app-emulation/virt-manager/virt-manager-0.8.7-r3.ebuild
new file mode 100644
index 000000000000..d3ea5d9bd5d2
--- /dev/null
+++ b/app-emulation/virt-manager/virt-manager-0.8.7-r3.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.8.7-r3.ebuild,v 1.1 2011/07/21 21:39:41 cardoe Exp $
+
+#BACKPORTS=
+
+EAPI=2
+
+PYTHON_DEPEND="2:2.4"
+
+# Stop gnome2.eclass from doing stuff on USE=debug
+GCONF_DEBUG="no"
+
+inherit eutils gnome2 python ${HG_ECLASS}
+
+SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz
+ ${BACKPORTS:+mirror://gentoo/${P}-backports-${BACKPORTS}.tar.bz2}"
+KEYWORDS="~amd64"
+VIRTINSTDEP=">=app-emulation/virtinst-0.500.6"
+
+DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)"
+HOMEPAGE="http://virt-manager.org/"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gnome-keyring policykit sasl spice"
+RDEPEND=">=dev-python/pygtk-1.99.12
+ >=app-emulation/libvirt-0.7.0[python,sasl?]
+ >=dev-libs/libxml2-2.6.23[python]
+ ${VIRTINSTDEP}
+ >=gnome-base/librsvg-2
+ >=x11-libs/vte-0.12.2:0[python]
+ >=net-libs/gtk-vnc-0.3.8[python,sasl?]
+ >=dev-python/dbus-python-0.61
+ >=dev-python/gconf-python-1.99.11
+ dev-python/urlgrabber
+ gnome-keyring? ( dev-python/gnome-keyring-python )
+ policykit? ( sys-auth/polkit )
+ spice? ( >=net-misc/spice-gtk-0.6[python,sasl?,-gtk3] )"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ dev-util/intltool"
+
+# The TUI (terminal UI) requires newt_syrup which is not packaged on
+# Gentoo. bug #356711
+G2CONF="--without-tui"
+
+src_prepare() {
+ sed -e "s/python/python2/" -i src/virt-manager.in || \
+ die "python2 update failed"
+
+ [[ -n ${BACKPORTS} ]] && \
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
+ epatch
+
+ epatch "${FILESDIR}/${P}-vcpu-stats.patch"
+
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+
+ insinto /usr/share/virt-manager/pixmaps/
+ doins "${S}"/pixmaps/*.png
+ doins "${S}"/pixmaps/*.svg
+
+ insinto /usr/share/virt-manager/pixmaps/hicolor/16x16/actions/
+ doins "${S}"/pixmaps/hicolor/16x16/actions/*.png
+
+ insinto /usr/share/virt-manager/pixmaps/hicolor/22x22/actions/
+ doins "${S}"/pixmaps/hicolor/22x22/actions/*.png
+
+ insinto /usr/share/virt-manager/pixmaps/hicolor/24x24/actions/
+ doins "${S}"/pixmaps/hicolor/24x24/actions/*.png
+
+ insinto /usr/share/virt-manager/pixmaps/hicolor/32x32/actions/
+ doins "${S}"/pixmaps/hicolor/32x32/actions/*.png
+}