libdrm-2.4.52
Introduction to libdrm
libdrm provides a user space
library for accessing the DRM, direct rendering manager, on
operating systems that support the ioctl interface. libdrm is a
low-level library, typically used by graphics drivers such as the
Mesa DRI drivers, the X drivers, libva and similar projects.
This package is known to build and work properly using an LFS-7.5
platform.
Package Information
-
Download (HTTP): http://dri.freedesktop.org/libdrm/libdrm-2.4.52.tar.bz2
-
Download MD5 sum: 01b75624a5da3a7543923e54c3547a24
-
Download size: 539 KB
-
Estimated disk space required: 11 MB (additional 1 MB for the
tests)
-
Estimated build time: 0.3 SBU (additional 0.1 SBU for the
tests)
libdrm Dependencies
Recommended
Xorg
Libraries (for Intel KMS API support required by Mesa)
Optional
docbook-xml-4.5, docbook-xsl-1.78.1 and libxslt-1.1.28 (to build manual pages) and
Valgrind
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libdrm
Installation of libdrm
Install libdrm by running the
following commands:
sed -e "/pthread-stubs/d" -i configure.ac &&
autoreconf -fiv &&
./configure --prefix=/usr --enable-udev &&
make
To check the results, issue make
check.
Now, as the root
user:
make install
Command Explanations
sed -e "/pthread-stubs/d" -i
configure.ac: This sed removes dependency on
libpthread-stubs package which is useless on Linux.
--enable-udev
: This
parameter enables support for using Udev instead of mknod.
Contents
Installed Programs:
None
Installed Libraries:
libdrm.so, libdrm_intel.so,
libdrm_nouveau.so, libdrm_radeon.so and libkms.so
Installed Directories:
/usr/include/libdrm and
/usr/include/libkms
Short Descriptions
libdrm.so
|
contains the Direct Rendering Manager API functions.
|
libdrm_intel.so
|
contains the Intel specific Direct Rendering Manager
functions.
|
libdrm_nouveau.so
|
contains the open source nVidia (Nouveau) specific Direct
Rendering Manager functions.
|
libdrm_radeon.so
|
contains the AMD Radeon specific Direct Rendering Manager
functions.
|
libkms.so
|
contains API functions for kernel mode setting
abstraction.
|
Last updated on 2014-02-18 12:55:40 -0800