Difference between revisions of "Xorg7/libdrm"

From CBLFS
Jump to navigationJump to search
(Added a required dependency for the multilib build.)
 
(5 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
{{Package-Introduction|Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.|http://dri.freedesktop.org/wiki/}}
 
{{Package-Introduction|Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.|http://dri.freedesktop.org/wiki/}}
  
{{Note|While there ''are'' newer versions of libdrm available, MesaLib {{Mesa-Version}} needs libdrm {{Libdrm-Version}}. Newer versions of libdrm will not work.}}
+
{{Note|While there ''are'' newer versions of libdrm available, MesaLib {{Mesa-Version}} needs libdrm {{Libdrm-Version}}. Newer or older versions of libdrm may not work.}}
 +
 
 +
== Dependencies ==
 +
 
 +
=== Required ===
 +
* [[libatomic_ops]] (Multilib Only)
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 28: Line 33:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure $XORG_CONFIG32 &&
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
./configure $XORG_CONFIG32 &&
 
  make
 
  make
  
Line 39: Line 45:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure $XORG_CONFIGN32 &&
+
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 +
./configure $XORG_CONFIGN32 &&
 
  make
 
  make
  
Line 50: Line 57:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure $XORG_CONFIG64 &&
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure $XORG_CONFIG64 &&
 
  make
 
  make
  

Latest revision as of 17:19, 20 April 2011

Download Source: http://dri.freedesktop.org/libdrm/libdrm-2.4.22.tar.bz2

Back to the Xorg Libraries

Introduction to Xorg7/libdrm

Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.

Project Homepage: http://dri.freedesktop.org/wiki/

Caution.png

Note

While there are newer versions of libdrm available, MesaLib 7.9 needs libdrm 2.4.22. Newer or older versions of libdrm may not work.

Dependencies

Required

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 Directories: ${XORG_PREFIX}/include/drm
Installed Libraries: libdrm.{la,so}

Short Description

libdrm.{la,so} Shared library providing the necessary interfaces.

Forward to MesaLib