Cairo-1.10.2 doesn't build well with link time optimization.
Patch `configure` to remove `-flto`. This fixes the build error
with llvm. This also fixes a build error when brewing cairo as
a universal library.
Add `--universal` option. Works if gettext & glib are universal.
Patch `configure` to change `-Werror-implicit-function-declaration`
to a warning with `-Wimplicit-function-declaration`. Fixes a
build error when universal & clang.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested by building py2cairo and `import cairo`.
FixesHomebrew/homebrew#12923 and Homebrew/homebrew#10400
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This causes configure to pick the wrong libpixman on at least 10.6, and
issues with SVG on at least 10.7. So remove it, and we'll try to fix any
remaining issues with a different approach, e.g. special ENV vars for
freetype.
cf Homebrew/homebrew#11036, Homebrew/homebrew#11042, Homebrew/homebrew#11049.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
XCB is a more "modern" way of communicating with X11 servers than
straight XLib. It is required by some X11 applications. Enabling
support in cairo should not affect applications which don't use it
explicitly.
ClosesHomebrew/homebrew#9598.
Signed-off-by: Jack Nagel <jacknagel@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