frame: add opengl to REQUIRED_DISTRO_FEATURES
PATCH 1/3 frame: add opengl to REQUIRED_DISTRO_FEATURES
From: Mingli Yu <[email protected]>
Fixes:
ERROR: Nothing PROVIDES 'virtual/xserver' (but /build/layers/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb DEPENDS on or otherwise requires it)
xserver-xorg PROVIDES virtual/xserver but 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', 'geis', 'frame', 'virtual/xserver']
--- meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb +3 -1
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = " \ file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ " -inherit autotools pkgconfig +inherit autotools pkgconfig features_check + +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" SRC_URI = "https://launchpad.net/${BPN}/trunk/v${PV}/+download/${BPN}-${PV}.tar.gz \ file://pessimizing-move.patch"
Signature · 1 line
2.25.1
PATCH 2/3 grail: add opengl to REQUIRED_DISTRO_FEATURES
From: Mingli Yu <[email protected]>
Fixes:
ERROR: Nothing PROVIDES 'frame' (but /build/layers/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb DEPENDS on or otherwise requires it)
frame 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', 'geis', 'grail', 'frame']
--- meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb +3 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \ file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ " -inherit autotools pkgconfig +inherit autotools pkgconfig features_check DEPENDS = "frame" CXXFLAGS:append:toolchain-clang = " -Wno-pessimizing-move"
@@ -19,6 +19,8 @@ UPSTREAM_CHECK_URI = "https://launchpad.net/grail/trunk" SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44" SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3" +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" + PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi"
Signature · 1 line
2.25.1
PATCH 3/3 geis: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
Fixes:
ERROR: Nothing PROVIDES 'grail' (but /build/layers/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb DEPENDS on or otherwise requires it)
grail 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', 'geis', 'grail']
--- meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb +1 -1
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = " \ inherit autotools pkgconfig python3native lib_package features_check -REQUIRED_DISTRO_FEATURES = "x11" +REQUIRED_DISTRO_FEATURES = "x11 opengl" DEPENDS += "grail dbus-glib python3 virtual/libx11 libxext libxi libxcb dbus frame"
Signature · 1 line
2.25.1