Imagemagick-6.7.x uses libxml2, but Apple changed the file
`xml2-config` starting in Mt. Lion, removing the `--prefix` flag.
That breaks Imagemagick, which uses it to find the library.
Because all versions of OSX have libxml2 in the same location,
this commit is safe for all users.
* Patch `configure` to not run `xml2-config --prefix` by placing
the value it returns, `/usr`, into the corresonding variable.
FixesHomebrew/homebrew#11789.
ClosesHomebrew/homebrew#11883.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Way back in the day, Homebrew defaulted to LLVM/-O3. A lot of stuff
failed to compile, and a lot of stuff just took forever with -O4.
We don't default this way anymore, and in fact use -Os per Apple
guidelines.
So remove these old "fixes" since they are no longer needed.
The new bottle syntax conflicts a bit with how the version was being
handled in this formula; so let's just do it the way every other formula
does it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit adds a `devel` entry to the DSL, allowing formulae to
specify an unstable branch.
`devel` takes a block, which should contain standard `url` and `md5`
fields (and `version`, if necessary). This must come after the standard
DSL fields.
This commit also migrates over all formulae currently using `devel` to
the new syntax, as well as formulae which used `head` for non-VCS urls.
The new syntax is also available for `stable` and `bottle`. `stable` is
an option alongside the old syntax. `bottle` replaces the old syntax.
Note that the @stable ivar in Formula has been renamed to @standard,
and the @bottle ivar has been renamed to @bottle_url.
ClosesHomebrew/homebrew#9735.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Rationale: it doesn't compile well often enough, that it's worth our time bottling it.
Also, I removed the caveats about the source mirror, why was this ever in the caveats?
Note, we've moved locations yet again.
We're now pulling this formula from an unofficial GitHub mirror.
To bump versions, please open an issue on the mirror first.
Also: Fixed an option that was misspelled.
Default behaviour is not to build C++ interface. Option
'--with-magick-plus-plus' added which enables this.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The ImageMagick mirrors like to drop old tarballs, which means that our
formula breaks whenever the version we're using disappears.
So I've switched to using their SVN repo (and added a --HEAD build.)
Caveat: Their SVN repo is only served over https, with a bad cert,
so this brew know has a custom SVN download strategy that auto-accepts
that cert.
If this bothers you, get ImageMagick to fix their cert upstream (or
let us know where a stable tarball mirror lives.)
OpenMP generates a segmentation fault when ImageMagick is called
from within a thread (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42616),
rendering ImageMagick unusable with popular frameworks such as Ruby on Rails.
Signed-off-by: David Höppner <0xffea@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
1. The path to freetype-config had the wrong case.
2. Installing Xquartz adds a different freetype-config to PATH
which shadows the one with the libs we're trying to link against.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>