This creates a new formula for Field3D, an open source library for
storing voxel data. It provides C++ classes that handle in-memory
storage and a file format based on HDF5 that allows the C++ objects
to be written to and read from disk.
The field3d.rb formula depends on scons to configure and build the
software, and cmake to build the docs. Deps on boost, ilmbase,
and hdf5 round out the requirements, setting the stage for handling
HDR images from International Light and Magic. Field3d will be a
dep in the upcoming openimageio formula.
This compiles and passes its unit tests with all three compilers,
llvm-2335.9, gcc-4.2.1.5666, and clang-2.0.139 from XCode 4.0.2
on 64bit OSX Snow Leopard.
ClosesHomebrew/homebrew#8362.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
libid3tag has some serious memory leaks which are unlikely to be
corrected upstream, since the original project hasn't updated since
2004. These Gentoo patches resolve the issues.
ClosesHomebrew/homebrew#6517.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Using readline rather than libedit allows, among other things, the
sharing of the same line-editing config file (.inputrc) across BSDish
and Linux systems. And I'm lazy, and don't want to learn how to
configure editline.
We currently just throw away :optional when processing dependencies, so
if someone really wants libedit instead, we can either make this into an
install option (--with-readline) or vice-versa (--with-libedit).
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This builds and runs correctly, universal and otherwise, without
changing the compiler environment variables manually.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Cursory testing shows that these all build with llvm and those that have
binaries work. Formulae should be marked 'fails_with_llvm' if there are
issues found later.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
libmikmod built from tarball is 3.2.0-beta2.
libmikmod built from cvs is called 3.2.0b2 in their code.
The final work on libmikmod was left in cvs and includes numerous
bug fixes and improvements done over the course of a year after
the tarball came out. This adds the option to build head,
the final version. No work has been done in five years.
Patches from Macports were merged upstream during that time.
One patch was not and is still in this formula. Another
patch is included against the cvs version to fix a duplicate
symbol problem with vc_callback().
The 2005 era code is in need of an autoreconf -ivf, which is
done after setting an environment variable to pickup glibtoolize.
The build is done out of source according to the directions.
This builds static and shared native libraries using llvm-2335.9,
gcc-4.2.1(v5666), and clang-2.0, tested on 64bit OSX Snow Leopard.
It also builds without error on Lion.
EDIT: Builds from clone of cvs in mistydemeo with inline patches
ClosesHomebrew/homebrew#8274.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>