summaryrefslogtreecommitdiff
path: root/deskutils/virt-manager
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/virt-manager')
-rw-r--r--deskutils/virt-manager/Makefile35
-rw-r--r--deskutils/virt-manager/distinfo6
-rw-r--r--deskutils/virt-manager/files/patch-setup.py30
-rw-r--r--deskutils/virt-manager/pkg-plist270
4 files changed, 284 insertions, 57 deletions
diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile
index 4451deed5f75..f9ac3244085f 100644
--- a/deskutils/virt-manager/Makefile
+++ b/deskutils/virt-manager/Makefile
@@ -1,8 +1,7 @@
PORTNAME= virt-manager
-PORTVERSION= 4.1.0
-PORTREVISION= 5
+PORTVERSION= 5.0.0
CATEGORIES= deskutils net-mgmt
-MASTER_SITES= https://virt-manager.org/download/sources/${PORTNAME}/
+MASTER_SITES= https://releases.pagure.org/${PORTNAME}/
MAINTAINER= novel@FreeBSD.org
COMMENT= Toolkit to interact with virtualization capabilities
@@ -10,7 +9,6 @@ WWW= https://virt-manager.org/
LICENSE= LGPL3
-LIB_DEPENDS= libvirt.so:devel/libvirt
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:devel/py-dbus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}libxml2>=2.7.8:textproc/py-libxml2@${PY_FLAVOR} \
@@ -24,29 +22,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:devel/py-dbus@${PY_FLAVOR} \
spice-gtk>=0.26:deskutils/spice-gtk \
ssh-askpass:security/openssh-askpass
-PYDISTUTILS_INSTALLNOSINGLE= yes
-PYDISTUTILS_CONFIGURE_TARGET= configure
-PYDISTUTILS_CONFIGUREARGS= --prefix=${PREFIX}
-USES= python gettext gnome shebangfix
-USE_PYTHON= noegginfo autoplist distutils noflavors
-
-NO_ARCH= yes
-
+USES= desktop-file-utils gettext gnome meson tar:xz python
USE_GNOME= gtksourceview4 introspection:run intltool librsvg2 pygobject3
+GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml
-SHEBANG_FILES= virt-manager \
- virt-install \
- virt-clone \
- virt-xml \
- virtManager/virtmanager.py
+CONFIGURE_ARGS= -Dtests=disabled
-GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml
+NO_ARCH= yes
-#add workaround for two autoplist functions
-post-install:
- @${MKDIR} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas/
-.for file in ${GLIB_SCHEMAS}
- ${INSTALL_DATA} ${WRKSRC}/data/${file} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas
-.endfor
+post-patch:
+ ${REINPLACE_CMD} -e "s|'python3'|'${PYTHON_CMD}'|" \
+ ${WRKSRC}/meson.build
+ ${REINPLACE_CMD} -e 's|"""#!/usr/bin/env python3|"""#!${PYTHON_CMD}|' \
+ ${WRKSRC}/scripts/make_bin_wrapper.py
.include <bsd.port.mk>
diff --git a/deskutils/virt-manager/distinfo b/deskutils/virt-manager/distinfo
index 39ea4033e7f4..78a144ae5f9d 100644
--- a/deskutils/virt-manager/distinfo
+++ b/deskutils/virt-manager/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1667145208
-SHA256 (virt-manager-4.1.0.tar.gz) = 950681d7b32dc61669278ad94ef31da33109bf6fcf0426ed82dfd7379aa590a2
-SIZE (virt-manager-4.1.0.tar.gz) = 3151412
+TIMESTAMP = 1738834899
+SHA256 (virt-manager-5.0.0.tar.xz) = bc89ae46e0c997bd754ed62a419ca39c6aadec27e3d8b850cea5282f0083f84a
+SIZE (virt-manager-5.0.0.tar.xz) = 1466724
diff --git a/deskutils/virt-manager/files/patch-setup.py b/deskutils/virt-manager/files/patch-setup.py
deleted file mode 100644
index 36503001410c..000000000000
--- a/deskutils/virt-manager/files/patch-setup.py
+++ /dev/null
@@ -1,30 +0,0 @@
---- setup.py.orig 2022-08-04 19:07:49 UTC
-+++ setup.py
-@@ -427,8 +427,8 @@ class VMMDistribution(setuptools.dist.Distribution):
- ]
-
- def __init__(self, *args, **kwargs):
-- self.no_update_icon_cache = False
-- self.no_compile_schemas = False
-+ self.no_update_icon_cache = True
-+ self.no_compile_schemas = True
- setuptools.dist.Distribution.__init__(self, *args, **kwargs)
-
-
-@@ -500,8 +500,6 @@ setuptools.setup(
- "build/virt-xml"]),
-
- data_files=[
-- ("share/glib-2.0/schemas",
-- ["data/org.virt-manager.virt-manager.gschema.xml"]),
- ("share/virt-manager/ui", glob.glob("ui/*.ui")),
-
- ("share/man/man1", [
-@@ -538,7 +536,6 @@ setuptools.setup(
- 'build_i18n': my_build_i18n,
-
- 'install': my_install,
-- 'install_egg_info': my_egg_info,
-
- 'configure': configure,
-
diff --git a/deskutils/virt-manager/pkg-plist b/deskutils/virt-manager/pkg-plist
new file mode 100644
index 000000000000..73d49371e53b
--- /dev/null
+++ b/deskutils/virt-manager/pkg-plist
@@ -0,0 +1,270 @@
+bin/virt-clone
+bin/virt-install
+bin/virt-manager
+bin/virt-xml
+share/applications/virt-manager.desktop
+share/bash-completion/completions/virt-clone
+share/bash-completion/completions/virt-install
+share/bash-completion/completions/virt-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/ar/LC_MESSAGES/virt-manager.mo
+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/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/fa/LC_MESSAGES/virt-manager.mo
+share/locale/fi/LC_MESSAGES/virt-manager.mo
+share/locale/fr/LC_MESSAGES/virt-manager.mo
+share/locale/fur/LC_MESSAGES/virt-manager.mo
+share/locale/gl/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/id/LC_MESSAGES/virt-manager.mo
+share/locale/ie/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/ka/LC_MESSAGES/virt-manager.mo
+share/locale/kab/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/si/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.gz
+share/man/man1/virt-install.1.gz
+share/man/man1/virt-manager.1.gz
+share/man/man1/virt-xml.1.gz
+share/metainfo/virt-manager.appdata.xml
+%%DATADIR%%/icons/hicolor/16x16/actions/icon_console.png
+%%DATADIR%%/icons/hicolor/16x16/actions/vm_new.png
+%%DATADIR%%/icons/hicolor/22x22/actions/icon_console.png
+%%DATADIR%%/icons/hicolor/22x22/actions/icon_details.png
+%%DATADIR%%/icons/hicolor/22x22/actions/vm_new.png
+%%DATADIR%%/icons/hicolor/22x22/devices/device_cpu.png
+%%DATADIR%%/icons/hicolor/22x22/devices/device_mem.png
+%%DATADIR%%/icons/hicolor/22x22/devices/device_pci.png
+%%DATADIR%%/icons/hicolor/22x22/devices/device_serial.png
+%%DATADIR%%/icons/hicolor/22x22/devices/device_usb.png
+%%DATADIR%%/icons/hicolor/22x22/status/state_paused.png
+%%DATADIR%%/icons/hicolor/22x22/status/state_running.png
+%%DATADIR%%/icons/hicolor/22x22/status/state_shutoff.png
+%%DATADIR%%/icons/hicolor/24x24/actions/icon_console.png
+%%DATADIR%%/icons/hicolor/24x24/actions/vm_clone_wizard.png
+%%DATADIR%%/icons/hicolor/24x24/actions/vm_new.png
+%%DATADIR%%/icons/hicolor/32x32/actions/icon_console.png
+%%DATADIR%%/icons/hicolor/32x32/actions/vm_new.png
+%%DATADIR%%/icons/hicolor/32x32/status/state_paused.png
+%%DATADIR%%/icons/hicolor/32x32/status/state_running.png
+%%DATADIR%%/icons/hicolor/32x32/status/state_shutoff.png
+%%DATADIR%%/icons/hicolor/48x48/actions/vm_clone_wizard.png
+%%DATADIR%%/icons/hicolor/48x48/actions/vm_delete_wizard.png
+%%DATADIR%%/icons/hicolor/48x48/actions/vm_import_wizard.png
+%%DATADIR%%/icons/hicolor/48x48/actions/vm_new_wizard.png
+%%DATADIR%%/ui/about.ui
+%%DATADIR%%/ui/addhardware.ui
+%%DATADIR%%/ui/addstorage.ui
+%%DATADIR%%/ui/asyncjob.ui
+%%DATADIR%%/ui/clone.ui
+%%DATADIR%%/ui/connectauth.ui
+%%DATADIR%%/ui/console.ui
+%%DATADIR%%/ui/createconn.ui
+%%DATADIR%%/ui/createnet.ui
+%%DATADIR%%/ui/createpool.ui
+%%DATADIR%%/ui/createvm.ui
+%%DATADIR%%/ui/createvol.ui
+%%DATADIR%%/ui/delete.ui
+%%DATADIR%%/ui/details.ui
+%%DATADIR%%/ui/fsdetails.ui
+%%DATADIR%%/ui/gfxdetails.ui
+%%DATADIR%%/ui/host.ui
+%%DATADIR%%/ui/hostnets.ui
+%%DATADIR%%/ui/hoststorage.ui
+%%DATADIR%%/ui/manager.ui
+%%DATADIR%%/ui/migrate.ui
+%%DATADIR%%/ui/netlist.ui
+%%DATADIR%%/ui/oslist.ui
+%%DATADIR%%/ui/preferences.ui
+%%DATADIR%%/ui/snapshots.ui
+%%DATADIR%%/ui/snapshotsnew.ui
+%%DATADIR%%/ui/storagebrowse.ui
+%%DATADIR%%/ui/tpmdetails.ui
+%%DATADIR%%/ui/vmwindow.ui
+%%DATADIR%%/ui/vsockdetails.ui
+%%DATADIR%%/ui/xmleditor.ui
+%%DATADIR%%/virtManager/__init__.py
+%%DATADIR%%/virtManager/about.py
+%%DATADIR%%/virtManager/addhardware.py
+%%DATADIR%%/virtManager/asyncjob.py
+%%DATADIR%%/virtManager/baseclass.py
+%%DATADIR%%/virtManager/clone.py
+%%DATADIR%%/virtManager/config.py
+%%DATADIR%%/virtManager/connection.py
+%%DATADIR%%/virtManager/connmanager.py
+%%DATADIR%%/virtManager/createconn.py
+%%DATADIR%%/virtManager/createnet.py
+%%DATADIR%%/virtManager/createpool.py
+%%DATADIR%%/virtManager/createvm.py
+%%DATADIR%%/virtManager/createvol.py
+%%DATADIR%%/virtManager/delete.py
+%%DATADIR%%/virtManager/details/__init__.py
+%%DATADIR%%/virtManager/details/console.py
+%%DATADIR%%/virtManager/details/details.py
+%%DATADIR%%/virtManager/details/serialcon.py
+%%DATADIR%%/virtManager/details/snapshots.py
+%%DATADIR%%/virtManager/details/sshtunnels.py
+%%DATADIR%%/virtManager/details/viewers.py
+%%DATADIR%%/virtManager/device/__init__.py
+%%DATADIR%%/virtManager/device/addstorage.py
+%%DATADIR%%/virtManager/device/fsdetails.py
+%%DATADIR%%/virtManager/device/gfxdetails.py
+%%DATADIR%%/virtManager/device/mediacombo.py
+%%DATADIR%%/virtManager/device/netlist.py
+%%DATADIR%%/virtManager/device/tpmdetails.py
+%%DATADIR%%/virtManager/device/vsockdetails.py
+%%DATADIR%%/virtManager/engine.py
+%%DATADIR%%/virtManager/error.py
+%%DATADIR%%/virtManager/host.py
+%%DATADIR%%/virtManager/hostnets.py
+%%DATADIR%%/virtManager/hoststorage.py
+%%DATADIR%%/virtManager/lib/__init__.py
+%%DATADIR%%/virtManager/lib/connectauth.py
+%%DATADIR%%/virtManager/lib/graphwidgets.py
+%%DATADIR%%/virtManager/lib/inspection.py
+%%DATADIR%%/virtManager/lib/keyring.py
+%%DATADIR%%/virtManager/lib/libvirtenummap.py
+%%DATADIR%%/virtManager/lib/module_trace.py
+%%DATADIR%%/virtManager/lib/statsmanager.py
+%%DATADIR%%/virtManager/lib/testmock.py
+%%DATADIR%%/virtManager/lib/uiutil.py
+%%DATADIR%%/virtManager/manager.py
+%%DATADIR%%/virtManager/migrate.py
+%%DATADIR%%/virtManager/object/__init__.py
+%%DATADIR%%/virtManager/object/domain.py
+%%DATADIR%%/virtManager/object/libvirtobject.py
+%%DATADIR%%/virtManager/object/network.py
+%%DATADIR%%/virtManager/object/nodedev.py
+%%DATADIR%%/virtManager/object/storagepool.py
+%%DATADIR%%/virtManager/oslist.py
+%%DATADIR%%/virtManager/preferences.py
+%%DATADIR%%/virtManager/storagebrowse.py
+%%DATADIR%%/virtManager/systray.py
+%%DATADIR%%/virtManager/virtmanager.py
+%%DATADIR%%/virtManager/vmmenu.py
+%%DATADIR%%/virtManager/vmwindow.py
+%%DATADIR%%/virtManager/xmleditor.py
+%%DATADIR%%/virtinst/__init__.py
+%%DATADIR%%/virtinst/_progresspriv.py
+%%DATADIR%%/virtinst/build.cfg
+%%DATADIR%%/virtinst/buildconfig.py
+%%DATADIR%%/virtinst/capabilities.py
+%%DATADIR%%/virtinst/cli.py
+%%DATADIR%%/virtinst/cloner.py
+%%DATADIR%%/virtinst/connection.py
+%%DATADIR%%/virtinst/devices/__init__.py
+%%DATADIR%%/virtinst/devices/audio.py
+%%DATADIR%%/virtinst/devices/char.py
+%%DATADIR%%/virtinst/devices/controller.py
+%%DATADIR%%/virtinst/devices/device.py
+%%DATADIR%%/virtinst/devices/disk.py
+%%DATADIR%%/virtinst/devices/filesystem.py
+%%DATADIR%%/virtinst/devices/graphics.py
+%%DATADIR%%/virtinst/devices/hostdev.py
+%%DATADIR%%/virtinst/devices/input.py
+%%DATADIR%%/virtinst/devices/interface.py
+%%DATADIR%%/virtinst/devices/iommu.py
+%%DATADIR%%/virtinst/devices/memballoon.py
+%%DATADIR%%/virtinst/devices/memory.py
+%%DATADIR%%/virtinst/devices/panic.py
+%%DATADIR%%/virtinst/devices/redirdev.py
+%%DATADIR%%/virtinst/devices/rng.py
+%%DATADIR%%/virtinst/devices/shmem.py
+%%DATADIR%%/virtinst/devices/smartcard.py
+%%DATADIR%%/virtinst/devices/sound.py
+%%DATADIR%%/virtinst/devices/tpm.py
+%%DATADIR%%/virtinst/devices/video.py
+%%DATADIR%%/virtinst/devices/vsock.py
+%%DATADIR%%/virtinst/devices/watchdog.py
+%%DATADIR%%/virtinst/diskbackend.py
+%%DATADIR%%/virtinst/domain/__init__.py
+%%DATADIR%%/virtinst/domain/blkiotune.py
+%%DATADIR%%/virtinst/domain/clock.py
+%%DATADIR%%/virtinst/domain/cpu.py
+%%DATADIR%%/virtinst/domain/cputune.py
+%%DATADIR%%/virtinst/domain/features.py
+%%DATADIR%%/virtinst/domain/idmap.py
+%%DATADIR%%/virtinst/domain/keywrap.py
+%%DATADIR%%/virtinst/domain/launch_security.py
+%%DATADIR%%/virtinst/domain/memorybacking.py
+%%DATADIR%%/virtinst/domain/memtune.py
+%%DATADIR%%/virtinst/domain/metadata.py
+%%DATADIR%%/virtinst/domain/numatune.py
+%%DATADIR%%/virtinst/domain/os.py
+%%DATADIR%%/virtinst/domain/pm.py
+%%DATADIR%%/virtinst/domain/resource.py
+%%DATADIR%%/virtinst/domain/seclabel.py
+%%DATADIR%%/virtinst/domain/sysinfo.py
+%%DATADIR%%/virtinst/domain/vcpus.py
+%%DATADIR%%/virtinst/domain/xmlnsqemu.py
+%%DATADIR%%/virtinst/domcapabilities.py
+%%DATADIR%%/virtinst/generatename.py
+%%DATADIR%%/virtinst/guest.py
+%%DATADIR%%/virtinst/install/__init__.py
+%%DATADIR%%/virtinst/install/cloudinit.py
+%%DATADIR%%/virtinst/install/installer.py
+%%DATADIR%%/virtinst/install/installerinject.py
+%%DATADIR%%/virtinst/install/installertreemedia.py
+%%DATADIR%%/virtinst/install/unattended.py
+%%DATADIR%%/virtinst/install/urldetect.py
+%%DATADIR%%/virtinst/install/urlfetcher.py
+%%DATADIR%%/virtinst/install/volumeupload.py
+%%DATADIR%%/virtinst/logger.py
+%%DATADIR%%/virtinst/network.py
+%%DATADIR%%/virtinst/nodedev.py
+%%DATADIR%%/virtinst/osdict.py
+%%DATADIR%%/virtinst/pollhelpers.py
+%%DATADIR%%/virtinst/progress.py
+%%DATADIR%%/virtinst/snapshot.py
+%%DATADIR%%/virtinst/storage.py
+%%DATADIR%%/virtinst/support.py
+%%DATADIR%%/virtinst/uri.py
+%%DATADIR%%/virtinst/virtclone.py
+%%DATADIR%%/virtinst/virtinstall.py
+%%DATADIR%%/virtinst/virtxml.py
+%%DATADIR%%/virtinst/xmlapi.py
+%%DATADIR%%/virtinst/xmlbuilder.py
+%%DATADIR%%/virtinst/xmlutil.py