Difference between revisions of "FLTK"

From CBLFS
Jump to navigationJump to search
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://ftp3.easysw.com/pub/fltk/snapshots/fltk-1.1.x-r5479.tar.bz2
+
| ftp://ftp.easysw.com/pub/fltk/{{FLTK-Version}}/fltk-{{FLTK-Version}}-source.tar.bz2
|-
+
|-valign="top"
!Required Patch (For 64Bit):
 
| http://svn.cross-lfs.org/svn/repos/patches/fltk/fltk-1.1.x-r5479-64bit_fixes-1.patch
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{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/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 14: 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-1.1.x-r5479-64bit_fixes-1.patch
+
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --enable-shared &&
 
  make
 
  make
  
Line 40: Line 53:
  
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
     --x-libraries=${XORG_PREFIX}/lib &&
+
     --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
 
  make
 
  make
  
Line 53: Line 66:
  
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
     --x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 &&
+
     --x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 --enable-shared &&
 
  make
 
  make
  
Line 65: Line 78:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../fltk-1.1.x-r5479-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 &&
+
     --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared &&
 
  make
 
  make
  
Line 75: Line 87:
 
  mv -v /usr/bin/fltk-config{,-64} &&
 
  mv -v /usr/bin/fltk-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/fltk-config
 
  ln -sfv multiarch_wrapper /usr/bin/fltk-config
 +
 +
= Contents =
 +
 +
{|style="text-align: left"
 +
|-valign="top"
 +
!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"
 +
!Installed Programs:
 +
|fltk-config, fluid
 +
|-valign="top"
 +
!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 ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
!fltk-config
 +
|is a script to assist configuring packages that are building against FLTK.
 +
|-valign="top"
 +
!fluid
 +
|is the FLTK development program.
 +
|}
 +
 +
[[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"