Commit Graph
42 Commits
Author SHA1 Message Date
Adam Vandenberg b1da52a1dd spidermonkey: remove use of autoconf
Closes #20296.
2013-06-06 09:58:04 -07:00
Adam Vandenberg f3ddf72170 Remove redundant :using 2013-05-27 22:32:40 -07:00
Adam Vandenberg d06ddca15a spidermonkey: remove caveats
MongoDB now uses v8.
2013-03-19 13:13:49 -07:00
Jack Nagel bdaae65b9a Revert "Rename readline to gnu-readline"
This reverts commit adee531526.

Turns out one of the "other things" is a dealbreaker.

We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.

So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
2012-11-10 21:12:26 -06:00
Jack Nagel adee531526 Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.

The implications of this are:

 - Anything that depends on readline will reinstall it as
   "gnu-readline". Anything already installed will continue to function.

 - "brew upgrade readline" will say "gnu-readline not installed", as
   "readline" is now an alias.

 - Probably other things.

So there are some downsides, but we will just have to deal with them.

Fixes #15776.
2012-11-10 20:07:32 -06: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
Mike McQuaid bf6ae3235d Fix subformulae sha1s. 2012-09-03 18:59:29 -07:00
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Adam Vandenberg c597a698f9 spidermonkey: no need to protect checksum 2012-08-25 10:29:27 -07:00
Jack Nagel 970cbdc467 spidermonkey: use buildpath instead of Pathname.pwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-08 01:15:12 -05:00
Adam Vandenberg e40f3df596 SpiderMonkey: remove an inreplace
This does not seem to be needed in 1.8.5, at least on
Snow Leopard and above.

Closes #10574.
2012-03-15 20:23:08 -07:00
Adam Vandenberg 55f3c49a9e Introduce block form of mkdir 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
Justin de Vesine 42ed8014ed spidermonkey: add --HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-19 13:50:01 -08:00
Juan Sebastian Casallas f31f3f9e5b SpiderMonkey 1.8.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-15 21:23:42 -08:00
Jack Nagel 164c57f284 Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel d0dfc22b50 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00
Adam Vandenberg 1dccc0bb57 Spidermonkey: revert to previous version
SM 1.8.5 is not compatible with CouchDB, which is one of the
primary reasons why SM gets installed via Homebrew.

Reverting SM to the previous version and updated the checksum.
2011-07-08 09:43:06 -07:00
Adam Vandenberg c445c621d2 Spidermonkey: use official versioned tarball 2011-07-07 11:19:58 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -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 9bb7ca4861 fix audit issues 2010-11-09 07:45:09 -08:00
Adam Vandenberg fd70ad4901 curl 7.21.2 (OS X 10.5 comes with 7.16.3)
CouchDB requires at least 7.18.0.
2010-11-09 06:27:11 -08:00
Alexis Hildebrandt a065c8a4a1 Update Formula: spidermonkey
Fix dylib install_name

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-02 18:53:45 -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 2c6c855f13 Patch Spidermonkey to export 2 date functions used by MongoDB.
When compiling MongoDB from source, it relies on 2 date functions
which are not exported in the version of SpiderMonkey provided by Homebrew.
Homebrew itself uses binary MongoDB installs, but we include this patch
to allow manual compiles of MondoDB.
2010-07-01 09:44:27 -07:00
Adam Vandenberg 3575657169 Revert SpiderMonkey.
The latest 1.9.3x builds of SpiderMonkey are not compatible with CouchDB,
and presumably other software that depends on an older SpiderMonkey API.

Revert SpiderMonkey to the previous version, but update the version to
reflect what that revision actually is.
2010-06-25 14:49:30 -07:00
Adam Vandenberg 532fa48c5a Update spidermonkey to 1.9.3
* Use a stable tarball on Google Code instead of an hg revision
* Update to 1.9.3 to stop getting compile errors on 64-bit OS X
* autoconf 2.1.3 apparently no longer needed
2010-06-24 12:38:53 -07:00
Max Howell fbf398f361 Build disposable autoconf 213 for SpiderMonkey
Seeing as it's only SpiderMonkey that requires this specific version of Autoconf, lets not keep it around needlessly when it's also just a build dependency.
2010-02-23 15:40:02 +00:00
Paul J. Davis 26b760ba4f Make the build libmozjs threadsafe.
Needed to avoid a bug in OS X when a library was linked against
CoreFoundation without having it initialized in the main thread.

http://openradar.appspot.com/7209349
2010-01-24 13:38:51 +00:00
Ash Berlin 3df5a58afe bump spidermonkey to a recent revision
This gives us tracemonkey/JIT capable version. As the comment says, there are no proper releases
2009-12-04 18:03:26 +00:00
Caleb Land 571d853309 Correctly set the -install_name of libjs.dylib
Remove the workaround for the wrong dylib ID from couchdb and set it correctly
at the source.

Fixes #95
2009-10-19 04:02:32 +01: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
Max Howell 43fac25fde Make Spidermonkey work with Couchdb
I had to remove the THREADSAFE flag to make it work.

Couchdb seems the reason to use Spidermonkey at this point. Without these
changes Couchdb would crash hard when loading the Spidermonkey dylib.

If the threadsafety is required then we should look into making a keg-only
Spidermonkey for Couchdb's personal use.

The nspr dependency isn't documented as required, and doesn't seem to make a
difference if it is removed. So I removed it.
2009-10-04 18:36:13 +01:00
(@ivanvc) e0345e0d4f This flag causes the make process to fail 2009-10-01 15:48:46 +01:00
Caleb Land 17c1eaaf2e Fix Spidermonkey formula
The Spidermonkey makefiles hardcoded the compilers that are used. Which broke
when used with gcc 4.2 cflags.
2009-09-28 00:20:50 +01:00
Max Howell 6a6e571929 Use new depends_on syntax in all formula
Many formula were imported during the development of the dependency branch.
2009-09-21 19:00:13 +01:00
Max Howell 4fe374dafd Default to patch level 1
Having gone through our patches it's clear that p1 is more standard.

Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16 17:08:32 +01:00
Dane Jensen 1a0b95d28d Build spidermonkey with utf-8 support 2009-09-16 14:49:07 +01:00
Max Howell c8c2cb2dd3 Use __END__ patch rather than github gist
Also there was seemingly some bug where if you didn't read the pipe for the
patch commmand the exit status was non-zero.
2009-09-16 14:49:06 +01:00
Sean Wolfe 32b213c43e Couchdb and dependency formulae
Signed-off-by: Max Howell <max@methylblue.com>

I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
2009-09-14 20:33:46 +01:00