source: x/lib/mesalib.xml@ 3b69a2aa

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 3b69a2aa was 3b69a2aa, checked in by DJ Lucas <dj@…>, 11 years ago

Separated Xorg Utilities packages.

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

  • Property mode set to 100644
File size: 7.7 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 "82c740c49d572baa6da2b1a1eee90bca">
10 <!ENTITY mesalib-size "5.4 MB">
11 <!ENTITY mesalib-buildsize "249 MB">
12 <!ENTITY mesalib-time "3.1 SBU">
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 </sect1info>
22
23 <title>MesaLib-&mesalib-version;</title>
24
25 <indexterm zone="mesalib">
26 <primary sortas="a-MesaLib">MesaLib</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to MesaLib</title>
31
32 <para><application>Mesa</application> is an OpenGL compatible 3-D graphics
33 library.</para>
34
35 &lfs65_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&mesalib-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&mesalib-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &mesalib-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size:
50 &mesalib-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required:
54 &mesalib-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time:
58 &mesalib-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Recommended patch: <ulink
66 url="&patch-root;/MesaLib-&mesalib-version;-add_xdemos-1.patch"/>
67 (Needed if testing the Xorg installation per BLFS instructions)</para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required"><xref linkend="xorg7-lib"/>,
75 <xref linkend="makedepend"/>,
76 <xref linkend="libdrm"/>,
77 <xref linkend="expat"/>, and
78 <xref linkend="talloc"/></para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional"><xref linkend="lesstif"/> (required to build motif
82 widgets)</para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/mesalib"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of MesaLib</title>
91
92 <note><para>Unlike other packages, the
93 <filename>MesaLib-&mesalib-version;.tar.bz2</filename>
94 archive will extract to the
95 <filename class="directory">Mesa-&mesalib-version;</filename>
96 directory.</para></note>
97
98 <para>Install <application>MesaLib</application> by running the following
99 commands:</para>
100
101<screen><userinput>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &amp;&amp;
102patch -Np1 -i ../MesaLib-&mesalib-version;-add_xdemos-1.patch &amp;&amp;
103./configure $XORG_CONFIG --enable-xcb &amp;&amp;
104make</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
110<screen role="root"><userinput>make install &amp;&amp;
111install -v -m755 -d ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version; &amp;&amp;
112install -v -m644 docs/* \
113 ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version;</userinput></screen>
114
115 <para>Finally, if installing to any prefix other than
116 <filename class="directory">/usr</filename>, you should create symlinks
117 to the GL headers in <filename class="directory">/usr/include</filename>.
118 Execute the following command as the
119 <systemitem class="username">root</systemitem> user:</para>
120
121<screen role="root"><userinput>ln -s -v ${XORG_PREFIX}/include/GL /usr/include</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para><command>sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure</command>: by
129 default, Mesa builds with debugging symbols. Remove the -g switch from
130 both <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> with this
131 command.</para>
132
133 <para><option>--enable-xcb</option>: use the XCB backend instead of the
134 default XLib backend for GLX.</para>
135
136 <para><option>--enable-motif</option>: build motif widgets into the
137 GL widgets library (requires <application>lesstif</application>).</para>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Optionally Installed Programs</segtitle>
146 <segtitle>Installed Libraries</segtitle>
147 <segtitle>Installed Directories</segtitle>
148
149 <seglistitem>
150 <seg>glxgears and glxinfo</seg>
151 <seg>libEGL.so, libGL.so, libGLU.so, libGLw.so, and *_dri.so</seg>
152 <seg><envar>$XORG_PREFIX</envar>/include/{EGL,KHR},
153 <envar>$XORG_PREFIX</envar>/lib/{dri,egl}, and
154 <envar>$XORG_PREFIX</envar>/share/doc/MesaLib-&mesalib-version;</seg>
155 </seglistitem>
156 </segmentedlist>
157
158 <variablelist>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
162
163 <varlistentry id="glxgears">
164 <term><filename>glxgears</filename></term>
165 <listitem>
166 <para>is a GL demo useful for troubleshooting graphics
167 problems.</para>
168 <indexterm zone="mesalib glxgears">
169 <primary sortas="b-glxgears">glxgears</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="glxinfo">
175 <term><filename>glxinfo</filename></term>
176 <listitem>
177 <para>is a diagnostic program that displays information about the
178 graphics hardware and installed GL libraries.</para>
179 <indexterm zone="mesalib glxinfo">
180 <primary sortas="b-glxinfo">glxinfo</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="libEGL">
186 <term><filename class='libraryfile'>libEGL.so</filename></term>
187 <listitem>
188 <para>provides a native platform graphics interface as defined by
189 the EGL-1.4 specification.</para>
190 <indexterm zone="mesalib libEGL">
191 <primary sortas="c-libGL">libEGL.so</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="libGL">
197 <term><filename class='libraryfile'>libGL.so</filename></term>
198 <listitem>
199 <para>is the main OpenGL library.</para>
200 <indexterm zone="mesalib libGL">
201 <primary sortas="c-libGL">libGL.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="libGLU">
207 <term><filename class='libraryfile'>libGLU.so</filename></term>
208 <listitem>
209 <para>is the OpenGL Utility library.</para>
210 <indexterm zone="mesalib libGLU">
211 <primary sortas="c-libGLU">libGLU.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="libGLw">
217 <term><filename class='libraryfile'>libGLw.so</filename></term>
218 <listitem>
219 <para>is the Xt/Motif OpenGL drawing area widget library.</para>
220 <indexterm zone="mesalib libGLw">
221 <primary sortas="c-libGLw">libGLw.so</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.