summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2026-03-11 13:05:53 +0800
committerKhem Raj <raj.khem@gmail.com>2026-03-17 13:25:22 -0700
commit4cb76735a5dd5ca534f3075181e7697301d1eb25 (patch)
tree59f493cea1dc39e1f20ae2f550d6bfdc387600fe
parentbd98b8e5cd68bec8be7cbf0ecaef3af41fc2e7c2 (diff)
downloadmeta-openembedded-4cb76735a5dd5ca534f3075181e7697301d1eb25.tar.gz
libxfce4ui: update REQUIRED_DISTRO_FEATURES
Refer [1], when DISTRO_FEATURES contains opengl, but not x11, world build will report: ERROR: Nothing PROVIDES 'libice' (but /build/layers/meta-openembedded/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb DEPENDS on or otherwise requires it) libice was skipped: using DISTRO 'poky', which is missing required DISTRO_FEATURES: 'x11' [1] https://git.openembedded.org/meta-openembedded/commit/?id=bd206048b6fabe22a67058aaf250a28d00d92135 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb
index d485abc19a..a0be1f6067 100644
--- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb
+++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb
@@ -10,6 +10,7 @@ inherit xfce gtk-doc gobject-introspection features_check
10# xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. 10# xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
11# cairo would at least needed to be built with xlib. 11# cairo would at least needed to be built with xlib.
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
13REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','opengl', "", d)}"
13 14
14# TODO: Check if 0001-... can go 15# TODO: Check if 0001-... can go
15SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" 16SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch"
@@ -19,7 +20,7 @@ EXTRA_OECONF += "--with-vendor-info=${DISTRO}"
19EXTRA_OECONF += "--disable-vala" 20EXTRA_OECONF += "--disable-vala"
20 21
21PACKAGECONFIG ??= " \ 22PACKAGECONFIG ??= " \
22 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl','x11', "", d)} \ 23 ${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11', "", d)} \
23" 24"
24PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" 25PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade"
25PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification" 26PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification"