source: x/lib/fltk.xml@ 63630f8

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 63630f8 was 63630f8, checked in by Krejzi <krejzi@…>, 10 years ago

More package checks, fixes, bump clearlooks skin to latest version for mplayer.

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

  • Property mode set to 100644
File size: 7.7 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
[5ebda02]7 <!ENTITY fltk-download-http "http://fltk.org/pub/fltk/&fltk-version;/fltk-&fltk-version;-source.tar.gz">
[b4f8b750]8 <!ENTITY fltk-download-ftp " ">
9 <!ENTITY fltk-md5sum "9f7e707d4fb7a5a76f0f9b73ff70623d">
10 <!ENTITY fltk-size "4.1 MB">
[8783244]11 <!ENTITY fltk-buildsize "75 MB">
12 <!ENTITY fltk-time "1.0 SBU">
[b4f8b750]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
[63630f8]39 &lfs76_checked;
[b4f8b750]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:
[8783244]86 <ulink url="&patch-root;/fltk-&fltk-version;-dynamic_libs-1.patch"/>
[b4f8b750]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
[63630f8]102 <xref linkend="libjpeg"/>
[b4f8b750]103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="alsa-lib"/>,
108 <xref linkend="doxygen"/>, and
[63630f8]109 <xref linkend="texlive"/>
[b4f8b750]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;
[2c1ab386]131patch -Np1 -i ../fltk-&fltk-version;-dynamic_libs-1.patch &amp;&amp;
[aedf4d7]132sed -i -e '/FL_PATCH_VERSION=/ s/1/2/' configure &amp;&amp;
[b4f8b750]133sed -i -e '/cat./d' documentation/Makefile &amp;&amp;
134
135./configure --prefix=/usr \
136 --enable-threads \
137 --enable-xft \
138 --enable-shared &amp;&amp;
139make</userinput></screen>
140
141 <para>If you wish to create the api documentation, issue:</para>
142
143<screen><userinput>make -C documentation html</userinput></screen>
144
145 <para>The tests for the package are interactive. To execute the tests, run
146 <command>test/unittests</command>. In addition, there are 70 other
[e6142956]147 executable test programs in the <filename class='directory'>test</filename>
[b4f8b750]148 directory that can be run individually.</para>
149
150 <para>
151 Now, as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>make docdir=/usr/share/doc/fltk-&fltk-version; install</userinput></screen>
155
156 <para>If desired, install some example games built as a part of the tests,
157 extra documentation and example programs. As the <systemitem
158 class="username">root</systemitem> user:</para>
159
160<screen role="root"><userinput>make -C test install-linux &amp;&amp;
161make -C documentation install-linux</userinput></screen>
162
163 </sect2>
164
165 <sect2 role="commands">
166 <title>Command Explanations</title>
167
168 <para>
169 <command>patch ...tigervnc-1.patch</command>: Install patches to make
170 the libraries compatible with <application>tigervnc</application>.
171 </para>
172
173 <para>
[2c1ab386]174 <command>patch ...dynamic_libs-1.patch</command>: Allow building
[b4f8b750]175 dynamic libraries.
176 </para>
177
[aedf4d7]178 <para>
179 <command>sed ... configure</command>: configure: Fix output of
180 <command>fltk-config --version</command>.
181 </para>
182
[b4f8b750]183 <para>
184 <command>sed ... documentation/Makefile</command>: Avoid installing
185 pages in <filename class='directory'>/usr/share/man/cat*</filename>.
186 </para>
187
188 </sect2>
189
190 <sect2 role="content">
191 <title>Contents</title>
192
193 <segmentedlist>
194 <segtitle>Installed Programs</segtitle>
195 <segtitle>Installed Libraries</segtitle>
196 <segtitle>Installed Directories</segtitle>
197
198 <seglistitem>
199 <seg>
200 blocks,
201 checkers,
202 fltk-config,
203 fluid, and
204 sudoku
205 </seg>
206 <seg>
207 libfltk.{a,so},
208 libfltk_forms.{a,so},
209 libfltk_gl.{a,so}, and
210 libfltk_images.{a,so}
211 </seg>
212 <seg>
213 /usr/include/FL and
214 /usr/share/doc/fltk-&fltk-version;
215 </seg>
216 </seglistitem>
217 </segmentedlist>
218
219 <variablelist>
220 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
221 <?dbfo list-presentation="list"?>
222 <?dbhtml list-presentation="table"?>
223
224
225 <varlistentry id="fltk-config">
226 <term><command>fltk-config</command></term>
227 <listitem>
228 <para>
229 is a utility script that can be used to get information about the
230 current version of FLTK that is installed on the system.
231 </para>
232 <indexterm zone="fltk fltk-config">
233 <primary sortas="b-fltk-config">fltk-config</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="fluid">
239 <term><command>fluid</command></term>
240 <listitem>
241 <para>
242 is an interactive GUI designer for FLTK.
243 </para>
244 <indexterm zone="fltk fluid">
245 <primary sortas="b-fluid">fluid</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="libfltk">
251 <term><filename class="libraryfile">libfltk.so</filename></term>
252 <listitem>
253 <para>
254 contains functions that provide an API to implement graphical user
255 interfaces.
256 </para>
257 <indexterm zone="fltk libfltk">
258 <primary sortas="c-libfltk">libfltk.so</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 </variablelist>
264
265 </sect2>
266
267</sect1>
Note: See TracBrowser for help on using the repository browser.