Difference between revisions of "Libxcb"

From CBLFS
Jump to navigationJump to search
m (Reverted edits by Oppiz (Talk); changed back to last version by Bigdissaved)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://xcb.freedesktop.org/dist/libxcb-{{Libxcb-Version}}.tar.bz2
 
| http://xcb.freedesktop.org/dist/libxcb-{{Libxcb-Version}}.tar.bz2
 +
|-valign="top"
 +
!Download Patch:  (update/test patch for new ver)
 +
| http://svn.cross-lfs.org/svn/repos/patches/libxcb/libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch
 
|}
 
|}
  
Line 22: Line 25:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
  ./configure $XORG_CONFIG &&
 
  ./configure $XORG_CONFIG &&
 
  make
 
  make
Line 35: Line 39:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 
  ./configure $XORG_CONFIG32 &&
 
  ./configure $XORG_CONFIG32 &&
Line 47: Line 52:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
 
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
 
  ./configure $XORG_CONFIGN32 &&
 
  ./configure $XORG_CONFIGN32 &&
Line 59: Line 65:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 
  ./configure $XORG_CONFIG64 &&
 
  ./configure $XORG_CONFIG64 &&
Line 67: Line 74:
 
  make install
 
  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[http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html]:
 +
 +
export LIBXCB_ALLOW_SLOPPY_LOCK=1
  
 
= Contents =
 
= Contents =

Revision as of 18:37, 2 February 2008

Download Source: http://xcb.freedesktop.org/dist/libxcb-1.7.tar.bz2
Download Patch: (update/test patch for new ver) 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 &&
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 &&
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 &&
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=12998"