Commit graph

28 commits

Author SHA1 Message Date
Juan Sebastian Casallas
25f4071031 SpiderMonkey 1.8.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-15 21:23:42 -08:00
Jack Nagel
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel
fa3d89a7c0 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
25e5564d28 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
f860207381 Spidermonkey: use official versioned tarball 2011-07-07 11:19:58 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -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
8d5387735e fix audit issues 2010-11-09 07:45:09 -08:00
Adam Vandenberg
59ce8a6c2b 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
d6eea6aec2 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
7bd947eb0b 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
6332dc0440 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
e7f0270d38 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
87a92063da 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
78d5350364 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
4bc540b4fa 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
1887903494 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
5c5bd71426 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 Homebrew/homebrew#95
2009-10-19 04:02:32 +01: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
Max Howell
0650354383 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)
350f4bd2c5 This flag causes the make process to fail 2009-10-01 15:48:46 +01:00
Caleb Land
688c12c727 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
a0759ae93a 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
3b4dac6ddd 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
d9d9f4c733 Build spidermonkey with utf-8 support 2009-09-16 14:49:07 +01:00
Max Howell
93b192046f 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
5fc51a6e1b 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