On Wed, Apr 04, 2012 at 07:11:55PM +0200, Landry Breuil wrote: > Hi, > > Here's a port for the last "official" release of spidermonkey : > https://developer.mozilla.org/en/SpiderMonkey - which was released upon > Ffx 4 codebase. > > This _not_ an upgrade to lang/spidermonkey (which, like > devel/xulrunner/1.9 is built from Ffx 3.6 tarball) - because the newer > ones don't work on sparc64 and probably other archs. lang/spidermonkey > currently builds fine on 8 archs, that new version probably targets only > the archs firefox supports (i386/amd64/ppc, builds on sparc64 but is > broken), but newer gnome stuff (gjs 1.32) requires that new spidermonkey > (see https://bugzilla.gnome.org/show_bug.cgi?id=664360). All that to say > both versions are needed... > > Note that a spidermonkey 1.8.7 release based on Ffx 10 ESR is planned, > see https://bugzilla.mozilla.org/show_bug.cgi?id=735599. The version > number matches Javascript language version, contrary to > lang/spidermonkeyfollowing mozilla's branch version... > > I know apache-couchdb could benefit from that new version, and it seems > newer mongodb versions will switch to v8 (per > https://jira.mongodb.org/browse/SERVER-2887). No idea for mediatomb. > > All that to say i'd like to import this new version as > devel/spidermonkey, and while here update lang/spidermonkey to build > from last Ffx 3.6 version. Special care was taken to ensure both could > be installed along and wont conflict (@option no-default-conflict + > @conflict, install headers in a versionned subdir, install versionned > binary...)
New version with a soname fix from ajacoutot@, -O3 also stripped from optimization flags. Note that ports wanting to use that version should use devel/spidermonkey>=1.8,<1.9 to ensure the correct version is picked. Landry > Index: Makefile > =================================================================== > RCS file: /cvs/ports/lang/spidermonkey/Makefile,v > retrieving revision 1.19 > diff -u -r1.19 Makefile > --- Makefile 16 Sep 2011 10:31:21 -0000 1.19 > +++ Makefile 4 Apr 2012 14:57:47 -0000 > @@ -4,14 +4,13 @@ > > COMMENT = Mozilla C implementation of JavaScript > > -MOZILLA_VERSION = 1.9.2.16 > -FFX_VERSION = 3.6.16 > +MOZILLA_VERSION = 1.9.2.28 > +FFX_VERSION = 3.6.28 > MOZILLA_BRANCH = 1.9.2 > MOZILLA_PROJECT = spidermonkey > DISTNAME = firefox-${FFX_VERSION}.source > PKGNAME = ${MOZILLA_PROJECT}-${MOZILLA_VERSION} > EPOCH = 0 > -REVISION = 2 > > SO_VERSION = 0.0 > SHARED_LIBS = mozjs ${SO_VERSION} > Index: distinfo > =================================================================== > RCS file: /cvs/ports/lang/spidermonkey/distinfo,v > retrieving revision 1.5 > diff -u -r1.5 distinfo > --- distinfo 10 Apr 2011 17:24:38 -0000 1.5 > +++ distinfo 4 Apr 2012 14:57:47 -0000 > @@ -1,5 +1,5 @@ > -MD5 (firefox-3.6.16.source.tar.bz2) = Iyo8AWDNHL49yqr35K5Rwg== > -RMD160 (firefox-3.6.16.source.tar.bz2) = /be0HyWluLpuscVnLsxmjJYrCvg= > -SHA1 (firefox-3.6.16.source.tar.bz2) = OBJFl0QLfWCqVore7yNllXWEHpI= > -SHA256 (firefox-3.6.16.source.tar.bz2) = > 4KVttDlIRTjXoRVjBLdCSajxEIviP7Sw3E+5R3euKcw= > -SIZE (firefox-3.6.16.source.tar.bz2) = 51492728 > +MD5 (firefox-3.6.28.source.tar.bz2) = F1/qBuGvfHaZLiOGXkRW6w== > +RMD160 (firefox-3.6.28.source.tar.bz2) = h8/Kjj8d8w4G7M/7+ZSCWQTu7bw= > +SHA1 (firefox-3.6.28.source.tar.bz2) = reqpvdNnh4xbUidm5oF5gXjjFXc= > +SHA256 (firefox-3.6.28.source.tar.bz2) = > psS8UglRlEKM87FzQbaKxHO3ZUmEAAxF0b4+rlXXgmA= > +SIZE (firefox-3.6.28.source.tar.bz2) = 51698958 > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/lang/spidermonkey/pkg/PLIST,v > retrieving revision 1.5 > diff -u -r1.5 PLIST > --- pkg/PLIST 11 Apr 2011 20:02:19 -0000 1.5 > +++ pkg/PLIST 4 Apr 2012 14:57:47 -0000 > @@ -1,4 +1,6 @@ > @comment $OpenBSD: PLIST,v 1.5 2011/04/11 20:02:19 jasper Exp $ > +@option no-default-conflict > +@conflict spidermonkey->=1.9.2 > %%jit%% > %%amd64%% > @bin bin/js
spidermonkey-1.8.5.tgz
Description: application/tar-gz