1
edit
Changes
→fuelApplication.js
== Introduction ==
== The People ==
* [[User:Samer.Ziadeh|Samer Ziadeh]]
== Project LeaderTODO ==* At the moment FUEL is manually added to the build (ssee below). It will be much easier if the build script did it for us :) ==
== Project Contributor(s) Build Instructions ==We need to create a directory to throw the mozilla source in.<pre>mkdir mozilla-1.8-branchcd mozilla-1.8-branch</pre>
Now we need to create the ''.mozconfig'' file.It contains parameters for ''client.mk'' on how to checkout and build.The last ''ac_add_options'' line is not needed for non Mac machines.<pre>cd mozillacat > .mozconfig << MOZCONFIG# Options for client.mk.mk_add_options MOZ_CO_PROJECT=browsermk_add_options MOZ_OBJDIR= Project Details @TOPSRCDIR@/objdirmk_add_options MOZ_MAKE_FLAGS="-s -j4" # Options for 'configure' (same as command-line options).ac_add_options --enable-application=browserac_add_options --enable-debugac_add_options --enable-testsac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdkMOZCONFIG</pre> After creating the MozConfig file we can begin downloading the source. <small>(around 220mb)</small><pre>make -f client.mk checkout</pre> Now we can start building firefox.<pre>make -f client.mk build</pre>When finished the firefox executable is found in the following directories* xp/*nix: mozilla/dist/bin/firefox* mac: mozilla/dist/bin/Something.app/Contents/MacOs/firefox To download FUEL navigate to ''../mozilla''<pre>cd ..cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/browser/fuel</pre> Now that we have acquired the fuel source we need to modify the ''browser/Makefile.in'' to let the build know about the addition<pre>cd mozilla/browservi Makefile.in</pre>* Go to the line starting with DIRS* Append fuel to the end of it<pre>DIRS = base components locales extensions themes app fuel</pre> The build script doesn't generate the fuel part automatically, which is why fuel is fetched after the build is done.The following steps will force the generation of the makefiles manually, and then rebuild fuel and app<pre>cd ../objdir../build/autoconf/make-makefiles browser/fuelmake -C browser/fuelmake -C browser/app</pre>
== Project News Links ==
* [http://samermozilla.blogspot.com/ Samer's Blog]* [http://quality.mozilla.org/en/node/452 How To Build a Mozilla Tree]* [http://wiki.mozilla.org/FUEL FUEL]* [http://developer.mozilla.org/en/docs/FUEL FUEL docs]* [https://bugzilla.mozilla.org/show_bug.cgi?id=390335 bug #390335]* [http://mxr.mozilla.org/seamonkey/find?string=fuel%2Ftest%2Fbrowser_&tree=seamonkey FUEL JS Test Files]