Difference between revisions of "Libxcb"

From CBLFS
Jump to navigationJump to search
m
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 25: Line 22:
 
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 39: Line 35:
 
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 52: Line 48:
 
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 65: Line 61:
 
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 74: Line 70:
 
  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:07, 2 February 2008

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:


CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
./configure $XORG_CONFIG32 &&
make

Install the package

make install

N32

Compile the package:


CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
./configure $XORG_CONFIGN32 &&
make

Install the package

make install

64Bit

Compile the package:


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