source: x/lib/fltk.xml@ ba4e992

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.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 ba4e992 was 3dfed94, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Fix fltk url

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20817 af4574ff-66df-0310-9fd7-8a98e5e911e0

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