From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/
Date: Mon, 06 Jan 2025 03:35:47 +0000 (UTC) [thread overview]
Message-ID: <1736134487.1cc20de7b3923bb562cde8f78302755095461f3d.sam@gentoo> (raw)
commit: 1cc20de7b3923bb562cde8f78302755095461f3d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 6 03:34:47 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 6 03:34:47 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cc20de7
app-emulation/virt-manager: sync live
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../virt-manager/virt-manager-9999.ebuild | 65 ++++++++++++++--------
1 file changed, 42 insertions(+), 23 deletions(-)
diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild
index f2095898d5d0..d9497668d4c6 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 )
+"
+
+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]
}
next reply other threads:[~2025-01-06 3:35 UTC|newest]
Thread overview: 129+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-06 3:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-30 22:19 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/ Matthias Maier
2025-04-26 12:47 Arthur Zamarin
2025-04-26 10:57 Sam James
2025-04-26 6:08 Sam James
2025-04-26 4:17 Sam James
2025-03-27 12:11 Sam James
2025-03-22 20:06 Michał Górny
2025-03-04 23:26 Jakov Smolić
2025-03-03 20:44 Sam James
2025-03-03 20:11 Sam James
2025-01-07 19:51 Sam James
2025-01-06 8:04 Sam James
2025-01-06 4:16 Sam James
2025-01-06 4:16 Sam James
2025-01-06 3:35 Sam James
2025-01-06 3:35 Sam James
2025-01-06 3:32 Sam James
2024-12-01 10:42 Sam James
2024-12-01 10:42 Sam James
2024-11-29 5:54 Sam James
2024-11-29 5:54 Sam James
2024-11-13 19:09 Sam James
2024-11-13 19:09 Sam James
2024-11-13 19:09 Sam James
2024-10-03 9:24 Sam James
2024-04-29 21:41 Sam James
2024-02-03 6:56 Sam James
2024-02-02 12:38 Arthur Zamarin
2024-02-02 7:53 Joonas Niilola
2024-02-02 7:47 Joonas Niilola
2024-01-22 5:29 Sam James
2024-01-04 18:11 Arthur Zamarin
2023-12-16 9:31 Sam James
2023-07-09 2:02 Sam James
2023-03-04 9:10 Joonas Niilola
2022-08-24 21:55 John Helmert III
2022-08-19 23:49 Sam James
2022-08-19 23:49 Sam James
2022-08-19 23:48 Sam James
2022-08-19 23:48 Sam James
2022-08-19 23:48 Sam James
2022-05-04 15:11 Jakov Smolić
2022-04-10 20:09 Sam James
2022-03-25 2:52 Sam James
2022-03-19 16:50 Matthias Maier
2022-02-23 9:41 Joonas Niilola
2022-02-23 9:41 Joonas Niilola
2022-02-23 9:41 Joonas Niilola
2022-02-06 1:40 Matthias Maier
2022-01-25 15:11 Joonas Niilola
2022-01-03 0:11 Georgy Yakovlev
2021-06-26 11:45 Sergei Trofimovich
2021-06-26 11:45 Sergei Trofimovich
2021-06-05 11:09 Sergei Trofimovich
2021-05-14 18:23 Agostino Sarubbo
2021-03-30 16:17 Thomas Deutschmann
2021-02-13 0:58 Sam James
2021-02-13 0:58 Sam James
2021-01-05 14:04 Joonas Niilola
2020-12-25 19:58 Matthias Maier
2020-12-17 16:41 Agostino Sarubbo
2020-12-04 22:53 Matthias Maier
2020-10-07 20:45 Thomas Deutschmann
2020-10-03 21:24 Georgy Yakovlev
2020-08-20 13:20 Sam James
2020-06-05 7:21 Mart Raudsepp
2020-05-12 5:41 Matthias Maier
2020-05-12 5:41 Matthias Maier
2020-04-24 18:48 Matthias Maier
2020-04-19 1:06 Brian Evans
2020-04-19 0:32 Matthias Maier
2020-03-17 21:25 Matthias Maier
2020-03-17 21:25 Matthias Maier
2019-12-28 22:11 Georgy Yakovlev
2019-12-28 22:11 Georgy Yakovlev
2019-09-30 15:44 Matthias Maier
2019-07-31 11:03 Agostino Sarubbo
2019-07-31 10:59 Agostino Sarubbo
2019-07-28 18:21 Matthias Maier
2019-07-28 18:21 Matthias Maier
2019-07-01 21:19 Matthias Maier
2019-07-01 17:10 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-01-02 10:20 Mikle Kolyada
2018-12-29 19:12 Thomas Deutschmann
2018-12-03 2:43 Jonathan Callen
2018-11-04 5:24 Matthias Maier
2018-10-15 12:01 Matthias Maier
2018-04-15 18:58 Thomas Deutschmann
2018-04-15 5:30 Mikle Kolyada
2018-04-14 23:02 Matthias Maier
2018-04-14 23:02 Matthias Maier
2018-04-14 22:52 Matthias Maier
2018-04-14 22:47 Matthias Maier
2018-04-14 22:47 Matthias Maier
2018-04-14 22:47 Matthias Maier
2018-03-24 15:23 Matthias Maier
2018-02-12 1:58 Matthias Maier
2018-02-12 1:58 Matthias Maier
2018-02-12 1:58 Matthias Maier
2018-02-06 16:24 Thomas Deutschmann
2018-01-08 0:28 Mikle Kolyada
2018-01-06 12:23 Ulrich Müller
2017-09-26 22:11 Manuel Rüger
2017-08-09 20:53 Pacho Ramos
2017-03-14 16:39 Matthias Maier
2017-03-14 16:39 Matthias Maier
2017-03-08 18:34 Matthias Maier
2017-03-04 21:27 Matthias Maier
2017-03-04 21:27 Matthias Maier
2017-02-22 21:56 Matthias Maier
2016-12-01 16:56 Matthias Maier
2016-12-01 16:52 Matthias Maier
2016-09-27 2:34 Matthias Maier
2016-08-02 2:22 Matthias Maier
2016-06-30 22:10 Matthias Maier
2016-02-28 6:15 Matthias Maier
2015-12-26 23:31 Matthias Maier
2015-12-26 13:19 Manuel Rüger
2015-12-22 20:50 Manuel Rüger
2015-11-27 20:41 Matthias Maier
2015-11-25 22:57 Matthias Maier
2015-10-23 13:41 Doug Goldstein
2015-10-23 13:41 Doug Goldstein
2015-09-09 15:03 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1736134487.1cc20de7b3923bb562cde8f78302755095461f3d.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox