Notes about building JFAud on OS X
----------------------------------------------------------------------

To build JFAud you will need OS X Tiger (10.4). Minimum. You should
also have the OS X 10.2.8 and 10.4u SDKs installed to /Developer/SDKs.
The project is set up to target Jaguar as the minimum release for the
PPC branch and to build Intel code for 10.4 too.

At the time of this writing, officially the Ogg 1.1.2 release from
xiph.org does not have an Xcode 2.1 compatible project, but the 1.1.3
release tagged in svn.xiph.org does, so I have built that version of
the Ogg code as a fat binary and set its install location to allow it
to be packaged in an app folder. The officially available Vorbis code
does have a compatible project and I built my copy in the same manner as
Ogg. FLAC's official distribution of 1.1.2 still has only an antiquated
ProjectBuilder project, and rather than sweat through knocking together
a project on my own, Googling revealed someone has done that work and
the project is at http://people.xiph.org/~arek/snapshots/flac-osx-build.tgz
so if you want to build your own FLAC framework, you might need that.

If you don't care for all the frustration of tinkering with the sources
to these libraries you can just use the pre-compiled versions included
with another project of mine that uses JFAud, which at the moment is
JFDuke3D and JFShadowWarrior. The frameworks are in the game's app
container in the Contents/Frameworks directory.

I experimented with trying to get JFAud to fetch the Vorbis, FLAC, and SDL
frameworks out of its own Frameworks directory but I have failed, so
any application you build with JFAud that you want to bundle the frameworks
for will have to copy them via the application's project to the Frameworks
or SharedFrameworks directories of the final app package.

I also have tried to make sure that all files specified in the project
use relative paths to address the sources stored higher up the directory
tree, but some may have slipped through. If any source items in the project
are red, you'll need to point them to their correct location in the
filesystem.


Jonathon Fowler
jonof@edgenetwork.org
http://jonof.edgenetwork.org/
