glfs/general/genlib/libdrm.xml
Krejzi a07e9eb1ac libdrm 2.4.39 and MesaLib 9.0.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10724 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-10-09 07:44:44 +00:00

260 lines
7.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libdrm-download-http "http://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.bz2">
<!ENTITY libdrm-download-ftp " ">
<!ENTITY libdrm-md5sum "9a299e021d81bab6c82307582c78319d">
<!ENTITY libdrm-size "484 KB">
<!ENTITY libdrm-buildsize "9.5 MB">
<!ENTITY libdrm-time "0.1 SBU">
]>
<sect1 id="libdrm" xreflabel="libdrm-&libdrm-version;">
<?dbhtml filename="libdrm.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libdrm-&libdrm-version;</title>
<indexterm zone="libdrm">
<primary sortas="a-libdrm">libdrm</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libdrm</title>
<para>
<application>libdrm</application> provides core library routines
for the X Window System to directly interface with video hardware using
the Linux kernel's Direct Rendering Manager (DRM).
</para>
&lfs72_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libdrm-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libdrm-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libdrm-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libdrm-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libdrm-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libdrm-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="xorg7-lib"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://www.valgrind.org/">Valgrind</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libdrm"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libdrm</title>
<para>
Install <application>libdrm</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--enable-udev \
--enable-vmwgfx-experimental-api &amp;&amp;
make</userinput></screen>
<para>
To check the results, issue <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<option>--enable-vmwgfx-experimental-api</option>: This parameter
enables use of VMWGFX experimental kernel API used by the
VMware 3D Gallium driver.
</para>
<para>
<option>--enable-omap-experimental-api</option>: This option
enables use of OMAP's experimental kernel API. OMAP is a series
of system-on-chips (SoCs) developed by Texas Instruments.
</para>
<para>
<option>--enable-exynos-experimental-api</option>: This option
enables use of Exynos experimental kernel API. Exynos is a
series of system-on-chips (SoCs) developed by Samsung.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
libdrm.so, libdrm_exynos.so, libdrm_intel.so,
libdrm_nouveau.so, libdrm_omap.so,
libdrm_radeon.so and libkms.so
</seg>
<seg>
/usr/include/exynos,
/usr/include/libdrm,
/usr/include/libkms and
/usr/include/omap
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libdrm-lib">
<term><filename class="libraryfile">libdrm.so</filename></term>
<listitem>
<para>
contains the Direct Rendering Manager API functions.
</para>
<indexterm zone="libdrm libdrm-lib">
<primary sortas="c-libdrm">libdrm.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libdrm_exynos">
<term><filename class="libraryfile">libdrm_exynos.so</filename></term>
<listitem>
<para>
contains the Samsung Exynos specific Direct Rendering
Manager functions.
</para>
<indexterm zone="libdrm libdrm_exynos">
<primary sortas="c-libdrm_exynos">libdrm_exynos.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libdrm_intel">
<term><filename class="libraryfile">libdrm_intel.so</filename></term>
<listitem>
<para>
contains the Intel specific Direct Rendering Manager
functions.
</para>
<indexterm zone="libdrm libdrm_intel">
<primary sortas="c-libdrm_intel">libdrm_intel.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libdrm_nouveau">
<term><filename class="libraryfile">libdrm_nouveau.so</filename></term>
<listitem>
<para>
contains the open source nVidia (Nouveau) specific Direct
Rendering Manager functions.
</para>
<indexterm zone="libdrm libdrm_nouveau">
<primary sortas="c-libdrm_nouveau">libdrm_nouveau.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libdrm_omap">
<term><filename class="libraryfile">libdrm_omap.so</filename></term>
<listitem>
<para>
contains the TI Omap specific Direct Rendering Manager
functions.
</para>
<indexterm zone="libdrm libdrm_omap">
<primary sortas="c-libdrm_omap">libdrm_omap.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libdrm_radeon">
<term><filename class="libraryfile">libdrm_radeon.so</filename></term>
<listitem>
<para>
contains the AMD Radeon specific Direct Rendering Manager
functions.
</para>
<indexterm zone="libdrm libdrm_radeon">
<primary sortas="c-libdrm_radeon">libdrm_radeon.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libkms">
<term><filename class="libraryfile">libkms.so</filename></term>
<listitem>
<para>
contains API functions necessary for kernel modesetting.
</para>
<indexterm zone="libdrm libkms">
<primary sortas="c-libkms">libkms.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>