Commit Graph
48 Commits
Author SHA1 Message Date
Misty De Meo 6738071b57 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 d62d7d5dda Untangle cairo x/glib options
Fixes #19486.
2013-05-29 11:15:52 -05:00
Adam Vandenberg 6ff6eea7fc cairo: fix syntax
Closes #19543.
2013-04-30 12:10:57 -07:00
Adam Vandenberg 5fa2bf6497 cairo: allow glib support without x 2013-04-30 11:57:36 -07:00
Jack Nagel 3ed81ce227 cairo 1.12.14 2013-02-11 17:10:28 -06:00
Jack Nagel 084226c04f cairo 1.12.12 2013-02-01 23:57:52 -06:00
Adam Vandenberg bc14222d1d cairo 1.12.10 2013-01-20 09:13:52 -08:00
Sebastian Haas c16eff936b cairo 1.12.8
Closes #16192.

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

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-27 07:23:26 -07:00
Jack Nagel 756666e1da cairo 1.12.6
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-24 17:39:06 -05:00
nibbles 2bits fa746b7ccd 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 #15029

Closes #15560.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-19 22:05:50 -07:00
Adam Vandenberg 906ad397eb cairo: add a mirror
Closes #15020.
2012-09-20 20:09:29 -07:00
Jack Nagel 6b8d25f2d2 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 93a4c48e36 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. #14474.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 22:39:38 -05:00
Mike McQuaid 12e68cb3db cairo: depend on glib unless we don't want X. 2012-08-24 21:30:42 -07:00
Mike McQuaid b946bf758a Fix keg-only on pre-Mountain Lion formulae. 2012-08-23 09:49:08 -07:00
Mike McQuaid e879c349d5 cairo: only keg-only on pre-Mountain Lion. 2012-08-23 08:40:41 -07:00
Jack Nagel 2eef46ae5a 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 3e6533c237 cairo: use options dsl 2012-08-09 21:47:23 -07:00
Jack Nagel 114a239a06 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 #14072.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09 01:07:09 -05:00
Jack Nagel 16aab049c2 Use X11 module methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09 00:21:14 -05:00
Adam Vandenberg b9415b6ed3 cairo: hotfix libpng dep 2012-08-08 21:09:36 -07:00
Mike McQuaid 4ceed27812 cairo: optionally don't depend on X11 2012-08-08 18:19:22 +01:00
Mike McQuaid 3549c78f9c Revert "cairo, pixman: use sha1; sha256 is excessive"
This reverts commit 597928b77f.
2012-08-05 08:29:30 +01:00
Mike McQuaid 597928b77f cairo, pixman: use sha1; sha256 is excessive 2012-08-04 10:36:31 +01:00
Myles Borins fd627a86c6 Cairo: point to pixman explicitly
Closes #13172.

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

Closes #11286.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-01 13:11:00 -05:00
nibbles 2bits 82736836c9 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 #12923 and #10400

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-27 13:03:20 -07:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel 4c3cee0c83 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 #11036, #11042, #11049.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-20 17:53:59 -05:00
Adam Vandenberg 2673ee6e8d 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 fef62e2716 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 7d215c7d1b 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 #9598.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 19:21:25 -06:00
Charlie Sharpsteen 00fb91fe06 Cairo: Bump fails_with_llvm version
Still failing on Xcode 4.2.1.
2011-12-25 15:49:45 -08:00
Max Howell f9b32a2c81 Cario builds with LLVM 2011-09-08 11:39:49 +01:00
Adam Vandenberg cec3f615be Cairo: use gcc 4.2 instead of llvm 2011-09-02 19:02:17 -07:00
Adam Vandenberg 76e22cee0f cairo: fails_with_llvm 2011-05-10 14:24:49 -07:00
Adam Vandenberg c5a8bdad18 Fix cairo checksum 2011-03-28 08:53:37 -07:00
Birger J. Nordølum 272e95d62b Cairo 1.10.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-27 22:45:21 -07:00
Adam Vandenberg fa2f638329 Document keg-only system duplicates. 2011-03-15 22:04:38 -07:00
Adam Vandenberg 3534921654 cairo: use system libpng 2011-03-14 14:40:35 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg d56367c1ac Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00
Jelle Schühmacher 49b7b9bb0e Fixed a typo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-26 08:50:08 -07:00
Adam Vandenberg e88489fc82 Keg-only Cairo for Leopard. 2010-04-27 09:34:30 -07:00