[blfs-book] r11038 - in trunk/BOOK: . introduction/welcome x/installing

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Fri Mar 1 10:28:52 PST 2013


Author: krejzi
Date: Fri Mar  1 10:28:52 2013
New Revision: 11038

Log:
MesaLib 9.1.

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/installing/mesalib.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Fri Mar  1 09:45:24 2013	(r11037)
+++ trunk/BOOK/general.ent	Fri Mar  1 10:28:52 2013	(r11038)
@@ -554,7 +554,7 @@
 <!ENTITY xbitmaps-version             "1.1.1">
 <!ENTITY xcursor-themes-version       "1.0.3">
 <!ENTITY xkeyboard-config-version     "2.8">
-<!ENTITY mesalib-version              "9.0.2">
+<!ENTITY mesalib-version              "9.1">
 <!ENTITY glu-version                  "9.0.0">
 <!ENTITY xcb-util-version             "0.3.9">
 <!ENTITY xcb-util-image-version       "0.3.9">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Fri Mar  1 09:45:24 2013	(r11037)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Fri Mar  1 10:28:52 2013	(r11038)
@@ -86,6 +86,9 @@
           <para>[krejzi] - libtirpc 0.2.3.</para>
         </listitem>
         <listitem>
+          <para>[krejzi] - MesaLib 9.1.</para>
+        </listitem>
+        <listitem>
           <para>[krejzi] - MIT Kerberos V5 1.11.1.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/x/installing/mesalib.xml
==============================================================================
--- trunk/BOOK/x/installing/mesalib.xml	Fri Mar  1 09:45:24 2013	(r11037)
+++ trunk/BOOK/x/installing/mesalib.xml	Fri Mar  1 10:28:52 2013	(r11038)
@@ -6,9 +6,9 @@
 
   <!ENTITY mesalib-download-http " ">
   <!ENTITY mesalib-download-ftp  "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">
-  <!ENTITY mesalib-md5sum        "dc45d1192203e418163e0017640e1cfc">
+  <!ENTITY mesalib-md5sum        "d3891e02215422e120271d976ff1947e">
   <!ENTITY mesalib-size          "5.9 MB">
-  <!ENTITY mesalib-buildsize     "685 MB">
+  <!ENTITY mesalib-buildsize     "305 MB">
   <!ENTITY mesalib-time          "5.5 SBU">
 
   <!ENTITY glu-download-http " ">
@@ -116,7 +116,7 @@
       <listitem>
         <para>
           Recommended patch:
-          <ulink url="&patch-root;/MesaLib-&mesalib-version;-add_xdemos-5.patch"/>
+          <ulink url="&patch-root;/MesaLib-&mesalib-version;-add_xdemos-1.patch"/>
           (Needed if testing the Xorg installation per BLFS instructions).
         </para>
       </listitem>
@@ -138,6 +138,16 @@
       <xref linkend="llvm"/>
     </para>
 
+    <warning>
+      <para>
+        The instructions below assume that <application>LLVM</application>
+        is installed. You will need to modify the instructions if you
+        choose not to install it. Please note that
+        <application>LLVM</application> is <emphasis>required</emphasis> for
+        Radeon 3D drivers.
+      </para>
+    </warning>
+
     <note>
       <para>
         The <application>libxml2</application>
@@ -170,7 +180,7 @@
       following command:
     </para>
 
-<screen><userinput>patch -Np1 -i ../MesaLib-&mesalib-version;-add_xdemos-5.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../MesaLib-&mesalib-version;-add_xdemos-1.patch</userinput></screen>
 
     <para>
       Install <application>MesaLib</application> by running the following
@@ -191,6 +201,7 @@
             --enable-gallium-egl           \
             --enable-gallium-gbm           \
             --enable-glx-tls               \
+            --with-llvm-shared-libs        \
             --with-egl-platforms="drm,x11" \
             --with-gallium-drivers="nouveau,r300,r600,svga,swrast" &&
 make</userinput></screen>
@@ -261,9 +272,8 @@
       <parameter>CFLAGS="-O2" CXXFLAGS="-O2"</parameter>: By default,
       <application>Autoconf</application> sets CFLAGS and CXXFLAGS to
       "-g -O2". That results in binaries and libraries being built with
-      debugging symbols which make them bigger. It is recommended that
-      you override the default flags to omit -g switch so the final
-      libraries are smaller.
+      debugging symbols which make them bigger. Override the default
+      flags to omit -g switch so the final libraries are smaller.
     </para>
 
     <para>
@@ -319,6 +329,13 @@
     </para>
 
     <para>
+      <option>--with-llvm-shared-libs</option>: This switch is used so
+      Gallium drivers will link against shared
+      <application>LLVM</application> libraries instead of the static
+      ones. Remove if you did not install <xref linkend="llvm"/>. 
+    </para>
+
+    <para>
       <parameter>--with-egl-platforms="..."</parameter>: This parameter
       controls for which platforms EGL should be built. Available
       platforms are drm, x11 and wayland.
@@ -350,7 +367,7 @@
           glxgears and glxinfo
         </seg>
         <seg>
-          libdricore9.0.0.so, libEGL.so, libgbm.so, libglapi.so,
+          libdricore9.1.0.so, libEGL.so, libgbm.so, libglapi.so,
           libGLESv1_CM.so, libGLESv2.so, libGL.so, libGLU.so,
           libOpenVG.so, libOSMesa.so and libxatracker.so
         </seg>
@@ -359,9 +376,13 @@
           /usr/include/GL,
           /usr/include/GLES,
           /usr/include/GLES2,
+          /usr/include/GLES3,
           /usr/include/KHR,
-          /usr/include/VG and
-          /usr/lib/dri
+          /usr/include/VG,
+          /usr/lib/dri,
+          /usr/lib/egl,
+          /usr/lib/gallium-pipe and
+          /usr/lib/gbm
         </seg>
       </seglistitem>
     </segmentedlist>
@@ -398,14 +419,14 @@
       </varlistentry>
 
       <varlistentry id="libdricore">
-        <term><filename class="libraryfile">libdricore9.0.0.so</filename></term>
+        <term><filename class="libraryfile">libdricore9.1.0.so</filename></term>
         <listitem>
           <para>
             contains common DRI routines used by <application>Mesa</application>
             DRI drivers.
           </para>
           <indexterm zone="mesalib libdricore">
-            <primary sortas="c-libdricore">libdricore9.0.0.so</primary>
+            <primary sortas="c-libdricore">libdricore9.1.0.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>



More information about the blfs-book mailing list