Contents
$XORG_PREFIX
/include/xcb and $XORG_PREFIX
/share/doc/libxcb-1.0
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.
Download (HTTP): http://xcb.freedesktop.org/dist/libxcb-1.0.tar.bz2
Download MD5 sum: 0eb951fd0fa9542dbe4fc3530b81a3b6
Download size: 410 KB
Estimated disk space required: 15.0 MB
Estimated build time: 0.4 SBU
Required patch to workaround X11 locking bugs in other applications: http://www.linuxfromscratch.org/patches/blfs/6.3/libxcb-1.0-sloppy_lock-1.patch
libXau-1.0.3, libXdmcp-1.0.2, libpthread-stubs-0.1, xcb-proto-1.0, and libxslt-1.1.22
Doxygen-1.5.2 (to generate API documentation) and Check (to run tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libxcb
Install libxcb by running the following commands:
patch -Np1 -i ../libxcb-1.0-sloppy_lock-1.patch && ./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-1.0 && make
To test the results, issue: make check.
Now, as the root
user:
make install
--docdir='${datadir}'/doc/libxcb-1.0
:
This parameter ensures the libxcb
documentation is installed to a versioned directory.
--without-doxygen
: This
switch can be used to disable the API documentation if Doxygen-1.5.2 is installed.
The libxcb developers have decided to be strict in asserting locking bugs in X11 applications. This is different than the behavior of libX11 when used on its own, and it will cause some applications to crash when they previously did not. When an application has these types of bugs, it will crash with the following assertion:
xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
The patch applied above to libxcb adds an environment variable,
LIBXCB_ALLOW_SLOPPY_LOCK
, to be set
which will allow the locking bugs to not crash the application.
It is a workaround that is known to be needed in a few cases. If
it is found that these bugs affect an application in use, add the
following to your system or personal profile:
export LIBXCB_ALLOW_SLOPPY_LOCK=1
$XORG_PREFIX
/include/xcb and $XORG_PREFIX
/share/doc/libxcb-1.0
Last updated on 2008-08-11 10:11:37 -0500