Difference between revisions of "Libxcb"

From CBLFS
Jump to navigationJump to search
m
 
(11 intermediate revisions by 5 users 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 14: Line 11:
 
=== Required ===
 
=== Required ===
 
* [[xcb-proto]]
 
* [[xcb-proto]]
* [[libpthread-stubs]]
 
 
* [[LibXSLT]]
 
* [[LibXSLT]]
 
* libXau from [[Xorg7/Libraries]]
 
* libXau from [[Xorg7/Libraries]]
 +
* libpthread-stubs from [[Xorg7/Libraries]]
 +
* [[Python]]
 +
 
=== Optional ===
 
=== Optional ===
 
* libXdmcp from [[Xorg7/Libraries]]
 
* libXdmcp from [[Xorg7/Libraries]]
 
* [[doxygen]]
 
* [[doxygen]]
 +
* [[Graphviz]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 25: 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 39: 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} \
CC="gcc ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 
 
  ./configure $XORG_CONFIG32 &&
 
  ./configure $XORG_CONFIG32 &&
 
  make
 
  make
Line 52: 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} \
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \
 
 
  ./configure $XORG_CONFIGN32 &&
 
  ./configure $XORG_CONFIGN32 &&
 
  make
 
  make
Line 65: 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} \
CC="gcc ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 
 
  ./configure $XORG_CONFIG64 &&
 
  ./configure $XORG_CONFIG64 &&
 
  make
 
  make
Line 73: 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"