[oe-commits] Vladimir Zapolskiy : libxcb: fix paths for installed python modules
git version control
git at git.openembedded.org
Fri Jun 4 12:44:25 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 52b03b11c03899be56ca632411b2e61ac9670554
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=52b03b11c03899be56ca632411b2e61ac9670554
Author: Vladimir Zapolskiy <vzapolskiy at gmail.com>
Date: Fri Jun 4 16:30:08 2010 +0400
libxcb: fix paths for installed python modules
This fixes a compilation problem for recent libxcb versions, providing
correct paths to the installed python modules.
Signed-off-by: Vladimir Zapolskiy <vzapolskiy at gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
recipes/xcb/libxcb/configure_git.patch | 20 ++++++++++++++++++++
recipes/xcb/libxcb_git.bb | 3 ++-
2 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/recipes/xcb/libxcb/configure_git.patch b/recipes/xcb/libxcb/configure_git.patch
new file mode 100644
index 0000000..5dc9f91
--- /dev/null
+++ b/recipes/xcb/libxcb/configure_git.patch
@@ -0,0 +1,20 @@
+--- a/configure.ac 2010-06-04 13:45:24.312592212 +0400
++++ b/configure.ac 2010-06-04 13:47:09.468417189 +0400
+@@ -54,7 +54,7 @@
+
+ # Find the xcb-proto protocol descriptions
+ AC_MSG_CHECKING(XCBPROTO_XCBINCLUDEDIR)
+-XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
++XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR}`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
+ AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR)
+ AC_SUBST(XCBPROTO_XCBINCLUDEDIR)
+
+@@ -64,7 +64,7 @@
+
+ # Find the xcbgen Python package
+ AC_MSG_CHECKING(XCBPROTO_XCBPYTHONDIR)
+-XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
++XCBPROTO_XCBPYTHONDIR=${STAGING_DIR}`$PKG_CONFIG --variable=pythondir xcb-proto`
+ AC_MSG_RESULT($XCBPROTO_XCBPYTHONDIR)
+ AC_SUBST(XCBPROTO_XCBPYTHONDIR)
+
diff --git a/recipes/xcb/libxcb_git.bb b/recipes/xcb/libxcb_git.bb
index 770c18f..cf728e7 100644
--- a/recipes/xcb/libxcb_git.bb
+++ b/recipes/xcb/libxcb_git.bb
@@ -7,7 +7,8 @@ PR = "r0"
DEPENDS += "libpthread-stubs"
-SRC_URI = "git://anongit.freedesktop.org/xcb/libxcb;protocol=git"
+SRC_URI = "git://anongit.freedesktop.org/xcb/libxcb;protocol=git \
+ file://configure_git.patch "
S = "${WORKDIR}/git"
PACKAGES =+ "libxcb-xinerama"
More information about the Openembedded-commits
mailing list