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