source: x/lib/mesalib.xml@ 8e4e046

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
Last change on this file since 8e4e046 was 25f6d94, checked in by DJ Lucas <dj@…>, 15 years ago

Updated to Mesa-7.5

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

  • Property mode set to 100644
File size: 9.4 KB
Line 
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 &amp;&amp;
134./configure $XORG_CONFIG &amp;&amp;
135make</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>
Note: See TracBrowser for help on using the repository browser.