$Id: LIBRARIES.txt,v 1.1 2005/07/20 21:56:33 cozman Exp $

Photon uses several other libraries, which fall under a variety of licenses:

GLFW      - http://glfw.sourceforge.net/    - zlib license   
PhysFS    - http://icculus.org/physfs/      - zlib license
Corona    - http://corona.sourceforge.net/  - zlib license
Freetype2 - http://freetype.org/            - Freetype License (FTL)
OpenAL*   - http://openal.org/              - LGPL

*OpenAL support is optional, if OpenAL is not found, photon can be compiled
    without it.  This is done so that those wishing to keep their application
    free of LGPL libraries may do so while still using photon.
    
------------
Understanding and complying with Open Source licenses can be a daunting task,
but in this case is rather simple.  If you are distributing an application which
uses photon and it's dependencies you must do the following:

    1) To satisfy the zlib license that photon and most of the other libs use, 
        you simply must not claim you wrote them & not remove the zlib license 
        in license.txt, also any changes must be marked if that applies to you.
    2) To comply with the Freetype license you must not claim you wrote it,
        but you must also give credit to the authors.  The credit clause is 
        the only real difference between the Freetype License and the zlib 
        license.
    3) If you are using OpenAL, you are most likely dynamically linking (using
        a .dll or .so) which means that in order to comply with the LGPL you 
        must: Make it clear that you are using OpenAL in your credits file,
        include a copy of the LGPL with any binaries, provide a link to the
        OpenAL source code or provide the source code yourself.
        
If you comply with all three licenses (don't take credit for what you didn't do,
credit Freetype and OpenAL, and provide the LGPL and a link to OpenAL's source
you can do what you wish with your application, including make it closed source
and/or sell it)

For convenience I have written a licensing template that should satisfy most
users of photon.  It is essentially what I would use in distributing any 
binaries made with photon and it's dependencies.  (Note: I credit the zlib
libraries which isn't necessary but I feel it's proper.)

--------EXAMPLE CREDITS FILE

This application uses Photon which is available from 
http://photon.sourceforge.net/ and is licensed under a zlib license.

Photon (and this application) uses several other zlib-licensed libraries:
    GLFW      - http://glfw.sourceforge.net/
    PhysFS    - http://icculus.org/physfs/
    Corona    - http://corona.sourceforge.net/
Photon (and this application) also uses Freetype2 which is licensed under the
    Freetype license.
Photon (and this application) also uses OpenAL which is licensed under the LGPL
    To comply with the LGPL a copy of a copy of the LGPL is provided in this 
    directory as LGPL.txt.  A copy of the OpenAL source is available from 
    http://openal.org/
