source: x/lib/fltk.xml@ d72fae5a

krejzi/svn
Last change on this file since d72fae5a was d72fae5a, checked in by Krejzi <krejzi@…>, 10 years ago

Xorg Libraries chapter updates.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/krejzi@14765 af4574ff-66df-0310-9fd7-8a98e5e911e0

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