Difference between revisions of "Libxcb"

From CBLFS
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
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 28: 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 42: Line 38:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
 
  USE_ARCH=32 CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 
  USE_ARCH=32 CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 
  ./configure $XORG_CONFIG32 &&
 
  ./configure $XORG_CONFIG32 &&
Line 55: Line 50:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
 
  USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
 
  USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
 
  ./configure $XORG_CONFIGN32 &&
 
  ./configure $XORG_CONFIGN32 &&
Line 68: Line 62:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libxcb-{{Libxcb-Version}}-sloppy_lock-1.patch &&
 
 
  USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 
  USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 
  ./configure $XORG_CONFIG64 &&
 
  ./configure $XORG_CONFIG64 &&
Line 76: Line 69:
  
 
  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 =

Latest revision as of 16:31, 8 June 2009

Download Source: http://xcb.freedesktop.org/dist/libxcb-1.7.tar.bz2

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure $XORG_CONFIG &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

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:

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:

USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
./configure $XORG_CONFIG64 &&
make

Install the package

make install

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=18393"