[oe] [PATCH] libxcb: DEPEND on xcb-proto-native

Michael Smith msmith at cbnco.com
Wed Nov 3 14:53:03 UTC 2010


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

Signed-off-by: Michael Smith <msmith at cbnco.com>
---


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(-)

diff --git a/recipes/xcb/libxcb.inc b/recipes/xcb/libxcb.inc
index 9fb3377..8f86c3b 100644
--- a/recipes/xcb/libxcb.inc
+++ b/recipes/xcb/libxcb.inc
@@ -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"
-- 
1.7.0.4





More information about the Openembedded-devel mailing list