source: general/genlib/libdrm.xml@ 68d01360

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 68d01360 was 68d01360, checked in by Andrew Benton <andy@…>, 12 years ago

Commented out Cairo on the libdrm page,
it seems that libdrm doesn't use Cairo (yet).

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

  • Property mode set to 100644
File size: 5.3 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 " ">
[b6c5448]9 <!ENTITY libdrm-md5sum "eb2a76720af5051b1687328a2240daed">
10 <!ENTITY libdrm-size "440 KB">
[bad6be19]11 <!ENTITY libdrm-buildsize "8.0 MB">
[62334bfc]12 <!ENTITY libdrm-time "less than 0.1 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
[240cc07]34 the Linux kernel's Direct Rendering Modules.</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>
[7c472863]63 <para role="required"><xref linkend="libpthread-stubs"/> and
[05ed4c8]64 <xref linkend="libatomic_ops"/> (required on x86 only)</para>
[10e02da]65
[68d01360]66 <!-- Although configure checks for Cairo and the makefiles set CAIRO_CFLAGS
67 and CAIRO_LIBS, it doesn't seem to use cairo at all. There is code in
68 tests/modetest/modetest.c which suggests that they will use Cairo for
69 testing in the future, but at the moment it seems that code isn't used
70 Andy 2012-05-01
71
[7c472863]72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional"><xref linkend="cairo"/></para>
[68d01360]74 -->
[7c472863]75
[c5c2654]76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/libdrm"/></para>
78
[868c7c2]79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of libdrm</title>
83
84 <para>Install <application>libdrm</application> by running the following
85 commands:</para>
86
[719353d]87<screen><userinput>./configure --prefix=$XORG_PREFIX \
[b6c5448]88 --enable-udev \
[bad6be19]89 --enable-nouveau-experimental-api \
90 --enable-vmwgfx-experimental-api &amp;&amp;
[868c7c2]91make</userinput></screen>
92
[a1e27dc]93 <para>To check the results, issue <command>make check</command>. Note that
94 some tests may fail depending on the video hardware installed in the
95 machine.</para>
[ad54ac8]96
[868c7c2]97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>make install</userinput></screen>
100
101 </sect2>
102
[7c472863]103 <sect2 role="commands">
104 <title>Command Explanations</title>
105
[719353d]106 <para><parameter>--enable-nouveau-experimental-api</parameter>: This parameter
[bad6be19]107 enables use of nouveau's experimental kernel API.</para>
[7c472863]108
[bad6be19]109 <para><option>--enable-vmwgfx-experimental-api</option>: This parameter
110 enables use of vmwgfx's experimental kernel API.</para>
[7c472863]111
112 </sect2>
113
[868c7c2]114 <sect2 role="content">
115 <title>Contents</title>
116
117 <segmentedlist>
[759586e]118 <segtitle>Installed Programs</segtitle>
[a1e27dc]119 <segtitle>Installed Libraries</segtitle>
[8073ca16]120 <segtitle>Installed Directory</segtitle>
[868c7c2]121
122 <seglistitem>
[759586e]123 <seg>None</seg>
[7c472863]124 <seg>libdrm.so, libdrm_intel.so, libdrm_nouveau.so,
[719353d]125 libdrm_radeon.so, and libkms.so</seg>
[bad6be19]126 <seg><envar>$XORG_PREFIX</envar>/include/{libdrm,libkms,nouveau}</seg>
[868c7c2]127 </seglistitem>
128 </segmentedlist>
129
130 <variablelist>
131 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
132 <?dbfo list-presentation="list"?>
133 <?dbhtml list-presentation="table"?>
134
135 <varlistentry id="libdrm-lib">
[7c472863]136 <term><filename class='libraryfile'>libdrm{,_intel,_nouveau,_radeon}.so</filename></term>
[868c7c2]137 <listitem>
[c52f1b3]138 <para>contains the Direct Rendering Module library functions, and
[7c472863]139 additional vendor specific functions for Intel and NVidia, and Radeon
[c52f1b3]140 devices.</para>
[868c7c2]141 <indexterm zone="libdrm libdrm-lib">
[7c472863]142 <primary sortas="c-libdrm">libdrm{,_intel,_nouveau,_radeon}.so</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146 <varlistentry id="libkms-lib">
147 <term><filename class='libraryfile'>libkms.so</filename></term>
148 <listitem>
149 <para>contains functions necessary for kernel modesetting.</para>
150 <indexterm zone="libdrm libkms-lib">
151 <primary sortas="c-libkms">libkms.so</primary>
[868c7c2]152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 </variablelist>
157
158 </sect2>
159
160</sect1>
Note: See TracBrowser for help on using the repository browser.