summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-04-14 20:33:08 +0200
committerØrjan Malde <red@foxi.me>2024-04-14 20:33:49 +0200
commit170cb2953837a919e6358ab71f47de4fb2521560 (patch)
tree93f651413a03052d05ec14705fdaf6ef8a11a587
parent033cf8845127ba6eb25ab45ebce0c81514234e31 (diff)
downloadmidipix_build-170cb2953837a919e6358ab71f47de4fb2521560.tar.bz2
midipix_build-170cb2953837a919e6358ab71f47de4fb2521560.tar.xz
groups.d/261.native_packages_x11.group: xcb: manually set XCBPYTHON paths
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--groups.d/261.native_packages_x11.group1
-rw-r--r--patches/xcb-1.16.1_pre.local.patch19
2 files changed, 20 insertions, 0 deletions
diff --git a/groups.d/261.native_packages_x11.group b/groups.d/261.native_packages_x11.group
index f0fb2f91..c81033a4 100644
--- a/groups.d/261.native_packages_x11.group
+++ b/groups.d/261.native_packages_x11.group
@@ -190,6 +190,7 @@ xeyes xorgproto Xrender xterm xtrans xwd xwin";
: ${PKG_XCB_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
: ${PKG_XCB_CONFIG_CACHE_EXTRA:="ac_cv_search_sendmsg=no"};
: ${PKG_XCB_CONFIGURE_ARGS_EXTRA:="--disable-randr PYTHON=${PREFIX}/bin/python3"};
+: ${PKG_XCB_ENV_VARS_EXTRA:="XCBPROTO_XCBPYTHONDIR=${PREFIX_NATIVE}/lib/python2.7/site-packages:XCBPROTO_XCBINCLUDEDIR=${PREFIX_NATIVE}/share/xcb"};
: ${PKG_XCB_PROTO_SHA256SUM:=a75a1848ad2a89a82d841a51be56ce988ff3c63a8d6bf4383ae3219d8d915119};
: ${PKG_XCB_PROTO_VERSION:=1.16.0};
: ${PKG_XCB_PROTO_URL:=https://www.x.org/releases/individual/proto/xcb-proto-${PKG_XCB_PROTO_VERSION}.tar.xz};
diff --git a/patches/xcb-1.16.1_pre.local.patch b/patches/xcb-1.16.1_pre.local.patch
new file mode 100644
index 00000000..2f66288d
--- /dev/null
+++ b/patches/xcb-1.16.1_pre.local.patch
@@ -0,0 +1,19 @@
+diff -ru libxcb-1.16.1.orig/configure libxcb-1.16.1/configure
+--- libxcb-1.16.1.orig/configure 2024-03-02 20:38:27.000000000 +0100
++++ libxcb-1.16.1/configure 2024-04-14 20:26:41.346651860 +0200
+@@ -21716,7 +21716,6 @@
+ # Find the xcb-proto protocol descriptions
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
+ printf %s "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
+-XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
+ printf "%s\n" "$XCBPROTO_XCBINCLUDEDIR" >&6; }
+
+@@ -21728,7 +21727,6 @@
+ # Find the xcbgen Python package
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
+ printf %s "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
+-XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
+ printf "%s\n" "$XCBPROTO_XCBPYTHONDIR" >&6; }
+