r5683 - trunk/BOOK/x/lib

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Feb 26 04:07:52 PST 2006


Author: randy
Date: 2006-02-26 05:07:51 -0700 (Sun, 26 Feb 2006)
New Revision: 5683

Modified:
   trunk/BOOK/x/lib/mesalib.xml
Log:
Fixed typos and tags in the Mesalib instructions

Modified: trunk/BOOK/x/lib/mesalib.xml
===================================================================
--- trunk/BOOK/x/lib/mesalib.xml	2006-02-26 11:33:44 UTC (rev 5682)
+++ trunk/BOOK/x/lib/mesalib.xml	2006-02-26 12:07:51 UTC (rev 5683)
@@ -9,7 +9,7 @@
   <!ENTITY mesalib-md5sum        "7674d2c603b5834259e4e5a820cefd5b">
   <!ENTITY mesalib-size          "3.9 MB">
   <!ENTITY mesalib-buildsize     "672 MB">
-  <!ENTITY mesalib-time          "2.21 SBU">
+  <!ENTITY mesalib-time          "2.2 SBU">
 ]>
 
 <sect1 id="MesaLib" xreflabel="MesaLib-&mesalib-version;">
@@ -64,38 +64,42 @@
     <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
-    <para><xref linkend="xorg"/>, <xref linkend="xfree86"/>, or
-    <!--<xref linkend="xorg7"/>--> Xorg-7.0 Libs and Utilities, and
+    <para>X (<xref linkend="xorg"/>, <xref linkend="xfree86"/>, or
+    <!--<xref linkend="xorg7"/>--> Xorg-7.0 Libs and Utilities), and
     <xref linkend="libdrm"/></para>
 
     <bridgehead renderas="sect3">Recommended Downloads</bridgehead>
-    <para>
-    <ulink url="http://prdownloads.sourceforge.net/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2"/>
-    provides a working libglut (needed for the demos).</para>
+    <para><ulink
+    url="http://prdownloads.sourceforge.net/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2"/>
+    provides a working <filename class='libraryfile'>libglut</filename>
+    (needed for the demos).</para>
 
-    <para>
-    <ulink url="http://prdownloads.sourceforge.net/mesa3d/MesaDemos-&mesalib-version;.tar.bz2"/>
-    provides demos and a test program to verify that dri is working as expected.</para>
+    <para><ulink
+    url="http://prdownloads.sourceforge.net/mesa3d/MesaDemos-&mesalib-version;.tar.bz2"/>
+    provides demos and a test program to verify that DRI is working as expected.</para>
 
-<note><para>You should extract all three tarballs from the same toplevel
-directory.  All three files will extract to the 
-<filename class="directory">Mesa-&mesalib-version;</filename> directory.</para></note>
+    <note>
+      <para>You should extract all three tarballs from the same toplevel
+      directory.  All three files will extract to the 
+      <filename class="directory">Mesa-&mesalib-version;</filename>
+      directory.</para>
+    </note>
 
   </sect2>
 
   <sect2 role="installation">
     <title>Installation of MesaLib</title>
 
-    <para>If you've installed the X Windows System into any prefix other than
+    <para>If you've installed the X Window System into any prefix other than
     <filename class="directory">/usr/X11R6</filename>, then execute the
-    following commands to correct several assumptions made in the distributed
-    tarball.  Be sure to replace '[prefix]' with the installation prefix of
-    your installed X Windows System:</para>
+    following commands to correct several hard coded directory assumptions in
+    the source files.  Be sure to replace '<replaceable>[prefix]</replaceable>'
+    with the installation prefix of your installed X Window System:</para>
 
 <screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>[prefix]</replaceable>@g' {} \;</userinput></screen>
 
     <para>Install <application>MesaLib</application> 
-    by running the following commands:</para>
+    by running the following command:</para>
 
 <screen><userinput>make linux-dri</userinput></screen>
 
@@ -103,23 +107,26 @@
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>bin/installmesa <replaceable>[prefix]</replaceable>&&
-mkdir -p <replaceable>[prefix]</replaceable>/lib/modules/dri
+<screen role="root"><userinput>bin/installmesa <replaceable>[prefix]</replaceable> &&
+mkdir -v -p <replaceable>[prefix]</replaceable>/lib/modules/dri &&
 install -v -o root -m 0755 lib/*dri* <replaceable>[prefix]</replaceable>/lib/modules/dri</userinput></screen>
 
-    <para>Now if you've extracted the GLUT and Demos packages as well, then 
+    <para>If you've extracted the GLUT and Demos packages as well, then 
     build the test programs with the following commands:</para>
 
 <screen><userinput>cd progs/xdemos &&
 make PROGS='glxinfo glxgears'</userinput></screen>
 
-    <para>Install the demos as the root user:</para>
+    <para>Install the demos as the
+    <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>install -v -o root -m 0755 glxinfo glxgears <replaceable>[prefix]</replaceable>/bin</userinput></screen>
 
-    <note><para>If building Xorg-7.0<!--<xref linkend="xorg7"/>-->, do not 
-    remove the Mesa source tree yet, it will be required to build the 
-    xserver.</para></note>
+    <note>
+      <para>If building Xorg-7.0<!--<xref linkend="xorg7"/>-->, do not 
+      remove the Mesa source tree yet, it will be required to build the 
+      X server.</para>
+    </note>
 
   </sect2>
 
@@ -132,11 +139,13 @@
       <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
-        <seg>glxgears,glxinfo</seg>
+        <seg>glxgears and glxinfo</seg>
         <seg>libGL.[so,a], libGLU.[so,a], libGLw.[so,a], libglut.[so,a] and
         *_dri.so</seg>
         <seg>$XORG_PREFIX/lib/modules/dri</seg>
       </seglistitem>
     </segmentedlist>
+
   </sect2>
+
 </sect1>




More information about the blfs-book mailing list