Index of /www001/src/ports/graphics/ftgl/work/FTGL/unix

      Name                    Last modified       Size  Description

[DIR] Parent Directory 10-Dec-2004 16:54 - [   ] Make.conf.in 25-Aug-2003 00:18 1k [   ] Make.rules 12-Jan-2003 16:27 1k [   ] Makefile 03-Jan-2008 22:41 1k [   ] Makefile.bak 03-Jan-2008 22:41 1k [   ] acinclude.m4 25-Aug-2003 00:18 10k [   ] aclocal.m4 25-Aug-2003 00:18 128k [   ] bootstrap 12-Jan-2003 16:27 1k [   ] config.guess 12-Mar-2003 13:55 40k [   ] config.log 23-Jan-2008 13:22 45k [   ] config.sub 12-Mar-2003 13:55 29k [   ] configure 25-Aug-2003 00:18 335k [   ] configure.ac 25-Aug-2003 00:18 1k [DIR] demo/ 10-Dec-2004 16:51 - [DIR] docs/ 03-Jan-2008 22:42 - [   ] ftgl.pc.in 25-Aug-2003 00:18 1k [   ] install-sh 12-Jan-2003 16:27 5k [   ] libtool 23-Jan-2008 13:19 149k [   ] ltmain.sh 12-Jan-2003 16:27 141k [DIR] m4/ 10-Dec-2004 16:51 - [DIR] src/ 10-Dec-2004 16:51 -

FTGL Version 2.0.5

This project will build a static library (archive) in the src directory.

The Makefiles need GNU Make in order to work properly.

FTGL requires the Freetype2 library (version 2.0.9 or later) and OpenGL
(glu version 1.2 or later). You can pass flags to the configure script
to point it to the place where these libraries are installed, like this:

    $ ./configure --with-gl-inc=/usr/local/include \
                  --with-gl-lib=/usr/local/lib

Should you need anything more complicated that that, try with:

    $ ./configure --with-gl-inc=/usr/local/include \
                  --with-gl-lib="-L/weird/location -lGL -lX11 -lXi -lXm"

The same thing goes for the GLUT library.  This is optional and is only
needed to build the demo program.  Should any of this fail, please send
an email to mmagallo@debian.org (please include FTGL somewhere in the
subject line) and include a copy of the config.log file that was left
behind.

If doxygen is installed, documentation in HTML format will be generated
in the docs subdirectory.

To use FTGL in your own projects you will need to link against this lib
and include the FTGL headers located in the src directory. Your project
will also need Freetype and OpenGL.  For your convinience a pkg-config
metadata file has been included (ftgl.pc) and gets installed in
<libdir>/pkgconfig, where pkg-config should be able to find it.  In
order to take advantage of this, just include something like this in
your makefiles:

    FTGL_CPPFLAGS := $(shell pkg-config --cflags ftgl)
    FTGL_LDFLAGS  := $(shell pkg-config --libs-only-L ftgl)
    FTGL_LIBS     := $(shell pkg-config --libs-only-l ftgl)

The names of these variables should be self-explanatory.  Note that
FTGL_LIBS will include -lGL, you shouldn't specify that flag separately.

For instructions on using Freetype go to http://www.freetype.org/
For instructions on using OpenGL go to http://www.opengl.org/

Please contact me if you have any suggestions, feature requests, or
problems.

Henry Maddocks
henryj@paradise.net.nz
http://homepages.paradise.net.nz/henryj/