[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">
|
---|
[facb2ec2] | 8 | <!ENTITY libdrm-download-ftp "http://karakurty.info/ftp/pub/FreeBSD/ports/distfiles/libdrm-&libdrm-version;.tar.bz2">
|
---|
[c4e039f] | 9 | <!ENTITY libdrm-md5sum "e785b6a6ebd6b8a49dd8210cd8742842">
|
---|
[e047853] | 10 | <!ENTITY libdrm-size "412 KB">
|
---|
[c4e039f] | 11 | <!ENTITY libdrm-buildsize "5.5 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 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&libdrm-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&libdrm-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &libdrm-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &libdrm-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &libdrm-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &libdrm-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
[10e02da] | 58 | <bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 61 | <para role="required"><xref linkend="libpthread-stubs"/></para>
|
---|
| 62 |
|
---|
[c5c2654] | 63 | <para condition="html" role="usernotes">User Notes:
|
---|
| 64 | <ulink url="&blfs-wiki;/libdrm"/></para>
|
---|
| 65 |
|
---|
[868c7c2] | 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2 role="installation">
|
---|
| 69 | <title>Installation of libdrm</title>
|
---|
| 70 |
|
---|
| 71 | <para>Install <application>libdrm</application> by running the following
|
---|
| 72 | commands:</para>
|
---|
| 73 |
|
---|
[7be99f2c] | 74 | <screen><userinput>./configure --prefix=$XORG_PREFIX &&
|
---|
[868c7c2] | 75 | make</userinput></screen>
|
---|
| 76 |
|
---|
[a1e27dc] | 77 | <para>To check the results, issue <command>make check</command>. Note that
|
---|
| 78 | some tests may fail depending on the video hardware installed in the
|
---|
| 79 | machine.</para>
|
---|
[ad54ac8] | 80 |
|
---|
[868c7c2] | 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 82 |
|
---|
| 83 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="content">
|
---|
| 88 | <title>Contents</title>
|
---|
| 89 |
|
---|
| 90 | <segmentedlist>
|
---|
[759586e] | 91 | <segtitle>Installed Programs</segtitle>
|
---|
[a1e27dc] | 92 | <segtitle>Installed Libraries</segtitle>
|
---|
[8073ca16] | 93 | <segtitle>Installed Directory</segtitle>
|
---|
[868c7c2] | 94 |
|
---|
| 95 | <seglistitem>
|
---|
[759586e] | 96 | <seg>None</seg>
|
---|
[a1e27dc] | 97 | <seg>libdrm.{so,a} and libdrm_intel.{so,a}</seg>
|
---|
[8073ca16] | 98 | <seg><envar>$XORG_PREFIX</envar>/include/drm</seg>
|
---|
[868c7c2] | 99 | </seglistitem>
|
---|
| 100 | </segmentedlist>
|
---|
| 101 |
|
---|
| 102 | <variablelist>
|
---|
| 103 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 104 | <?dbfo list-presentation="list"?>
|
---|
| 105 | <?dbhtml list-presentation="table"?>
|
---|
| 106 |
|
---|
| 107 | <varlistentry id="libdrm-lib">
|
---|
[c5c2654] | 108 | <term><filename class='libraryfile'>libdrm.{so,a}</filename></term>
|
---|
[868c7c2] | 109 | <listitem>
|
---|
[4437f63] | 110 | <para>contains the Direct Rendering Module library functions.</para>
|
---|
[868c7c2] | 111 | <indexterm zone="libdrm libdrm-lib">
|
---|
[c5c2654] | 112 | <primary sortas="c-libdrm">libdrm.{so,a}</primary>
|
---|
[868c7c2] | 113 | </indexterm>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
| 117 | </variablelist>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | </sect1>
|
---|