Building Firefox with JSSH
2006-07-18 – these instructions are slightly out-of-date. Look for an update soon.
Here’s how I built Firefox with jssh, on my mac.
First, I set up my build environment. I relied heavily on the info on the Build Docs page.
Next, I checked out the Firefox 1.5 source using anonymous cvs access. I think downloading the source tarball would work, too.
Then, I checked out the jssh source using the command:
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot up \
-r ZAP_20050610_BRANCH mozilla/extensions/jssh
I set up my .mozconfig file as follows:
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_CO_PROJECT=browser,mail,xulrunner
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/fx-jssh
ac_add_options --enable-extensions=default,jssh,webservices
and built the code:
cd mozilla; make -f client.mk build
And it worked.
I start Firefox 1.5+jssh with the command:
export MOZ_NO_REMOTE=1
mozilla/fx-jssh/dist/DeerPark.app/Contents/MacOS/firefox -jssh