source: general/genlib/libdrm.xml@ 319ce91

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 319ce91 was a4a88173, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Revert libdrm instructions too

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10211 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[868c7c2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[868c7c2]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[62334bfc]7 <!ENTITY libdrm-download-http "http://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.bz2">
[aa7a7fb]8 <!ENTITY libdrm-download-ftp " ">
[121d292]9 <!ENTITY libdrm-md5sum "eb2a76720af5051b1687328a2240daed">
10 <!ENTITY libdrm-size "444 KB">
11 <!ENTITY libdrm-buildsize "10 MB">
12 <!ENTITY libdrm-time "0.2 SBU">
[868c7c2]13]>
14
15<sect1 id="libdrm" xreflabel="libdrm-&libdrm-version;">
16 <?dbhtml filename="libdrm.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libdrm-&libdrm-version;</title>
24
25 <indexterm zone="libdrm">
26 <primary sortas="a-libdrm">libdrm</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libdrm</title>
31
[d9c80e1]32 <para><application>libdrm</application> provides core library routines
33 for the X Window System to directly interface with video hardware using
[86f7fa0]34 the Linux kernel's Direct Rendering Modules (DRM).</para>
[868c7c2]35
[719353d]36 &lfs71_checked;
[1ed7820]37
[868c7c2]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&libdrm-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&libdrm-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &libdrm-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &libdrm-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &libdrm-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &libdrm-time;</para>
57 </listitem>
58 </itemizedlist>
59
[10e02da]60 <bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
[0d6e0af]63 <para role="required">
64 <xref linkend="xorg7-lib"/>
65 </para>
[10e02da]66
[0d6e0af]67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional">
69 <ulink url="http://www.valgrind.org/">Valgrind</ulink>
70 </para>
71
[68d01360]72 <!-- Although configure checks for Cairo and the makefiles set CAIRO_CFLAGS
73 and CAIRO_LIBS, it doesn't seem to use cairo at all. There is code in
74 tests/modetest/modetest.c which suggests that they will use Cairo for
75 testing in the future, but at the moment it seems that code isn't used
76 Andy 2012-05-01
77
[7c472863]78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional"><xref linkend="cairo"/></para>
[68d01360]80 -->
[7c472863]81
[c5c2654]82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/libdrm"/></para>
84
[868c7c2]85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of libdrm</title>
89
90 <para>Install <application>libdrm</application> by running the following
91 commands:</para>
92
[a4a88173]93<screen><userinput>./configure --prefix=$XORG_PREFIX \
94 --enable-udev \
95 --enable-vmwgfx-experimental-api \
96 --enable-nouveau-experimental-api; &amp;&amp;
[868c7c2]97make</userinput></screen>
98
[a1e27dc]99 <para>To check the results, issue <command>make check</command>. Note that
100 some tests may fail depending on the video hardware installed in the
101 machine.</para>
[ad54ac8]102
[868c7c2]103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>make install</userinput></screen>
106
107 </sect2>
108
[7c472863]109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
[bad6be19]112 <para><option>--enable-vmwgfx-experimental-api</option>: This parameter
113 enables use of vmwgfx's experimental kernel API.</para>
[86f7fa0]114
115 <para><option>--enable-omap-experimental-api</option>: This option
116 enables use of OMAP's experimental kernel API. OMAP is a series of
117 system-on-chips (SoCs) developed by Texas Instruments.</para>
[7c472863]118
119 </sect2>
120
[868c7c2]121 <sect2 role="content">
122 <title>Contents</title>
123
124 <segmentedlist>
[759586e]125 <segtitle>Installed Programs</segtitle>
[a1e27dc]126 <segtitle>Installed Libraries</segtitle>
[86f7fa0]127 <segtitle>Installed Directories</segtitle>
[868c7c2]128
129 <seglistitem>
[759586e]130 <seg>None</seg>
[7c472863]131 <seg>libdrm.so, libdrm_intel.so, libdrm_nouveau.so,
[86f7fa0]132 libdrm_radeon.so and libkms.so</seg>
133 <seg><envar>$XORG_PREFIX</envar>/include/{libdrm,libkms}</seg>
[868c7c2]134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="libdrm-lib">
[0d6e0af]143 <term><filename class='libraryfile'>libdrm{_intel,_nouveau,_radeon}.so</filename></term>
[868c7c2]144 <listitem>
[c52f1b3]145 <para>contains the Direct Rendering Module library functions, and
[0d6e0af]146 additional vendor specific functions for Intel, nVidia and Radeon
[c52f1b3]147 devices.</para>
[868c7c2]148 <indexterm zone="libdrm libdrm-lib">
[0d6e0af]149 <primary sortas="c-libdrm">libdrm{_intel,_nouveau,_radeon}.so</primary>
[7c472863]150 </indexterm>
151 </listitem>
152 </varlistentry>
153 <varlistentry id="libkms-lib">
154 <term><filename class='libraryfile'>libkms.so</filename></term>
155 <listitem>
156 <para>contains functions necessary for kernel modesetting.</para>
157 <indexterm zone="libdrm libkms-lib">
158 <primary sortas="c-libkms">libkms.so</primary>
[868c7c2]159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 </variablelist>
164
165 </sect2>
166
167</sect1>
Note: See TracBrowser for help on using the repository browser.