mesa and libdrm upgrade.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9721 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Krejzi 2012-03-17 10:17:30 +00:00
parent a5dfefb236
commit bad6be1925
4 changed files with 52 additions and 44 deletions

View File

@ -3,7 +3,7 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "16"> <!-- Always 2 digits -->
<!ENTITY day "17"> <!-- Always 2 digits -->
<!ENTITY month "03"> <!-- Always 2 digits -->
<!ENTITY year "2012">
<!ENTITY copyrightdate "2001-&year;">
@ -196,7 +196,7 @@ $Date$
<!ENTITY gmime-version "2.4.21">
<!ENTITY libidn-version "1.22">
<!ENTITY libatomic_ops-version "1.2">
<!ENTITY libdrm-version "2.4.27">
<!ENTITY libdrm-version "2.4.32">
<!ENTITY dbus-qt3-version "0.62">
<!ENTITY eggdbus-version "0.6">
<!ENTITY libpthread-stubs-version "0.3">
@ -588,7 +588,7 @@ $Date$
<!ENTITY libxcb-version "1.7">
<!ENTITY xcursor-themes-version "1.0.3">
<!ENTITY xkeyboard-config-version "2.0">
<!ENTITY mesalib-version "7.11.2">
<!ENTITY mesalib-version "8.0.1">
<!ENTITY xcb-util-version "0.3.8">
<!ENTITY xorg-server-version "1.11.2">
<!ENTITY xterm-version "276">

View File

@ -6,9 +6,9 @@
<!ENTITY libdrm-download-http "http://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.bz2">
<!ENTITY libdrm-download-ftp " ">
<!ENTITY libdrm-md5sum "0fba4f42735cd3d24dd7a8cde0023fbd">
<!ENTITY libdrm-size "484 KB">
<!ENTITY libdrm-buildsize "7.1 MB">
<!ENTITY libdrm-md5sum "b731faf4a49f89c318d84378cb563cf8">
<!ENTITY libdrm-size "548 KB">
<!ENTITY libdrm-buildsize "8.0 MB">
<!ENTITY libdrm-time "less than 0.1 SBU">
]>
@ -78,7 +78,8 @@
commands:</para>
<screen><userinput>./configure --prefix=$XORG_PREFIX \
--enable-nouveau-experimental-api &amp;&amp;
--enable-nouveau-experimental-api \
--enable-vmwgfx-experimental-api &amp;&amp;
make</userinput></screen>
<para>To check the results, issue <command>make check</command>. Note that
@ -95,11 +96,10 @@ make</userinput></screen>
<title>Command Explanations</title>
<para><parameter>--enable-nouveau-experimental-api</parameter>: This parameter
enables use of nouveau's experimental kernel API (required for the default
configuration of <application>MesaLib</application>).</para>
enables use of nouveau's experimental kernel API.</para>
<para><option>--enable-vmwgfx-experimental-api</option>: This
parameter enables use of vmwgfx's experimental kernel api.</para>
<para><option>--enable-vmwgfx-experimental-api</option>: This parameter
enables use of vmwgfx's experimental kernel API.</para>
</sect2>
@ -115,7 +115,7 @@ make</userinput></screen>
<seg>None</seg>
<seg>libdrm.so, libdrm_intel.so, libdrm_nouveau.so,
libdrm_radeon.so, and libkms.so</seg>
<seg><envar>$XORG_PREFIX</envar>/include/drm</seg>
<seg><envar>$XORG_PREFIX</envar>/include/{libdrm,libkms,nouveau}</seg>
</seglistitem>
</segmentedlist>

View File

@ -41,6 +41,18 @@
</listitem>
-->
<listitem>
<para>March 17th, 2012</para>
<itemizedlist>
<listitem>
<para>[krejzi] - libdrm 2.4.32.</para>
</listitem>
<listitem>
<para>[krejzi] - MesaLib 8.0.1.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 16th, 2012</para>
<itemizedlist>

View File

@ -6,10 +6,10 @@
<!ENTITY mesalib-download-http " ">
<!ENTITY mesalib-download-ftp "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">
<!ENTITY mesalib-md5sum "0837c52698fe3252369c3fdb5195afcc">
<!ENTITY mesalib-size "6.0 MB">
<!ENTITY mesalib-buildsize "356 MB">
<!ENTITY mesalib-time "4.0 SBU">
<!ENTITY mesalib-md5sum "24eeebf66971809d8f40775a379b36c9">
<!ENTITY mesalib-size "5.5 MB">
<!ENTITY mesalib-buildsize "460 MB">
<!ENTITY mesalib-time "3.0 SBU">
]>
<sect1 id="mesalib" xreflabel="MesaLib-&mesalib-version;">
@ -29,7 +29,7 @@
<sect2 role="package">
<title>Introduction to MesaLib</title>
<para><application>Mesa</application> is an OpenGL compatible 3-D graphics
<para><application>Mesa</application> is an OpenGL compatible 3D graphics
library.</para>
&lfs70_checked;
@ -61,11 +61,6 @@
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Required patch: <ulink
url="&patch-root;/MesaLib-&mesalib-version;-llvm_3.0-1.patch"/>
</para>
</listitem>
<listitem>
<para>Recommended patch: <ulink
url="&patch-root;/MesaLib-&mesalib-version;-add_xdemos-2.patch"/>
@ -85,10 +80,6 @@
<xref linkend="xorg7-lib"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="lesstif"/> (required to build motif
widgets)</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/mesalib"/></para>
@ -107,9 +98,9 @@
commands:</para>
<screen><userinput>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &amp;&amp;
patch -Np1 -i ../MesaLib-&mesalib-version;-llvm_3.0-1.patch &amp;&amp;
patch -Np1 -i ../MesaLib-&mesalib-version;-add_xdemos-2.patch &amp;&amp;
./configure $XORG_CONFIG --enable-xcb &amp;&amp;
./configure --prefix=$XORG_PREFIX --enable-shared-dricore --enable-xa \
--with-gallium-drivers="nouveau,r300,r600,svga,swrast" &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@ -129,7 +120,11 @@ install -v -m644 docs/* \
<screen role="root"><userinput>ln -s -v ${XORG_PREFIX}/include/GL /usr/include &amp;&amp;
ln -s -v ${XORG_PREFIX}/include/EGL /usr/include &amp;&amp;
ln -s -v ${XORG_PREFIX}/include/KHR /usr/include</userinput></screen>
ln -s -v ${XORG_PREFIX}/include/KHR /usr/include &amp;&amp;
for HEADER in xa_{composite,context,tracker}.h
do
ln -s -v ${$XORG_PREFIX}/include/$HEADER /usr/include
done</userinput></screen>
</sect2>
@ -141,15 +136,16 @@ ln -s -v ${XORG_PREFIX}/include/KHR /usr/include</userinput></screen>
both <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> with this
command.</para>
<para><option>--enable-xcb</option>: use the XCB backend instead of the
default XLib backend for GLX.</para>
<para><command>--enable-shared-dricore</command>: link DRI modules with
shared core DRI routines.</para>
<para><option>--enable-motif</option>: build motif widgets into the
GL widgets library (requires <application>lesstif</application>).</para>
<para><command>--enable-xa</command>: enables building of the XA X
Acceleration API (Required for VMware 3D Driver).</para>
<para><ocommand>--with-gallium-drivers=...</command>: build additional gallium
drivers. Defaults to r300, r600, and swrast. Extended to build nouveau
driver.</para>
<para><option>--with-gallium-driver=...</option>: build additional gallium
drivers. Defaults to r300, r600, and swrast. You must specify i9xx and
nouveau drivers.</para>
</sect2>
<sect2 role="content">
@ -162,9 +158,9 @@ ln -s -v ${XORG_PREFIX}/include/KHR /usr/include</userinput></screen>
<seglistitem>
<seg>glxgears and glxinfo</seg>
<seg>libEGL.so, libGL.so, libGLU.so, libGLw.so, and *_dri.so</seg>
<seg><envar>$XORG_PREFIX</envar>/include/{EGL,KHR},
<envar>$XORG_PREFIX</envar>/lib/{dri,egl}, and
<seg>libEGL.so, libGL.so, libGLU.so, libxatracker.so, and *_dri.so</seg>
<seg><envar>$XORG_PREFIX</envar>/include/{EGL,GL,KHR},
<envar>$XORG_PREFIX</envar>/lib/dri, and
<envar>$XORG_PREFIX</envar>/share/doc/MesaLib-&mesalib-version;</seg>
</seglistitem>
</segmentedlist>
@ -227,12 +223,12 @@ ln -s -v ${XORG_PREFIX}/include/KHR /usr/include</userinput></screen>
</listitem>
</varlistentry>
<varlistentry id="libGLw">
<term><filename class='libraryfile'>libGLw.so</filename></term>
<varlistentry id="libxatracker">
<term><filename class='libraryfile'>libxatracker.so</filename></term>
<listitem>
<para>is the Xt/Motif OpenGL drawing area widget library.</para>
<indexterm zone="mesalib libGLw">
<primary sortas="c-libGLw">libGLw.so</primary>
<para>is the XA X Acceleration API library.</para>
<indexterm zone="mesalib libxatracker">
<primary sortas="c-libxatracker">libxatracker.so</primary>
</indexterm>
</listitem>
</varlistentry>