source: x/lib/fltk.xml@ 83afe30

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 83afe30 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.9 KB
RevLine 
[b4f8b750]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
[3dfed94]7 <!-- Watch directory when updating -->
[58a83256]8 <!ENTITY fltk-download-http "https://fltk.org/pub/fltk/&fltk-version;/fltk-&fltk-version;-source.tar.gz">
[b4f8b750]9 <!ENTITY fltk-download-ftp " ">
[e47b0575]10 <!ENTITY fltk-md5sum "84907602c2e50fadec3bc40fb61935cd">
[9423da79]11 <!ENTITY fltk-size "5.1 MB">
[84490cd0]12 <!ENTITY fltk-buildsize "119 MB (with documentation)">
[b6659065]13 <!ENTITY fltk-time "0.2 SBU (Using parallelism=4)">
[b4f8b750]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.
[f3429309]31 FLTK provides modern GUI functionality and supports 3D graphics via
32 OpenGL and its built-in GLUT emulation libraries used for creating
[b4f8b750]33 graphical user interfaces for applications.
34 </para>
35
[b5d7180]36 &lfs112_checked;
[b4f8b750]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">
[6e5b442f]76 <xref linkend="xorg7-lib"/>
[b4f8b750]77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
[6e5b442f]81 <xref linkend="hicolor-icon-theme"/>,
82 <xref linkend="libjpeg"/>, and
83 <xref linkend="libpng"/>
[b4f8b750]84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="alsa-lib"/>,
[6e5b442f]89 <xref linkend="desktop-file-utils"/>,
90 <xref linkend="doxygen"/>,
91 <xref linkend="glu"/>,
[7a395d1]92 <xref linkend="mesa"/>, and
[2d98031c]93 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
[b4f8b750]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>
[baac59c]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>
[b4f8b750]109 </note>
110
111 <para>
112 Install <application>FLTK</application> by running the following
113 commands:
114 </para>
115
[6e5b442f]116<screen><userinput>sed -i -e '/cat./d' documentation/Makefile &amp;&amp;
[b4f8b750]117
118./configure --prefix=/usr \
119 --enable-shared &amp;&amp;
120make</userinput></screen>
121
[baac59c]122 <para>
123 If you wish to create the API documentation, issue:
124 </para>
[b4f8b750]125
[2f3e3de9]126<screen remap="doc"><userinput>make -C documentation html</userinput></screen>
[b4f8b750]127
[baac59c]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>
[b4f8b750]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
[baac59c]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>
[b4f8b750]146
[06908bf6]147<screen role="root"
148 remap="doc"><userinput>make -C test docdir=/usr/share/doc/fltk-&fltk-version; install-linux &amp;&amp;
[b5574e7]149make -C documentation docdir=/usr/share/doc/fltk-&fltk-version; install-linux</userinput></screen>
[b4f8b750]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,
[f3429309]174 checkers,
175 fltk-config,
[b4f8b750]176 fluid, and
177 sudoku
178 </seg>
179 <seg>
[f3429309]180 libfltk.{a,so},
181 libfltk_forms.{a,so},
182 libfltk_gl.{a,so}, and
[b4f8b750]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
[8b9ad6e]197 <varlistentry id="blocks">
198 <term><command>blocks</command></term>
199 <listitem>
200 <para>
[4c24eb0a]201 is a FLTK-based block elimination game
[8b9ad6e]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>
[4c24eb0a]213 is a FLTK-based version of the game of checkers
[8b9ad6e]214 </para>
215 <indexterm zone="fltk checkers">
216 <primary sortas="b-checkers">checkers</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
[b4f8b750]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
[4c24eb0a]226 current version of FLTK that is installed on the system
[b4f8b750]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>
[4c24eb0a]238 is an interactive GUI designer for FLTK
[b4f8b750]239 </para>
240 <indexterm zone="fltk fluid">
241 <primary sortas="b-fluid">fluid</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
[8b9ad6e]246 <varlistentry id="sudoku">
247 <term><command>sudoku</command></term>
248 <listitem>
249 <para>
[4c24eb0a]250 is an implementation of the popular Sudoku game
[8b9ad6e]251 </para>
252 <indexterm zone="fltk sudoku">
253 <primary sortas="b-sudoku">sudoku</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
[b4f8b750]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
[4c24eb0a]263 interfaces
[b4f8b750]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.