diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2011-08-08 18:26:29 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2011-08-08 18:26:29 +0000 |
commit | 0e6b90e2187158a0c0a0b41041dc741d5cd3ce2b (patch) | |
tree | 62bf4ee90789f112830b88ab7d6d508023a1a0ba /app-emulation | |
parent | Ignore test failures with Jython. Update HOMEPAGE. Fix dependencies. Set PYTH... (diff) | |
download | gentoo-2-0e6b90e2187158a0c0a0b41041dc741d5cd3ce2b.tar.gz gentoo-2-0e6b90e2187158a0c0a0b41041dc741d5cd3ce2b.tar.bz2 gentoo-2-0e6b90e2187158a0c0a0b41041dc741d5cd3ce2b.zip |
Fix issue where network stat I/O wasn't being displayed and the debug console was spewing errors
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virt-manager/ChangeLog | 9 | ||||
-rw-r--r-- | app-emulation/virt-manager/virt-manager-0.9.0-r1.ebuild | 101 |
2 files changed, 109 insertions, 1 deletions
diff --git a/app-emulation/virt-manager/ChangeLog b/app-emulation/virt-manager/ChangeLog index 54a4ab9a6e36..cc398d8d1c7b 100644 --- a/app-emulation/virt-manager/ChangeLog +++ b/app-emulation/virt-manager/ChangeLog @@ -1,6 +1,13 @@ # 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.56 2011/07/28 22:04:11 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.57 2011/08/08 18:26:29 cardoe Exp $ + +*virt-manager-0.9.0-r1 (08 Aug 2011) + + 08 Aug 2011; Doug Goldstein <cardoe@gentoo.org> + +virt-manager-0.9.0-r1.ebuild: + Fix issue where network stat I/O wasn't being displayed and the debug console + was spewing errors 28 Jul 2011; Doug Goldstein <cardoe@gentoo.org> virt-manager-0.9.0.ebuild: Remove bad patch reference diff --git a/app-emulation/virt-manager/virt-manager-0.9.0-r1.ebuild b/app-emulation/virt-manager/virt-manager-0.9.0-r1.ebuild new file mode 100644 index 000000000000..747491d2f32a --- /dev/null +++ b/app-emulation/virt-manager/virt-manager-0.9.0-r1.ebuild @@ -0,0 +1,101 @@ +# 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.9.0-r1.ebuild,v 1.1 2011/08/08 18:26:29 cardoe Exp $ + +BACKPORTS=1 + +EAPI=2 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="http://git.fedorahosted.org/git/virt-manager.git" + GIT_ECLASS="git-2 autotools" +fi + +PYTHON_DEPEND="2:2.4" + +# Stop gnome2.eclass from doing stuff on USE=debug +GCONF_DEBUG="no" + +inherit eutils gnome2 python ${GIT_ECLASS} + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" + VIRTINSTDEP=">=app-emulation/virtinst-9999" +else + SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz + ${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2 + http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}" + KEYWORDS="~amd64 ~x86" + VIRTINSTDEP=">=app-emulation/virtinst-0.500.6" +fi + +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 + + if [[ ${PV} = *9999* ]]; then + # virt-manager's autogen.sh touches this and eautoreconf fails + # unless we do this + touch config.rpath + + rm -rf config.status + intltoolize --automake --copy --force + perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in + perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' \ + po/Makefile.in.in + eautoreconf + fi + + 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 +} |