Develop
Upstream source and build techniques
Below just the most basic things you need for your daily work with mozilla upstream sources/builds. A good page with more detailed info can be found at [http://developer.mozilla.org/en/docs/Configuring_Build_Options]
Initial CVS checkout
checkout mozilla/client.mk from the branch you want to work on
# firefox trunk # cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -q -z 3 co mozilla/client.mk # firefox 2 # cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -q -z 3 co -r MOZILLA_1_8_BRANCH mozilla/client.mk # firefox 1.5 # cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -q -z 3 co -r MOZILLA_1_8_0_BRANCH mozilla/client.mk
checkout the project you are interested in
# cd mozilla/ # get firefox # make -f client.mk checkout MOZ_CO_PROJECT=browser # or get thunderbird # make -f client.mk checkout MOZ_CO_PROJECT=mail # or get xulrunner # make -f client.mk checkout MOZ_CO_PROJECT=xulrunner # or get sunbird/lightning # make -f client.mk checkout MOZ_CO_PROJECT=calendar # or get minimo # make -f client.mk checkout MOZ_CO_PROJECT=minimo
Pull latest changes from CVS
# cd mozilla/ # make -f client.mk checkout MOZ_CO_PROJECT=... (like what you initially checked out)
Doing a Debug Build
- extract upstream source or checkout from CVS
create .mozconfig file in top-level directory (mozilla/):
. $topsrcdir/browser/config/mozconfig ac_add_options --enable-debug ac_add_options --disable-optimize
build firefox
# make -f client.mk build
start your build
# cd dist/bin; ./firefox
Development Tools
Under Construction. Please add stuff if you know what you are doing.
MozillaTeam/Develop (last edited 2008-08-06 17:00:13 by localhost)