- Grab MozillaFirefox 3.0.x and mozilla-xulrunner 1.9.0.x packages, and extract their contents to directory MozillaFirefox and mozilla-xulrunner190.
- Use quilt to apply patches to mozilla-xulrunner190:
- use quilt -v setup mozilla-xulrunner190.spec to setup the xulrunner 1.9.0 source tree.
- change directory to mozilla-xulrunner190/mozilla, using quilt push -a, to apply all xulrunner 1.9.0 patches.
- use quilt import to import all patches in MozillaFirefox packages, as we put Firefox patches in two seperate packages containing different patches.
- use quilt -v setup mozilla-xulrunner190.spec to setup the xulrunner 1.9.0 source tree.
- Put a mozconfig in directory mozilla-xulrunner190/mozilla, contains the following informations:
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-debug
ac_add_options --enable-debug
ac_add_options --disable-optimize - Type the command "make -f client.mk build" in directory mozilla-xulrunner190/mozilla.
- Wait for compiling finished, go to directory objdir-ff-debug/dist/bin, using "./firefox" to run the built Firefox 3.0.
Monday, July 06, 2009
How to prepare a Mozilla Building and Debuging Environment.
The following information is about Firefox 3.0 and mozilla-xulrunner 1.9.0 on SUSE Linux. Please following the steps below:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment