Commit Graph
51 Commits
Author SHA1 Message Date
chdiza 323f61a729 graphviz 2.34.0, --devel 2.35.20130914.0446
Closes #22536.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-14 11:19:24 -07:00
Adam Vandenberg 1756973c93 graphviz 2.32.0 2013-08-04 22:20:35 -07:00
Jack Nagel 69052e3f39 graphviz: use optional dep for gts 2013-06-26 19:08:49 -05:00
Adam Vandenberg 13c9983909 graphviz: update --devel version 2013-06-08 15:42:16 -07:00
Samuel John 0b50110107 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Kevin Moore abed8d66e3 graphviz --devel 2.31.20130523.0446
Closes #20028.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-24 06:57:23 -07:00
stevenppp 900b17fb8e graphviz --devel 2.31.20130502
Closes #19585.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-02 21:25:42 -07:00
Camillo Lugaresi 8162b32e5c graphviz 2.30.1
Closes #17899.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-17 10:17:35 -08:00
Jack Nagel e5b92fe496 graphviz: use test DSL 2013-02-01 23:38:52 -06:00
Janne Peltola def3a7025f graphviz: optional GTS dependency
Closes #16015.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-26 10:21:06 -08:00
Shaun Jackman 0182c8205b graphviz: Use freetype2 if X11 is installed
Do not configure --without-freetype2 if X11 is installed.

Closes #15583.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-21 19:52:32 +01:00
Shaun Jackman 8c6be85aca graphviz: Add build option --with-x
--without-x prevents building useful programs, such as lefty.

Closes #15555.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-21 10:28:57 -07:00
Mike McQuaid 4228082915 graphviz: actually depends on freetype rather than gd.
References #14646.
2012-09-27 20:54:57 +01:00
Adam Vandenberg 83b377167b Use env. 2012-09-14 09:14:48 -07:00
Dustin Sallings dbe82d9c31 Graphviz depends on gd
Closes #14646.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-02 16:03:01 -07:00
Mike McQuaid f090ea3c09 graphviz: make test non-interactive. 2012-09-02 00:50:45 -07:00
Charlie Sharpsteen 4ce8717a18 graphviz: Building GraphViz.app is now optional
Building GraphViz.app requires a full install of XCode.app so building it
by default breaks the installation for users who only install the Command Line
Tools.

Fixes #14431.
2012-08-24 19:38:18 -07:00
Charlie Sharpsteen 1a4bec274b graphviz: Use options DSL 2012-08-24 19:38:04 -07:00
Mike McQuaid b9cd305a05 graphviz: set flag to not depend on X11. 2012-08-23 08:36:48 -07:00
Adam Vandenberg ac18935be5 graphviz: partially use options dsl 2012-08-09 22:09:29 -07:00
Mike McQuaid d28e1fd14b graphviz: no default bindings and no X11 needed
Closes #13898.
2012-08-08 18:19:22 +01:00
Mike McQuaid 8a61a988ae graphviz: remove unexecutable gvmap.sh from bin 2012-08-04 10:36:31 +01:00
nibbles 2bits 99decba5fe graphviz: add universal option
Graphviz can build universally if it is built with a universal
pcre, swig, and gettext.  Add a `--universal` option.  Change
to using sha1.  Leave the `fails_with` build version alone because
Graphviz builds on Mountain Lion with clang-4.0.

Tested on ML with clang and llvm from XCode-4.4.

Fixes #13827

Closes #13927.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-03 19:29:18 -07:00
Sunteya 2b699e75c8 graphviz: must depend x11
Closes #13357.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-13 02:34:20 -05:00
Jack Nagel a2d4d9d832 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Jack Nagel fb3bacc14e graphviz: clean up test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-06 01:07:44 -05: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
Adam Vandenberg 683f143b5a graphviz: add fails-with-clang comment 2012-03-14 17:29:05 -07:00
Kevin Moore e390d50119 graphviz: force build with llvm instead of clang
(Same technique being used for Qt.)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-14 17:27:57 -07:00
Adam Vandenberg 8bf54c485c Add buildpath to Formula 2012-02-24 21:35:51 -08:00
Adam Vandenberg d3f3554299 Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Misty De Meo 7dcab06369 graphviz: fix GraphViz.app => Graphviz.app
graphviz builds its application bundle as Graphviz.app; a typo was
preventing it from installing correctly on case-sensitive systems.

Fixes #9348.
2011-12-31 00:18:06 -06:00
Charlie Sharpsteen e562953f76 Clean up some Cairo dependencies
Add a comment to Pango explaining why Cairo is required on Lion. Remove Cairo
dependencies from Graphviz as the Pango dependency will include it if needed.

Closes #8821.
Closes #9238.
2011-12-24 21:55:31 -08:00
Camillo Lugaresi 61853c2181 Revamped GraphViz formula
- enable Quartz backend
- Cairo/Pango are now optional; if not enabled, PDF output is done with Quartz
- enable language bindings by default (option to disable)
- build GraphViz.app

Closes #9100.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2011-12-23 23:50:28 -06:00
Jack Nagel cbe7be1101 graphviz: patch for linking with libltdl
Linking with '-lltdl' fails on Lion and/or with XCode 4.2. The patch is
already in the upstream development version and will be in the next
release.

Closes #7503.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-18 18:06:05 -05:00
Dominick Ng 85ead600dc pango, pixman, graphviz: Fixes for Lion PDF output
Related issue on MacPorts:
  https://trac.macports.org/ticket/30370

Fixes #6631.
Fixes #7140.
Fixes #7463.
Closes #7523.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-14 03:41:36 -07:00
Adam Vandenberg c45f083043 Graphviz: add test 2011-09-01 12:04:27 -07:00
Ruben Fonseca 51ba1ed312 graphviz 2.28.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-25 09:21:26 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Wannes Meert 2f27726a38 graphviz: support pdf output with pango/cairo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-13 12:49:50 -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 4885c89613 graphviz - disable language bindings 2010-08-13 09:44:20 -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
Adam Vandenberg 66d939c721 graphviz- fix some deps 2010-06-18 10:58:12 -07:00
David Höppner 52d925a689 graphviz: enable python tested on 10.5 and 10.6 64-bit 2010-03-22 12:51:55 +01:00
David Höppner f3476c70fb graphviz: disable quartz and php 2010-03-06 15:32:32 +01:00
Adam Vandenberg 379e988c94 Update GraphViz to 2.26.3 2010-02-19 10:38:04 -08:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Leo Franchi 139c6640fe perl bindings fail to build 2009-10-12 22:50:51 +01:00