Xorg7/libdrm: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
Added a required dependency for the multilib build.
 
(15 intermediate revisions by 4 users not shown)
Line 2: Line 2:
|-
|-
!Download Source:
!Download Source:
| http://dri.freedesktop.org/libdrm/libdrm-2.0.2.tar.bz2
| http://dri.freedesktop.org/libdrm/libdrm-{{Libdrm-Version}}.tar.bz2
|-
!Download Source:
| http://dri.freedesktop.org/libdrm/libdrm-2.0.2.tar.gz
|-
|}
|}


Back to the Xorg [[Xorg7/Libraries|Libraries]]
Back to the Xorg [[Xorg7/Libraries|Libraries]]


=libdrm=
{{Package-Introduction|Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.|http://dri.freedesktop.org/wiki/}}


Userspace interface to kernel Direct Rendering Module (DRM) services are provided by libdrm.
{{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.}}


==Non-Multilib==
== Dependencies ==


Compile the package.
=== Required ===
* [[libatomic_ops]] (Multilib Only)


  ./configure $XORG_CONFIG &&
== Non-Multilib ==
  make


Install the package.
Compile the package:


  make install
./configure $XORG_CONFIG &&
make


==Multilib==
Install the package:


===32-bit===
make install


===N32===
== 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 =
 
{| style="text-align: left;"
|-valign="top"
! Installed Directories:
| ${XORG_PREFIX}/include/drm
|-valign="top"
! Installed Libraries:
| libdrm.{la,so}
|}
 
=== Short Description ===
 
{| style="text-align: left;"
|-valign="top"
! libdrm.{la,so}
|Shared library providing the necessary interfaces.
|}


===64-bit===
Forward to [[Xorg7/MesaLib|MesaLib]]
Forward to [[Xorg7/MesaLib|MesaLib]]

Latest revision as of 01:19, 21 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/

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