source: x/lib/mesalib.xml@ 358cbee6

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 358cbee6 was 358cbee6, checked in by DJ Lucas <dj@…>, 14 years ago

Updated to Mesa-7.6.

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

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