Commit graph

40 commits

Author SHA1 Message Date
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
6d6bffd557 subversion - safer caveats 2011-04-01 12:03:27 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
121b9c1473 subversion 1.6.16 2011-03-09 08:50:30 -08:00
Daniel Tang
6e016e5ac6 subversion - warn if JAVA_HOME is set
Subversion's JavaHL library depends on JNI headers that are only available by
installing Developer Tools. Setting JAVA_HOME to something in /System/Library
breaks because JNI headers aren't symlinked into the framework directories
here. I believe the proper JAVA_HOME setting, if necessary, is the output of
/usr/libexec/java_home, but the same effect can be achieved by not setting
JAVA_HOME at all.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-09 08:45:59 -08:00
Gerolf Seitz
e635eea367 updated formula to subversion 1.6.15
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-02 20:39:11 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg
b21c2103ad Subversion - patch Java detection
Patch taken from MacPorts.

Fixes Homebrew/homebrew#2976
2010-10-31 18:09:28 -07:00
Adam Vandenberg
19e5e6e64a Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00
Emmanuel Blot
31cf29d9bb Update Subversion to 1.6.13
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-02 16:28:54 -07:00
Adam Vandenberg
3330efdd4b Fix Subversion + Perl compile on 10.5 [mkroehnert] 2010-09-17 17:13:54 -07:00
Adam Vandenberg
9ab86b7dea subversion - fix audit warning 2010-09-06 12:20:09 -07:00
Graham Hughes
4c433e1b3a Build the Ruby bindings.
Signed-off-by: David Höppner <0xffea@gmail.com>

* remove testing leftovers
2010-09-01 18:03:56 +02:00
Adam Vandenberg
72e19eb542 Don't need +x on these 2010-08-13 16:00:17 -07:00
Adam Vandenberg
ac4e28a5ba Document all existing install options. 2010-08-10 13:05:20 -07:00
Max Howell
1f7bc468bd Use new symlink aliases 2010-08-07 18:08:50 -07:00
Adam Vandenberg
72c2715aa2 svn - build perl bindings with j1 for git-svn to work 2010-07-21 22:32:51 -07:00
Simon COURTOIS
8a11a694d4 Adding a --unicode-path option to subversion
Inspired from the +unicode_path variant of the Macports subversion package.
This option activates a patch to enable Mac OS X unicode paths handling.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-03 09:16:22 -07:00
Adam Vandenberg
84e363b506 Subversion - neon arch check was inverted. 2010-06-28 14:47:27 -07:00
Adam Vandenberg
fc885184a2 Subversion - fix --with-zlib path 2010-06-28 12:46:13 -07:00
Adam Vandenberg
401a0d7639 Subversion checks for pkg-config, so add dep. 2010-06-28 09:58:55 -07:00
Emmanuel Blot
921d0159de Update Subversion to 1.6.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-21 11:36:06 -07:00
Adam Vandenberg
dce3bf087a Subversion: enable perl bindings
"brew install subversion --perl" will now also build new Perl bindings.
Fixes Homebrew/homebrew#1526
2010-06-16 12:22:06 -07:00
Augie Fackler
fc2b620136 Subversion: flag for building Python bindings
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Added caveats and cleaned up a bit.
2010-06-01 18:24:01 -07:00
Adam Vandenberg
d2223956ff subversion - add note about linking Java libs 2010-05-13 09:12:54 -07:00
Adam Vandenberg
e6ef3a586f Subversion: --universal for Java-based IDE bindings
* Warn if Java bindings are built non-Universal
2010-05-10 20:48:19 -07:00
Adam Vandenberg
9e703502fe Subversion - Fix typo in java switch. 2010-05-10 20:39:55 -07:00
Adam Vandenberg
59ebfa5830 Subversion - enable Java bindings 2010-05-06 09:58:00 -07:00
Adam Vandenberg
90db4d0d84 Subversion 1.6.11 2010-04-18 19:40:41 -07:00
Adam Vandenberg
05b4bfa067 Update Subversion to 1.6.9 2010-03-02 09:23:35 -08:00
Adam Vandenberg
e441192b74 Add alias support to formulae
* brew install will find an aliased formula
* aliases are searched against
* warn when creating a new formula that has an existing alias.

If Subversion has an alias "svn", then warn when the user tries to
create a new formula "svn". The formula can still be created, though
the user should make sure it's not a duplicate of the existing
aliased one.

Subversion and Objective-Caml formulas get some alises here, so we have
something to test against.
2009-11-19 14:03:07 -08:00
Max Howell
e4f78d928c Remove Snow Leopard Subversion tweaks
The tweaks didn't help for me, but making neon build a dylib rather than static lib did help. So remove them now.
2009-11-07 18:22:34 +00:00
Jeremy Carbaugh
b931d71ee9 disable neon version check to enable checkout of http/https repos
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2009-11-04 16:27:36 +00:00
Adam Vandenberg
75c348dbf8 Update Subversion to 1.6.6 and fix on Leopard.
The "fixes" to this formula for 10.6 completely broke it on 10.5.
The formula now has separate setup / deps handling for 10.5 and
10.6, which should work until Subversion 1.7 comes out some day
and the Snow Leopard system deps break again.
2009-10-30 11:05:49 -07:00
Max Howell
61b2307139 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
Jacob Harris
3f6b58cec3 Force Subversion to link to Homebrew neon
Closes Homebrew/homebrew#59

Signed-off-by: Max Howell <max@methylblue.com>

As I understand it, this is not required on 10.6. But then again this formula
isn't really required on 10.6.
2009-09-30 01:24:31 +01:00
Max Howell
c665eac117 Dependency resolution with fancy syntax
Is it a DSL? No. But people call it that apparently.

To add a dependency:

class Doe <Formula
  depends_on 'ray'
  depends_on 'mee' => :optional
  depends_on 'far' => :recommended
  depends_on Sew.new
end

Sew would be a formula you have defined in this Formula file. This is useful,
eg. see Python's formula. Formula specified in this fashion cannot be linked
into the HOMEBREW_PREFIX, they are considered private libraries. This allows
you to create custom installations that are very specific to your formula.

More features to come, like specifying versions
2009-09-21 18:27:48 +01:00
Adam Vandenberg
7b6c2ee425 Update Subersion to 1.6.5, add SSL support, turn off BDB support. 2009-09-02 23:48:06 +01:00
Max Howell
c81d5b6ca6 Refactor
Large refactor to Formula, mostly improving reliability and error handling but
also layout and readability.

General improvements so testing can be more complete.

Patches are automatically downloaded and applied for Formula that return a
list of urls from Formula::patches.

Split out the brew command logic to facilitate testing.

Facility from Adam Vandenberg to allow selective cleaning of files, added
because Python doesn't work when stripped.
2009-08-10 18:11:17 +01:00
Adam Vandenberg
8a2132a7b9 Add subversion formula. 2009-08-02 01:25:01 +01:00