Commit Graph

60 Commits (a6494387554eb9c47fdbc7eeef3efc29034a6f0e)

Author SHA1 Message Date
Balint Reczey 0226d77503 cairo: Enable quartz image surface support.
Closes Homebrew/homebrew#29780.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-04 10:01:46 +01:00
Jack Nagel 426aa69085 cairo: switch to recommended dep
I'm tired of looking at this issue, and I doubt too many people are
using "without-x" anyway. Sorry!

Fixes Homebrew/homebrew#25175.
2014-04-06 21:52:42 -05:00
BrewTestBot 0d122e2dcb cairo: update 1.12.16 bottle. 2014-03-22 21:25:17 -05:00
Jack Nagel 0eeaf866ff cairo: update revision 2014-03-22 21:13:00 -05:00
Jack Nagel d87063d32f Remove remaining explicit xz build-time deps
These dependencies are automatically detected from the URL, so declaring
them is redundant. If these formulae ever get a head or devel spec, then
explicit xz deps would need to be re-scoped appropriately. Thus we
should remove them.
2014-03-14 23:40:32 -05:00
Mike McQuaid 7397a4c5d1 cairo: add bottle. 2014-02-22 15:36:15 +00:00
Jack Nagel c736a9bc42 cairo: don't allow opting-out of glib dep
Lots of stuff in Homebrew needs this, probably more than we are aware
of, and the vast majority of people installing cairo will have glib
anyway.
2013-12-09 15:10:40 -06:00
Jack Nagel f2e19189e1 cairo: no longer require stdenv when building universal 2013-11-10 18:25:36 -06:00
Jack Nagel 0368ac8ae7 cairo: add missing deps 2013-11-08 19:06:15 -06:00
Jack Nagel a6c1fa6861 cairo 1.12.16 2013-08-29 19:08:23 -05:00
Mike McQuaid c2f7e8d399 cairo: make glib recommended. 2013-07-18 09:56:54 -07:00
Misty De Meo f7a044271e Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -07:00
Misty De Meo 2e64384f82 cairo: depend on freetype when building without X
harfbuzz won't build without cairo-ft.
2013-06-02 19:35:36 -05:00
Jack Nagel b390c5bd49 Untangle cairo x/glib options
Fixes Homebrew/homebrew#19486.
2013-05-29 11:15:52 -05:00
Adam Vandenberg 29f31f7c8f cairo: fix syntax
Closes Homebrew/homebrew#19543.
2013-04-30 12:10:57 -07:00
Adam Vandenberg 104b8b6b73 cairo: allow glib support without x 2013-04-30 11:57:36 -07:00
Jack Nagel c3dbd4f238 cairo 1.12.14 2013-02-11 17:10:28 -06:00
Jack Nagel e7f41833db cairo 1.12.12 2013-02-01 23:57:52 -06:00
Adam Vandenberg 0548f6c71e cairo 1.12.10 2013-01-20 09:13:52 -08:00
Sebastian Haas 0c0c9bf0a0 cairo 1.12.8
Closes Homebrew/homebrew#16192.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-27 12:34:46 -08:00
Adam Vandenberg 19fa5cb55b cairo: add another mirror
Closes Homebrew/homebrew#15743.
2012-10-31 06:52:00 -07:00
Bradley Bell 052d7883b0 pango, cairo: explicitly disable x libs when asked
Closes Homebrew/homebrew#15709.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-28 09:20:59 -07:00
Miles J. Crumley ac98190483 Cairo: fix compile on Snow Leopard
Closes Homebrew/homebrew#15691.
Fixes Homebrew/homebrew#15650.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-27 07:23:26 -07:00
Jack Nagel 60f3957e0f cairo 1.12.6
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-24 17:39:06 -05:00
nibbles 2bits ae836cb907 cairo 1.12.4
- Upgrade cairo to version 1.12.4
- Remove the patch that's not needed anymore.
- Add `env :std if build.universal?` to fix missing `__uint128_t`

Fixes Homebrew/homebrew#15029

Closes Homebrew/homebrew#15560.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-19 22:05:50 -07:00
Adam Vandenberg 0f5ff949e1 cairo: add a mirror
Closes Homebrew/homebrew#15020.
2012-09-20 20:09:29 -07:00
Jack Nagel 53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Jack Nagel 73f3587e96 Sort out remaining XQuartz/stdenv issues
We use PKG_CONFIG_LIBDIR to reset the default search path, overriding
whatever is baked into the pkg-config executable. This way, we can later
append XQuartz paths here while still allowing any brewed libs to take
precedence, keg-only or not.

Hopefully this will resolve any remaining issues, and let us get rid of
some per-formula hacks.

c.f. Homebrew/homebrew#14474.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 22:39:38 -05:00
Mike McQuaid 42b74a2828 cairo: depend on glib unless we don't want X. 2012-08-24 21:30:42 -07:00
Mike McQuaid 6744b4f576 Fix keg-only on pre-Mountain Lion formulae. 2012-08-23 09:49:08 -07:00
Mike McQuaid a5a816dc32 cairo: only keg-only on pre-Mountain Lion. 2012-08-23 08:40:41 -07:00
Jack Nagel 95d1e93cc4 Add :when_xquartz_installed as a keg-only reason
Using :when_xquartz_installed will tell the keg-only machinery to activate
if XQuartz is installed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 17:28:15 -05:00
Adam Vandenberg 6beacf37e1 cairo: use options dsl 2012-08-09 21:47:23 -07:00
Jack Nagel 3be3ab20d9 cairo: always depend on our pixman
Older versions of XQuartz, including the one distributed by Apple with
OS X, contain an insufficient version of pixman for recent cairo.

Potentially the :pixman dep could be taught to only delegate to XQuartz
if it is up to date enough, but until then, always depend on our pixman.

Fixes Homebrew/homebrew#14072.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09 01:07:09 -05:00
Jack Nagel c34d481f64 Use X11 module methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09 00:21:14 -05:00
Adam Vandenberg 04a8655cf8 cairo: hotfix libpng dep 2012-08-08 21:09:36 -07:00
Mike McQuaid d6f76a1ea1 cairo: optionally don't depend on X11 2012-08-08 18:19:22 +01:00
Mike McQuaid 15218f3234 Revert "cairo, pixman: use sha1; sha256 is excessive"
This reverts commit 597928b77fb4947a13c10fb11b964f625460941e.
2012-08-05 08:29:30 +01:00
Mike McQuaid f4f5f24a21 cairo, pixman: use sha1; sha256 is excessive 2012-08-04 10:36:31 +01:00
Myles Borins 6986f635fe Cairo: point to pixman explicitly
Closes Homebrew/homebrew#13172.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-02 22:15:29 -07:00
Birger J. Nordølum 851e094061 Cairo 1.12.2
Also added changes of Homebrew/homebrew#12047.

Closes Homebrew/homebrew#11286.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-01 13:11:00 -05:00
nibbles 2bits e07b4558c2 cairo: fix llvm compile error, add --universal
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`.

Fixes Homebrew/homebrew#12923 and Homebrew/homebrew#10400

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-27 13:03:20 -07:00
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel 39d3d562b5 cairo: remove ENV.x11
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>
2012-03-20 17:53:59 -05:00
Adam Vandenberg d842662f34 Cairo: add ENV.x11
Freetype is not found correctly on all 10.7 setups, so be explicit
that this is X11 software.
2012-03-14 06:51:01 -07:00
Charlie Sharpsteen 4af32f5d34 Cairo: Don't build with XCB support on Leopard
The version of XCB included with Leopard is too old to build against.
2012-02-16 12:43:03 -08:00
Philip Paeps 9339af2562 cairo: build with xcb support
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.

Closes Homebrew/homebrew#9598.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 19:21:25 -06:00
Charlie Sharpsteen 57657959c7 Cairo: Bump fails_with_llvm version
Still failing on Xcode 4.2.1.
2011-12-25 15:49:45 -08:00
Max Howell 2c41a177ce Cario builds with LLVM 2011-09-08 11:39:49 +01:00
Adam Vandenberg 46cdc76d88 Cairo: use gcc 4.2 instead of llvm 2011-09-02 19:02:17 -07:00