freeglut: return x11 to REQUIRED_DISTRO_FEATURES
PATCH 1/2 freeglut: return x11 to REQUIRED_DISTRO_FEATURES
* depends on libxi causing:
ERROR: Nothing PROVIDES 'libxi' (but /OE/build/luneos-nanbield/meta-openembedded/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb DEPENDS on or otherwise requires it) libxi was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'freeglut', 'libxi']
for distros with opengl but without x11 in DISTRO_FEATURES
--- meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +2 -2
@@ -8,8 +8,8 @@ SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6 inherit cmake features_check pkgconfig -# depends on virtual/libgl -REQUIRED_DISTRO_FEATURES = "opengl" +# depends on virtual/libgl and libxi +REQUIRED_DISTRO_FEATURES = "opengl x11" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" PACKAGECONFIG[gles] = "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF,"
Signature · 1 line
2.42.0
PATCH 2/2 packagegroup-meta-multimedia: restore x11 restriction for projucer
* it was removed in:
https://git.openembedded.org/meta-openembedded/commit/?id=deb11a823c32d4090b3724a589641810e06df6bc
* but still needed as shown in world build without x11 in DISTRO_FEATURES:
ERROR: Nothing RPROVIDES 'projucer' (but /OE/build/luneos-nanbield/meta-openembedded/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb RDEPENDS on or otherwise requires it) projucer was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
NOTE: Runtime target 'projucer' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['projucer']
--- .../packagegroups/packagegroup-meta-multimedia.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb +1 -1
@@ -44,7 +44,7 @@ RDEPENDS:packagegroup-meta-multimedia = "\ bigbuckbunny-720p \ tearsofsteel-1080p \ pipewire \ - ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "projucer", "", d)} \ + ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", bb.utils.contains("DISTRO_FEATURES", "x11", "projucer", "", d), "", d)} \ libcamera \ vorbis-tools \ libopenmpt \
Signature · 1 line
2.42.0