pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add virt-manager v2.2.1



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Sun Oct 20 10:32:30 2019 +0300
Changeset:	c65af67deaf16099414083cbadb05b3db4f911bc

Added Files:
	virt-manager/DESCR
	virt-manager/Makefile
	virt-manager/PLIST
	virt-manager/distinfo
	virt-manager/patches/patch-virtManager_createconn.py
	virt-manager/patches/patch-virtManager_engine.py

Log Message:
Add virt-manager v2.2.1

The "Virtual Machine Manager" application (virt-manager for short package name)
is a desktop user interface for managing virtual machines. It presents a
summary view of running domains, their live performance & resource utilization
statistics. The detailed view graphs performance & utilization over time.
Wizards enable the creation of new domains, and configuration & adjustment of a
domain's resource allocation & virtual hardware. An embedded VNC client viewer
presents a full graphical console to the guest domain.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c65af67deaf16099414083cbadb05b3db4f911bc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 virt-manager/DESCR                                 |   7 +
 virt-manager/Makefile                              |  45 ++++
 virt-manager/PLIST                                 | 266 +++++++++++++++++++++
 virt-manager/distinfo                              |   8 +
 .../patches/patch-virtManager_createconn.py        |  16 ++
 virt-manager/patches/patch-virtManager_engine.py   |  17 ++
 6 files changed, 359 insertions(+)

diffs:
diff --git a/virt-manager/DESCR b/virt-manager/DESCR
new file mode 100644
index 0000000000..b827da5e21
--- /dev/null
+++ b/virt-manager/DESCR
@@ -0,0 +1,7 @@
+The "Virtual Machine Manager" application (virt-manager for short package name)
+is a desktop user interface for managing virtual machines. It presents a
+summary view of running domains, their live performance & resource utilization
+statistics. The detailed view graphs performance & utilization over time.
+Wizards enable the creation of new domains, and configuration & adjustment of a
+domain's resource allocation & virtual hardware. An embedded VNC client viewer
+presents a full graphical console to the guest domain.
diff --git a/virt-manager/Makefile b/virt-manager/Makefile
new file mode 100644
index 0000000000..f58574eece
--- /dev/null
+++ b/virt-manager/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.39 2019/09/02 13:20:09 adam Exp $
+
+DISTNAME=	virt-manager-2.2.1
+CATEGORIES=	sysutils
+MASTER_SITES=	http://virt-manager.org/download/sources/virt-manager/
+
+MAINTAINER=	gls%NetBSD.org@localhost
+HOMEPAGE=	http://virt-manager.org/
+COMMENT=	GUI to manage virtual machines
+LICENSE=	gnu-gpl-v2
+
+USE_TOOLS+=	intltool
+
+REPLACE_PYTHON+=	virt-clone
+REPLACE_PYTHON+=	virt-convert
+REPLACE_PYTHON+=	virt-install
+REPLACE_PYTHON+=	virt-manager
+REPLACE_PYTHON+=	virt-xml
+
+PYSETUPCONFIGTARGET?=	configure
+PYSETUPCONFIGARGS=	--prefix=${PREFIX}
+PYSETUPINSTALLARGS=	--prefix=${PREFIX}
+
+SUBST_CLASSES+=		pkgsrcvar
+SUBST_STAGE.pkgsrcvar=	do-build
+SUBST_FILES.pkgsrcvar=	virtManager/createconn.py virtManager/engine.py
+SUBST_VARS.pkgsrcvar+=	LOCALBASE VARBASE
+
+do-configure:
+	(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \
+	 ${PYSETUP} ${PYSETUPARGS} ${PYSETUPCONFIGTARGET} ${PYSETUPCONFIGARGS})
+
+
+DEPENDS+=	${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+DEPENDS+=	${PYPKGPREFIX}-libvirt-[0-9]*:../../wip/py-libvirt
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../wip/libosinfo/buildlink3.mk"
+.include "../../wip/libvirt-glib/buildlink3.mk"
+.include "../../wip/vte/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/virt-manager/PLIST b/virt-manager/PLIST
new file mode 100644
index 0000000000..6847a5d971
--- /dev/null
+++ b/virt-manager/PLIST
@@ -0,0 +1,266 @@
+@comment $NetBSD$
+bin/virt-clone
+bin/virt-convert
+bin/virt-install
+bin/virt-manager
+bin/virt-xml
+share/appdata/virt-manager.appdata.xml
+share/applications/virt-manager.desktop
+share/bash-completion/completions/virt-clone
+share/bash-completion/completions/virt-convert
+share/bash-completion/completions/virt-install
+share/bash-completion/completions/virt-xml
+share/glib-2.0/schemas/gschemas.compiled
+share/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
+share/icons/hicolor/16x16/apps/virt-manager.png
+share/icons/hicolor/22x22/apps/virt-manager.png
+share/icons/hicolor/24x24/apps/virt-manager.png
+share/icons/hicolor/256x256/apps/virt-manager.png
+share/icons/hicolor/32x32/apps/virt-manager.png
+share/icons/hicolor/48x48/apps/virt-manager.png
+share/locale/as/LC_MESSAGES/virt-manager.mo
+share/locale/bg/LC_MESSAGES/virt-manager.mo
+share/locale/bn_IN/LC_MESSAGES/virt-manager.mo
+share/locale/bs/LC_MESSAGES/virt-manager.mo
+share/locale/ca/LC_MESSAGES/virt-manager.mo
+share/locale/cmn/LC_MESSAGES/virt-manager.mo
+share/locale/cs/LC_MESSAGES/virt-manager.mo
+share/locale/da/LC_MESSAGES/virt-manager.mo
+share/locale/de/LC_MESSAGES/virt-manager.mo
+share/locale/en_GB/LC_MESSAGES/virt-manager.mo
+share/locale/es/LC_MESSAGES/virt-manager.mo
+share/locale/fi/LC_MESSAGES/virt-manager.mo
+share/locale/fr/LC_MESSAGES/virt-manager.mo
+share/locale/gu/LC_MESSAGES/virt-manager.mo
+share/locale/hi/LC_MESSAGES/virt-manager.mo
+share/locale/hr/LC_MESSAGES/virt-manager.mo
+share/locale/hu/LC_MESSAGES/virt-manager.mo
+share/locale/is/LC_MESSAGES/virt-manager.mo
+share/locale/it/LC_MESSAGES/virt-manager.mo
+share/locale/ja/LC_MESSAGES/virt-manager.mo
+share/locale/kn/LC_MESSAGES/virt-manager.mo
+share/locale/ko/LC_MESSAGES/virt-manager.mo
+share/locale/ml/LC_MESSAGES/virt-manager.mo
+share/locale/mr/LC_MESSAGES/virt-manager.mo
+share/locale/ms/LC_MESSAGES/virt-manager.mo
+share/locale/nb/LC_MESSAGES/virt-manager.mo
+share/locale/nl/LC_MESSAGES/virt-manager.mo
+share/locale/or/LC_MESSAGES/virt-manager.mo
+share/locale/pa/LC_MESSAGES/virt-manager.mo
+share/locale/pl/LC_MESSAGES/virt-manager.mo
+share/locale/pt/LC_MESSAGES/virt-manager.mo
+share/locale/pt_BR/LC_MESSAGES/virt-manager.mo
+share/locale/ro/LC_MESSAGES/virt-manager.mo
+share/locale/ru/LC_MESSAGES/virt-manager.mo
+share/locale/sk/LC_MESSAGES/virt-manager.mo
+share/locale/sr/LC_MESSAGES/virt-manager.mo
+share/locale/sr@latin/LC_MESSAGES/virt-manager.mo
+share/locale/sv/LC_MESSAGES/virt-manager.mo
+share/locale/ta/LC_MESSAGES/virt-manager.mo
+share/locale/te/LC_MESSAGES/virt-manager.mo
+share/locale/tr/LC_MESSAGES/virt-manager.mo
+share/locale/uk/LC_MESSAGES/virt-manager.mo
+share/locale/vi/LC_MESSAGES/virt-manager.mo
+share/locale/zh_CN/LC_MESSAGES/virt-manager.mo
+share/locale/zh_TW/LC_MESSAGES/virt-manager.mo
+share/man/man1/virt-clone.1
+share/man/man1/virt-convert.1
+share/man/man1/virt-install.1
+share/man/man1/virt-manager.1
+share/man/man1/virt-xml.1
+share/virt-manager/icons/hicolor/16x16/actions/icon_console.png
+share/virt-manager/icons/hicolor/16x16/actions/vm_new.png
+share/virt-manager/icons/hicolor/22x22/actions/icon_console.png
+share/virt-manager/icons/hicolor/22x22/actions/icon_details.png
+share/virt-manager/icons/hicolor/22x22/actions/vm_new.png
+share/virt-manager/icons/hicolor/22x22/devices/device_cpu.png
+share/virt-manager/icons/hicolor/22x22/devices/device_mem.png
+share/virt-manager/icons/hicolor/22x22/devices/device_pci.png
+share/virt-manager/icons/hicolor/22x22/devices/device_serial.png
+share/virt-manager/icons/hicolor/22x22/devices/device_usb.png
+share/virt-manager/icons/hicolor/22x22/status/state_paused.png
+share/virt-manager/icons/hicolor/22x22/status/state_running.png
+share/virt-manager/icons/hicolor/22x22/status/state_shutoff.png
+share/virt-manager/icons/hicolor/24x24/actions/icon_console.png
+share/virt-manager/icons/hicolor/24x24/actions/vm_clone_wizard.png
+share/virt-manager/icons/hicolor/24x24/actions/vm_new.png
+share/virt-manager/icons/hicolor/32x32/actions/icon_console.png
+share/virt-manager/icons/hicolor/32x32/actions/vm_new.png
+share/virt-manager/icons/hicolor/32x32/status/state_paused.png
+share/virt-manager/icons/hicolor/32x32/status/state_running.png
+share/virt-manager/icons/hicolor/32x32/status/state_shutoff.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_clone_wizard.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_delete_wizard.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_import_wizard.png
+share/virt-manager/icons/hicolor/48x48/actions/vm_new_wizard.png
+share/virt-manager/ui/about.ui
+share/virt-manager/ui/addhardware.ui
+share/virt-manager/ui/addstorage.ui
+share/virt-manager/ui/asyncjob.ui
+share/virt-manager/ui/clone.ui
+share/virt-manager/ui/connectauth.ui
+share/virt-manager/ui/createconn.ui
+share/virt-manager/ui/createnet.ui
+share/virt-manager/ui/createpool.ui
+share/virt-manager/ui/createvm.ui
+share/virt-manager/ui/createvol.ui
+share/virt-manager/ui/delete.ui
+share/virt-manager/ui/details.ui
+share/virt-manager/ui/fsdetails.ui
+share/virt-manager/ui/gfxdetails.ui
+share/virt-manager/ui/host.ui
+share/virt-manager/ui/hostnets.ui
+share/virt-manager/ui/hoststorage.ui
+share/virt-manager/ui/manager.ui
+share/virt-manager/ui/migrate.ui
+share/virt-manager/ui/netlist.ui
+share/virt-manager/ui/oslist.ui
+share/virt-manager/ui/preferences.ui
+share/virt-manager/ui/snapshots.ui
+share/virt-manager/ui/snapshotsnew.ui
+share/virt-manager/ui/storagebrowse.ui
+share/virt-manager/ui/vmwindow.ui
+share/virt-manager/ui/vsockdetails.ui
+share/virt-manager/ui/xmleditor.ui
+share/virt-manager/virt-clone
+share/virt-manager/virt-convert
+share/virt-manager/virt-install
+share/virt-manager/virt-manager
+share/virt-manager/virt-xml
+share/virt-manager/virtManager/__init__.py
+share/virt-manager/virtManager/about.py
+share/virt-manager/virtManager/addhardware.py
+share/virt-manager/virtManager/asyncjob.py
+share/virt-manager/virtManager/baseclass.py
+share/virt-manager/virtManager/clone.py
+share/virt-manager/virtManager/config.py
+share/virt-manager/virtManager/connection.py
+share/virt-manager/virtManager/connmanager.py
+share/virt-manager/virtManager/createconn.py
+share/virt-manager/virtManager/createnet.py
+share/virt-manager/virtManager/createpool.py
+share/virt-manager/virtManager/createvm.py
+share/virt-manager/virtManager/createvol.py
+share/virt-manager/virtManager/delete.py
+share/virt-manager/virtManager/details/__init__.py
+share/virt-manager/virtManager/details/console.py
+share/virt-manager/virtManager/details/details.py
+share/virt-manager/virtManager/details/serialcon.py
+share/virt-manager/virtManager/details/snapshots.py
+share/virt-manager/virtManager/details/sshtunnels.py
+share/virt-manager/virtManager/details/viewers.py
+share/virt-manager/virtManager/device/__init__.py
+share/virt-manager/virtManager/device/addstorage.py
+share/virt-manager/virtManager/device/fsdetails.py
+share/virt-manager/virtManager/device/gfxdetails.py
+share/virt-manager/virtManager/device/mediacombo.py
+share/virt-manager/virtManager/device/netlist.py
+share/virt-manager/virtManager/device/vsockdetails.py
+share/virt-manager/virtManager/engine.py
+share/virt-manager/virtManager/error.py
+share/virt-manager/virtManager/host.py
+share/virt-manager/virtManager/hostnets.py
+share/virt-manager/virtManager/hoststorage.py
+share/virt-manager/virtManager/lib/__init__.py
+share/virt-manager/virtManager/lib/connectauth.py
+share/virt-manager/virtManager/lib/graphwidgets.py
+share/virt-manager/virtManager/lib/inspection.py
+share/virt-manager/virtManager/lib/keyring.py
+share/virt-manager/virtManager/lib/libvirtenummap.py
+share/virt-manager/virtManager/lib/module_trace.py
+share/virt-manager/virtManager/lib/statsmanager.py
+share/virt-manager/virtManager/lib/uiutil.py
+share/virt-manager/virtManager/manager.py
+share/virt-manager/virtManager/migrate.py
+share/virt-manager/virtManager/object/__init__.py
+share/virt-manager/virtManager/object/domain.py
+share/virt-manager/virtManager/object/interface.py
+share/virt-manager/virtManager/object/libvirtobject.py
+share/virt-manager/virtManager/object/network.py
+share/virt-manager/virtManager/object/nodedev.py
+share/virt-manager/virtManager/object/storagepool.py
+share/virt-manager/virtManager/oslist.py
+share/virt-manager/virtManager/preferences.py
+share/virt-manager/virtManager/storagebrowse.py
+share/virt-manager/virtManager/systray.py
+share/virt-manager/virtManager/vmmenu.py
+share/virt-manager/virtManager/vmwindow.py
+share/virt-manager/virtManager/xmleditor.py
+share/virt-manager/virtconv/__init__.py
+share/virt-manager/virtconv/formats.py
+share/virt-manager/virtconv/ovf.py
+share/virt-manager/virtconv/vmx.py
+share/virt-manager/virtinst/__init__.py
+share/virt-manager/virtinst/build.cfg
+share/virt-manager/virtinst/buildconfig.py
+share/virt-manager/virtinst/capabilities.py
+share/virt-manager/virtinst/cli.py
+share/virt-manager/virtinst/cloner.py
+share/virt-manager/virtinst/connection.py
+share/virt-manager/virtinst/devices/__init__.py
+share/virt-manager/virtinst/devices/char.py
+share/virt-manager/virtinst/devices/controller.py
+share/virt-manager/virtinst/devices/device.py
+share/virt-manager/virtinst/devices/disk.py
+share/virt-manager/virtinst/devices/filesystem.py
+share/virt-manager/virtinst/devices/graphics.py
+share/virt-manager/virtinst/devices/hostdev.py
+share/virt-manager/virtinst/devices/input.py
+share/virt-manager/virtinst/devices/interface.py
+share/virt-manager/virtinst/devices/memballoon.py
+share/virt-manager/virtinst/devices/memory.py
+share/virt-manager/virtinst/devices/panic.py
+share/virt-manager/virtinst/devices/redirdev.py
+share/virt-manager/virtinst/devices/rng.py
+share/virt-manager/virtinst/devices/smartcard.py
+share/virt-manager/virtinst/devices/sound.py
+share/virt-manager/virtinst/devices/tpm.py
+share/virt-manager/virtinst/devices/video.py
+share/virt-manager/virtinst/devices/vsock.py
+share/virt-manager/virtinst/devices/watchdog.py
+share/virt-manager/virtinst/diskbackend.py
+share/virt-manager/virtinst/domain/__init__.py
+share/virt-manager/virtinst/domain/blkiotune.py
+share/virt-manager/virtinst/domain/clock.py
+share/virt-manager/virtinst/domain/cpu.py
+share/virt-manager/virtinst/domain/cputune.py
+share/virt-manager/virtinst/domain/features.py
+share/virt-manager/virtinst/domain/idmap.py
+share/virt-manager/virtinst/domain/launch_security.py
+share/virt-manager/virtinst/domain/memorybacking.py
+share/virt-manager/virtinst/domain/memtune.py
+share/virt-manager/virtinst/domain/metadata.py
+share/virt-manager/virtinst/domain/numatune.py
+share/virt-manager/virtinst/domain/os.py
+share/virt-manager/virtinst/domain/pm.py
+share/virt-manager/virtinst/domain/resource.py
+share/virt-manager/virtinst/domain/seclabel.py
+share/virt-manager/virtinst/domain/sysinfo.py
+share/virt-manager/virtinst/domain/vcpus.py
+share/virt-manager/virtinst/domain/xmlnsqemu.py
+share/virt-manager/virtinst/domcapabilities.py
+share/virt-manager/virtinst/generatename.py
+share/virt-manager/virtinst/guest.py
+share/virt-manager/virtinst/hostkeymap.py
+share/virt-manager/virtinst/install/__init__.py
+share/virt-manager/virtinst/install/installer.py
+share/virt-manager/virtinst/install/installerinject.py
+share/virt-manager/virtinst/install/installertreemedia.py
+share/virt-manager/virtinst/install/kernelupload.py
+share/virt-manager/virtinst/install/unattended.py
+share/virt-manager/virtinst/install/urldetect.py
+share/virt-manager/virtinst/install/urlfetcher.py
+share/virt-manager/virtinst/interface.py
+share/virt-manager/virtinst/logger.py
+share/virt-manager/virtinst/network.py
+share/virt-manager/virtinst/nodedev.py
+share/virt-manager/virtinst/osdict.py
+share/virt-manager/virtinst/pollhelpers.py
+share/virt-manager/virtinst/progress.py
+share/virt-manager/virtinst/snapshot.py
+share/virt-manager/virtinst/storage.py
+share/virt-manager/virtinst/support.py
+share/virt-manager/virtinst/uri.py
+share/virt-manager/virtinst/xmlapi.py
+share/virt-manager/virtinst/xmlbuilder.py
+share/virt-manager/virtinst/xmlutil.py
diff --git a/virt-manager/distinfo b/virt-manager/distinfo
new file mode 100644
index 0000000000..73f6420312
--- /dev/null
+++ b/virt-manager/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.3 2019/03/31 13:57:10 bsiegert Exp $
+
+SHA1 (virt-manager-2.2.1.tar.gz) = 9360a95515b8e2245f1bbed5769824cafdb15baa
+RMD160 (virt-manager-2.2.1.tar.gz) = 9c06e912feb3f44f0ba4b50d94b22118106d380e
+SHA512 (virt-manager-2.2.1.tar.gz) = aa97af52b3552c087beab8701762c21e8e6d818c9787d5376ed4e1ae40a34d5e8870c4c00fda9cb17a2340d1dff5b17e853182df720cdd9ea4c91cf01502a33a
+Size (virt-manager-2.2.1.tar.gz) = 2623754 bytes
+SHA1 (patch-virtManager_createconn.py) = d13bea10c4a1b854f9ef31881a4ce3fdbc17691f
+SHA1 (patch-virtManager_engine.py) = 52137e7939dc8878f70787e9686994ddd1aac4dc
diff --git a/virt-manager/patches/patch-virtManager_createconn.py b/virt-manager/patches/patch-virtManager_createconn.py
new file mode 100644
index 0000000000..accac9b6ea
--- /dev/null
+++ b/virt-manager/patches/patch-virtManager_createconn.py
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Tolerabe qemu installed from pkgsrc
+
+--- virtManager/createconn.py.orig	2019-07-02 20:13:28.000000000 +0000
++++ virtManager/createconn.py
+@@ -69,7 +69,8 @@ class vmmCreateConn(vmmGObjectUI):
+             os.path.exists("/usr/bin/qemu-kvm") or
+             os.path.exists("/usr/bin/kvm") or
+             os.path.exists("/usr/libexec/qemu-kvm") or
+-            glob.glob("/usr/bin/qemu-system-*")):
++            glob.glob("/usr/bin/qemu-system-*") or
++            glob.glob("/usr/pkg/bin/qemu-system-*")):
+             return "qemu:///system"
+ 
+         if (os.path.exists("/usr/lib/libvirt/libvirt_lxc") or
diff --git a/virt-manager/patches/patch-virtManager_engine.py b/virt-manager/patches/patch-virtManager_engine.py
new file mode 100644
index 0000000000..c69d4d7d1a
--- /dev/null
+++ b/virt-manager/patches/patch-virtManager_engine.py
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Tolerate VARBASE not being /var
+
+--- virtManager/engine.py.orig	2019-07-02 20:13:28.000000000 +0000
++++ virtManager/engine.py
+@@ -151,8 +151,8 @@ class vmmEngine(vmmGObject):
+         except Exception:
+             units = []
+             log.exception("Couldn't connect to systemd")
+-            libvirtd_installed = os.path.exists("/var/run/libvirt")
+-            libvirtd_active = os.path.exists("/var/run/libvirt/libvirt-sock")
++            libvirtd_installed = os.path.exists("@VARBASE@/run/libvirt")
++            libvirtd_active = os.path.exists("@VARBASE@/run/libvirt/libvirt-sock")
+ 
+         # Check if libvirtd is installed and running
+         for unitinfo in units:


Home | Main Index | Thread Index | Old Index