source: x/lib/fltk.xml@ 242345d

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

Remove some static libs.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14084 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 &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 \
136 --enable-threads \
137 --enable-xft \
138 --enable-shared \
139 --disable-static &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 programs 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>sed ... configure</command>: configure: Fix output of
171 <command>fltk-config --version</command>.
172 </para>
173
174 <para>
175 <command>sed ... documentation/Makefile</command>: Avoid installing
176 pages in <filename class="directory">/usr/share/man/cat*</filename>.
177 </para>
178
179 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
180 href="../../xincludes/static-libraries.xml"/>
181
182 </sect2>
183
184 <sect2 role="content">
185 <title>Contents</title>
186
187 <segmentedlist>
188 <segtitle>Installed Programs</segtitle>
189 <segtitle>Installed Libraries</segtitle>
190 <segtitle>Installed Directories</segtitle>
191
192 <seglistitem>
193 <seg>
194 blocks,
195 checkers,
196 fltk-config,
197 fluid, and
198 sudoku
199 </seg>
200 <seg>
201 libfltk.so,
202 libfltk_forms.so,
203 libfltk_gl.so, and
204 libfltk_images.so
205 </seg>
206 <seg>
207 /usr/include/FL and
208 /usr/share/doc/fltk-&fltk-version;
209 </seg>
210 </seglistitem>
211 </segmentedlist>
212
213 <variablelist>
214 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
215 <?dbfo list-presentation="list"?>
216 <?dbhtml list-presentation="table"?>
217
218
219 <varlistentry id="fltk-config">
220 <term><command>fltk-config</command></term>
221 <listitem>
222 <para>
223 is a utility script that can be used to get information about the
224 current version of FLTK that is installed on the system.
225 </para>
226 <indexterm zone="fltk fltk-config">
227 <primary sortas="b-fltk-config">fltk-config</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="fluid">
233 <term><command>fluid</command></term>
234 <listitem>
235 <para>
236 is an interactive GUI designer for FLTK.
237 </para>
238 <indexterm zone="fltk fluid">
239 <primary sortas="b-fluid">fluid</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="libfltk">
245 <term><filename class="libraryfile">libfltk.so</filename></term>
246 <listitem>
247 <para>
248 contains functions that provide an API to implement graphical user
249 interfaces.
250 </para>
251 <indexterm zone="fltk libfltk">
252 <primary sortas="c-libfltk">libfltk.so</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 </variablelist>
258
259 </sect2>
260
261</sect1>
Note: See TracBrowser for help on using the repository browser.