source: x/lib/fltk.xml@ dc1a45e

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since dc1a45e was dc1a45e, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Lots of tags

  • Property mode set to 100644
File size: 7.9 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 <!-- 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 "84907602c2e50fadec3bc40fb61935cd">
11 <!ENTITY fltk-size "5.1 MB">
12 <!ENTITY fltk-buildsize "119 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 &lfs113_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 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/fltk"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of FLTK</title>
103
104 <note>
105 <para>
106 The tar extraction directory is fltk-&fltk-version; and not
107 fltk-&fltk-version;-source as indicated by the tarball name.
108 </para>
109 </note>
110
111 <para>
112 Install <application>FLTK</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>sed -i -e '/cat./d' documentation/Makefile &amp;&amp;
117
118./configure --prefix=/usr \
119 --enable-shared &amp;&amp;
120make</userinput></screen>
121
122 <para>
123 If you wish to create the API documentation, issue:
124 </para>
125
126<screen remap="doc"><userinput>make -C documentation html</userinput></screen>
127
128 <para>
129 The tests for the package are interactive. To execute the tests, run
130 <command>test/unittests</command>. In addition, there are 70 other
131 executable test programs in the <filename
132 class='directory'>test</filename> directory that can be run individually.
133 </para>
134
135 <para>
136 Now, as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>make docdir=/usr/share/doc/fltk-&fltk-version; install</userinput></screen>
140
141 <para>
142 If desired, install some example games built as a part of the tests,
143 extra documentation and example programs. As the <systemitem
144 class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"
148 remap="doc"><userinput>make -C test docdir=/usr/share/doc/fltk-&fltk-version; install-linux &amp;&amp;
149make -C documentation docdir=/usr/share/doc/fltk-&fltk-version; install-linux</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <command>sed ... documentation/Makefile</command>: Avoid installing
158 pages in <filename class='directory'>/usr/share/man/cat*</filename>.
159 </para>
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directories</segtitle>
170
171 <seglistitem>
172 <seg>
173 blocks,
174 checkers,
175 fltk-config,
176 fluid, and
177 sudoku
178 </seg>
179 <seg>
180 libfltk.{a,so},
181 libfltk_forms.{a,so},
182 libfltk_gl.{a,so}, and
183 libfltk_images.{a,so}
184 </seg>
185 <seg>
186 /usr/include/FL and
187 /usr/share/doc/fltk-&fltk-version;
188 </seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="blocks">
198 <term><command>blocks</command></term>
199 <listitem>
200 <para>
201 is a FLTK-based block elimination game
202 </para>
203 <indexterm zone="fltk blocks">
204 <primary sortas="b-blocks">blocks</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="checkers">
210 <term><command>checkers</command></term>
211 <listitem>
212 <para>
213 is a FLTK-based version of the game of checkers
214 </para>
215 <indexterm zone="fltk checkers">
216 <primary sortas="b-checkers">checkers</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="fltk-config">
222 <term><command>fltk-config</command></term>
223 <listitem>
224 <para>
225 is a utility script that can be used to get information about the
226 current version of FLTK that is installed on the system
227 </para>
228 <indexterm zone="fltk fltk-config">
229 <primary sortas="b-fltk-config">fltk-config</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="fluid">
235 <term><command>fluid</command></term>
236 <listitem>
237 <para>
238 is an interactive GUI designer for FLTK
239 </para>
240 <indexterm zone="fltk fluid">
241 <primary sortas="b-fluid">fluid</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="sudoku">
247 <term><command>sudoku</command></term>
248 <listitem>
249 <para>
250 is an implementation of the popular Sudoku game
251 </para>
252 <indexterm zone="fltk sudoku">
253 <primary sortas="b-sudoku">sudoku</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="libfltk">
259 <term><filename class="libraryfile">libfltk.so</filename></term>
260 <listitem>
261 <para>
262 contains functions that provide an API to implement graphical user
263 interfaces
264 </para>
265 <indexterm zone="fltk libfltk">
266 <primary sortas="c-libfltk">libfltk.so</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 </variablelist>
272
273 </sect2>
274
275</sect1>
Note: See TracBrowser for help on using the repository browser.