* [PATCH] virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES
@ 2022-12-20 13:15 mingli.yu
2022-12-22 15:33 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: mingli.yu @ 2022-12-20 13:15 UTC (permalink / raw)
To: bruce.ashfield, meta-virtualization
From: Mingli Yu <mingli.yu@windriver.com>
Fixes:
ERROR: Nothing PROVIDES 'spice-gtk' (but /build/layers/meta-virtualization/recipes-extended/virt-viewer/virt-viewer_11.0.bb DEPENDS on or otherwise requires it)
spice-gtk was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'virt-viewer', 'spice-gtk']
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
recipes-extended/virt-viewer/virt-viewer_11.0.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/recipes-extended/virt-viewer/virt-viewer_11.0.bb b/recipes-extended/virt-viewer/virt-viewer_11.0.bb
index 55ca57aa..5799f48f 100644
--- a/recipes-extended/virt-viewer/virt-viewer_11.0.bb
+++ b/recipes-extended/virt-viewer/virt-viewer_11.0.bb
@@ -16,6 +16,8 @@ SRCREV = "1e99e5e4f409da91638eb79067ec738994c28ef5"
PV = "11.0+git${SRCPV}"
S = "${WORKDIR}/git"
+REQUIRED_DISTRO_FEATURES = "opengl"
+
PACKAGECONFIG ?= "libvirt spice vte"
PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib"
@@ -23,7 +25,7 @@ PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protoco
PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc"
PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte"
-inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection
+inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection features_check
FILES:${PN} += "${datadir}"
GIR_MESON_OPTION = ''
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES
2022-12-20 13:15 [PATCH] virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
@ 2022-12-22 15:33 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-12-22 15:33 UTC (permalink / raw)
To: mingli.yu; +Cc: meta-virtualization
merged.
Bruce
In message: [PATCH] virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES
on 20/12/2022 mingli.yu@eng.windriver.com wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> Fixes:
> ERROR: Nothing PROVIDES 'spice-gtk' (but /build/layers/meta-virtualization/recipes-extended/virt-viewer/virt-viewer_11.0.bb DEPENDS on or otherwise requires it)
> spice-gtk was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
> ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
> Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'virt-viewer', 'spice-gtk']
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
> recipes-extended/virt-viewer/virt-viewer_11.0.bb | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-extended/virt-viewer/virt-viewer_11.0.bb b/recipes-extended/virt-viewer/virt-viewer_11.0.bb
> index 55ca57aa..5799f48f 100644
> --- a/recipes-extended/virt-viewer/virt-viewer_11.0.bb
> +++ b/recipes-extended/virt-viewer/virt-viewer_11.0.bb
> @@ -16,6 +16,8 @@ SRCREV = "1e99e5e4f409da91638eb79067ec738994c28ef5"
> PV = "11.0+git${SRCPV}"
> S = "${WORKDIR}/git"
>
> +REQUIRED_DISTRO_FEATURES = "opengl"
> +
> PACKAGECONFIG ?= "libvirt spice vte"
>
> PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib"
> @@ -23,7 +25,7 @@ PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protoco
> PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc"
> PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte"
>
> -inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection
> +inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection features_check
>
> FILES:${PN} += "${datadir}"
> GIR_MESON_OPTION = ''
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-22 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-20 13:15 [PATCH] virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
2022-12-22 15:33 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.