summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2025-01-17 14:16:01 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-01-17 19:17:09 +0000
commit5216f0fc99ab9d46f92116ed8b8723f66a99de70 (patch)
tree4408ad09691df2bd1efe6493aea0dfec97a5b81f
parent9f4d93e2256ee682945fb3f8d12e2398f36b229e (diff)
downloadmeta-virtualization-5216f0fc99ab9d46f92116ed8b8723f66a99de70.tar.gz
virt-manager: update to v5.0.0
Bumping virt-manager to version v5.0.0-18-gda2f65f9, which comprises the following commits: da2f65f9 ci: add a simple codespell job 3cfd2e2d chore: drop codespell excluded word e1340f73 chore: tell codespell to ignore the whole 'po' subdirectory 2724194c chore: move codespell configuration in its own file 412c5d1a Fix typos c3debb4e cli, man: Always list --osinfo before --os-variant f92c2574 addhardware: panic: Fill in model combo with advertised values by libvirt f9ceec2b tests: Update capabilities for advertisting panic device models c859c7ac domcaps: get list of supported panic device models 8af438dd cpu: Prefer maximum mode for many emulated guests 11b70218 gui: Support maximum CPU mode fca41cfa cli: Support --cpu maximum ebf5d5f4 spec: rhel: drop spice dep, default to VNC ffc7d2bb spec: Remove unused `with_guestfs` 94271b42 spec: Skip dconf dep if building for flatpak a4c84aa1 spec: Add /usr/share/virt-manager/ui/ to RPM database (bz 2283244) b74730eb spec: update link to virt-manager sources 40d5804c ci: bump codecov/codecov-action from 4 to 5 d17731ae Release of virt-manager 5.0.0 cb2e5aa7 tests: urls: update old and obsolete OS versions 06265f80 tests: urls: replace Scientific Linux with AlmaLinux 4aa80f4c Update translation files 9efd0575 Translated using Weblate (German) 1ba412f3 Translated using Weblate (Finnish) ff0b17e0 Translated using Weblate (Polish) cc6ddf4f Translated using Weblate (Korean) 160b8be2 Translated using Weblate (Ukrainian) 34f990e3 Translated using Weblate (Turkish) a6b6558c Translated using Weblate (Georgian) aa75b492 Translated using Weblate (Russian) 89c98cdb Translated using Weblate (Romanian) 03e5e536 Translated using Weblate (Indonesian) 0a6cb73e Translated using Weblate (Czech) d9b3b4df Translated using Weblate (Swedish) c70d8d6c Translated using Weblate (Italian) e9ee09d8 Update translation files 58c93f0e po: Refresh translation template 14a6bd64 po: meson: drop --join-existing from gettext arguments 17f171cd cli: add `--network passt,portForward=8080:80` convenience syntax 2f8f0e81 virt-xml: implement `--edit --boot uefi=off` cfcd63b7 virt-install: implement `--boot uefi=off` f0820873 cli: Add stub support for `--boot uefi=on|off` f3aa24bd virt-install: use default `--cpu` mode more often 8fb78739 virt-clone: try harder to allow nonexisting images with --preserve 058d8b4c storage: Add testsuite way to trigger StoragePool.install error 3e47db67 virt-clone: document limits of `--replace` 8eb87af4 cloner: Handle .qcow2 nvram extension 276aa4a7 virt-clone: only attempt --reflink for raw images a22ac093 man: virt-clone: Fix typo 625c99fb guest: refactor _add_default_input_device 2835c250 virt-install: support `--input none` c78ec969 virt-install: let libvirt handle `--input bus=default` fa927c78 add a note that tpm can be effectively disabled by passing `none` f211e1a5 update `virt-manager.spec.in` reference d93e3cb8 ci: fix libvirt upstream job after meson 301423b8 virt-install: Fix the active_pcr_banks issue for TPM emulator fd48e0be virt-install: Add --tpm backend.source support 7e4f7ae3 virt-install: Add support for 'debug' parameter on TPM emulator 12190303 virt-install: Add support for streams attribute for 'virtio' sound card e883e7d5 virt-install: Add support for multi-channel mode for 'usb' sound card 1c0f7f62 virt-install: Add support for blockio.discard_granularity 0054b71d virt-install: Fix a typo 50b6a90a po: Refresh translation template 819b746d Translated using Weblate (German) 991355ef Translated using Weblate (French) d1fce2ff Translated using Weblate (Finnish) ea7306b0 Translated using Weblate (Kabyle) a05298f9 Translated using Weblate (Kabyle) 123978ce Translated using Weblate (Spanish) 8b787b94 Translated using Weblate (Romanian) 3f9398e3 Translated using Weblate (Portuguese (Brazil)) 69a91e86 Translated using Weblate (Spanish) dfbc705b Translated using Weblate (Arabic) 42074a0f Translated using Weblate (Italian) 2c12dd38 Translated using Weblate (Czech) 1b9df22a Translated using Weblate (Indonesian) a774a535 Translated using Weblate (Swedish) 712fc0d4 Translated using Weblate (Polish) 11f91c63 Translated using Weblate (Chinese (Simplified) (zh_CN)) 8a7b0de5 Translated using Weblate (Hungarian) 96e37d2b Translated using Weblate (Russian) 8c61113f Translated using Weblate (Georgian) e3a4c150 Translated using Weblate (Ukrainian) bdeb4404 Translated using Weblate (Turkish) d7287252 Translated using Weblate (Swedish) db5ccb05 Translated using Weblate (Korean) 47518b13 Translated using Weblate (English (United Kingdom)) 145a476d Update translation files 1f8c61cd ci: update .packit.yaml to use meson c385cd4e ci: update github workflows to use meson cbd2a7ef update setup.py usage and docs to meson 31cb3219 remove remaining setuptools files 5f34dea0 meson: add tests f41deedd meson: add build config and its options 54aadf01 meson: add icons and schemas options 0f9d89e0 meson: build and install bin wrappers 01acaa38 meson: add po files 3247dab7 meson: add virtManager files 03e35a7c meson: add virtinst files ff1fa4cc meson: add ui files 2abd3e75 meson: add icons dd909f20 meson: add data files 6a462a3f meson: add man pages 1f80a622 meson: rename and modify spec file d803491c introduce meson.build file 07557113 tests: uitests: cover cli changes 408a39a7 virt-manager: Switch to `--no-fork` by default 028fdf2c man: virt-manager: document fork behavior and VIRT_MANAGER_DEFAULT_FORK 5de63270 virt-manager: add VIRT_MANAGER_DEFAULT_FORK=yes|no env variable 7ff899b8 virt-manager: Add `--fork` option 17e39de0 virt-manager: Set SSH_ASKPASS_REQUIRE=force 6c9842a1 ci: tweak Packit configuration d46674b8 fix: improve translatable message 5126c007 tests: update tests to reflect the latest panic device changes 2ce04b7c virtinst.cli: replace DevicePanic.MODEL_ISA with "isa" 48ec63cc tests: uitests: tweak for panic dev changes c5a46646 addhardware: panic: default to asking libvirt for default model ebeb8007 devices: panic: let libvirt fill in model default afa82315 virt-install: add `--network hostdev=HOSTDEV` 300f934c virt-install: add `--network type=hostdev,source.address.X=` pci options 315b340f virt-install: add `--features msrs.unknown=ignore` 7dd7383b tests: uitests: cover serial autoconnect bug fix dc1c9982 console: Handle autoconnect=off for serial console too 97ab16a7 uitests: fix coverage with scaling default change 715acbf5 console: Default to scaling=Always 5875019b Update installertreemedia.py c99b6472 man: update libvirt.org links 8f75ac4e virt-install: implement `--osinfo require=no` as fallback `name=generic` e0260776 virt-install: Warn if `--osinfo detect=on,name=OSNAME` detection fails e3da4337 cli: `--osinfo detect=on` shouldn't default to require=off 1487dbd2 cli: --osinfo: clean up `require=` handling a28401cb tests: Test that `--osinfo detect=on` implies `require=off` 3006c5a1 virtManager: drop libappindicator usage 31eab9b4 pylint: fix false positive errors d4194c13 misc: codespell fixes a9a78f45 installer: rename has_install_phase to requires_postboot_xml_changes 1c8e6f84 virt-install: Make --cloud-init reboot by default (again) 351233f8 vmwindow: Default new window viewer size to 1280x800 d231e66a console: Fix resize_to_vm with host fractional scaling 2ee22419 console: drop manual size request, let widgets do it for us 1d7fcac3 viewers: simplify shared self._display handling 7e79023b viewers: Share most of _refresh_grab_keys implementation 51c3f1c6 virt-xml: Add `--edit --convert-to-vnc` f7988a94 guest: convert_to_vnc: optionally add qemu-vdagent d58299ee guest: convert_to_vnc: convert video device f0078a17 guest: remove spiceport devices when spice is removed 229b9050 guest: add convert_to_vnc() c498c519 virt-install: Exit gracefully when VM is undefined behind our back dd354e8b virt-xml: add `--edit --convert-to-q35` 454aad78 guest: add convert_to_q35 fe09e8f4 viewers: add explicit signal for desktop resize f140ff18 console: drop the scroll size-allocate callback e5208adc console: drop the console_size_allocate call 24324bb6 console: Leave scroll policy as AUTOMATIC 95006f42 console: Clean up get_desktop_resolution usage 371cd1ad console: Simplify usbredir menu handling 4cc52de8 console: Fix widget size with scaling=never and host fractional scaling 6b944ef6 console: Add a comment about _set_size_to_vm and fractional scaling bd0d0920 console: Add logging to _set_size_to_vm dfb1f330 connection: handle disappearing obj in agent handler 2ee2dda1 virt-xml: Fix cli_arg_name vs cli_flag_name() usage f66cca92 cli: Make --xml option parsing less special 76f45994 virtxml: Don't require `options` at XML action time 455b38f7 virtxml: Add Action class to track action + option pairs b7c72af7 virtxml: move some functions 4941bb92 testmock: Remove some console mocking that's no longer required 2c9f2194 console: Remove needless console scale comparison babeb151 console: Cleanup _scroll_size_allocate 8e551f51 console: Remove our custom aspect ratio handling 9929f2d6 vmwindow: Disable 'Resize to VM' menu when VM is offline 20000fb3 vmwindow: Don't desensitive `Auto resize` 289a993a viewers: spice: hook into display-primary-create 70861c50 viewers: vnc: use set_keep_aspect_ratio(True) 3ee677c2 viewers: Log once when checking vnc set_allow_resize support d79d4633 snapshots: Don't save outdated screenshot data 1f448a19 virt-manager: Stop blocking SIGHUP 683b486c ui: snapshots: Fix button placement when resizing 'New' dialog de00ff76 virt-xml: Fix `--define` with stdin XML b83a1b0d domain: Use KEEP_TPM flag for domain rename c6bc3a86 tests: uitests: test localhost tcp graphics 380af310 console: allow localhost connections over TCP 258df88e domain: tweak q35 <-> pc editing 78064728 domain: Remove the pcie-root and ports for i440fx in customized dialog 2d94e92d guest: Drop the '_' prefix for _add_q35_pcie_controllers 9813dc3b capabilities: Exclude a line from code coverage e1468c04 tests: Add testDomainCapabilitiesLoongArch64() 2a52d770 domcapabilities: Add firmware patterns for loongarch64 5419524f tests: Add testDomainCapabilitiesRISCV64() dc603792 domcapabilities: Add firmware patterns for riscv64 cf0b6cd7 tests: Add testDomainCapabilitiesPPC64le() 01a451e7 tests: Update ppc64le capabilities 5d5da5ff domcapabilities: Update comment 579eb3e9 tests: Extend testDomainCapabilitiesAArch64() 38906948 tests: Update aarch64 capabilities 07ae6da3 domain: don't attempt to predict if VM supports snapshots e412ecf1 domain: log object XML after snapshot creation 4782dd1c cli: Add --disk driver.discard_no_unref=on|off 6a65def6 cli: Add --video model.blob=on|off febddd4b cli: Add --memdev target.address_base for virtio-mem and virtio-pmem 7a974a3a cli: Add --features kvm.pv-ipi.state=on|off 63f8f78e tests: Check missing_xorriso in osinfo-netinst-unattended test case 9ec9c400 tests: add fake-win-multi.iso and test it f4a9722d uitests: cover serial console changes 6264167c serialcon: Don't disable console menu items for offline VM 2293ec49 console: Handle inactive VM when console menu selection changes a58223ba addhardware: Only set channel clipboard XML if UI is visible adc1948e details: only refresh os page if its currently selected e1798ef8 Add missing test file 83daac04 domain: os: treat `xenpvh` as xen PV 65d568eb Scrub references to virt-tools-list 9ad347fd tests: test XML generation for --disk path=file://... 67206a85 tests: add more test cases to cover all code paths 74fd503b virtinst: enable most Hyper-V features by default 169db9dc virtinst.support: drop unused conn_hyperv_vapic function 9e9dbf73 domain.features: use domcapabilities when setting default Hyper-V features 66bbfa23 domain.features: extract setting default hyperv features c279c17e domcapabilities: get list of supported Hyper-V features bec2d7cb tests: update kvm-x86_64-domcaps-latest 139b0e28 cli: add --features hyperv.avic.state=on/off a06d5359 cli: add --features hyperv.evmcs.state=on/off 5afc6919 cli: add --features hyperv.ipi.state=on/off e3ec248c cli: add --features hyperv.tblflush.state=on/off c421ec1b cli: add --features hyperv.reenlightenment.state=on/off 2786ea5d cli: add --features hyperv.frequencies.state=on/off 6289a136 cli: add --features hyperv.stimer.direct.state=on/off 1f69795b cli: add --features hyperv.stimer.state=on/off d7976a88 cli: add --features hyperv.runtime.state=on/off d2a29245 cli: add --features hyperv.vpindex.state=on/off 1c3fb025 test_cli: extract hyperv features to separate lines ac26945c domain.features: reorder Hyper-V features 2da48849 tests: Cover some weird virt-xml corner case behaviors 7e79e064 Revert virt-xml multiple --edit support 5fe6dcc6 Fix some pylint 97469abd tests: add tests for AMD SEV-SNP 3559dcd9 virtinst: add properties for AMD SEV-SNP 1fef5d86 tests: add virt-xml test to demonstrate changing graphics and video at the same time b34ae0d0 virt-xml: allow multiple --edit options cb6636f4 virtinst: add getter/setter for video model 093d58fb virtinst: add/remove spice devices when updating graphics type aaf85519 virtinst: remove spice devices when removing last spice graphics 7a03f3ef testsuite: add test-spice vm definition 2a0aa2d5 virtinst: fix compare for audio devices ef64949e virtinst: unify detection of duplicate console when removing device 29145b9e Fix some pylint 90ceb87b virt-install: implement passt backend for user network interface b1ee4c94 po: Refresh translation template baa380aa Translated using Weblate (Arabic) 2d3f3faa Translated using Weblate (German) deadb8a5 Translated using Weblate (Indonesian) 41fa111c Translated using Weblate (Indonesian) 276c1c4b Translated using Weblate (Chinese (Traditional) (zh_TW)) 383c83af Translated using Weblate (Korean) 735a4352 Translated using Weblate (Portuguese (Brazil)) 4e6ce92e Translated using Weblate (English (United Kingdom)) a4adbc1a Translated using Weblate (French) 954c9b6b uitests: createvm: fix case on f40 2ddbea5d uitests: Fix get_text() on fedora40 0cad0c4d uitests: force internal snapshots in test_snapshot.py a00c0900 uitests: handle newer libvirt test driver UpdateDevice support 2e1bacfd uitests: Add live external snapshot testing 95ca39aa uitests: test xmleditor textview fallback 8eb37c0e uitests: Add some virtManager coverage exclusions 1194f099 tests: cli: Fix with latest libvirt 0288e925 tests: cli: Use regex for grep= and nogrep= args 648f52bd virt-install: fix cloud-init ssh keys 72a74fb1 virtinstall: Fix --location and --cloud-init conflict 0c981eec tests: Add test for DeviceDisk.paths_in_use_by 328cabca hoststorage: Use DeviceDisk.paths_in_use_by for performance cd8eeaf5 virtinst: disk: Add paths_in_use_by() 8a0e2239 tests: add s390x default test case 43f581c2 virtinst: add graphics to risc-v virt VMs by default faebce40 virtinst: add graphics to aarch64 virt VMs by default 9ede5d22 Add test cases for loongarch ea3cae4d Add some default device support for loongarch d2cf01b3 Add loongarch support eee8d09d cli: Deprecate --cpu host 8b5f73e9 cli: Don't suggest --cpu host 0530df76 man: Don't suggest --cpu host ba3a098c virtinst: disk: strip away `file://` protocol 5fcf506e tests: skip mdev tests for libvirt older than 10.4.0 6a85d79a xmleditor: make gtksourceview optional a91e23c8 install: Use virtio-scsi for unattended installations 7f8230a1 guest: Prefer UEFI for riscv64 6fca91f2 tests: Add more riscv64 tests 3b09701f tests: Use SPICE graphics on riscv64 9ec58525 tests: Switch to --osinfo for riscv64 0612dca8 tests: Drop precompare_check from riscv64 094a8120 tests: Update riscv64 capabilities 1261666c ci: Add test-against-libvirt-git.yml ca25b41a ci: clarify comment about what fedora packages we test against 738a8d9f uitests: Fix with GtkFileChooserNative db1b2fbc Use GtkFileChooserNative 231a3dbc build: use setuptools.command.build when available 4f4e73d0 build: use super() 17d9f339 Tweak for codecov v4 68efec21 ci: bump codecov/codecov-action from 3 to 4 8f8a1b9b ci: checkout the code after installing git-core 14c5684f ci: split base dependency and build dependency installation 3f79e76e ci: install git-core as well e21129ae ci: Rename `CI` workflow to `Test on fedora:latest` dce9de48 hostdev: Fix error when mdev type_id is missing 8b6db203 tests: Fix host-copy XML with libvirt 10.1.0 4ffbc0d9 Allow serial console resize to beyond 80 columns. e95ca453 virtManager: ignore agen livecycle event for shutoff VMs 5488ff47 virtManager: add support to create external snapshots f1ba012e virtManager: domain: allow disk only snapshots d8565ac5 virtinst: snapshot: add memory file attribute 3cde1acb virtinst: add external snapshot capability dadb9a0d po: sort LINGUAS 55b4c1bc Translated using Weblate (Chinese (Simplified) (zh_CN)) 1be248e6 Translated using Weblate (Korean) e4e406e3 Translated using Weblate (Portuguese (Brazil)) 9c4b7895 Translated using Weblate (Georgian) c8c37cb0 Translated using Weblate (Portuguese (Brazil)) a6b62a20 systray: Cleanups and improvements for --show-systray 2043847a uitests: More handling for slow startup on f39 75e4d1dd baseclass: Avoid glib `Source ID XX not found` at app shutdown 6c977426 man: document --show-systray option 69290e05 cli: add --show-systray option 014d1ef9 console: Cleanup and improve console menu handling 409e4bf2 console: Select the first embeddable graphics device as graphical console d83074a0 domain: Add idx parameter to open_graphics_fd() 9c242ef7 console: Move embeddable_graphics() to console.py 0d3b7f67 Fix pylint 3.1.0 issues a52ab24e createvm: Replace deprecated pkgutil.find_loader 0c899a7c uitests: Handle slow app launch on fedora 39 a05ab5cd uitests: Fix walkUI flakyness bb867213 ui: details: Increased scrolledview6's height request 04cc4895 ui: details: fix Applications width. 7ae3e10b netlist: Fix UI error when virtual network doesn't exist cf172c8e testdriver: Add portgroups example to test-many-devices 82f1c449 domain: rename: handle firmware ending with .qcow2 78f7797c Support creating sparse volumes on ZFS pools 6710ca69 setup: Allow `pylint -j0` Along with the update to 5.0.0, we switch from setuptools to meson. - man page building is patched out - we add some new rdepends/depends for the build - we disable the building of tests - disable icon cache updating Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/virt-manager/virt-manager/0001-build-drop-man-directory.patch31
-rw-r--r--recipes-extended/virt-manager/virt-manager/0001-setup.py-move-global-args-to-install-args.patch78
-rw-r--r--recipes-extended/virt-manager/virt-manager_git.bb (renamed from recipes-extended/virt-manager/virt-manager_4.1.0.bb)17
3 files changed, 45 insertions, 81 deletions
diff --git a/recipes-extended/virt-manager/virt-manager/0001-build-drop-man-directory.patch b/recipes-extended/virt-manager/virt-manager/0001-build-drop-man-directory.patch
new file mode 100644
index 00000000..043428b9
--- /dev/null
+++ b/recipes-extended/virt-manager/virt-manager/0001-build-drop-man-directory.patch
@@ -0,0 +1,31 @@
1From f86dfffa8d443ec640b1c76d2eeccd6a4913305d Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Fri, 17 Jan 2025 15:32:51 +0000
4Subject: [PATCH] build: drop man directory
5
6The man pages require rst2man, which isn't available (or at least
7not trivial to provide), so we drop the man directory to avoid
8building the pages.
9
10Upstream-Status: Inappropriate [oe specific]
11
12Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
13---
14 meson.build | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/meson.build b/meson.build
18index 8862ada8f..22a14d53f 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -15,7 +15,6 @@ pkgdir = datadir / 'virt-manager'
22 git = run_command('test', '-e', '.git', check: false).returncode() == 0
23
24 subdir('scripts')
25-subdir('man')
26 subdir('data')
27 subdir('ui')
28 subdir('virtinst')
29--
302.39.2
31
diff --git a/recipes-extended/virt-manager/virt-manager/0001-setup.py-move-global-args-to-install-args.patch b/recipes-extended/virt-manager/virt-manager/0001-setup.py-move-global-args-to-install-args.patch
deleted file mode 100644
index f0bbf73b..00000000
--- a/recipes-extended/virt-manager/virt-manager/0001-setup.py-move-global-args-to-install-args.patch
+++ /dev/null
@@ -1,78 +0,0 @@
1From bcdb3555b924573e85039b54d63d6173ad99b846 Mon Sep 17 00:00:00 2001
2From: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
3Date: Wed, 28 Feb 2024 10:24:00 +0100
4Subject: [PATCH] setup.py: move global args to install args
5
6Presently, during the installation process, global arguments such as
7`no-update-icon-cache` and `no-compile-schemas` are utilized to
8prevent the installation of specific graphical components. These
9arguments are essential, for instance, when installing virt-manager
10without any GUI dependencies on the target system. However, these
11global arguments must be set before the install command, yet they only
12take effect during the execution of the command.
13
14Since the Yocto `setuptools3_legacy` class parses arguments after the
15command, this commit aims to make these arguments applicable locally to
16the install command.
17
18Upstream-Status: Inappropriate [oe specific]
19
20Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
21---
22 setup.py | 20 ++++++++++++--------
23 1 file changed, 12 insertions(+), 8 deletions(-)
24
25diff --git a/setup.py b/setup.py
26index cd6cd83e..faca546a 100755
27--- a/setup.py
28+++ b/setup.py
29@@ -242,6 +242,16 @@ class my_egg_info(setuptools.command.install_egg_info.install_egg_info):
30
31
32 class my_install(setuptools.command.install.install):
33+ setuptools.command.install.install.user_options += [
34+ ("no-update-icon-cache", None, "Don't run gtk-update-icon-cache"),
35+ ("no-compile-schemas", None, "Don't compile gsettings schemas"),
36+ ]
37+
38+ def initialize_options(self):
39+ setuptools.command.install.install.initialize_options(self)
40+ self.no_update_icon_cache = None
41+ self.no_compile_schemas = None
42+
43 """
44 Error if we weren't 'configure'd with the correct install prefix
45 """
46@@ -266,12 +276,12 @@ class my_install(setuptools.command.install.install):
47 def run(self):
48 setuptools.command.install.install.run(self)
49
50- if not self.distribution.no_update_icon_cache:
51+ if not self.no_update_icon_cache:
52 print("running gtk-update-icon-cache")
53 icon_path = os.path.join(self.install_data, "share/icons/hicolor")
54 self.spawn(["gtk-update-icon-cache", "-q", "-t", icon_path])
55
56- if not self.distribution.no_compile_schemas:
57+ if not self.no_compile_schemas:
58 print("compiling gsettings schemas")
59 gschema_install = os.path.join(self.install_data,
60 "share/glib-2.0/schemas")
61@@ -421,14 +431,8 @@ class CheckPylint(setuptools.Command):
62
63
64 class VMMDistribution(setuptools.dist.Distribution):
65- global_options = setuptools.dist.Distribution.global_options + [
66- ("no-update-icon-cache", None, "Don't run gtk-update-icon-cache"),
67- ("no-compile-schemas", None, "Don't compile gsettings schemas"),
68- ]
69
70 def __init__(self, *args, **kwargs):
71- self.no_update_icon_cache = False
72- self.no_compile_schemas = False
73 setuptools.dist.Distribution.__init__(self, *args, **kwargs)
74
75
76--
772.34.1
78
diff --git a/recipes-extended/virt-manager/virt-manager_4.1.0.bb b/recipes-extended/virt-manager/virt-manager_git.bb
index d752fd2b..71806077 100644
--- a/recipes-extended/virt-manager/virt-manager_4.1.0.bb
+++ b/recipes-extended/virt-manager/virt-manager_git.bb
@@ -3,26 +3,34 @@ HOMEPAGE = "https://virt-manager.org/"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5DEPENDS += "python3-docutils-native" 5DEPENDS += "python3-docutils-native"
6SRCREV = "6710ca6969b7d9c4e8344acd0fe3d50b24adc8ec" 6SRCREV = "da2f65f9262fc18e2b05f527cf8886b1c6b9cde1"
7 7
8SRC_URI = " \ 8SRC_URI = " \
9 git://github.com/virt-manager/virt-manager;branch=main;protocol=https \ 9 git://github.com/virt-manager/virt-manager;branch=main;protocol=https \
10 file://0001-setup.py-move-global-args-to-install-args.patch \ 10 file://0001-build-drop-man-directory.patch \
11" 11"
12 12
13PV = "v5.0.0+git"
14
13S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
14 16
15PACKAGECONFIG ??= "gui" 17PACKAGECONFIG ??= "gui"
16PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject" 18PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject"
17 19
18inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)} 20inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)}
19inherit bash-completion gettext pkgconfig setuptools3_legacy 21inherit bash-completion gettext pkgconfig meson
22
23EXTRA_OEMESON += "-Dupdate-icon-cache=false \
24 -Dtests=disabled \
25 "
20 26
21PACKAGES += " \ 27PACKAGES += " \
22 ${PN}-common \ 28 ${PN}-common \
23 ${PN}-install \ 29 ${PN}-install \
24" 30"
25 31
32DEPENDS = "python3-pylint"
33
26RDEPENDS:${PN}-common += " \ 34RDEPENDS:${PN}-common += " \
27 libvirt-python \ 35 libvirt-python \
28 libosinfo \ 36 libosinfo \
@@ -32,6 +40,9 @@ RDEPENDS:${PN} = " \
32 ${PN}-common \ 40 ${PN}-common \
33 libvirt-glib \ 41 libvirt-glib \
34 libxml2-python \ 42 libxml2-python \
43 gdk-pixbuf \
44 gtk+3 \
45 hicolor-icon-theme \
35 python3-pygobject \ 46 python3-pygobject \
36 python3-requests \ 47 python3-requests \
37" 48"