Libxcb

From CBLFS
Revision as of 08:36, 11 April 2009 by Weibullguy (talk | contribs) (Tested. Haven't heard of any problems, must be working.)
Jump to navigationJump to search
Download Source: http://xcb.freedesktop.org/dist/libxcb-1.7.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/libxcb/libxcb-1.7-sloppy_lock-1.patch

Dependencies

Required

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../libxcb-1.7-sloppy_lock-1.patch &&
./configure $XORG_CONFIG &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../libxcb-1.7-sloppy_lock-1.patch &&
USE_ARCH=32 CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
./configure $XORG_CONFIG32 &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../libxcb-1.7-sloppy_lock-1.patch &&
USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
./configure $XORG_CONFIGN32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../libxcb-1.7-sloppy_lock-1.patch &&
USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
./configure $XORG_CONFIG64 &&
make

Install the package

make install

Configuring

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[1]:

export LIBXCB_ALLOW_SLOPPY_LOCK=1

Contents

Installed Programs: None
Installed Libraries: libxcb.{a,la,so}, libxcb-xlib.{a,la,so}, libxcb-composite.{a,la,so}, libxcb-damage.{a,la,so}, libxcb-dpms.{a,la,so}, libxcb-glx.{a,la,so}, libxcb-randr.{a,la,so}, libxcb-record.{a,la,so}, libxcb-render.{a,la,so}, libxcb-res.{a,la,so}, libxcb-screensaver.{a,la,so}, libxcb-shape.{a,la,so}, libxcb-shm.{a,la,so}, libxcb-sync.{a,la,so}, libxcb-xevie.{a,la,so}, libxcb-xf86dri.{a,la,so}, libxcb-xfixes.{a,la,so}, libxcb-xinerama.{a,la,so}, libxcb-xprint.{a,la,so}, libxcb-xtest.{a,la,so}, libxcb-xv.{a,la,so}, libxcb-xvmc.{a,la,so}
Installed Directory: /{XORG_PREFIX}/include/xcb, /{XORG_PREFIX}/share/doc/libxcb
Retrieved from "?title=Libxcb&oldid=18084"