summaryrefslogtreecommitdiff
path: root/app-emulation/virt-manager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-07 06:41:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-07 06:41:06 +0000
commitd69399c7befdd98cda62d6a1788ae2aa7f104c5e (patch)
treeeac7184f4cfe7d67580c1d0a0d9942a91e6cb4ee /app-emulation/virt-manager
parente4d9d6796d5018e338f0b27a3bc97716195bf0b8 (diff)
gentoo auto-resync : 07:01:2025 - 06:41:06
Diffstat (limited to 'app-emulation/virt-manager')
-rw-r--r--app-emulation/virt-manager/Manifest8
-rw-r--r--app-emulation/virt-manager/metadata.xml10
-rw-r--r--app-emulation/virt-manager/virt-manager-5.0.0-r1.ebuild108
-rw-r--r--app-emulation/virt-manager/virt-manager-5.0.0.ebuild4
-rw-r--r--app-emulation/virt-manager/virt-manager-9999.ebuild65
5 files changed, 167 insertions, 28 deletions
diff --git a/app-emulation/virt-manager/Manifest b/app-emulation/virt-manager/Manifest
index 6c953b4ca5ba..9ab7ace0e2da 100644
--- a/app-emulation/virt-manager/Manifest
+++ b/app-emulation/virt-manager/Manifest
@@ -1,6 +1,8 @@
DIST virt-manager-4.1.0.tar.gz 3151412 BLAKE2B 1b4203be81bd7b82251225d691a4d9068f268e610f049bcadb96de5b539e964ca0b001f22f06ddd8266b58b079f60046f6d11942a1e4eadbc43f0607c46bbddd SHA512 725cb5bcbaebaafae417f95deffb4243ccdad769668cba6e1235f4607e2b29dbd099d2a9a3885981158f53ea854dd71cc29ed9d7557b2791161c13d34f2ef883
DIST virt-manager-5.0.0.tar.xz 1466724 BLAKE2B b8b93587b1e1cdb398f33e4820aeaa9c1aecfbe26cd54597830fcbc009a51e70b0dd10b947b9392a1d3fdc5b28c19573a1d417b5748c38658b6e03725023bcfb SHA512 d0cb7eb844fc98ad29413717e5fa5834bc6f9f6cb6b9339b59c2721bb37a58f71280e3d2a04a64a6021614626329d76c92474f826bb1d9b7a9040b479f20d4e8
+DIST virt-manager-5.0.0.tar.xz.asc 833 BLAKE2B f97127a4cb1c0c24c6627c5d8e1e510075df3ad492e716f0cf07e5f41b3226295da4d73f5cef5903a9bc5a3d7a6f34bd07e7b0f2e21e9d42997c117708de1ada SHA512 e0bec28ce61af5dd2a6895006d60e11dd7b384cd4fec305ebfbf05831864aeb334d212511d6f92827fe15f6d6dcab3ff1d13309afa686d3e8e76c6b354ffa494
EBUILD virt-manager-4.1.0-r1.ebuild 2721 BLAKE2B 5016f76f4672d45c5471152ae585900d93fb89059c3d5aaa54c8f70baf7a27c7757f701ef8feb257b5169461b74b45193106c9cc4306a802bfa9d421846cc690 SHA512 779bdc4120c4ee413fe2d52298d55ecd5fe03145e040f72889651141805c3a18f4e8d5d331105bc0e98889156e26ee7def5e5cf8aead865549c2f9f5478629be
-EBUILD virt-manager-5.0.0.ebuild 2485 BLAKE2B 7fe40c29dfc3d00ab2070772e0abeb99bf64aa0270d8cc4ab5384cdf161337ea1e6876f0043f3c2525f19f91ae1b7d93e15dae87c38ca3a2cc9ca8549986d555 SHA512 91f910ab20d0b4261849fdd0ba69f43c0353283abef7f4a5944a4b5dc8a5999ede98a185dc1de11ed56b06cf5ef29446d15a3f42d0be863c3f8406305f097f2c
-EBUILD virt-manager-9999.ebuild 2485 BLAKE2B 7fe40c29dfc3d00ab2070772e0abeb99bf64aa0270d8cc4ab5384cdf161337ea1e6876f0043f3c2525f19f91ae1b7d93e15dae87c38ca3a2cc9ca8549986d555 SHA512 91f910ab20d0b4261849fdd0ba69f43c0353283abef7f4a5944a4b5dc8a5999ede98a185dc1de11ed56b06cf5ef29446d15a3f42d0be863c3f8406305f097f2c
-MISC metadata.xml 717 BLAKE2B 931cc0f16850272e3d61e4c3421768bd01fd98891d1049d540c36dfcc1cd3872c158796edf33479005fdf07fe449d251ef55562a832db8827e757202ed1b046e SHA512 e40d93e6febcbb48ea6178986736721a5c45bc92073a9108179fd437bb303ba1b6bf0adb6053e36f877b660c413404ef877aefe4d3ef2ec124d6b6cc808a411d
+EBUILD virt-manager-5.0.0-r1.ebuild 3130 BLAKE2B c9f5f33725b2bc0ecdf772d376f70d8b88fd59f0777937ba1b6bf1b6f97b125055ed33e890f39cd178ef9695c2cee6133ab15d313c2a7a7216d8dfabbd5809e4 SHA512 01669415a5ec4d7f63a267ccce3960c5171d7f6ddf01da0c2eb3a0709f00707718eb4b14f6b54b36532eb48c1d447f405d70d363815919f11d8c2490b4bc20d2
+EBUILD virt-manager-5.0.0.ebuild 2482 BLAKE2B 5a3ce6851291c451274de968629477f68f3d3bf26009578bb6c4bdf0196bea012a778dad3db459f7c1ebec495f6ea055cd8f8451f8ab1b8b62625d3383801938 SHA512 dc75264fa67f693e27a904b4d83161b18b7177ee582c1610621ba9626370ae25f23aacf7273f1d2c0d2cdfa3d76cf5b7131ecb04cf870534a93e66302508afc3
+EBUILD virt-manager-9999.ebuild 3130 BLAKE2B c9f5f33725b2bc0ecdf772d376f70d8b88fd59f0777937ba1b6bf1b6f97b125055ed33e890f39cd178ef9695c2cee6133ab15d313c2a7a7216d8dfabbd5809e4 SHA512 01669415a5ec4d7f63a267ccce3960c5171d7f6ddf01da0c2eb3a0709f00707718eb4b14f6b54b36532eb48c1d447f405d70d363815919f11d8c2490b4bc20d2
+MISC metadata.xml 1327 BLAKE2B 42d57e2d66b6e1fba8824d8a1ef9527bd9c402a5c9c66d922e37de15e98de0827642832482846a87a7f16787d3d2372ff2b8d4caeaae51d8c3a3c396eedf6502 SHA512 5266d1e1c2a74e3a27b4519440a10296c80c3e6b0938c3fb086a74d88a7a7d0338c52b15417c18b11945061d74cbd60a565613dc79432630b3a5ac97704e5d68
diff --git a/app-emulation/virt-manager/metadata.xml b/app-emulation/virt-manager/metadata.xml
index 40002fc45349..ece3c51f6b11 100644
--- a/app-emulation/virt-manager/metadata.xml
+++ b/app-emulation/virt-manager/metadata.xml
@@ -16,7 +16,17 @@
libvirtd instances (e.g. Kerberos-protected instances).
</flag>
</use>
+ <longdescription>
+ Virtual Machine Manager provides a graphical tool for administering virtual
+ machines for KVM, Xen, and LXC. Start, stop, add or remove virtual devices,
+ connect to a graphical or serial console, and see resource usage statistics
+ for existing VMs on local or remote machines. Uses libvirt as the backend
+ management API.
+ </longdescription>
<upstream>
+ <bugs-to>https://github.com/virt-manager/virt-manager/issues</bugs-to>
+ <changelog>https://github.com/virt-manager/virt-manager/blob/main/NEWS.md</changelog>
+ <doc>https://virt-manager.org/documentation.html</doc> <!-- not of much use -->
<remote-id type="github">virt-manager/virt-manager</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-emulation/virt-manager/virt-manager-5.0.0-r1.ebuild b/app-emulation/virt-manager/virt-manager-5.0.0-r1.ebuild
new file mode 100644
index 000000000000..6de0dd7d7d6f
--- /dev/null
+++ b/app-emulation/virt-manager/virt-manager-5.0.0-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit gnome2 python-single-r1 optfeature meson verify-sig
+
+DESCRIPTION="A graphical tool for administering virtual machines"
+HOMEPAGE="https://virt-manager.org https://github.com/virt-manager/virt-manager"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/virt-manager/virt-manager.git"
+ EGIT_BRANCH="main"
+ SRC_URI=""
+ inherit git-r3
+else
+ SRC_URI="
+ https://releases.pagure.org/${PN}/${P}.tar.xz
+ verify-sig? ( https://releases.pagure.org/${PN}/${P}.tar.xz.asc )
+ "
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="gui policykit sasl verify-sig"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# https://github.com/virt-manager/virt-manager/blob/main/virt-manager.spec.in
+RDEPEND="
+ ${PYTHON_DEPS}
+ || ( dev-libs/libisoburn app-cdr/cdrtools )
+ >=app-emulation/libvirt-glib-0.0.9[introspection]
+ >=sys-libs/libosinfo-0.2.10[introspection]
+ $(python_gen_cond_dep '
+ dev-libs/libxml2[python,${PYTHON_USEDEP}]
+ dev-python/argcomplete[${PYTHON_USEDEP}]
+ >=dev-python/libvirt-python-6.10.0[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ ')
+ gui? (
+ gnome-base/dconf
+ >=net-libs/gtk-vnc-0.3.8[gtk3(+),introspection]
+ net-misc/spice-gtk[usbredir,gtk3,introspection,sasl?]
+ sys-apps/dbus
+ x11-libs/gtk+:3[introspection]
+ || (
+ x11-libs/gtksourceview:4[introspection]
+ x11-libs/gtksourceview:3.0[introspection]
+ )
+ x11-libs/vte:2.91[introspection]
+ policykit? ( sys-auth/polkit[introspection] )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/docutils
+ sys-devel/gettext
+ verify-sig? ( >=sec-keys/openpgp-keys-virt-manager-20250106 )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/virt-manager.asc
+
+DOCS=( {DESIGN,NEWS,README}.md )
+
+src_configure() {
+ local emesonargs=( # in upstream's order
+ -Dupdate-icon-cache=false
+ -Dcompile-schemas=false
+
+ # -Ddefault-graphics=spice # default
+ # we do not ship OpenVZ and bhyve does not work on linux
+ -Ddefault-hvs="['qemu','xen','lxc']"
+
+ # While in the past we did allow test suite to run, any errors from
+ # test_cli.py were ignored. Since that's where like 90% of tests actually
+ # lives, just disable tests (and do not drag additional dependencies).
+ -Dtests=disabled
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ if ! use gui; then
+ rm -r "${ED}/usr/share/applications/${PN}.desktop" || die
+ rm -r "${ED}/usr/share/${PN}/{ui,icons}/" || die
+ rm -r "${ED}/usr/share/icons/" || die
+ rm -r "${ED}/usr/bin/${PN}" || die
+ fi
+
+ python_fix_shebang "${ED}"
+}
+
+pkg_postinst() {
+ use gui && gnome2_pkg_postinst
+
+ optfeature "Full QEMU host support" app-emulation/qemu[usbredir,spice]
+ optfeature "SSH_ASKPASS program implementation" lxqt-base/lxqt-openssh-askpass \
+ net-misc/ssh-askpass-fullscreen net-misc/x11-ssh-askpass
+ # it's possible this also requires libguestfs-appliance but it's a RDEPEND of libguestfs
+ optfeature "Inspection of guest filesystems" app-emulation/libguestfs[libvirt,python]
+}
diff --git a/app-emulation/virt-manager/virt-manager-5.0.0.ebuild b/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
index f2095898d5d0..0f9b087de276 100644
--- a/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
+++ b/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+ KEYWORDS="~amd64 arm64 ppc64 x86"
fi
LICENSE="GPL-2"
diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild
index f2095898d5d0..6de0dd7d7d6f 100644
--- a/app-emulation/virt-manager/virt-manager-9999.ebuild
+++ b/app-emulation/virt-manager/virt-manager-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit gnome2 python-single-r1 optfeature meson
+inherit gnome2 python-single-r1 optfeature meson verify-sig
DESCRIPTION="A graphical tool for administering virtual machines"
HOMEPAGE="https://virt-manager.org https://github.com/virt-manager/virt-manager"
@@ -15,20 +15,24 @@ if [[ ${PV} == *9999* ]]; then
SRC_URI=""
inherit git-r3
else
- SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
+ SRC_URI="
+ https://releases.pagure.org/${PN}/${P}.tar.xz
+ verify-sig? ( https://releases.pagure.org/${PN}/${P}.tar.xz.asc )
+ "
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
-IUSE="gui policykit sasl"
+IUSE="gui policykit sasl verify-sig"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# https://github.com/virt-manager/virt-manager/blob/main/virt-manager.spec.in
RDEPEND="
${PYTHON_DEPS}
|| ( dev-libs/libisoburn app-cdr/cdrtools )
- >=app-emulation/libvirt-glib-1.0.0[introspection]
+ >=app-emulation/libvirt-glib-0.0.9[introspection]
>=sys-libs/libosinfo-0.2.10[introspection]
$(python_gen_cond_dep '
dev-libs/libxml2[python,${PYTHON_USEDEP}]
@@ -41,27 +45,40 @@ RDEPEND="
gnome-base/dconf
>=net-libs/gtk-vnc-0.3.8[gtk3(+),introspection]
net-misc/spice-gtk[usbredir,gtk3,introspection,sasl?]
- sys-apps/dbus[X]
+ sys-apps/dbus
x11-libs/gtk+:3[introspection]
- x11-libs/gtksourceview:4[introspection]
+ || (
+ x11-libs/gtksourceview:4[introspection]
+ x11-libs/gtksourceview:3.0[introspection]
+ )
x11-libs/vte:2.91[introspection]
policykit? ( sys-auth/polkit[introspection] )
)
"
DEPEND="${RDEPEND}"
-BDEPEND="dev-python/docutils"
+BDEPEND="
+ dev-python/docutils
+ sys-devel/gettext
+ verify-sig? ( >=sec-keys/openpgp-keys-virt-manager-20250106 )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/virt-manager.asc
-DOCS=( README.md NEWS.md )
+DOCS=( {DESIGN,NEWS,README}.md )
src_configure() {
- # While in the past we did allow test suite to run, any errors from
- # test_cli.py were ignored. Since that's where like 90% of tests actually
- # lives, just disable tests (and do not drag additional dependencies).
- local emesonargs=(
+ local emesonargs=( # in upstream's order
+ -Dupdate-icon-cache=false
-Dcompile-schemas=false
- -Ddefault-graphics=spice
+
+ # -Ddefault-graphics=spice # default
+ # we do not ship OpenVZ and bhyve does not work on linux
+ -Ddefault-hvs="['qemu','xen','lxc']"
+
+ # While in the past we did allow test suite to run, any errors from
+ # test_cli.py were ignored. Since that's where like 90% of tests actually
+ # lives, just disable tests (and do not drag additional dependencies).
-Dtests=disabled
- -Dupdate-icon-cache=false
)
meson_src_configure
@@ -70,12 +87,11 @@ src_configure() {
src_install() {
meson_src_install
- if ! use gui ; then
- rm -r "${ED}/usr/share/virt-manager/ui/" || die
- rm -r "${ED}/usr/share/virt-manager/icons/" || die
+ if ! use gui; then
+ rm -r "${ED}/usr/share/applications/${PN}.desktop" || die
+ rm -r "${ED}/usr/share/${PN}/{ui,icons}/" || die
rm -r "${ED}/usr/share/icons/" || die
- rm -r "${ED}/usr/share/applications/virt-manager.desktop" || die
- rm -r "${ED}/usr/bin/virt-manager" || die
+ rm -r "${ED}/usr/bin/${PN}" || die
fi
python_fix_shebang "${ED}"
@@ -84,6 +100,9 @@ src_install() {
pkg_postinst() {
use gui && gnome2_pkg_postinst
- optfeature "SSH_ASKPASS program implementation" lxqt-base/lxqt-openssh-askpass net-misc/ssh-askpass-fullscreen net-misc/x11-ssh-askpass
- optfeature "QEMU host support" app-emulation/qemu[usbredir,spice]
+ optfeature "Full QEMU host support" app-emulation/qemu[usbredir,spice]
+ optfeature "SSH_ASKPASS program implementation" lxqt-base/lxqt-openssh-askpass \
+ net-misc/ssh-askpass-fullscreen net-misc/x11-ssh-askpass
+ # it's possible this also requires libguestfs-appliance but it's a RDEPEND of libguestfs
+ optfeature "Inspection of guest filesystems" app-emulation/libguestfs[libvirt,python]
}