Contents
$XORG_PREFIX
/share/xcb and $XORG_PREFIX
/lib/python2.7/site-packages/xcbgen
or $XORG_PREFIX
/lib/python3.6/site-packages/xcbgen
The xcb-proto package provides the XML-XCB protocol descriptions that libxcb uses to generate the majority of its code and API.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): https://xcb.freedesktop.org/dist/xcb-proto-1.12.tar.bz2
Download MD5 sum: 14e60919f859560f28426a685a555962
Download size: 152 KB
Estimated disk space required: 1.2 MB
Estimated build time: less than 0.1 SBU
Required patch (for Python 3): http://www.linuxfromscratch.org/patches/blfs/8.1/xcb-proto-1.12-python3-1.patch
Recommended patch: http://www.linuxfromscratch.org/patches/blfs/8.1/xcb-proto-1.12-schema-1.patch
Python-2.7.13 or Python-3.6.2, and Xorg build environment (should be set for the following instructions to work)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xcb-proto
First, fix a file that allows the checks to run properly:
patch -Np1 -i ../xcb-proto-1.12-schema-1.patch
If building with Python 3, issue the following command:
patch -Np1 -i ../xcb-proto-1.12-python3-1.patch
Install xcb-proto by running the following commands:
./configure $XORG_CONFIG
To test the results, issue: make check.
Now, as the root
user:
make install
$XORG_PREFIX
/share/xcb and $XORG_PREFIX
/lib/python2.7/site-packages/xcbgen
or $XORG_PREFIX
/lib/python3.6/site-packages/xcbgen
Last updated on 2017-08-20 21:46:20 -0700