[868c7c2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY mesalib-download-http "http://prdownloads.sourceforge.net/mesa3d/MesaLib-&mesalib-version;.tar.bz2">
|
---|
| 8 | <!ENTITY mesalib-download-ftp " ">
|
---|
| 9 | <!ENTITY mesalib-md5sum "7674d2c603b5834259e4e5a820cefd5b">
|
---|
| 10 | <!ENTITY mesalib-size "3.9 MB">
|
---|
| 11 | <!ENTITY mesalib-buildsize "672 MB">
|
---|
[d3ef1e4] | 12 | <!ENTITY mesalib-time "2.2 SBU">
|
---|
[868c7c2] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="MesaLib" xreflabel="MesaLib-&mesalib-version;">
|
---|
| 16 | <?dbhtml filename="mesalib.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | <keywordset>
|
---|
| 22 | <keyword role="package">MesaLib-&mesalib-version;.tar</keyword>
|
---|
| 23 | <keyword role="ftpdir">MesaLib</keyword>
|
---|
| 24 | </keywordset>
|
---|
| 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>MesaLib-&mesalib-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="MesaLib">
|
---|
| 30 | <primary sortas="a-MesaLib">MesaLib</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to MesaLib</title>
|
---|
| 35 |
|
---|
| 36 | <para><application>Mesa</application> is an OpenGL compatible 3-D graphics
|
---|
| 37 | library.</para>
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&mesalib-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&mesalib-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &mesalib-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size (including Recommended downloads):
|
---|
| 52 | &mesalib-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required (including Recommended downloads):
|
---|
| 56 | &mesalib-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time (including Recommended downloads):
|
---|
| 60 | &mesalib-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d3ef1e4] | 67 | <para>X (<xref linkend="xorg"/>, <xref linkend="xfree86"/>, or
|
---|
[4ff4e9a] | 68 | <xref linkend="xorg7"/> Libs and Utilities), and
|
---|
[868c7c2] | 69 | <xref linkend="libdrm"/></para>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">Recommended Downloads</bridgehead>
|
---|
[d3ef1e4] | 72 | <para><ulink
|
---|
| 73 | url="http://prdownloads.sourceforge.net/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2"/>
|
---|
| 74 | provides a working <filename class='libraryfile'>libglut</filename>
|
---|
| 75 | (needed for the demos).</para>
|
---|
| 76 |
|
---|
| 77 | <para><ulink
|
---|
| 78 | url="http://prdownloads.sourceforge.net/mesa3d/MesaDemos-&mesalib-version;.tar.bz2"/>
|
---|
[4437f63] | 79 | provides a demo and a diagnostic program to verify that GL is working
|
---|
| 80 | properly.</para>
|
---|
[d3ef1e4] | 81 |
|
---|
| 82 | <note>
|
---|
| 83 | <para>You should extract all three tarballs from the same toplevel
|
---|
| 84 | directory. All three files will extract to the
|
---|
| 85 | <filename class="directory">Mesa-&mesalib-version;</filename>
|
---|
| 86 | directory.</para>
|
---|
| 87 | </note>
|
---|
[868c7c2] | 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of MesaLib</title>
|
---|
| 93 |
|
---|
[d3ef1e4] | 94 | <para>If you've installed the X Window System into any prefix other than
|
---|
[4437f63] | 95 | <filename class="directory">/usr</filename>, then you'll need to adjust the
|
---|
| 96 | commands below for your system. Correct several hard coded directories
|
---|
| 97 | in the source files with the following command:</para>
|
---|
[868c7c2] | 98 |
|
---|
[4437f63] | 99 | <screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@/usr@g' {} \;</userinput></screen>
|
---|
[868c7c2] | 100 |
|
---|
| 101 | <para>Install <application>MesaLib</application>
|
---|
[d3ef1e4] | 102 | by running the following command:</para>
|
---|
[868c7c2] | 103 |
|
---|
| 104 | <screen><userinput>make linux-dri</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>This package does not come with a test suite.</para>
|
---|
| 107 |
|
---|
| 108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 109 |
|
---|
[4437f63] | 110 | <screen role="root"><userinput>bin/installmesa /usr &&
|
---|
| 111 | mkdir -v -p /usr/lib/modules/dri &&
|
---|
| 112 | install -v -m755 lib/*dri* /usr/lib/modules/dri</userinput></screen>
|
---|
[868c7c2] | 113 |
|
---|
[d3ef1e4] | 114 | <para>If you've extracted the GLUT and Demos packages as well, then
|
---|
[868c7c2] | 115 | build the test programs with the following commands:</para>
|
---|
| 116 |
|
---|
| 117 | <screen><userinput>cd progs/xdemos &&
|
---|
| 118 | make PROGS='glxinfo glxgears'</userinput></screen>
|
---|
| 119 |
|
---|
[d3ef1e4] | 120 | <para>Install the demos as the
|
---|
| 121 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[868c7c2] | 122 |
|
---|
[4437f63] | 123 | <screen role="root"><userinput>install -v -m755 glxinfo glxgears /usr/bin</userinput></screen>
|
---|
[868c7c2] | 124 |
|
---|
[d3ef1e4] | 125 | <note>
|
---|
| 126 | <para>If building Xorg-7.0<!--<xref linkend="xorg7"/>-->, do not
|
---|
| 127 | remove the Mesa source tree yet, it will be required to build the
|
---|
| 128 | X server.</para>
|
---|
| 129 | </note>
|
---|
[868c7c2] | 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Libraries</segtitle>
|
---|
| 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
[d3ef1e4] | 142 | <seg>glxgears and glxinfo</seg>
|
---|
[868c7c2] | 143 | <seg>libGL.[so,a], libGLU.[so,a], libGLw.[so,a], libglut.[so,a] and
|
---|
| 144 | *_dri.so</seg>
|
---|
| 145 | <seg>$XORG_PREFIX/lib/modules/dri</seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
[d3ef1e4] | 148 |
|
---|
[4437f63] | 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="glxgears">
|
---|
| 155 | <term><filename>glxgears</filename></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>a GL demo useful for troubleshooting graphics problems.</para>
|
---|
| 158 | <indexterm zone="MesaLib glxgears">
|
---|
| 159 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="glxinfo">
|
---|
| 165 | <term><filename>glxinfo</filename></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>a diagnostic program that displays information about the
|
---|
| 168 | graphics hardware and installed GL libraries.</para>
|
---|
| 169 | <indexterm zone="MesaLib glxinfo">
|
---|
| 170 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | </variablelist>
|
---|
| 176 |
|
---|
[868c7c2] | 177 | </sect2>
|
---|
[d3ef1e4] | 178 |
|
---|
[868c7c2] | 179 | </sect1>
|
---|