diff options
-rw-r--r-- | app-emulation/virt-manager/ChangeLog | 9 | ||||
-rw-r--r-- | app-emulation/virt-manager/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/virt-manager/virt-manager-9999.ebuild | 93 |
3 files changed, 102 insertions, 3 deletions
diff --git a/app-emulation/virt-manager/ChangeLog b/app-emulation/virt-manager/ChangeLog index 3c77cf954611..8a1a94d9c4f0 100644 --- a/app-emulation/virt-manager/ChangeLog +++ b/app-emulation/virt-manager/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virt-manager -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.36 2010/09/03 22:03:40 cardoe Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.37 2011/01/13 16:16:35 cardoe Exp $ + +*virt-manager-9999 (13 Jan 2011) + + 13 Jan 2011; Doug Goldstein <cardoe@gentoo.org> +virt-manager-9999.ebuild: + Add ebuild for live hg checkouts 03 Sep 2010; Doug Goldstein <cardoe@gentoo.org> virt-manager-0.8.5.ebuild: Fix app-emulation/virtinst depend diff --git a/app-emulation/virt-manager/Manifest b/app-emulation/virt-manager/Manifest index 0cfa1a0c596a..fa503c01cfd4 100644 --- a/app-emulation/virt-manager/Manifest +++ b/app-emulation/virt-manager/Manifest @@ -9,5 +9,6 @@ EBUILD virt-manager-0.8.3.ebuild 1180 RMD160 a01dd05303a6bcd8ec9a6c19ee1aa5c4711 EBUILD virt-manager-0.8.4-r1.ebuild 1868 RMD160 dc54e2d0c29141c807ae58750203e46346ea9527 SHA1 53525a5c8ceda29ba8fc209dee0fbd2288950d01 SHA256 f0c581e4cb85da97c3d1b52891d35138137811b9ba8a6012cd72d72dbc3a596a EBUILD virt-manager-0.8.4-r2.ebuild 1937 RMD160 e25b94fb2f8945ccf7f06aec712a8df642b90f49 SHA1 85dec9b4fc57727c9337a4f8a8cc54f4f0343fc2 SHA256 446748b8ed86fd056b2bb410750b3fc7d9e3a9c1d8e49d2f98d966421f35f354 EBUILD virt-manager-0.8.5.ebuild 2010 RMD160 09eb23fad7d936e9f1cb44e1daed0a307e4fe7a4 SHA1 4d8df568c08a0b00485b03d765d3ae1676be0baa SHA256 4b287c4a07e0e06a852fc76fabaec005507bacdcaa13061a978b6a191af827a1 -MISC ChangeLog 7230 RMD160 aa6df1c016fa1175db2fa3ad6521af757d15acdb SHA1 95ac1cb80785a5afa569d179e8d13fd5697d0d0c SHA256 9eba084cf83284275b4fcd09d8bc00ddfe2c41858e9e32d97256f596f8a8f105 +EBUILD virt-manager-9999.ebuild 2656 RMD160 9fed6e3e55255288500293f171ad633c08f1f303 SHA1 00b7b344fa09d170532f9b582ca270e8b259efee SHA256 0427981f8e2e2fc9e9f62918babb7befc0156978600f46c158c2b95e876932b3 +MISC ChangeLog 7377 RMD160 f1ec07db120d74e2745446eb12104d855a4994c9 SHA1 59d2ae259561a65683ba026b5b6407a1cabbd9a0 SHA256 7b3fd3e3060d8d917b3d48da2836e9731a524c4fa6bcd9c2b120f880c11aff5f MISC metadata.xml 555 RMD160 958278f1fc6aa09e5864dd8fd5a8a242dbbccd9e SHA1 7476279e0c610b679ce61d96bbfc36396708807e SHA256 a52a5e2d7e7ea6bd78be3d02a294857193ff72aab24543385cf168f7b8efa53b diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild new file mode 100644 index 000000000000..c65b7667034b --- /dev/null +++ b/app-emulation/virt-manager/virt-manager-9999.ebuild @@ -0,0 +1,93 @@ +# 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-9999.ebuild,v 1.1 2011/01/13 16:16:35 cardoe Exp $ + +#BACKPORTS=1 + +EAPI=2 + +if [[ ${PV} = *9999* ]]; then + EHG_REPO_URI="http://hg.fedorahosted.org/hg/virt-manager" + HG_ECLASS="mercurial autotools" +fi + +PYTHON_DEPEND="2:2.4" + +# Stop gnome2.eclass from doing stuff on USE=debug +GCONF_DEBUG="no" + +inherit eutils gnome2 python ${HG_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}-backports-${BACKPORTS}.tar.bz2}" + KEYWORDS="~amd64 ~x86" + VIRTINSTDEP=">=app-emulation/virtinst-0.500.4" +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" +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[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? ( gnome-extra/polkit-gnome )" +DEPEND="${RDEPEND} + app-text/rarian + dev-util/intltool" + +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 + + # virt-manager's autogen.sh touches this and eautoreconf fails + # unless we do this + touch config.rpath + + rm -f 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.i + eautoreconf + + 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 +} |