Difference between revisions of "Xorg7/libdrm"

From CBLFS
Jump to navigationJump to search
(Versioning template.)
(Edited to conform to template.)
Line 11: Line 11:
 
Back to the Xorg [[Xorg7/Libraries|Libraries]]
 
Back to the Xorg [[Xorg7/Libraries|Libraries]]
  
= 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.
  
NOTE: While there <i>are</i> newer versions of libdrm available, MesaLib 6.5 needs libdrm {{Libdrm-Version}}. Newer versions of libdrm will not work.
+
<b>NOTE:</b> While there <i>are</i> newer versions of libdrm available, MesaLib 6.5 needs libdrm {{Libdrm-Version}}. Newer versions of libdrm will not work.
  
== Non-Multilib ==
+
<b>Homepage:</b> http://dri.freedesktop.org/wiki/
 +
 
 +
= 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 =
  
=== 32-bit ===
+
== 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
  
=== 64-bit ===
+
== 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 =
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Directories:
 +
| ${XORG_PREFIX}/include/drm
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libdrm.{la,so}
 +
|}
  
== Contents ==
+
== Short Description ==
  
* Installed Libraries: libdrm.{so,la}
+
{| style="text-align: left;"
* Installed Directories: ${XORG_PREFIX}/include/drm
+
|-valign="top"
 +
! libdrm.{la,so}
 +
|Shared library providing the necessary interfaces.
 +
|}
  
 
Forward to [[Xorg7/MesaLib|MesaLib]]
 
Forward to [[Xorg7/MesaLib|MesaLib]]

Revision as of 14:34, 20 December 2006

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

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