Introduction to libxcb

The libxcb package provides an interface to the X Window System protocol, which replaces the current Xlib interface. Xlib can also use XCB as a transport layer, allowing software to make requests and receive responses with both.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

Additional Downloads

libxcb Dependencies


libXau-1.0.8, libXdmcp-1.1.1, libxslt-1.1.28, and xcb-proto-1.8


Doxygen-1.8.5 (to generate API documentation) and Check-0.9.10 (to run tests)

User Notes:

Installation of libxcb

Install libxcb by running the following commands:

patch -Np1 -i ../libxcb-1.9.1-automake_bug-1.patch &&
sed -e "s/pthread-stubs//" -i &&
autoreconf -fi &&
./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-1.9.1 \
            --enable-xinput --enable-xkb &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed -e "s/pthread-stubs//" -i This sed removes dependency on libpthread-stubs package which is useless on Linux.

--enable-xinput: This switch enables XCB Xinput extension.

--enable-xkb: This switch enables XCB XKB extension.

--without-doxygen: This switch can be used to disable the API documentation if Doxygen-1.8.5 is installed.


Installed Programs: None
Installed Libraries: and libxcb-*.so
Installed Directories: $XORG_PREFIX/include/xcb and $XORG_PREFIX/share/doc/libxcb-1.9.1

Short Descriptions

is an interface to the X Window System protocol.

Last updated on 2013-08-18 14:52:29 -0700