source: x/lib/freeglut.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Tags

  • Property mode set to 100644
File size: 5.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 freeglut-download-http
8 "&sourceforge-dl;/freeglut/freeglut-&freeglut-version;.tar.gz">
9 <!ENTITY freeglut-download-ftp " ">
10 <!ENTITY freeglut-md5sum "f1621464e6525d0368976870cab8f418">
11 <!ENTITY freeglut-size "404 KB">
12 <!ENTITY freeglut-buildsize "5.7 MB">
13 <!ENTITY freeglut-time "less than 0.1 SBU">
14]>
15
16<sect1 id="freeglut" xreflabel="Freeglut-&freeglut-version;">
17 <?dbhtml filename="freeglut.html"?>
18
19
20 <title>Freeglut-&freeglut-version;</title>
21
22 <indexterm zone="freeglut">
23 <primary sortas="a-Freeglut">Freeglut</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Freeglut</title>
28
29 <para>
30 <application>Freeglut</application> is intended to be a 100%
31 compatible, completely opensourced clone of the GLUT library.
32 GLUT is a window system independent toolkit for writing OpenGL
33 programs, implementing a simple windowing API, which makes
34 learning about and exploring OpenGL programming very easy.
35 </para>
36
37 &lfs121_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&freeglut-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&freeglut-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &freeglut-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &freeglut-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &freeglut-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &freeglut-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72<!--
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Required patch:
78 <ulink url="&patch-root;/freeglut-&freeglut-version;-gcc10_fix-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82-->
83 <bridgehead renderas="sect3">Freeglut Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="cmake"/> and
88 <xref linkend="mesa"/>
89 </para>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
93 <xref linkend="glu"/>
94 </para>
95
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of Freeglut</title>
100<!--
101 <para>
102 First, fix an issue with multiple defined symbols exposed by GCC-10:
103 </para>
104
105<screen><userinput>patch -Np1 -i ../freeglut-&freeglut-version;-gcc10_fix-1.patch</userinput></screen>
106-->
107 <para>
108 Install <application>Freeglut</application> by running the
109 following commands:
110 </para>
111
112<screen><userinput>mkdir build &amp;&amp;
113cd build &amp;&amp;
114
115cmake -DCMAKE_INSTALL_PREFIX=/usr \
116 -DCMAKE_BUILD_TYPE=Release \
117 -DFREEGLUT_BUILD_DEMOS=OFF \
118 -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
119 -Wno-dev .. &amp;&amp;
120
121make</userinput></screen>
122
123 <para>
124 This package does not come with a test suite.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem>
129 user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para>
140 <parameter>-DFREEGLUT_BUILD_DEMOS=OFF</parameter>: Disable building
141 optional demo programs. Note that if you choose to build them, their
142 installation must be done manually. The demo programs are limited and
143 installation is not recommended.
144 </para>
145
146 <para>
147 <parameter>-DFREEGLUT_BUILD_STATIC_LIBS=OFF</parameter>:
148 Do not build the static library.
149 </para>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Library</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>
163 None
164 </seg>
165 <seg>
166 libglut.so
167 </seg>
168 <seg>
169 /usr/lib/cmake/FreeGLUT
170 </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="libglut">
180 <term><filename class="libraryfile">libglut.so</filename></term>
181 <listitem>
182 <para>
183 contains functions that implement the OpenGL Utility
184 Toolkit
185 </para>
186 <indexterm zone="freeglut libglut">
187 <primary sortas="c-libglut">libglut.so</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 </variablelist>
193
194 </sect2>
195
196</sect1>
Note: See TracBrowser for help on using the repository browser.