libwnck3: add x11 to REQUIRED_DISTRO_FEATURES

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 <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Changqing Li 2026-03-11 13:05:49 +08:00 committed by Khem Raj
parent cd0431d03a
commit aa96ff9526
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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" file://0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch;patch=1"
SRC_URI[archive.sha256sum] = "55a7444ec1fbb95c086d40967388f231b5c0bbc8cffaa086bf9290ae449e51d5" SRC_URI[archive.sha256sum] = "55a7444ec1fbb95c086d40967388f231b5c0bbc8cffaa086bf9290ae449e51d5"
# gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. REQUIRED_DISTRO_FEATURES = "x11"
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"