diff options
| author | Changqing Li <changqing.li@windriver.com> | 2026-03-11 13:05:53 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-17 13:25:22 -0700 |
| commit | 4cb76735a5dd5ca534f3075181e7697301d1eb25 (patch) | |
| tree | 59f493cea1dc39e1f20ae2f550d6bfdc387600fe | |
| parent | bd98b8e5cd68bec8be7cbf0ecaef3af41fc2e7c2 (diff) | |
| download | meta-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.bb | 3 |
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. |
| 12 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 12 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 13 | REQUIRED_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 |
| 15 | SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" | 16 | SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" |
| @@ -19,7 +20,7 @@ EXTRA_OECONF += "--with-vendor-info=${DISTRO}" | |||
| 19 | EXTRA_OECONF += "--disable-vala" | 20 | EXTRA_OECONF += "--disable-vala" |
| 20 | 21 | ||
| 21 | PACKAGECONFIG ??= " \ | 22 | PACKAGECONFIG ??= " \ |
| 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl','x11', "", d)} \ | 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11', "", d)} \ |
| 23 | " | 24 | " |
| 24 | PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" | 25 | PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" |
| 25 | PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification" | 26 | PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification" |
