From: | "Maxim Koltsov (maksbotan)" <maksbotan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-libs/xpyb/files: xpyb-python.patch |
Date: | Wed, 22 May 2013 09:17:27 |
Message-Id: | 20130522091723.3070220081@flycatcher.gentoo.org |
1 | maksbotan 13/05/22 09:17:23 |
2 | |
3 | Added: xpyb-python.patch |
4 | Log: |
5 | Enable installation of python module for multiple python ABIs, bug #470902. Use '--enable-selinux' instead of wrong '--enable-xselinux'. |
6 | |
7 | (Portage version: 2.1.12/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-libs/xpyb/files/xpyb-python.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/xpyb/files/xpyb-python.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/xpyb/files/xpyb-python.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xpyb-python.patch |
16 | =================================================================== |
17 | --- xpyb-1.3.1/configure.ac.orig 2013-05-21 19:01:51.054962821 +0400 |
18 | +++ xpyb-1.3.1/configure.ac 2013-05-21 19:05:22.342961464 +0400 |
19 | @@ -38,7 +38,8 @@ |
20 | |
21 | # Find the xcbgen Python package |
22 | AC_MSG_CHECKING([for xcb-proto python dir]) |
23 | -XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto` |
24 | +XCBPROTO_XCBPYTHONDIR=`$PYTHON -c 'import xcbgen; from os.path import dirname, abspath, join; \ |
25 | + print abspath(join(dirname(xcbgen.[__file__]), ".."))'` |
26 | AC_MSG_RESULT($XCBPROTO_XCBPYTHONDIR) |
27 | AC_SUBST(XCBPROTO_XCBPYTHONDIR) |