source: x/lib/fltk.xml@ 845e6a12

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 845e6a12 was 845e6a12, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Remove unneeded download from fltk

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

  • Property mode set to 100644
File size: 7.3 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 "9ccdb0d19dc104b87179bd9fd10822e3">
10 <!ENTITY fltk-size "4.8 MB">
11 <!ENTITY fltk-buildsize "199 MB">
12 <!ENTITY fltk-time "0.6 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 &lfs76_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;-dynamic_libs-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">FLTK Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
89 <xref linkend="glu"/>
90 <xref linkend="mesalib"/>, and
91 <xref linkend="xorg7-lib"/>,
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="desktop-file-utils"/>,
97 <xref linkend="hicolor-icon-theme"/>, and
98 <xref linkend="libjpeg"/>,
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="alsa-lib"/>,
104 <xref linkend="doxygen"/>, and
105 <xref linkend="texlive"/>,
106 </para>
107
108 <para condition="html" role="usernotes">
109 User Notes: <ulink url="&blfs-wiki;/fltk"/>
110 </para>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of FLTK</title>
115
116 <note>
117 <para>The tar extraction directory is fltk-&fltk-version; and not
118 fltk-&fltk-version;-source as indicated by the tarball name.</para>
119 </note>
120
121 <para>
122 Install <application>FLTK</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>patch -Np1 -i ../fltk-&fltk-version;-dynamic_libs-1.patch &amp;&amp;
127sed -i -e '/cat./d' documentation/Makefile &amp;&amp;
128
129./configure --prefix=/usr \
130 --enable-threads \
131 --enable-xft \
132 --enable-shared &amp;&amp;
133make</userinput></screen>
134
135 <para>If you wish to create the api documentation, issue:</para>
136
137<screen><userinput>make -C documentation html</userinput></screen>
138
139 <para>The tests for the package are interactive. To execute the tests, run
140 <command>test/unittests</command>. In addition, there are 70 other
141 executable test programs in the <filename class='directory'>test</filename>
142 directory that can be run individually.</para>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>make docdir=/usr/share/doc/fltk-&fltk-version; install</userinput></screen>
149
150 <para>If desired, install some example games built as a part of the tests,
151 extra documentation and example programs. As the <systemitem
152 class="username">root</systemitem> user:</para>
153
154<screen role="root"><userinput>make -C test docdir=/usr/share/doc/fltk-&fltk-version; install-linux &amp;&amp;
155make -C documentation docdir=/usr/share/doc/fltk-&fltk-version; install-linux</userinput></screen>
156
157 </sect2>
158
159 <sect2 role="commands">
160 <title>Command Explanations</title>
161
162 <para>
163 <command>patch ...dynamic_libs-1.patch</command>: Allow building
164 dynamic libraries.
165 </para>
166
167 <para>
168 <command>sed ... documentation/Makefile</command>: Avoid installing
169 pages in <filename class='directory'>/usr/share/man/cat*</filename>.
170 </para>
171
172 </sect2>
173
174 <sect2 role="content">
175 <title>Contents</title>
176
177 <segmentedlist>
178 <segtitle>Installed Programs</segtitle>
179 <segtitle>Installed Libraries</segtitle>
180 <segtitle>Installed Directories</segtitle>
181
182 <seglistitem>
183 <seg>
184 blocks,
185 checkers,
186 fltk-config,
187 fluid, and
188 sudoku
189 </seg>
190 <seg>
191 libfltk.{a,so},
192 libfltk_forms.{a,so},
193 libfltk_gl.{a,so}, and
194 libfltk_images.{a,so}
195 </seg>
196 <seg>
197 /usr/include/FL and
198 /usr/share/doc/fltk-&fltk-version;
199 </seg>
200 </seglistitem>
201 </segmentedlist>
202
203 <variablelist>
204 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
205 <?dbfo list-presentation="list"?>
206 <?dbhtml list-presentation="table"?>
207
208
209 <varlistentry id="fltk-config">
210 <term><command>fltk-config</command></term>
211 <listitem>
212 <para>
213 is a utility script that can be used to get information about the
214 current version of FLTK that is installed on the system.
215 </para>
216 <indexterm zone="fltk fltk-config">
217 <primary sortas="b-fltk-config">fltk-config</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="fluid">
223 <term><command>fluid</command></term>
224 <listitem>
225 <para>
226 is an interactive GUI designer for FLTK.
227 </para>
228 <indexterm zone="fltk fluid">
229 <primary sortas="b-fluid">fluid</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libfltk">
235 <term><filename class="libraryfile">libfltk.so</filename></term>
236 <listitem>
237 <para>
238 contains functions that provide an API to implement graphical user
239 interfaces.
240 </para>
241 <indexterm zone="fltk libfltk">
242 <primary sortas="c-libfltk">libfltk.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.