source: x/lib/freeglut.xml@ aed1e212

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since aed1e212 was aed1e212, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Tags

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