jscoverage-0.5.1 has a file with hardcoded gcc and g++, named
configure.gnu. inreplace those with ENV.cc and ENV.cxx.
It also has three places in js/configure where the conftest uses
int main {
but also has two return commands. The first return command,
return;
does not return a value. The second one does `return 0;`.
This causes an error building with clang during configure
because `int main` should return a value. inline patch those
by removing the extra return command so that it does a `return 0;`
All four of these issues have been bug reported to their tracker,
and the formula comments include a link to the bug report. The
issues exist in HEAD. This now builds with all the compilers in
Lion and Snow Leopard, though no runtime tests were done as this
is unfamiliar software.
FixesHomebrew/homebrew#11600.
ClosesHomebrew/homebrew#11611.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
bash completion from scala-dist is still at 2.9.1 but changelog
doesn't mention any parameter changes to scala or scalac.
ClosesHomebrew/homebrew#11627.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade libffi to version 3.0.11. It passes make check when
built with any compiler from XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
mp4v2 is used by easy-tag and cmus, but those require different
versions that are not API compatible.
Add a devel block for r479.
Add patches for stable committed in r472 inline. Patches fix
compile errors with clang, but are not available via direct url.
Stable works with easy-tag and can open .m4a files from iTunes.
Devel works with cmus and can play .m4a files from iTunes.
Compiles with all 5 compilers from XCode-4.3.2, 4.0.2 on Lion
and Snow Leopard. Main discussion was in Homebrew/homebrew#7998ClosesHomebrew/homebrew#11275.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade Zile to version 2.4.7.
Add dep on gettext because configure wanted libintl.
Remove --man flag. It installs to share/man correctly.
Works on Lion and Snow Lep, XCode-4.3.2 and 4.0.2, all compilers.
ClosesHomebrew/homebrew#11273.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Upgrade swftools to version 0.9.2.
* Add a dep on ungif.
* Add a dep on fftw that is new to this version and used to speed up
resizing 2D images and increase their quality.
* Remove the optional qualifier on lame which had no effect.
* Remove the ENV.minimal_optimization, same reason, and it works.
* Remove the caveat about swfc segfaults on Snow Lep. It works.
* Add a patch for configure to fix a syntax error in a conftest for
fftw that was causing it to be considered not found. It now builds
and links all the binaries against libfftwf.dylib.
* The patch is merged in HEAD. Remove at 0.9.3. Noted in formula.
Tested on Lion and 64bit Snow Leopard with all five compilers from
XCode-4.3.2 and 4.0.2.
This would fixHomebrew/homebrew#11520
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Switch the formula to use configure.
Openjpeg can be built using configure or cmake. They don't install
identically, though. When built with cmake, one header is absent.
Switching to configure gets us the unversioned one also, i.e.
openjpeg/1.5.0/include/openjpeg-1.5/openjpeg.h
openjpeg/1.5.0/include/openjpeg.h
While only three formula currently depend_on openjpeg, they all
contain code that expects the unversioned file, i.e.
#include <openjpeg.h>
ClosesHomebrew/homebrew#11576.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Mapnik by default tries to install to the site-packages in /System
when brewed against system Python. This causes a build error
because that directory is not writeable. Mapnik correctly
determines the versioned site-packages name without modification,
but for Homebrew it needs the proper prefix.
* Add the standard `which_python` function to the formula.
* Add a scons argument for `PYTHON_PREFIX`
* Add the standard caveat for `PYTHONPATH`.
Discussed upstream: https://github.com/mapnik/mapnik/issues/1155
and tested on Lion against the system Python.
FixesHomebrew/homebrew#11389ClosesHomebrew/homebrew#11407.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Upgrade lzip to version 1.13.
* Remove --man flag because it installs to the correct location.
* Add make check because it's a compression program, and data
integrity seems worth the 2 sec. extra.
* Add ENV.j1 for make install, otherwise it will occasionally fail.
Tested on Lion and 64bit Snow Leopard using all compilers from
XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>