Commit Graph
81 Commits
Author SHA1 Message Date
Adam Vandenberg 28670c6223 subversion: serialize build
Building with Java support does not work in parallel.

Closes #20415.
2013-06-17 21:27:24 -07:00
Adam Vandenberg bcf1985de7 subversion: restore neon support
Neon is needed to connect to certain WebDAV servers.

Closes #20495.
2013-06-14 08:43:55 -07:00
Clemens Gruber 7973860c73 subversion 1.7.10
* build with serf instead of neon; 1.8 will drop neon support
* remove ENV.deparallelize because it did not fix #13226

Closes #20372.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-09 12:54:43 -07:00
Jiang Xin b0e6223e2e subversion: install svnmucc and other svn tools
Some useful tools can be installed through 'make install-tools'. Among
them, the following five binaries have filenames with the prefix 'svn',
and won't conflict with binaries form other packages. So it's safe to
install these tools by default.

 * svn-populate-node-origins-index
 * svn-rep-sharing-stats
 * svnauthz-validate
 * svnmucc
 * svnraisetreeconflict

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2013-06-09 08:30:23 -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
Adam Vandenberg d0c6c1e265 disable-nls for neon and subversion
Explicitly disable nls for neon and subversion in a hand-wavy
attempt to fix #17613.
2013-05-26 12:08:05 -07:00
Adam Vandenberg c150b7ed85 use bash/zsh path helpers 2013-05-03 11:03:42 -07:00
Simon Sigurdhsson d6a2964eab Remove global methods from formulae
Removes any global methods from formulae, and moves #kext_prefix (which
seems to be at least somewhat abstractable) into the Formula class. The
only formula with global methods is now aspell; it (and its generating
script in contrib) has been changed to prefix that method with
`aspell_`, to minimize the risk of name collisions.

Closes #19331.
Closes #19343.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-21 23:48:50 -05:00
Adam Vandenberg 179516f335 subversion: building bindings triggers user paths
Closes #15393.
2013-04-19 09:07:20 -07:00
Jeremy Ehrhardt 18b50b5c0b Subversion 1.7.9
Closes #19017.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-06 18:04:48 -07:00
Adam Vandenberg f7a42d2bb6 Subversion: always build against system ruby
Closes #13272.
2013-02-04 09:29:23 -08:00
Jack Nagel 8899d9075e subversion: universal is now passed to deps automatically 2013-01-26 12:28:52 -06:00
Jack Nagel 43f2bfaafc Use fatal DSL method in requirements 2013-01-18 19:30:43 -06:00
Samuel John bb1a7ea926 Fix build errors caused by making sqlite keg_only
- In subversion and gdal, because they used
  HOMEBREW_PREFIX/lib instead of
  Formula.factory('sqlite').opt_prefix

Closes #17005.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-11 11:57:40 +00:00
Jack Nagel 37a3ce75d7 subversion 1.7.8
Closes #16690.
2012-12-21 12:40:59 -06:00
Adam Vandenberg a6dcc41b3b Subversion: use correct apr
Backported fix from serf formula.

Closes #14884.
2012-10-28 09:16:41 -07:00
nibbles 2bits d6a73b0057 subversion: fix Perl install location
subversion --perl tries to install to `/Library/Perl` which is
not writeable by the regular user and causes a build error.

- Set the perl `DESTDIR=#{prefix}` and add a caveat.

Fixes #15352

Closes #15652.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-25 07:36:37 -07:00
Victor Jacobs 70a5b0ee78 subversion 1.7.7
Closes #15362.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-08 20:19:46 -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
Adam Vandenberg 2f9a14b396 subversion: use new dsl 2012-08-25 10:29:27 -07:00
Sebastian Sdorra fb0cfbd455 subversion 1.7.6
Closes #14250.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-17 12:31:06 -05:00
Adam Vandenberg 5d5cd70a98 subversion: install bash completion script 2012-07-23 22:12:59 -07:00
Jeff Clites 83cfbd6341 subversion: fix errant '-arch ppc' in perl bindings build
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-23 21:26:10 -07:00
Jack Nagel 4e08e666de subversion: use symbol dep for libtool
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-10 11:42:31 -05:00
Adam Vandenberg 8e5a2047e5 Subversion: building ruby bindings requires libtool 2012-07-09 10:38:31 -07:00
Adam Vandenberg 19c537f12f subversion: update requirements
* serf needs to be universal when building universal
* make universal requirements fatal
2012-07-06 20:13:40 -07:00
Dave Goodell 383e095ed9 subversion: --perl fixes, no clang and find EXTERN.h correctly
This will find EXTERN.h correctly even if the user has installed a
custom perl installation, such as from perlbrew.  See #11619 for a bit
more info.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-13 22:44:27 -07:00
Dmitry Wolf ca314379df subversion: add serf dependency
serf will become the default http library in 1.8,
and is used by come servers now

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-11 07:38:51 -07:00
Adam Vandenberg 87bc12d0a4 subversion: style nits 2012-05-28 08:13:16 -07:00
Hideki IGARASHI 37667565fc subversion: add back UTF-8 hack.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-28 08:11:56 -07:00
Hideki IGARASHI effee446fe Subversion: update to 1.7.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-26 21:07:03 -07:00
nibbles 2bits dc4245c33b subversion: fix error with clang
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc.  It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.

Pre-define the configure variable `ac_cv_python_compile` as ENV.cc

Fixes #10914.
Closes #12059.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-04 17:51:51 -05:00
Adam Vandenberg 70775085bf subversion 1.7.4 2012-03-18 11:06:32 -07:00
Adam Vandenberg eb97154dd4 sqlite: add sqlite unviersal check
Also use Requirements for these checks.
2012-03-18 11:06:09 -07:00
Damien Pollet f8bf2f342d Subversion: don't hardcode HOMEBREW_PREFIX
Closes #10147.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-13 13:49:11 -06:00
soh335 3703f9642c svn 1.7.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-12 21:08:02 -08:00
Dan Fabulich d89bf83e75 Subversion to 1.7.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 12:09:53 -08:00
Brett Koonce 6e2d550cf4 Fix spelling mistakes
Closes #9449.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 09:43:54 -06:00
Adam Vandenberg 800f03bcab subversion: compile against system sqlite 2011-06-07 12:58:51 -07:00
Birger J. Nordølum 198aff4bc9 Subversion 1.6.17
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-03 16:20:51 -07:00
Adam Vandenberg 83ed49411f Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg f2f1d980a9 subversion - safer caveats 2011-04-01 12:03:27 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg 20a6876fc3 subversion 1.6.16 2011-03-09 08:50:30 -08:00
Daniel Tang 809a18aa71 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 01b0212951 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 7871a99fe3 Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg 3e90ab43f0 Subversion - patch Java detection
Patch taken from MacPorts.

Fixes #2976
2010-10-31 18:09:28 -07:00
Adam Vandenberg d56367c1ac Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00