2006-02-26 12:27:07 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2006-02-26 12:27:07 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2008-10-13 22:49:44 +08:00
|
|
|
<!ENTITY mesalib-download-http "&sourceforge-repo;/mesa3d/MesaLib-&mesalib-version;.tar.bz2">
|
2006-02-26 12:27:07 +08:00
|
|
|
<!ENTITY mesalib-download-ftp " ">
|
2008-11-26 11:56:17 +08:00
|
|
|
<!ENTITY mesalib-md5sum "04d379292e023df0b0266825cb0dbde5">
|
|
|
|
<!ENTITY mesalib-size "3.2 MB">
|
|
|
|
<!ENTITY mesalib-buildsize "175 MB">
|
|
|
|
<!ENTITY mesalib-time "2.7 SBU">
|
2007-02-14 16:11:15 +08:00
|
|
|
|
2008-10-13 22:49:44 +08:00
|
|
|
<!ENTITY mesademos-download-http "&sourceforge-repo;/mesa3d/MesaDemos-&mesalib-version;.tar.bz2">
|
2008-11-26 11:56:17 +08:00
|
|
|
<!ENTITY mesademos-md5sum "22e03dc4038cd63f32c21eb60994892b">
|
|
|
|
<!ENTITY mesademos-size "1.4 MB">
|
2007-05-26 06:09:36 +08:00
|
|
|
|
2008-10-13 22:49:44 +08:00
|
|
|
<!ENTITY mesaglut-download-http "&sourceforge-repo;/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2">
|
2008-11-26 11:56:17 +08:00
|
|
|
<!ENTITY mesaglut-md5sum "f67daf93e12c4a459703bbf3e4004e31">
|
|
|
|
<!ENTITY mesaglut-size "328 KB">
|
2007-02-14 16:11:15 +08:00
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
]>
|
|
|
|
|
2006-03-27 11:03:32 +08:00
|
|
|
<sect1 id="mesalib" xreflabel="MesaLib-&mesalib-version;">
|
2006-02-26 12:27:07 +08:00
|
|
|
<?dbhtml filename="mesalib.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>MesaLib-&mesalib-version;</title>
|
|
|
|
|
2006-03-27 21:07:21 +08:00
|
|
|
<indexterm zone="mesalib">
|
2006-02-26 12:27:07 +08:00
|
|
|
<primary sortas="a-MesaLib">MesaLib</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to MesaLib</title>
|
|
|
|
|
|
|
|
<para><application>Mesa</application> is an OpenGL compatible 3-D graphics
|
|
|
|
library.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&mesalib-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&mesalib-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &mesalib-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-05-25 14:52:00 +08:00
|
|
|
<para>Download size (including recommended download):
|
2006-02-26 12:27:07 +08:00
|
|
|
&mesalib-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-05-25 14:52:00 +08:00
|
|
|
<para>Estimated disk space required (including recommended download):
|
2006-02-26 12:27:07 +08:00
|
|
|
&mesalib-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-05-25 14:52:00 +08:00
|
|
|
<para>Estimated build time (including recommended download):
|
2006-02-26 12:27:07 +08:00
|
|
|
&mesalib-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2007-05-26 06:09:36 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<title>Recommended demonstration and diagnostic utilities for
|
|
|
|
verifying OpenGL operation</title>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&mesademos-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &mesademos-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &mesademos-size;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<title>Optional GLUT library (see also <xref linkend="freeglut"/>)</title>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&mesaglut-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &mesaglut-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &mesaglut-size;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2008-11-27 05:57:09 +08:00
|
|
|
<note><para>Mesa's GLUT library is not released under a free software
|
2008-12-02 21:39:09 +08:00
|
|
|
license. Permission is granted by the copyright holder for its use within
|
2008-11-27 05:57:09 +08:00
|
|
|
the Mesa distribution. <xref linkend="freeglut"/> is recommended over
|
|
|
|
Mesa's GLUT library.</para></note>
|
2008-11-26 11:56:17 +08:00
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
<bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2006-05-26 00:58:15 +08:00
|
|
|
<para role="required"><xref linkend="xorg7-lib"/>,
|
2007-05-30 22:09:02 +08:00
|
|
|
<xref linkend="xorg7-util"/>,
|
|
|
|
<xref linkend="libdrm"/>, and
|
|
|
|
<xref linkend="expat"/></para>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
2008-11-26 11:56:17 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2008-11-27 07:04:24 +08:00
|
|
|
<para role="optional"><xref linkend="libxcb"/> and
|
|
|
|
<xref linkend="lesstif"/></para>
|
2006-05-12 11:52:52 +08:00
|
|
|
|
2006-04-11 02:39:30 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/mesalib"/></para>
|
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of MesaLib</title>
|
|
|
|
|
2007-02-14 16:11:15 +08:00
|
|
|
<para>Extract all three tarballs from the same top-level directory as they
|
|
|
|
all will extract to the
|
|
|
|
<filename class="directory">Mesa-&mesalib-version;</filename>
|
|
|
|
directory.</para>
|
2006-09-04 11:15:35 +08:00
|
|
|
|
2008-11-27 05:57:09 +08:00
|
|
|
<para>Install <application>MesaLib</application> by running the following
|
2008-11-26 11:56:17 +08:00
|
|
|
commands:</para>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
2008-11-26 11:56:17 +08:00
|
|
|
<screen><userinput>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
|
|
|
|
./configure $XORG_CONFIG &&
|
|
|
|
make</userinput></screen>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
2007-02-14 16:11:15 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
2006-05-11 13:21:21 +08:00
|
|
|
|
2007-02-14 16:11:15 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2006-05-11 13:21:21 +08:00
|
|
|
|
2008-11-26 11:56:17 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
2007-02-14 16:11:15 +08:00
|
|
|
<para>If you built the demo programs, install them using the following
|
|
|
|
command as the <systemitem class="username">root</systemitem> user:</para>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
2007-05-26 06:09:36 +08:00
|
|
|
<screen role="root"><userinput>install -v -m755 progs/xdemos/glx{info,gears} ${XORG_PREFIX}/bin</userinput></screen>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
2006-03-15 23:04:26 +08:00
|
|
|
<para>Finally, if installing to any prefix other than
|
2006-03-03 11:51:21 +08:00
|
|
|
<filename class="directory">/usr</filename>, you should create symlinks
|
|
|
|
to the GL headers in <filename class="directory">/usr/include</filename>.
|
|
|
|
Execute the following command as the
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2007-05-26 06:09:36 +08:00
|
|
|
<screen role="root"><userinput>ln -s -v ${XORG_PREFIX}/include/GL /usr/include</userinput></screen>
|
2007-02-14 16:19:07 +08:00
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
</sect2>
|
|
|
|
|
2006-03-03 14:41:25 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2008-11-26 11:56:17 +08:00
|
|
|
<para><command>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure</command>: by
|
|
|
|
default, Mesa builds with debugging symbols. Remove the -g switch from
|
|
|
|
both <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> with this
|
|
|
|
command.</para>
|
2007-02-14 16:11:15 +08:00
|
|
|
|
2008-11-26 11:56:17 +08:00
|
|
|
<para><option>--enable-xcb</option>: use the XCB backend instead of the
|
|
|
|
default XLib backend for GLX.</para>
|
2007-02-14 16:11:15 +08:00
|
|
|
|
2008-11-27 07:04:24 +08:00
|
|
|
<para><option>--enable-motif</option>: build motif widgets into the
|
|
|
|
GL widgets library (requires <application>lesstif</application>).</para>
|
|
|
|
|
2006-03-03 14:41:25 +08:00
|
|
|
</sect2>
|
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2007-02-14 16:11:15 +08:00
|
|
|
<segtitle>Installed Programs (optional)</segtitle>
|
2006-02-26 12:27:07 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2007-05-26 06:09:36 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2006-02-26 12:27:07 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2006-02-26 20:07:51 +08:00
|
|
|
<seg>glxgears and glxinfo</seg>
|
2007-05-26 06:09:36 +08:00
|
|
|
<seg>libGL.so, libGLU.so, libGLw.so, *_dri.so and
|
|
|
|
optionally, libglut.so</seg>
|
|
|
|
<seg><envar>$XORG_PREFIX</envar>/lib/modules/dri and
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/MesaLib-&mesalib-version;</seg>
|
2006-02-26 12:27:07 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2006-02-26 20:07:51 +08:00
|
|
|
|
2006-03-02 14:10:46 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="glxgears">
|
|
|
|
<term><filename>glxgears</filename></term>
|
|
|
|
<listitem>
|
2007-02-14 16:11:15 +08:00
|
|
|
<para>is a GL demo useful for troubleshooting graphics
|
|
|
|
problems.</para>
|
2006-03-27 21:07:21 +08:00
|
|
|
<indexterm zone="mesalib glxgears">
|
2006-03-02 14:10:46 +08:00
|
|
|
<primary sortas="b-glxgears">glxgears</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="glxinfo">
|
|
|
|
<term><filename>glxinfo</filename></term>
|
|
|
|
<listitem>
|
2007-02-14 16:11:15 +08:00
|
|
|
<para>is a diagnostic program that displays information about the
|
2006-03-02 14:10:46 +08:00
|
|
|
graphics hardware and installed GL libraries.</para>
|
2006-03-27 21:07:21 +08:00
|
|
|
<indexterm zone="mesalib glxinfo">
|
2006-03-02 14:10:46 +08:00
|
|
|
<primary sortas="b-glxinfo">glxinfo</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2007-05-26 06:09:36 +08:00
|
|
|
<varlistentry id="libGL">
|
|
|
|
<term><filename class='libraryfile'>libGL.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the main OpenGL library.</para>
|
|
|
|
<indexterm zone="mesalib libGL">
|
|
|
|
<primary sortas="c-libGL">libGL.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libGLU">
|
|
|
|
<term><filename class='libraryfile'>libGLU.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the OpenGL Utility library.</para>
|
|
|
|
<indexterm zone="mesalib libGLU">
|
|
|
|
<primary sortas="c-libGLU">libGLU.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libGLw">
|
|
|
|
<term><filename class='libraryfile'>libGLw.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>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libglut-mesa">
|
|
|
|
<term><filename class='libraryfile'>libglut.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the OpenGL Utility Toolkit (GLUT) library.</para>
|
|
|
|
<indexterm zone="mesalib libglut-mesa">
|
|
|
|
<primary sortas="c-libglut">libglut.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2006-03-02 14:10:46 +08:00
|
|
|
</variablelist>
|
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
</sect2>
|
2006-02-26 20:07:51 +08:00
|
|
|
|
2006-02-26 12:27:07 +08:00
|
|
|
</sect1>
|