source: x/lib/mesalib.xml@ d3ef1e4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 d3ef1e4 was d3ef1e4, checked in by Randy McMurchy <randy@…>, 18 years ago

Fixed typos and tags in the Mesalib instructions

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

  • Property mode set to 100644
File size: 5.3 KB
Line 
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">
12 <!ENTITY mesalib-time "2.2 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 <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>
67 <para>X (<xref linkend="xorg"/>, <xref linkend="xfree86"/>, or
68 <!--<xref linkend="xorg7"/>--> Xorg-7.0 Libs and Utilities), and
69 <xref linkend="libdrm"/></para>
70
71 <bridgehead renderas="sect3">Recommended Downloads</bridgehead>
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"/>
79 provides demos and a test program to verify that DRI is working as expected.</para>
80
81 <note>
82 <para>You should extract all three tarballs from the same toplevel
83 directory. All three files will extract to the
84 <filename class="directory">Mesa-&mesalib-version;</filename>
85 directory.</para>
86 </note>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of MesaLib</title>
92
93 <para>If you've installed the X Window System into any prefix other than
94 <filename class="directory">/usr/X11R6</filename>, then execute the
95 following commands to correct several hard coded directory assumptions in
96 the source files. Be sure to replace '<replaceable>[prefix]</replaceable>'
97 with the installation prefix of your installed X Window System:</para>
98
99<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>[prefix]</replaceable>@g' {} \;</userinput></screen>
100
101 <para>Install <application>MesaLib</application>
102 by running the following command:</para>
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
110<screen role="root"><userinput>bin/installmesa <replaceable>[prefix]</replaceable> &amp;&amp;
111mkdir -v -p <replaceable>[prefix]</replaceable>/lib/modules/dri &amp;&amp;
112install -v -o root -m 0755 lib/*dri* <replaceable>[prefix]</replaceable>/lib/modules/dri</userinput></screen>
113
114 <para>If you've extracted the GLUT and Demos packages as well, then
115 build the test programs with the following commands:</para>
116
117<screen><userinput>cd progs/xdemos &amp;&amp;
118make PROGS='glxinfo glxgears'</userinput></screen>
119
120 <para>Install the demos as the
121 <systemitem class="username">root</systemitem> user:</para>
122
123<screen role="root"><userinput>install -v -o root -m 0755 glxinfo glxgears <replaceable>[prefix]</replaceable>/bin</userinput></screen>
124
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>
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>
142 <seg>glxgears and glxinfo</seg>
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>
148
149 </sect2>
150
151</sect1>
Note: See TracBrowser for help on using the repository browser.