FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit. FLTK provides modern GUI functionality and supports 3D graphics via OpenGL and its built-in GLUT emulation libraries used for creating graphical user interfaces for applications.
This package is known to build and work properly using an LFS-7.6 platform.
Download (HTTP): http://fltk.org/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz
Download MD5 sum: 9f7e707d4fb7a5a76f0f9b73ff70623d
Download size: 4.1 MB
Estimated disk space required: 75 MB
Estimated build time: 1.0 SBU
GLU-9.0.0 MesaLib-10.2.7, and Xorg Libraries,
desktop-file-utils-0.22, hicolor-icon-theme-0.13, and libjpeg-turbo-1.3.1,
alsa-lib-1.0.28, Doxygen-1.8.8, and texlive-20140525,
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fltk
The tar extraction directory is fltk-1.3.2 and not fltk-1.3.2-source as indicated by the tarball name.
Install FLTK by running the following commands:
patch -Np1 -i ../fltk-1.3.2-tigervnc-1.patch && patch -Np1 -i ../fltk-1.3.2-dynamic_libs-1.patch && sed -i -e '/FL_PATCH_VERSION=/ s/1/2/' configure && sed -i -e '/cat./d' documentation/Makefile && ./configure --prefix=/usr \ --enable-threads \ --enable-xft \ --enable-shared && make
If you wish to create the api documentation, issue:
make -C documentation html
The tests for the package are interactive. To execute the tests,
run test/unittests.
In addition, there are 70 other executable test programs in the
test
directory that can be run
individually.
Now, as the root
user:
make docdir=/usr/share/doc/fltk-1.3.2 install
If desired, install some example games built as a part of the
tests, extra documentation and example programs. As the
root
user:
make -C test install-linux && make -C documentation install-linux
patch ...tigervnc-1.patch: Install patches to make the libraries compatible with tigervnc.
patch ...dynamic_libs-1.patch: Allow building dynamic libraries.
sed ... configure: configure: Fix output of fltk-config --version.
sed ...
documentation/Makefile: Avoid installing pages in
/usr/share/man/cat*
.
Last updated on 2014-05-18 18:40:17 -0500