Changeset 1199613


Ignore:
Timestamp:
11/26/2008 03:56:17 AM (15 years ago)
Author:
DJ Lucas <dj@…>
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:
83278514
Parents:
62334bfc
Message:

Updated to Mesa-7.2.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r62334bfc r1199613  
    44-->
    55
    6 <!ENTITY day          "22">                   <!-- Always 2 digits -->
     6<!ENTITY day          "25">                   <!-- Always 2 digits -->
    77<!ENTITY month        "11">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2008">
     
    421421<!ENTITY xorg-server-version          "1.2.0">
    422422<!ENTITY libdrm-version               "2.3.1">
    423 <!ENTITY mesalib-version              "6.5.2">
     423<!ENTITY mesalib-version              "7.2">
    424424<!ENTITY rman-version                 "3.2">
    425425
  • introduction/welcome/changelog.xml

    r62334bfc r1199613  
    4545      <itemizedlist>
    4646        <listitem>
    47           <para>[thomas] - Update to libdrm-2.3.1.</para>
     47          <para>[dj] - Update to libdrm-2.3.1.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[dj] - Update to Mesa-7.2.</para>
    4851        </listitem>
    4952      </itemizedlist>
  • x/lib/mesalib.xml

    r62334bfc r1199613  
    77  <!ENTITY mesalib-download-http "&sourceforge-repo;/mesa3d/MesaLib-&mesalib-version;.tar.bz2">
    88  <!ENTITY mesalib-download-ftp  " ">
    9   <!ENTITY mesalib-md5sum        "e4d894181f1859651658b3704633e10d">
    10   <!ENTITY mesalib-size          "3.1 MB">
    11   <!ENTITY mesalib-buildsize     "172 MB">
    12   <!ENTITY mesalib-time          "1.6 SBU">
     9  <!ENTITY mesalib-md5sum        "04d379292e023df0b0266825cb0dbde5">
     10  <!ENTITY mesalib-size          "3.2 MB">
     11  <!ENTITY mesalib-buildsize     "175 MB">
     12  <!ENTITY mesalib-time          "2.7 SBU">
    1313
    1414  <!ENTITY mesademos-download-http "&sourceforge-repo;/mesa3d/MesaDemos-&mesalib-version;.tar.bz2">
    15   <!ENTITY mesademos-md5sum        "e870efe98d3a50be01ab211b9b2e25d9">
    16   <!ENTITY mesademos-size          "1.3 MB">
     15  <!ENTITY mesademos-md5sum        "22e03dc4038cd63f32c21eb60994892b">
     16  <!ENTITY mesademos-size          "1.4 MB">
    1717
    1818  <!ENTITY mesaglut-download-http  "&sourceforge-repo;/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2">
    19   <!ENTITY mesaglut-md5sum         "e84edbb11c69c8e408dfadd2ed08e95b">
    20   <!ENTITY mesaglut-size           "306 KB">
     19  <!ENTITY mesaglut-md5sum         "f67daf93e12c4a459703bbf3e4004e31">
     20  <!ENTITY mesaglut-size           "328 KB">
    2121
    2222]>
     
    9595      </listitem>
    9696    </itemizedlist>
     97
     98    <warning><para>Mesa's GLUT library in not released under a free software
     99    license.  Permission is grated by the copyright holder for its use with
     100    in the Mesa distribution. <xref linkend="freeglut"/> is strongly
     101    recommended over Mesa.</para></warning>
    97102
    98103    <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
     
    104109    <xref linkend="expat"/></para>
    105110
    106 <!-- XFREE86
    107      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    108     href="../../xincludes/xorg7-only.xml"/>
    109 
    110     <note>
    111       <para>It is not recommended to build a newer version of
    112       <application>Mesa</application> with <xref linkend="xfree86"/>.</para>
    113     </note>
    114 XFREE86 -->
     111    <bridgehead renderas="sect4">Optional</bridgehead>
     112    <para role="optional"><xref linkend="libxcb"/></para>
    115113
    116114    <para condition="html" role="usernotes">User Notes:
     
    127125    directory.</para>
    128126
    129 <!-- XFREE86
    130     Commenting this out as there is already mention of this
    131     <caution>
    132       <para>You should ensure that the <envar>XORG_PREFIX</envar> variable in
    133       the commands below is the same as the one used in the installation prefix
    134       of <application>Xorg</application>.</para>
    135     </caution>
    136 XFREE86 -->
    137 
    138     <para>Install <application>MesaLib</application> by running the following
    139     command:</para>
    140 
    141 <screen><userinput>make linux-dri-x86 OPT_FLAGS="-O2 -fno-strict-aliasing" \
    142     DRI_DRIVER_INSTALL_DIR=${XORG_PREFIX}/lib/X11/modules/dri \
    143     X11_INCLUDES=-I${XORG_PREFIX}/include \
    144     EXTRA_LIB_PATH=-L${XORG_PREFIX}/lib</userinput></screen>
    145 
    146     <para>If you downloaded and extracted the Demos package, build the programs
    147     with the following commands:</para>
    148 
    149 <screen><userinput>sed -i 's@-l$(GLUT_LIB)@@g' configs/default &amp;&amp;
    150 make -C progs/xdemos PROGS='glxinfo glxgears'</userinput></screen>
     127    <para>Build <application>MesaLib</application> by running the following
     128    commands:</para>
     129
     130<screen><userinput>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &amp;&amp;
     131./configure $XORG_CONFIG &amp;&amp;
     132make</userinput></screen>
    151133
    152134    <para>This package does not come with a test suite.</para>
     
    154136    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    155137
    156 <screen role="root"><userinput>make install INSTALL_DIR=${XORG_PREFIX} \
    157     DRI_DRIVER_INSTALL_DIR=${XORG_PREFIX}/lib/X11/modules/dri &amp;&amp;
    158 install -dv ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version; &amp;&amp;
    159 install -v -m644 docs/* ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version;</userinput></screen>
     138<screen role="root"><userinput>make install</userinput></screen>
    160139
    161140    <para>If you built the demo programs, install them using the following
     
    172151<screen role="root"><userinput>ln -s -v ${XORG_PREFIX}/include/GL /usr/include</userinput></screen>
    173152
    174     <tip>
    175       <para>Do not remove the Mesa source tree yet, it will be required to
    176       build the <xref linkend="xorg7-server"/>.</para>
    177     </tip>
    178 
    179153  </sect2>
    180154
     
    182156    <title>Command Explanations</title>
    183157
    184     <para><command>make ... linux-dri-x86</command>: The
    185     <option>linux-dri-x86</option> target is specified to use a
    186     few other helpful flags in addition to the defaults. See the other
    187     targets in the <filename class="directory">configs</filename> directory
    188     if your architecture is not x86.</para>
    189 
    190     <para><envar>OPT_FLAGS="-O2 -fno-strict-aliasing"</envar>: A bug where
    191     OpenGL applications are shifted to the left by 50% can be worked around
    192     by adding <option>-fno-strict-aliasing</option> to the compiler flags.</para>
    193 
    194     <para><envar>DRI_DRIVER_INSTALL_DIR=${XORG_PREFIX}/lib/X11/modules/dri</envar>:
    195     This setting specifies the location that the DRI modules will be installed
    196     to. This path is also built into <filename
    197     class="libraryfile">libGL.so</filename>.</para>
    198 
    199     <para><command>sed -i 's@-l$(GLUT_LIB)@@g' configs/default</command>:
    200     Disables linking against the GLUT libraries for the demo programs, omit
    201     this command if you downloaded and extracted the GLUT tarball.</para>
    202 
    203     <para><command>make ... PROGS='glxinfo glxgears'</command>: Only builds
    204     the <command>glxinfo</command> and <command>glxgears</command>
    205     programs.</para>
     158    <para><command>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure</command>: by
     159    default, Mesa builds with debugging symbols.  Remove the -g switch from
     160    both <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> with this
     161    command.</para>
     162
     163    <para><option>--enable-xcb</option>: use the XCB backend instead of the
     164    default XLib backend for GLX.</para>
    206165
    207166  </sect2>
Note: See TracChangeset for help on using the changeset viewer.