Refer [1], but when DISTRO_FEATURES only container wayland, but not x11,
do_configure will failed with error:
| ../sources/libwnck-43.2/meson.build:55:8: ERROR: Dependency "x11" not found, 
tried pkgconfig
| ERROR: meson setup failed
Besides, refer the following source code, seems libwnck3 only support x11.
libwnck/util.c:248:      g_warning ("libwnck is designed to work in X11 only, 
no valid display found");

[1] 
https://git.openembedded.org/meta-openembedded/commit/?id=abdb05b6b4b31ff40c4219336b7096db014284f1

Signed-off-by: Changqing Li <[email protected]>
---
 meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb 
b/meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb
index 4342325f11..ba139cf5cc 100644
--- a/meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb
+++ b/meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb
@@ -23,6 +23,4 @@ SRC_URI += 
"file://ef0e40d59c32d7ebeb94d242436e3144cefc174a.patch;patch=1 \
             
file://0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch;patch=1"
 SRC_URI[archive.sha256sum] = 
"55a7444ec1fbb95c086d40967388f231b5c0bbc8cffaa086bf9290ae449e51d5"
 
-# gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
-# cairo would at least needed to be built with xlib.
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#125051): 
https://lists.openembedded.org/g/openembedded-devel/message/125051
Mute This Topic: https://lists.openembedded.org/mt/118255397/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to