Skip to contentSkip to conversation

libxcb: DEPEND on xcb-proto-native

PATCH New Michael Smith 1 participant 1 message Nov 3, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxcb: DEPEND on xcb-proto-native

libxcb needs the xcbgen Python modules staged by xcb-proto-native.

---

xcb-proto stages xcbgen to ${HOST_SYS}/${prefix}/lib/python2.6. xcb-proto-native stages it to ${BUILD_SYS}/${prefix}/lib/python2.6.

I think since we're running Python on the build system, libxcb should be using the module staged to BUILD_SYS. I hit this when building for x86_64 because xcb-proto's /lib/python2.6 didn't get staged - it's not under /lib64.

I'm not sure which is the right fix - make libxcb depend on xcb-proto-native, or add a special case to staging.bbclass for ${prefix}/lib/python2.6. It already has a special case for Python, but only when staging native packages. I think staging.bbclass is right and libxcb should depend on xcb-proto-native.

 recipes/xcb/libxcb.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/xcb/libxcb.inc +2 -2
index 9fb3377..8f86c3b 100644
@@ -5,9 +5,9 @@ HOMEPAGE = "http://xcb.freedesktop.org"
 
 PARALLEL_MAKE = ""
 BBCLASSEXTEND = "native nativesdk"
-DEPENDS = "xcb-proto xproto libxau libxslt-native"
+DEPENDS = "xcb-proto xcb-proto-native xproto libxau libxslt-native"
 # DEPENDS += "xsltproc-native gperf-native"
-INC_PR = "r3"
+INC_PR = "r4"
 
 SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2 \
         file://configure.patch;striplevel=0"
Signature · 1 line
1.7.0.4