Check master-next: virt-manager has gone to meson for the build and I had
to drop some icon cache bits, as well as add more gtk dependencies to get
it to build/work.

Any patches to make that support more optional would be acceptable, since I
won't look into it for quite some time.

But as it stands, I can't merge this one, as things are different enough
after the uprev to 5.x

Bruce

On Tue, Jan 21, 2025 at 10:12 AM Massimiliano Minella via
lists.yoctoproject.org <massimiliano.minella=
[email protected]> wrote:

> From: Massimiliano Minella <[email protected]>
>
> The inherit is controlled by the PACKAGECONFIG option "gui" but, since
> it is expanded at parse time, this causes a build error if the option is
> removed via a bbappend and DISTRO_FEATURES doesn't contain "x11" or
> "wayland". Replace the inherit with inherit_defer to evaluate the
> inherit at the end of parsing.
>
> Signed-off-by: Massimiliano Minella <[email protected]>
> ---
>  recipes-extended/virt-manager/virt-manager_4.1.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git recipes-extended/virt-manager/virt-manager_4.1.0.bb
> recipes-extended/virt-manager/virt-manager_4.1.0.bb
> index d752fd2b..08b7d02b 100644
> --- recipes-extended/virt-manager/virt-manager_4.1.0.bb
> +++ recipes-extended/virt-manager/virt-manager_4.1.0.bb
> @@ -15,7 +15,7 @@ S = "${WORKDIR}/git"
>  PACKAGECONFIG ??= "gui"
>  PACKAGECONFIG[gui] = ",--no-update-icon-cache
> --no-compile-schemas,python3-pygobject"
>
> -inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache',
> '', d)}
> +inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'gui',
> 'gtk-icon-cache', '', d)}
>  inherit bash-completion gettext pkgconfig setuptools3_legacy
>
>  PACKAGES += " \
>
> ---
> base-commit: b57f8a25a35a93b95e3baa950c2d359fffc13051
> change-id: 20250121-use_inherit_defer-0d8e1fb85c13
>
> Best regards,
> --
> Massimiliano Minella <[email protected]>
>
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9102): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9102
Mute This Topic: https://lists.yoctoproject.org/mt/110734659/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [meta-virtualization] [PAT... Massimiliano Minella via lists.yoctoproject.org
    • Re: [meta-virtualizat... Bruce Ashfield via lists.yoctoproject.org

Reply via email to