source: x/lib/fltk.xml@ 5ebda02

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5ebda02 was 5ebda02, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Typo

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

  • Property mode set to 100644
File size: 7.6 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 <!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 "9f7e707d4fb7a5a76f0f9b73ff70623d">
10 <!ENTITY fltk-size "4.1 MB">
11 <!ENTITY fltk-buildsize "75 MB">
12 <!ENTITY fltk-time "1.0 SBU">
13]>
14
15<sect1 id="fltk" xreflabel="FLTK-&fltk-version;">
16 <?dbhtml filename="fltk.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy: fernando $</othername>
20 <date>$Date: 2014-05-18 18:40:17 -0500 (Sun, 18 May 2014) $</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 &lfs75_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">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/fltk-&fltk-version;-tigervnc-1.patch"/>
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Required patch:
86 <ulink url="&patch-root;/fltk-&fltk-version;-dynamic_libs-1.patch"/>
87 </para>
88 </listitem>
89 </itemizedlist>
90
91 <bridgehead renderas="sect3">FLTK Dependencies</bridgehead>
92
93 <bridgehead renderas="sect4">Required</bridgehead>
94 <para role="required">
95 <xref linkend="glu"/>
96 <xref linkend="mesalib"/>, and
97 <xref linkend="xorg7-lib"/>,
98 </para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref linkend="desktop-file-utils"/>,
103 <xref linkend="hicolor-icon-theme"/>, and
104 <xref linkend="libjpeg"/>,
105 </para>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional">
109 <xref linkend="alsa-lib"/>,
110 <xref linkend="doxygen"/>, and
111 <xref linkend="texlive"/>,
112 </para>
113
114 <para condition="html" role="usernotes">
115 User Notes: <ulink url="&blfs-wiki;/fltk"/>
116 </para>
117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of FLTK</title>
121
122 <note>
123 <para>The tar extraction directory is fltk-&fltk-version; and not
124 fltk-&fltk-version;-source as indicated by the tarball name.</para>
125 </note>
126
127 <para>
128 Install <application>FLTK</application> by running the following
129 commands:
130 </para>
131
132<screen><userinput>patch -Np1 -i ../fltk-&fltk-version;-tigervnc-1.patch &amp;&amp;
133patch -Np1 -i ../fltk-&fltk-version;-dynamic-libs-1.patch &amp;&amp;
134sed -i -e '/cat./d' documentation/Makefile &amp;&amp;
135
136./configure --prefix=/usr \
137 --enable-threads \
138 --enable-xft \
139 --enable-shared &amp;&amp;
140make</userinput></screen>
141
142 <para>If you wish to create the api documentation, issue:</para>
143
144<screen><userinput>make -C documentation html</userinput></screen>
145
146 <para>The tests for the package are interactive. To execute the tests, run
147 <command>test/unittests</command>. In addition, there are 70 other
148 executable test progroms in the <filename class='directory'>test</filename>
149 directory that can be run individually.</para>
150
151 <para>
152 Now, as the <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>make docdir=/usr/share/doc/fltk-&fltk-version; install</userinput></screen>
156
157 <para>If desired, install some example games built as a part of the tests,
158 extra documentation and example programs. As the <systemitem
159 class="username">root</systemitem> user:</para>
160
161<screen role="root"><userinput>make -C test install-linux &amp;&amp;
162make -C documentation install-linux</userinput></screen>
163
164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
169 <para>
170 <command>patch ...tigervnc-1.patch</command>: Install patches to make
171 the libraries compatible with <application>tigervnc</application>.
172 </para>
173
174 <para>
175 <command>patch ...dynamic-libs-1.patch</command>: Allow building
176 dynamic libraries.
177 </para>
178
179 <para>
180 <command>sed ... documentation/Makefile</command>: Avoid installing
181 pages in <filename class='directory'>/usr/share/man/cat*</filename>.
182 </para>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
191 <segtitle>Installed Libraries</segtitle>
192 <segtitle>Installed Directories</segtitle>
193
194 <seglistitem>
195 <seg>
196 blocks,
197 checkers,
198 fltk-config,
199 fluid, and
200 sudoku
201 </seg>
202 <seg>
203 libfltk.{a,so},
204 libfltk_forms.{a,so},
205 libfltk_gl.{a,so}, and
206 libfltk_images.{a,so}
207 </seg>
208 <seg>
209 /usr/include/FL and
210 /usr/share/doc/fltk-&fltk-version;
211 </seg>
212 </seglistitem>
213 </segmentedlist>
214
215 <variablelist>
216 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
217 <?dbfo list-presentation="list"?>
218 <?dbhtml list-presentation="table"?>
219
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="libfltk">
247 <term><filename class="libraryfile">libfltk.so</filename></term>
248 <listitem>
249 <para>
250 contains functions that provide an API to implement graphical user
251 interfaces.
252 </para>
253 <indexterm zone="fltk libfltk">
254 <primary sortas="c-libfltk">libfltk.so</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect2>
262
263</sect1>
Note: See TracBrowser for help on using the repository browser.