Changeset eb425b4


Ignore:
Timestamp:
07/17/2012 08:17:38 PM (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:
a205fd0
Parents:
e0f14b5
Message:

MesaLib 8.0.4

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    re0f14b5 reb425b4  
    635635<!ENTITY xcursor-themes-version       "1.0.3">
    636636<!ENTITY xkeyboard-config-version     "2.5.1">
    637 <!ENTITY mesalib-version              "8.0.3">
     637<!ENTITY mesalib-version              "8.0.4">
    638638<!ENTITY xcb-util-version             "0.3.8">
    639639<!ENTITY printproto-version           "1.0.5">
  • introduction/welcome/changelog.xml

    re0f14b5 reb425b4  
    5353          packages and merge Additional Drivers on the same page.</para>
    5454        </listitem>
     55        <listitem>
     56          <para>[krejzi] - MesaLib 8.0.4.</para>
     57        </listitem>
    5558      </itemizedlist>
    5659    </listitem>
  • x/installing/mesalib.xml

    re0f14b5 reb425b4  
    77  <!ENTITY mesalib-download-http " ">
    88  <!ENTITY mesalib-download-ftp  "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">
    9   <!ENTITY mesalib-md5sum        "cc5ee15e306b8c15da6a478923797171">
     9  <!ENTITY mesalib-md5sum        "d546f988adfdf986cff45b1efa2d8a46">
    1010  <!ENTITY mesalib-size          "5.5 MB">
    11   <!ENTITY mesalib-buildsize     "386 MB">
    12   <!ENTITY mesalib-time          "4.1 SBU">
     11  <!ENTITY mesalib-buildsize     "485 MB">
     12  <!ENTITY mesalib-time          "4.2 SBU">
    1313]>
    1414
     
    3030    <title>Introduction to MesaLib</title>
    3131
    32     <para><application>Mesa</application> is an OpenGL compatible 3D graphics
    33     library.</para>
     32    <para>
     33      <application>Mesa</application> is an OpenGL compatible 3D graphics
     34      library.
     35    </para>
    3436
    3537    &lfs71_checked;
     
    7274    <itemizedlist spacing="compact">
    7375      <listitem>
    74         <para>Required patch: <ulink
    75         url="&patch-root;/MesaLib-&mesalib-version;-llvm-3.1-fixes-1.patch"/>
    76         </para>
    77         <para>Recommended patch: <ulink
    78         url="&patch-root;/MesaLib-&mesalib-version;-add_xdemos-2.patch"/>
    79         (Needed if testing the Xorg installation per BLFS instructions)</para>
     76        <para>
     77          Required patch:
     78          <ulink url="&patch-root;/MesaLib-&mesalib-version;-llvm-3.1-fixes-1.patch"/>
     79        </para>
     80        <para>
     81          Recommended patch:
     82          <ulink url="&patch-root;/MesaLib-&mesalib-version;-add_xdemos-2.patch"/>
     83          (Needed if testing the Xorg installation per BLFS instructions)
     84        </para>
    8085      </listitem>
    8186    </itemizedlist>
     
    9095      <xref linkend="makedepend"/> and
    9196      <xref linkend="xorg7-lib"/>
    92   </para>
    93 
    94     <bridgehead renderas="sect4">Optional</bridgehead>
    95     <para role="optional">
    96       <xref linkend="talloc"/> and
     97    </para>
     98
     99    <bridgehead renderas="sect4">Recommended</bridgehead>
     100    <para role="recommended">
    97101      <xref linkend="llvm"/>
    98102    </para>
    99103
    100104    <note>
    101       <para>The <application>libxml2</application>
    102       <application>Python</application> module must have been built
    103       during the installation of <application>libxml2</application>
    104       or else <application>MesaLib</application> build will fail.</para>
     105      <para>
     106        The <application>libxml2</application>
     107        <application>Python</application> module must have been built
     108        during the installation of <application>libxml2</application>
     109        or else <application>MesaLib</application> build will fail.
     110      </para>
    105111    </note>
    106112
     
    113119    <title>Installation of MesaLib</title>
    114120
    115     <note><para>Unlike other packages, the
    116     <filename>MesaLib-&mesalib-version;.tar.bz2</filename>
    117     archive will extract to the
    118     <filename class="directory">Mesa-&mesalib-version;</filename>
    119     directory.</para></note>
    120 
    121     <para>Install <application>MesaLib</application> by running the following
    122     commands:</para>
     121    <note>
     122      <para>
     123        Unlike other packages, the
     124        <filename>MesaLib-&mesalib-version;.tar.bz2</filename>
     125        archive will extract to the
     126        <filename class="directory">Mesa-&mesalib-version;</filename>
     127        directory.
     128      </para>
     129    </note>
     130
     131    <para>
     132      Install <application>MesaLib</application> by running the following
     133      commands:
     134    </para>
    123135
    124136<screen><userinput>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure                &amp;&amp;
     
    126138patch -Np1 -i ../MesaLib-&mesalib-version;-llvm-3.1-fixes-1.patch    &amp;&amp;
    127139./configure --prefix=$XORG_PREFIX   \
     140            --enable-texture-float  \
     141            --enable-gles1          \
     142            --enable-gles2          \
     143            --enable-xa             \
     144            --enable-shared-glapi   \
    128145            --enable-shared-dricore \
    129             --enable-xa             \
    130             --with-gallium-drivers="nouveau,svga,swrast" &amp;&amp;
     146            --enable-glx-tls        \
     147            --with-gallium-drivers="nouveau,r300,r600,svga,swrast" &amp;&amp;
    131148make</userinput></screen>
    132149
    133     <para>This package does not come with a test suite.</para>
    134 
    135     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     150    <para>
     151      This package does not come with a test suite.
     152    </para>
     153
     154    <para>
     155      Now, as the <systemitem class="username">root</systemitem> user:
     156    </para>
    136157
    137158<screen role="root"><userinput>make install &amp;&amp;
    138159mkdir -pv ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version; &amp;&amp;
    139 cp -rv docs/* ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version;</userinput></screen>
    140 
    141     <para>Finally, if installing to any prefix other than
    142     <filename class="directory">/usr</filename>, you should create symlinks
    143     to the GL headers in <filename class="directory">/usr/include</filename>.
    144     Execute the following command as the
    145     <systemitem class="username">root</systemitem> user:</para>
    146 
    147 <screen role="root"><userinput>ln -s -v ${XORG_PREFIX}/include/GL  /usr/include &amp;&amp;
    148 ln -s -v ${XORG_PREFIX}/include/EGL /usr/include &amp;&amp;
    149 ln -s -v ${XORG_PREFIX}/include/KHR /usr/include &amp;&amp;
    150 
    151 for HEADER in xa_{composite,context,tracker}.h
     160cp -rfv docs/* ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version;</userinput></screen>
     161
     162    <para>
     163      Finally, if installing to any prefix other than
     164      <filename class="directory">/usr</filename>, you should create symlinks
     165      to the GL headers in <filename class="directory">/usr/include</filename>.
     166      Execute the following command as the
     167      <systemitem class="username">root</systemitem> user:
     168    </para>
     169
     170<screen role="root"><userinput>for GLHEADER in EGL GL GLES GLES2 KHR xa_composite.h xa_context.h xa_tracker.h
    152171do
    153   ln -s -v ${XORG_PREFIX}/include/$HEADER /usr/include
     172  ln -sfv ${XORG_PREFIX}/include/${GLHEADER} /usr/include/${GLHEADER}
    154173done</userinput></screen>
    155174
     
    159178    <title>Command Explanations</title>
    160179
    161     <para><command>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure</command>: by
    162     default, Mesa builds with debugging symbols.  Remove the -g switch from
    163     both <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> with this
    164     command.</para>
    165 
    166     <para><command>--enable-shared-dricore</command>: link DRI modules with
    167     shared core DRI routines.</para>
    168 
    169     <para><command>--enable-xa</command>: enables building of the XA X
    170     Acceleration API (Required for VMware 3D Driver).</para>
    171 
    172     <para><command>--with-gallium-drivers="..."</command>: controls building
    173     of gallium drivers. Available drivers are: i915, nouveau, r300, r600,
    174     swrast and svga. Note that r300 and r600 require <xref linkend="llvm"/>
    175     to be installed.</para>
     180    <para>
     181      <command>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure</command>: by default,
     182      Mesa builds with debugging symbols. Remove the -g switch from both
     183      <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> with this command.
     184    </para>
     185
     186    <para>
     187      <option>--enable-texture-float</option>: This switch enables
     188      floating-point textures and renderbuffers. Please consult
     189      <filename>docs/patents.txt</filename> to see if there are
     190      any legal issues if you use this feature.
     191    </para>
     192
     193    <para>
     194      <option>--enable-gles1</option>: This switch enables support for
     195      OpenGL ES 1.x API.
     196    </para>
     197
     198    <para>
     199      <option>--enable-gles2</option>: This switch enables support for
     200      OpenGL ES 2.x API.
     201    </para>
     202
     203    <para>
     204      <option>--enable-xa</option>: This switch enables building of the
     205      XA X Acceleration API (Required for VMware 3D Driver).
     206    </para>
     207
     208    <para>
     209      <option>--enable-shared-glapi</option>: This switch enables building
     210      of the shared glapi library.
     211    </para>
     212
     213    <para>
     214      <option>--enable-shared-dricore</option>: This switch enables linking
     215      of the DRI modules with shared core DRI routines.
     216    </para>
     217
     218    <para>
     219      <option>--enable-glx-tls</option>: This switch enables TLS support
     220      in GLX.
     221    </para>
     222
     223    <para>
     224      <parameter>--with-gallium-drivers="..."</parameter>: This parameter
     225      controls which Gallium drivers should be built. Available drivers are:
     226      i915, nouveau, r300, r600, swrast and svga. Note that you will need to
     227      remove r300 and r600 from the list if you haven't installed
     228      <xref linkend="llvm"/>.
     229    </para>
    176230
    177231  </sect2>
     
    186240
    187241      <seglistitem>
    188         <seg>glxgears and glxinfo</seg>
    189         <seg>libEGL.so, libGL.so, libGLU.so, libxatracker.so, and *_dri.so</seg>
    190         <seg><envar>$XORG_PREFIX</envar>/include/{EGL,GL,KHR},
    191         <envar>$XORG_PREFIX</envar>/lib/dri, and
    192         <envar>$XORG_PREFIX</envar>/share/doc/MesaLib-&mesalib-version;</seg>
     242        <seg>
     243          glxgears and glxinfo
     244        </seg>
     245        <seg>
     246          libEGL.so, libglapi.so, libGLESv1_CM.so, libGLESv2.so,
     247          libGL.so, libGLU.so and libxatracker.so
     248        </seg>
     249        <seg>
     250          <envar>$XORG_PREFIX</envar>/include/{EGL,GL,GLES,GLES2,KHR},
     251          <envar>$XORG_PREFIX</envar>/lib/dri, and
     252          <envar>$XORG_PREFIX</envar>/share/doc/MesaLib-&mesalib-version;
     253        </seg>
    193254      </seglistitem>
    194255    </segmentedlist>
     
    202263        <term><filename>glxgears</filename></term>
    203264        <listitem>
    204           <para>is a GL demo useful for troubleshooting graphics
    205           problems.</para>
     265          <para>
     266            is a GL demo useful for troubleshooting graphics
     267            problems.
     268          </para>
    206269          <indexterm zone="mesalib glxgears">
    207270            <primary sortas="b-glxgears">glxgears</primary>
     
    213276        <term><filename>glxinfo</filename></term>
    214277        <listitem>
    215           <para>is a diagnostic program that displays information about the
    216           graphics hardware and installed GL libraries.</para>
     278          <para>
     279            is a diagnostic program that displays information about the
     280            graphics hardware and installed GL libraries.
     281          </para>
    217282          <indexterm zone="mesalib glxinfo">
    218283            <primary sortas="b-glxinfo">glxinfo</primary>
     
    224289        <term><filename class='libraryfile'>libEGL.so</filename></term>
    225290        <listitem>
    226           <para>provides a native platform graphics interface as defined by
    227           the EGL-1.4 specification.</para>
     291          <para>
     292            provides a native platform graphics interface as defined by
     293            the EGL-1.4 specification.
     294          </para>
    228295          <indexterm zone="mesalib libEGL">
    229296            <primary sortas="c-libGL">libEGL.so</primary>
     
    235302        <term><filename class='libraryfile'>libGL.so</filename></term>
    236303        <listitem>
    237           <para>is the main OpenGL library.</para>
     304          <para>
     305            is the main OpenGL library.
     306          </para>
    238307          <indexterm zone="mesalib libGL">
    239308            <primary sortas="c-libGL">libGL.so</primary>
     
    245314        <term><filename class='libraryfile'>libGLU.so</filename></term>
    246315        <listitem>
    247           <para>is the OpenGL Utility library.</para>
     316          <para>
     317            is the OpenGL Utility library.
     318          </para>
    248319          <indexterm zone="mesalib libGLU">
    249320            <primary sortas="c-libGLU">libGLU.so</primary>
     
    255326        <term><filename class='libraryfile'>libxatracker.so</filename></term>
    256327        <listitem>
    257           <para>is the XA X Acceleration API library.</para>
     328          <para>
     329            is the library that provides XA X Acceleration API.
     330          </para>
    258331          <indexterm zone="mesalib libxatracker">
    259332            <primary sortas="c-libxatracker">libxatracker.so</primary>
Note: See TracChangeset for help on using the changeset viewer.