Difference between revisions of "FLTK"

From CBLFS
Jump to navigationJump to search
 
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://ftp3.easysw.com/pub/fltk/snapshots/fltk-{{FLTK-Version}}.tar.bz2
+
| ftp://ftp.easysw.com/pub/fltk/{{FLTK-Version}}/fltk-{{FLTK-Version}}-source.tar.bz2
 
|-valign="top"
 
|-valign="top"
!Required Patch (For 64Bit):
 
| http://svn.cross-lfs.org/svn/repos/patches/fltk/fltk-{{FLTK-Version}}-64bit_fixes-1.patch
 
 
|}
 
|}
  
 
----
 
----
  
== Introduction to FLTK ==
+
{{Package-Introduction|FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX, Linux, Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.|http://www.fltk.org/}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 18: Line 14:
 
=== Required ===
 
=== Required ===
 
* [[X Window System]]
 
* [[X Window System]]
 +
 
=== Optional ===
 
=== Optional ===
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[libpng]]
 
* [[libpng]]
  
== Non-Multilib ==
+
== Configuration Information ==
  
If you're building a 64bit system apply the following patch:
+
{|style="text-align: left"
 +
|<i>--enable-shared:</i> turn on shared libraries.
 +
|-valign="top"
 +
|<i>--enable-localjpeg:</i> use local JPEG library.
 +
|-valign="top"
 +
|<i>--enable-localzlib:</i> use local ZLIB library.
 +
|-valign="top"
 +
|<i>--enable-localpng:</i> use local PNG library.
 +
|-valign="top"
 +
|<i>--enable-xinerama:</i> turn on Xinerama support.
 +
|-valign="top"
 +
|<i>--enable-xft:</i> turn on Xft support.
 +
|}
  
patch -Np1 -i ../fltk-{{FLTK-Version}}-64bit_fixes-1.patch
+
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
Line 69: Line 78:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../fltk-{{FLTK-Version}}-64bit_fixes-1.patch &&
 
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 
     --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared &&
 
     --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared &&
Line 82: Line 90:
 
= Contents =
 
= Contents =
  
{| style="text-align: left;"
+
{|style="text-align: left"
 
|-valign="top"
 
|-valign="top"
! Installed Programs:
+
!Installed Directories:
| ???
+
|/usr/include/FL, /usr/share/doc/fltk, /usr/share/doc/fltk/examples, /usr/share/doc/fltk/examples/pixmaps, /usr/share/man/cat3
 
|-valign="top"
 
|-valign="top"
! Installed Libraries:
+
!Installed Programs:
| ???
+
|fltk-config, fluid
 
|-valign="top"
 
|-valign="top"
! Installed Directories:
+
!Installed Libraries:
| ???
+
|libfltk.a, libfltk_forms.a, libfltk_gl.a, libfltk_images.a, libfltk.so, libfltk_forms.so, libfltk_gl.so, libfltk_images.so
 
|}
 
|}
  
Line 98: Line 106:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! program1
+
!fltk-config
| ???
+
|is a script to assist configuring packages that are building against FLTK.
 
|-valign="top"
 
|-valign="top"
! program2
+
!fluid
| ???
+
|is the FLTK development program.
|-valign="top"
 
! library1.{so,a}
 
| ???
 
 
|}
 
|}
 +
 +
[[Category:Graphics Libraries]]

Latest revision as of 15:08, 19 March 2009

Download Source: ftp://ftp.easysw.com/pub/fltk/1.1.10/fltk-1.1.10-source.tar.bz2

Introduction to FLTK

FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX, Linux, Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.

Project Homepage: http://www.fltk.org/

Dependencies

Required

Optional

Configuration Information

--enable-shared: turn on shared libraries.
--enable-localjpeg: use local JPEG library.
--enable-localzlib: use local ZLIB library.
--enable-localpng: use local PNG library.
--enable-xinerama: turn on Xinerama support.
--enable-xft: turn on Xft support.

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/fltk-config

Contents

Installed Directories: /usr/include/FL, /usr/share/doc/fltk, /usr/share/doc/fltk/examples, /usr/share/doc/fltk/examples/pixmaps, /usr/share/man/cat3
Installed Programs: fltk-config, fluid
Installed Libraries: libfltk.a, libfltk_forms.a, libfltk_gl.a, libfltk_images.a, libfltk.so, libfltk_forms.so, libfltk_gl.so, libfltk_images.so

Short Descriptions

fltk-config is a script to assist configuring packages that are building against FLTK.
fluid is the FLTK development program.
Retrieved from "?title=FLTK&oldid=17425"