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