It will automagically use libxml2[python] if available but it falls back
to elementtree.
Thanks to Pavel Hrdina for the pointer.
Closes: https://bugs.gentoo.org/964164
Signed-off-by: Sam James <sam@gentoo.org>
- update DESCRIPTION
- add appdata.xml's LICENSE
- optimize python code (thanks clan!)
- rework optfeature section
- show qemu optfeature only if QEMU is installed
- add kde-plasma/ksshaskpass as a SSH_ASKPASS possible integration
- resolve#835950
- remove policykit USE description
- it had the information that solved the bug
but it seems that people did not read it
- add conditional optfeature to show local libvirt policykit integration
Closes: https://bugs.gentoo.org/835950
Closes: https://github.com/gentoo/gentoo/pull/40560
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Signed-off-by: Sam James <sam@gentoo.org>
... for fixed Manifest. This shouldn't be strictly needed but let's
just do it.
Bug: https://bugs.gentoo.org/947590
Signed-off-by: Sam James <sam@gentoo.org>
- add verify-sig USE flag
- dependency changes:
- RDEPEND: do not require dbus[X]
- BDEPEND: add sys-devel/gettext
- allow gtksourceview:[34]
- update versions
- src_configure:
- disable unavailable hypervisors
- sort emesonargs in upstream's order
- variable changes
- add DESIGN.md to DOCS
- update LICENSE
- optfeatures
- add libguestfs' VM inspection
- improve QEMU description
- misc
- sort & tidy src_install rm commands
- improve QEMU optfeature description
- add useful link to a specification file, which many of the chages
here are based on
- break too long lines
verify-sig ports modeled after net-libs/miniupnp & mgorny's article
Bug: https://bugs.gentoo.org/931864
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/39545
Signed-off-by: Sam James <sam@gentoo.org>
Firstly, there's no need to call gnome2_pkg_preinst() explicitly
as it'll be called due to ebuild inheriting gnome2 eclass.
Secondly, setting GNOME2_ECLASS_ICONS variable is so EAPI5 (read
obsolete), so drop it as gnome2_pkg_preinst() handles that.
Thirdly, removing files in pkg_preinst() is undesirable.
Therefore, drop the code that handles 'if use gui', and move the
code that handles the other case into src_install().
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39532
Signed-off-by: Sam James <sam@gentoo.org>
Previously, app-emulation/virt-manager was installed using
distutils which automatically fixed shebang on installed python
scripts. Then virt-manager switched to meson, and our ebuilds
simply started inheriting meson instead of distutils-r1. But this
alone is not enough as shebangs are now broken. Fortunately,
there's python_fix_shebang which can be called to fix shebangs
and in ideal world this function would be called in src_prepare()
but this is not the case. virt-manager and other files are
generated at compile time with also too generic shebang [1].
Therefore, let's do that at the end of src_install().
1: https://github.com/virt-manager/virt-manager/blob/main/scripts/make_bin_wrapper.py
Fixes: c5ca13d818262729e691e4d23487cb427b50665d
Closes: https://bugs.gentoo.org/945329
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This reverts commit 7183f0f2740378973b3521172da6a43512bbc993.
As pointed out by Michal on the bug, 4.1.0 isn't compatible, but
(since-added) 5.0.0 is OK. Partly revert accordingly.
Bug: https://bugs.gentoo.org/942374
Signed-off-by: Sam James <sam@gentoo.org>
New version of virt-manager was just released. And since
virt-manager switched from distutils to meson, the referenced
bug can be closed now.
Closes: https://bugs.gentoo.org/909876
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39516
Signed-off-by: Sam James <sam@gentoo.org>
Ever since virt-manager switched to meson, the dist tar is
compressed using xz not gz. This is why the URI for downloading
new release changed [1]. Update SRC_URI in the live ebuild.
1: 845d874c8f
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Virt-manager just switched to meson [1]. Adapt our live ebuild to
it. Oh, and while at it - drop test useflag. Running tests
doesn't make much sense for virt-manger since the even the
current ebuild ignores pretty much all of them (as it ignores
failed tests from test_cli.py where pretty much 90% of test suite
lives).
The referenced bug below is not closed with this just yet, as
this is just live ebuild. But we can expect new release soon, in
which case the bug will be fixed.
1: cbd2a7ef92
Bug: https://bugs.gentoo.org/909876
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39305
Signed-off-by: Sam James <sam@gentoo.org>
The place virt-manager can be downloaded from changed as
demonstrated by [1] and the original location does not redirect.
Update SRC_URI in our ebuilds to reflect this fact.
1: b1d202af3b
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
There's almost a verbatim copy of 4.1.0.ebuild -> 4.1.0-r1.ebuild
which has one slight difference: it allows a choice between
dev-libs/libisoburn and app-cdr/cdrtools. Otherwise they are the
same. Even when it comes to KEYWORDS. Drop 4.1.0.ebuild as
4.1.0-r1 is a superset of it anyways.
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>