Introduction to xcb-proto

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 12.1 platform.

Package Information

xcb-proto Dependencies



libxml2-2.12.5 (required to run the tests)

Installation of xcb-proto

Install xcb-proto by running the following commands:

PYTHON=python3 ./configure $XORG_CONFIG

To test the results, issue: make check.

Now, as the root user:

make install

If you are upgrading from version 1.15.1 or lower, the old pkgconfig file needs to be removed. Issue, as the root user:

rm -f $XORG_PREFIX/lib/pkgconfig/xcb-proto.pc


Installed Programs: None
Installed Libraries: None
Installed Directory: $XORG_PREFIX/share/xcb and $XORG_PREFIX/lib/python3.12/site-packages/xcbgen