Difference between revisions of "Xorg7/libdrm"

From CBLFS
Jump to navigationJump to search
(Edited to conform to template.)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://dri.freedesktop.org/libdrm/libdrm-{{Libdrm-Version}}.tar.bz2
 
| http://dri.freedesktop.org/libdrm/libdrm-{{Libdrm-Version}}.tar.bz2
|-
 
!Download Source:
 
| http://dri.freedesktop.org/libdrm/libdrm-{{Libdrm-Version}}.tar.gz
 
|-
 
 
|}
 
|}
  
 
Back to the Xorg [[Xorg7/Libraries|Libraries]]
 
Back to the Xorg [[Xorg7/Libraries|Libraries]]
  
= Introduction to libdrm =
+
== Introduction to libdrm ==
  
 
Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.
 
Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.
Line 19: Line 15:
 
<b>Homepage:</b> http://dri.freedesktop.org/wiki/
 
<b>Homepage:</b> http://dri.freedesktop.org/wiki/
  
= Non-Multilib =
+
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
  
  ./configure $XORG_CONFIG &&
+
./configure $XORG_CONFIG &&
  make
+
make
  
 
Install the package:
 
Install the package:
  
  make install
+
make install
  
= Multilib =
+
== Multilib ==
  
== 32Bit ==
+
=== 32Bit ===
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure $XORG_CONFIG32 &&
+
CC="gcc ${BUILD32}" ./configure $XORG_CONFIG32 &&
  make
+
make
  
 
Install the package:
 
Install the package:
  
  make install
+
make install
  
== N32 ==
+
=== N32 ===
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure $XORG_CONFIGN32 &&
+
CC="gcc ${BUILDN32}" ./configure $XORG_CONFIGN32 &&
  make
+
make
  
 
Install the package:
 
Install the package:
  
  make install
+
make install
  
== 64Bit ==
+
=== 64Bit ===
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure $XORG_CONFIG64 &&
+
CC="gcc ${BUILD64}" ./configure $XORG_CONFIG64 &&
  make
+
make
  
 
Install the package:
 
Install the package:
  
  make install
+
make install
  
= Contents =
+
== Contents ==
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
Line 76: Line 72:
 
|}
 
|}
  
== Short Description ==
+
=== Short Description ===
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"

Revision as of 13:34, 3 January 2007

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

Back to the Xorg Libraries

Introduction to libdrm

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

NOTE: While there are newer versions of libdrm available, MesaLib 6.5 needs libdrm 2.4.22. Newer versions of libdrm will not work.

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

Non-Multilib

Compile the package:

./configure $XORG_CONFIG &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

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

Install the package:

make install

N32

Compile the package:

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

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./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