Beyond Linux® From Scratch - Version 6.3

Chapter 23. X Window System Environment

libxcb-1.0

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.

Command Explanations

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

Configuring libxcb

Configuration
Information

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: