Skip to contentSkip to conversation

virt-manager: update for PACKAGECONFIG gui

PATCH In review [email protected] 2 participants 2 messages Mar 12, 2025 – Mar 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virt-manager: update for PACKAGECONFIG gui

From: Kai Kang <[email protected]>

It turned to meson since virt-manager 5.0, so update for PACKAGECONFIG gui accordingly. And merge the DEPENDS lines that the latter one uses direct assign('=') which clears the content of DEPENDS set before.

---
 recipes-extended/virt-manager/virt-manager_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
recipes-extended/virt-manager/virt-manager_git.bb +3 -7
index 71806077..a33f37a6 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "virt-manager is a graphical tool for managing virtual machines vi
 HOMEPAGE = "https://virt-manager.org/"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS += "python3-docutils-native"
+DEPENDS += "python3-docutils-native python3-pylint"
 SRCREV = "da2f65f9262fc18e2b05f527cf8886b1c6b9cde1"
 
 SRC_URI = " \
@@ -15,22 +15,18 @@ PV = "v5.0.0+git"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= "gui"
-PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject"
+PACKAGECONFIG[gui] = ",-Dupdate-icon-cache=false -Dcompile-schemas=false,python3-pygobject"
 
 inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)}
 inherit bash-completion gettext pkgconfig meson
 
-EXTRA_OEMESON += "-Dupdate-icon-cache=false \
-                   -Dtests=disabled \
-		 "
+EXTRA_OEMESON += "-Dtests=disabled"
 
 PACKAGES += " \
   ${PN}-common \
   ${PN}-install \
 "
 
-DEPENDS = "python3-pylint"
-
 RDEPENDS:${PN}-common += " \
   libvirt-python \
   libosinfo \
Signature · 1 line
2.34.1
#1 lore raw

I haven't forgotten about this, I'm just overloaded trying to complete some package upgrades and will get to pending patches shortly.

Bruce

Quoted 69 lines · Kai Kang via lists.yoctoproject.org

From: Kai Kang <[email protected]>

It turned to meson since virt-manager 5.0, so update for PACKAGECONFIG gui accordingly. And merge the DEPENDS lines that the latter one uses direct assign('=') which clears the content of DEPENDS set before.

---
 recipes-extended/virt-manager/virt-manager_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
recipes-extended/virt-manager/virt-manager_git.bb +0 -0
index 71806077..a33f37a6 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "virt-manager is a graphical tool for

managing virtual machines vi
HOMEPAGE = "https://virt-manager.org/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

recipes-extended/virt-manager/virt-manager_git.bb +3 -10
-DEPENDS += "python3-docutils-native"
+DEPENDS += "python3-docutils-native python3-pylint"
 SRCREV = "da2f65f9262fc18e2b05f527cf8886b1c6b9cde1"
 
 SRC_URI = " \
@@ -15,22 +15,18 @@ PV = "v5.0.0+git"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= "gui"
-PACKAGECONFIG[gui] = ",--no-update-icon-cache
--no-compile-schemas,python3-pygobject"
+PACKAGECONFIG[gui] = ",-Dupdate-icon-cache=false
-Dcompile-schemas=false,python3-pygobject"
 
 inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache',
 '', d)}
 inherit bash-completion gettext pkgconfig meson
 
-EXTRA_OEMESON += "-Dupdate-icon-cache=false \
-                   -Dtests=disabled \
-                "
+EXTRA_OEMESON += "-Dtests=disabled"
 
 PACKAGES += " \
   ${PN}-common \
   ${PN}-install \
 "
 
-DEPENDS = "python3-pylint"
-
 RDEPENDS:${PN}-common += " \
   libvirt-python \
   libosinfo \
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9163):
https://lists.yoctoproject.org/g/meta-virtualization/message/9163
Mute This Topic: https://lists.yoctoproject.org/mt/111655339/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II