Hey all,
we've been working on a branch that would remove the SpiderMonkey
sources from the CouchDB repository, so that we could instead treat
SpiderMonkey as a normal external library dependency.
See <http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thread/e3dd995b4a6fbed9/1c9b1653cfe91c2b
> for some background.
So what we've done on the "couchjs" branch is to add a simple C
wrapper around the SpiderMonkey lib (src/CouchDB/couch_js.c) that
implements only those parts of the JS shell that we actually need for
the view server, with the minor modifications we need. And of course
the build system was adjusted so that SpiderMonkey is detected as an
external dependency.
The branch has now come so far along that it "worksforme", so I'd like
to ask anyone who's interested to check out the branch, do the build
and run some tests, and report back problems (or, hopefully at least
in some cases, the absence of problems ;).
Thanks,
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/