Skip to contentSkip to conversation

renderdoc: add x11 to REQUIRED_DISTRO_FEATURES

PATCH Superseded Adrian Ratiu 2 participants 2 messages Oct 4, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 renderdoc: add x11 to REQUIRED_DISTRO_FEATURES

This recipe depends on having x11 enabled so we add it to fix:

ERROR: Nothing PROVIDES 'libxcb' (but meta-oe/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
DEPENDS on or otherwise requires it)
libxcb was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)

---
 meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb +2 -0
index b6e0c92f6..dd5e4058c 100644
@@ -10,6 +10,8 @@ SRC_URI = "git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \
 "
 S = "${WORKDIR}/git"
 
+REQUIRED_DISTRO_FEATURES = "x11"
+
 DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native"
 
 RDEPENDS_${PN} = "libxcb xcb-util-keysyms"
Signature · 1 line
2.23.0
#1 lore raw
Quoted 6 lines · Adrian Ratiu

This recipe depends on having x11 enabled so we add it to fix:

ERROR: Nothing PROVIDES 'libxcb' (but meta-oe/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
DEPENDS on or otherwise requires it)
libxcb was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)

Thanks for quick update!

Sorry I haven't mentioned it in the (late) review comment, but this will also need distro_features_check in the inherit for REQUIRED_DISTRO_FEATURES variable to work.

Cheers,

Quoted 21 lines
---
 meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb +2 -0
index b6e0c92f6..dd5e4058c 100644
@@ -10,6 +10,8 @@ SRC_URI = "git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \
 "
 S = "${WORKDIR}/git"
 
+REQUIRED_DISTRO_FEATURES = "x11"
+
 DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native"
 
 RDEPENDS_${PN} = "libxcb xcb-util-keysyms"
Signature · 1 line
2.23.0
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]