Changeset 3bbf74c5 for general/genlib


Ignore:
Timestamp:
07/06/2012 10:22:12 AM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
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
Children:
bed59e0
Parents:
10a480a
Message:

Improved some instructions. Spelling and typo fixes welcome.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libdrm.xml

    r10a480a r3bbf74c5  
    3030    <title>Introduction to libdrm</title>
    3131
    32     <para><application>libdrm</application> provides core library routines
    33     for the X Window System to directly interface with video hardware using
    34     the Linux kernel's Direct Rendering Modules (DRM).</para>
     32    <para>
     33      <application>libdrm</application> provides core library routines
     34      for the X Window System to directly interface with video hardware using
     35      the Linux kernel's Direct Rendering Manager (DRM).
     36    </para>
    3537
    3638    &lfs71_checked;
     
    3941    <itemizedlist spacing="compact">
    4042      <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>
     43        <para>
     44          Download (HTTP): <ulink url="&libdrm-download-http;"/>
     45        </para>
     46      </listitem>
     47      <listitem>
     48        <para>
     49          Download (FTP): <ulink url="&libdrm-download-ftp;"/>
     50        </para>
     51      </listitem>
     52      <listitem>
     53        <para>
     54          Download MD5 sum: &libdrm-md5sum;
     55        </para>
     56      </listitem>
     57      <listitem>
     58        <para>
     59          Download size: &libdrm-size;
     60        </para>
     61      </listitem>
     62      <listitem>
     63        <para>
     64          Estimated disk space required: &libdrm-buildsize;
     65        </para>
     66      </listitem>
     67      <listitem>
     68        <para>
     69          Estimated build time: &libdrm-time;
     70        </para>
    5771      </listitem>
    5872    </itemizedlist>
     
    6276    <bridgehead renderas="sect4">Required</bridgehead>
    6377    <para role="required">
    64     <xref linkend="xorg7-lib"/>
     78      <xref linkend="xorg7-lib"/>
    6579    </para>
    6680
    6781    <bridgehead renderas="sect4">Optional</bridgehead>
    6882    <para role="optional">
    69     <ulink url="http://www.valgrind.org/">Valgrind</ulink>
    70     </para>
    71 
    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 
    78     <bridgehead renderas="sect4">Optional</bridgehead>
    79     <para role="optional"><xref linkend="cairo"/></para>
    80     -->
     83      <ulink url="http://www.valgrind.org/">Valgrind</ulink>
     84    </para>
    8185
    8286    <para condition="html" role="usernotes">User Notes:
    83     <ulink url="&blfs-wiki;/libdrm"/></para>
    84 
     87      <ulink url="&blfs-wiki;/libdrm"/>
     88    </para>
    8589  </sect2>
    8690
     
    8892    <title>Installation of libdrm</title>
    8993
    90     <para>Install <application>libdrm</application> by running the following
    91     commands:</para>
     94    <warning>
     95      <para>
     96        You may notice that there are several newer version of
     97        <application>libdrm</application> available upstream.
     98        However, we do not recommend using any later version than
     99        this one if you are going to build
     100        <xref linkend="mesalib"/> using BLFS instructions.
     101      </para>
     102    </warning>
     103
     104    <para>
     105      Install <application>libdrm</application> by running the following
     106      commands:
     107    </para>
    92108
    93109<screen><userinput>./configure --prefix=$XORG_PREFIX            \
     
    97113make</userinput></screen>
    98114
    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>
    102 
    103     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     115    <para>
     116      To check the results, issue <command>make check</command>. Note that
     117      some tests may fail depending on the video hardware installed in the
     118      machine.
     119    </para>
     120
     121    <para>
     122      Now, as the <systemitem class="username">root</systemitem> user:
     123    </para>
    104124
    105125<screen role="root"><userinput>make install</userinput></screen>
     
    110130    <title>Command Explanations</title>
    111131
    112     <para><option>--enable-vmwgfx-experimental-api</option>: This parameter
    113     enables use of vmwgfx's experimental kernel API.</para>
    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>
     132    <para>
     133      <option>--enable-nouveau-experimental-api</option>: This parameter
     134      enables building of Nouveau (Open Source NVidia drivers) DRM interface
     135      library as well as corresponding headers.
     136    </para>
     137
     138    <para>
     139      <option>--enable-vmwgfx-experimental-api</option>: This parameter
     140      enables use of vmwgfx experimental kernel API used by the
     141      VMware 3D Gallium driver.
     142    </para>
     143
     144    <para>
     145      <option>--enable-omap-experimental-api</option>: This option
     146      enables use of OMAP's experimental kernel API. OMAP is a series of
     147      system-on-chips (SoCs) developed by Texas Instruments.
     148    </para>
    118149
    119150  </sect2>
     
    123154
    124155    <segmentedlist>
    125       <segtitle>Installed Programs</segtitle>
    126156      <segtitle>Installed Libraries</segtitle>
    127157      <segtitle>Installed Directories</segtitle>
    128158
    129159      <seglistitem>
    130         <seg>None</seg>
    131         <seg>libdrm.so, libdrm_intel.so, libdrm_nouveau.so,
    132         libdrm_radeon.so and libkms.so</seg>
    133         <seg><envar>$XORG_PREFIX</envar>/include/{libdrm,libkms}</seg>
     160        <seg>
     161          libdrm.so, libdrm_intel.so, libdrm_nouveau.so, libdrm_omap.so
     162          libdrm_radeon.so and libkms.so
     163        </seg>
     164        <seg>
     165          <envar>$XORG_PREFIX</envar>/include/{libdrm,libkms,nouveau,omap}
     166        </seg>
    134167      </seglistitem>
    135168    </segmentedlist>
     
    141174
    142175      <varlistentry id="libdrm-lib">
    143         <term><filename class='libraryfile'>libdrm{_intel,_nouveau,_radeon}.so</filename></term>
     176        <term><filename class='libraryfile'>libdrm{,_intel,_nouveau,_omap,_radeon}.so</filename></term>
    144177        <listitem>
    145           <para>contains the Direct Rendering Module library functions, and
    146           additional vendor specific functions for Intel, nVidia and Radeon
    147           devices.</para>
     178          <para>
     179            contains the Direct Rendering Manager library functions, and
     180            additional vendor specific functions for Intel, nVidia, Omap
     181            and Radeon devices.
     182          </para>
    148183          <indexterm zone="libdrm libdrm-lib">
    149             <primary sortas="c-libdrm">libdrm{_intel,_nouveau,_radeon}.so</primary>
     184            <primary sortas="c-libdrm">libdrm{,_intel,_nouveau,_omap,_radeon}.so</primary>
    150185          </indexterm>
    151186        </listitem>
    152187      </varlistentry>
     188
    153189      <varlistentry id="libkms-lib">
    154190        <term><filename class='libraryfile'>libkms.so</filename></term>
    155191        <listitem>
    156           <para>contains functions necessary for kernel modesetting.</para>
     192          <para>
     193            contains functions necessary for kernel modesetting.
     194          </para>
    157195          <indexterm zone="libdrm libkms-lib">
    158196            <primary sortas="c-libkms">libkms.so</primary>
Note: See TracChangeset for help on using the changeset viewer.