Changes

Jump to: navigation, search

Building Firefox 1.5

1,315 bytes added, 02:44, 14 October 2006
Pulling From CVS
=== Pulling From CVS ===
 
* Now the easy part begins. In order to pull from the CVS repository, you have to specify the right type of branch to pull, this is done by the following command.
<pre>
C:\proj>cvs -d :pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_0_BRANCH mozilla/client.mk
</pre>
* We are going to pull the 1.8.0 branch because thats the branch that corresponds with the Firefox 1.5 build.
* This creates a mozilla directory with a cile called client.mk inside it. this file is a make file script that defines what to pull and how.
* To pull the source from the CVS, just use this command.
<pre>
C:\proj>cd mozilla
C:\proj\mozilla>make -f client.mk checkout
</pre>
* Once its done, we need to make a file called mozconfig that will specify the parts of the system that will be built. Put the following code inside this file using notepad or similar text processor. This file does not have an extension and is plainly called mozconfig.
<pre>
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/hopefullyWorked.firefox.optimized
ac_add_options --enable-application=browser
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --disable-installer
</pre>
* Next, all we have to do is Build!!
=== Building ===
1
edit

Navigation menu