Tests that expect Formula#path to resolve to a real path should use
TestBallWithRealPath; TestBall gets its original behavior back, fixing a
failing test in test_formula_install.
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.
Closes#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 #7998Closes#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.
Closes#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 fix#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>
Closes#11576.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
A common source of build problems on Xcode 4.3+ is outdated compilers,
usually when a user has installed over top of an old version and hasn't
installed the CLT. Since the compilers from the previous Xcode are still
around, brew doctor wouldn't complain.
This adds a hash containing a list of the canonical compiler versions
for supported versions of Xcode, and adds a check against that to determine
whether a given installation has any compilers which are out of date.
Closes#11518.
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.
Fixes#11389Closes#11407.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ARGV.build_head? will return true if the typo '-HEAD' is passed because
it uses flag? to detect the option. However, we only filter the exact
spelling of '--HEAD' in ARGV.filter_for_dependencies, and thus the HEAD
property is undesirably passed to deps during installation.
Since we never advertised '-H' as a valid short option for '--HEAD',
just use include? instead of flag?.
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>
* Upgrade lzlib to version 1.3.
* Correct configure flags. It is a C library, not C++. Before it
would always compile with gcc. It only uses CC and CFLAGS.
* Add make check because it's a compression library, and data
integrity seems worth the 2 seconds extra.
Tested on Lion and 64bit Snow Leopard with all compilers from
XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>