1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY mesalib-download-http "&sourceforge-repo;/mesa3d/MesaLib-&mesalib-version;.tar.bz2">
|
---|
8 | <!ENTITY mesalib-download-ftp " ">
|
---|
9 | <!ENTITY mesalib-md5sum "459f332551f6ebb86f384d21dd15e1f0">
|
---|
10 | <!ENTITY mesalib-size "4.2 MB">
|
---|
11 | <!ENTITY mesalib-buildsize "201 MB">
|
---|
12 | <!ENTITY mesalib-time "4.8 SBU">
|
---|
13 |
|
---|
14 | <!ENTITY mesademos-download-http "&sourceforge-repo;/mesa3d/MesaDemos-&mesalib-version;.tar.bz2">
|
---|
15 | <!ENTITY mesademos-md5sum "398ee8801814a00e47f6c2314e3dfddc">
|
---|
16 | <!ENTITY mesademos-size "1.4 MB">
|
---|
17 |
|
---|
18 | <!--
|
---|
19 | <!ENTITY mesaglut-download-http "&sourceforge-repo;/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2">
|
---|
20 | <!ENTITY mesaglut-md5sum "f67daf93e12c4a459703bbf3e4004e31">
|
---|
21 | <!ENTITY mesaglut-size "328 KB">
|
---|
22 | -->
|
---|
23 | ]>
|
---|
24 |
|
---|
25 | <sect1 id="mesalib" xreflabel="MesaLib-&mesalib-version;">
|
---|
26 | <?dbhtml filename="mesalib.html"?>
|
---|
27 |
|
---|
28 | <sect1info>
|
---|
29 | <othername>$LastChangedBy$</othername>
|
---|
30 | <date>$Date$</date>
|
---|
31 | </sect1info>
|
---|
32 |
|
---|
33 | <title>MesaLib-&mesalib-version;</title>
|
---|
34 |
|
---|
35 | <indexterm zone="mesalib">
|
---|
36 | <primary sortas="a-MesaLib">MesaLib</primary>
|
---|
37 | </indexterm>
|
---|
38 |
|
---|
39 | <sect2 role="package">
|
---|
40 | <title>Introduction to MesaLib</title>
|
---|
41 |
|
---|
42 | <para><application>Mesa</application> is an OpenGL compatible 3-D graphics
|
---|
43 | library.</para>
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>Download (HTTP): <ulink url="&mesalib-download-http;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download (FTP): <ulink url="&mesalib-download-ftp;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download MD5 sum: &mesalib-md5sum;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download size:
|
---|
58 | &mesalib-size;</para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Estimated disk space required (including recommended download):
|
---|
62 | &mesalib-buildsize;</para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Estimated build time (including recommended download):
|
---|
66 | &mesalib-time;</para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Additional Download</bridgehead>
|
---|
71 |
|
---|
72 | <itemizedlist spacing="compact">
|
---|
73 | <title>Recommended demonstration and diagnostic utilities for
|
---|
74 | verifying OpenGL operation</title>
|
---|
75 | <listitem>
|
---|
76 | <para>Download (HTTP): <ulink url="&mesademos-download-http;"/></para>
|
---|
77 | </listitem>
|
---|
78 | <listitem>
|
---|
79 | <para>Download MD5 sum: &mesademos-md5sum;</para>
|
---|
80 | </listitem>
|
---|
81 | <listitem>
|
---|
82 | <para>Download size: &mesademos-size;</para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 | <!--
|
---|
86 | <itemizedlist spacing="compact">
|
---|
87 | <title>Optional GLUT library (see also <xref linkend="freeglut"/>)</title>
|
---|
88 | <listitem>
|
---|
89 | <para>Download (HTTP): <ulink url="&mesaglut-download-http;"/></para>
|
---|
90 | </listitem>
|
---|
91 | <listitem>
|
---|
92 | <para>Download MD5 sum: &mesaglut-md5sum;</para>
|
---|
93 | </listitem>
|
---|
94 | <listitem>
|
---|
95 | <para>Download size: &mesaglut-size;</para>
|
---|
96 | </listitem>
|
---|
97 | </itemizedlist>
|
---|
98 | -->
|
---|
99 | <note><para>Mesa's GLUT library is not released under a free software
|
---|
100 | license, and is no longer tested by the BLFS developers. Permission
|
---|
101 | is granted by the copyright holder of MesaGLUT for its use within the Mesa
|
---|
102 | distribution. <xref linkend="freeglut"/> is recommended over Mesa's GLUT
|
---|
103 | library.</para></note>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
108 | <para role="required"><xref linkend="xorg7-lib"/>,
|
---|
109 | <xref linkend="xorg7-util"/>,
|
---|
110 | <xref linkend="libdrm"/>, and
|
---|
111 | <xref linkend="expat"/></para>
|
---|
112 |
|
---|
113 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
114 | <para role="optional"><xref linkend="libxcb"/> and
|
---|
115 | <xref linkend="lesstif"/></para>
|
---|
116 |
|
---|
117 | <para condition="html" role="usernotes">User Notes:
|
---|
118 | <ulink url="&blfs-wiki;/mesalib"/></para>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="installation">
|
---|
123 | <title>Installation of MesaLib</title>
|
---|
124 |
|
---|
125 | <para>Extract all three tarballs from the same top-level directory as they
|
---|
126 | all will extract to the
|
---|
127 | <filename class="directory">Mesa-&mesalib-version;</filename>
|
---|
128 | directory.</para>
|
---|
129 |
|
---|
130 | <para>Install <application>MesaLib</application> by running the following
|
---|
131 | commands:</para>
|
---|
132 |
|
---|
133 | <screen><userinput>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
|
---|
134 | ./configure $XORG_CONFIG &&
|
---|
135 | make</userinput></screen>
|
---|
136 |
|
---|
137 | <para>This package does not come with a test suite.</para>
|
---|
138 |
|
---|
139 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
142 |
|
---|
143 | <para>If you built the demo programs, install them using the following
|
---|
144 | command as the <systemitem class="username">root</systemitem> user:</para>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>install -v -m755 progs/xdemos/glx{info,gears} ${XORG_PREFIX}/bin</userinput></screen>
|
---|
147 |
|
---|
148 | <para>Finally, if installing to any prefix other than
|
---|
149 | <filename class="directory">/usr</filename>, you should create symlinks
|
---|
150 | to the GL headers in <filename class="directory">/usr/include</filename>.
|
---|
151 | Execute the following command as the
|
---|
152 | <systemitem class="username">root</systemitem> user:</para>
|
---|
153 |
|
---|
154 | <screen role="root"><userinput>ln -s -v ${XORG_PREFIX}/include/GL /usr/include</userinput></screen>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="commands">
|
---|
159 | <title>Command Explanations</title>
|
---|
160 |
|
---|
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><option>--enable-xcb</option>: use the XCB backend instead of the
|
---|
167 | default XLib backend for GLX.</para>
|
---|
168 |
|
---|
169 | <para><option>--enable-motif</option>: build motif widgets into the
|
---|
170 | GL widgets library (requires <application>lesstif</application>).</para>
|
---|
171 |
|
---|
172 | </sect2>
|
---|
173 |
|
---|
174 | <sect2 role="content">
|
---|
175 | <title>Contents</title>
|
---|
176 |
|
---|
177 | <segmentedlist>
|
---|
178 | <segtitle>Installed Programs (optional)</segtitle>
|
---|
179 | <segtitle>Installed Libraries</segtitle>
|
---|
180 | <segtitle>Installed Directories</segtitle>
|
---|
181 |
|
---|
182 | <seglistitem>
|
---|
183 | <seg>glxgears and glxinfo</seg>
|
---|
184 | <seg>libGL.so, libGLU.so, libGLw.so, *_dri.so and
|
---|
185 | optionally, libglut.so</seg>
|
---|
186 | <seg><envar>$XORG_PREFIX</envar>/lib/modules/dri and
|
---|
187 | <envar>$XORG_PREFIX</envar>/share/doc/MesaLib-&mesalib-version;</seg>
|
---|
188 | </seglistitem>
|
---|
189 | </segmentedlist>
|
---|
190 |
|
---|
191 | <variablelist>
|
---|
192 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
193 | <?dbfo list-presentation="list"?>
|
---|
194 | <?dbhtml list-presentation="table"?>
|
---|
195 |
|
---|
196 | <varlistentry id="glxgears">
|
---|
197 | <term><filename>glxgears</filename></term>
|
---|
198 | <listitem>
|
---|
199 | <para>is a GL demo useful for troubleshooting graphics
|
---|
200 | problems.</para>
|
---|
201 | <indexterm zone="mesalib glxgears">
|
---|
202 | <primary sortas="b-glxgears">glxgears</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | <varlistentry id="glxinfo">
|
---|
208 | <term><filename>glxinfo</filename></term>
|
---|
209 | <listitem>
|
---|
210 | <para>is a diagnostic program that displays information about the
|
---|
211 | graphics hardware and installed GL libraries.</para>
|
---|
212 | <indexterm zone="mesalib glxinfo">
|
---|
213 | <primary sortas="b-glxinfo">glxinfo</primary>
|
---|
214 | </indexterm>
|
---|
215 | </listitem>
|
---|
216 | </varlistentry>
|
---|
217 |
|
---|
218 | <varlistentry id="libEGL">
|
---|
219 | <term><filename class='libraryfile'>libEGL.so</filename></term>
|
---|
220 | <listitem>
|
---|
221 | <para>provides a native platform graphics interface as defined by
|
---|
222 | the EGL-1.4 specification.</para>
|
---|
223 | <indexterm zone="mesalib libEGL">
|
---|
224 | <primary sortas="c-libGL">libEGL.so</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 |
|
---|
229 | <varlistentry id="libGL">
|
---|
230 | <term><filename class='libraryfile'>libGL.so</filename></term>
|
---|
231 | <listitem>
|
---|
232 | <para>is the main OpenGL library.</para>
|
---|
233 | <indexterm zone="mesalib libGL">
|
---|
234 | <primary sortas="c-libGL">libGL.so</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="libGLU">
|
---|
240 | <term><filename class='libraryfile'>libGLU.so</filename></term>
|
---|
241 | <listitem>
|
---|
242 | <para>is the OpenGL Utility library.</para>
|
---|
243 | <indexterm zone="mesalib libGLU">
|
---|
244 | <primary sortas="c-libGLU">libGLU.so</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | <varlistentry id="libGLw">
|
---|
250 | <term><filename class='libraryfile'>libGLw.so</filename></term>
|
---|
251 | <listitem>
|
---|
252 | <para>is the Xt/Motif OpenGL drawing area widget library.</para>
|
---|
253 | <indexterm zone="mesalib libGLw">
|
---|
254 | <primary sortas="c-libGLw">libGLw.so</primary>
|
---|
255 | </indexterm>
|
---|
256 | </listitem>
|
---|
257 | </varlistentry>
|
---|
258 | <!--
|
---|
259 | <varlistentry id="libglut-mesa">
|
---|
260 | <term><filename class='libraryfile'>libglut.so</filename></term>
|
---|
261 | <listitem>
|
---|
262 | <para>is the OpenGL Utility Toolkit (GLUT) library.</para>
|
---|
263 | <indexterm zone="mesalib libglut-mesa">
|
---|
264 | <primary sortas="c-libglut">libglut.so</primary>
|
---|
265 | </indexterm>
|
---|
266 | </listitem>
|
---|
267 | </varlistentry>
|
---|
268 | -->
|
---|
269 | </variablelist>
|
---|
270 |
|
---|
271 | </sect2>
|
---|
272 |
|
---|
273 | </sect1>
|
---|