source: x/lib/fltk.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: 7.8 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 <!-- Watch directory when updating -->
8 <!ENTITY fltk-download-http "https://fltk.org/pub/fltk/&fltk-version;/fltk-&fltk-version;-source.tar.gz">
9 <!ENTITY fltk-download-ftp " ">
10 <!ENTITY fltk-md5sum "6e7a389f97b420bc31f99edd3522a85e">
11 <!ENTITY fltk-size "5.4 MB">
12 <!ENTITY fltk-buildsize "122 MB (with documentation)">
13 <!ENTITY fltk-time "0.2 SBU (Using parallelism=4)">
14]>
15
16<sect1 id="fltk" xreflabel="FLTK-&fltk-version;">
17 <?dbhtml filename="fltk.html"?>
18
19
20 <title>FLTK-&fltk-version;</title>
21
22 <indexterm zone="fltk">
23 <primary sortas="a-FLTK">FLTK</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to FLTK</title>
28
29 <para>
30 FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit.
31 FLTK provides modern GUI functionality and supports 3D graphics via
32 OpenGL and its built-in GLUT emulation libraries used for creating
33 graphical user interfaces for applications.
34 </para>
35
36 &lfs121_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&fltk-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&fltk-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &fltk-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &fltk-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &fltk-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &fltk-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">FLTK Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="xorg7-lib"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="hicolor-icon-theme"/>,
82 <xref linkend="libjpeg"/>, and
83 <xref linkend="libpng"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="alsa-lib"/>,
89 <xref linkend="desktop-file-utils"/>,
90 <xref linkend="doxygen"/>,
91 <xref linkend="glu"/>,
92 <xref linkend="mesa"/>, and
93 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
94 </para>
95
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of FLTK</title>
100
101 <note>
102 <para>
103 The tar extraction directory is fltk-&fltk-version; and not
104 fltk-&fltk-version;-source as indicated by the tarball name.
105 </para>
106 </note>
107
108 <para>
109 Install <application>FLTK</application> by running the following
110 commands:
111 </para>
112
113<screen><userinput>sed -i -e '/cat./d' documentation/Makefile &amp;&amp;
114
115./configure --prefix=/usr \
116 --enable-shared &amp;&amp;
117make</userinput></screen>
118
119 <para>
120 If you wish to create the API documentation, issue:
121 </para>
122
123<screen remap="doc"><userinput>make -C documentation html</userinput></screen>
124
125 <para>
126 The tests for the package are interactive. To execute the tests, run
127 <command>test/unittests</command>. In addition, there are 70 other
128 executable test programs in the <filename
129 class='directory'>test</filename> directory that can be run individually.
130 </para>
131
132 <para>
133 Now, as the <systemitem class="username">root</systemitem> user:
134 </para>
135
136<screen role="root"><userinput>make docdir=/usr/share/doc/fltk-&fltk-version; install</userinput></screen>
137
138 <para>
139 If desired, install some example games built as a part of the tests,
140 extra documentation and example programs. As the <systemitem
141 class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"
145 remap="doc"><userinput>make -C test docdir=/usr/share/doc/fltk-&fltk-version; install-linux &amp;&amp;
146make -C documentation docdir=/usr/share/doc/fltk-&fltk-version; install-linux</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <command>sed ... documentation/Makefile</command>: Avoid installing
155 pages in <filename class='directory'>/usr/share/man/cat*</filename>.
156 </para>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 blocks,
171 checkers,
172 fltk-config,
173 fluid, and
174 sudoku
175 </seg>
176 <seg>
177 libfltk.{a,so},
178 libfltk_forms.{a,so},
179 libfltk_gl.{a,so}, and
180 libfltk_images.{a,so}
181 </seg>
182 <seg>
183 /usr/include/FL and
184 /usr/share/doc/fltk-&fltk-version;
185 </seg>
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="blocks">
195 <term><command>blocks</command></term>
196 <listitem>
197 <para>
198 is a FLTK-based block elimination game
199 </para>
200 <indexterm zone="fltk blocks">
201 <primary sortas="b-blocks">blocks</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="checkers">
207 <term><command>checkers</command></term>
208 <listitem>
209 <para>
210 is a FLTK-based version of the game of checkers
211 </para>
212 <indexterm zone="fltk checkers">
213 <primary sortas="b-checkers">checkers</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="fltk-config">
219 <term><command>fltk-config</command></term>
220 <listitem>
221 <para>
222 is a utility script that can be used to get information about the
223 current version of FLTK that is installed on the system
224 </para>
225 <indexterm zone="fltk fltk-config">
226 <primary sortas="b-fltk-config">fltk-config</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="fluid">
232 <term><command>fluid</command></term>
233 <listitem>
234 <para>
235 is an interactive GUI designer for FLTK
236 </para>
237 <indexterm zone="fltk fluid">
238 <primary sortas="b-fluid">fluid</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="sudoku">
244 <term><command>sudoku</command></term>
245 <listitem>
246 <para>
247 is an implementation of the popular Sudoku game
248 </para>
249 <indexterm zone="fltk sudoku">
250 <primary sortas="b-sudoku">sudoku</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="libfltk">
256 <term><filename class="libraryfile">libfltk.so</filename></term>
257 <listitem>
258 <para>
259 contains functions that provide an API to implement graphical user
260 interfaces
261 </para>
262 <indexterm zone="fltk libfltk">
263 <primary sortas="c-libfltk">libfltk.so</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.