I use CVS and not Mercurial because I don't want to add to but rather only build the latest CSV versions.
First get the code:
Code:
mkdir cvs
cd cvs
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r HEAD mozilla/client.mk
You will need a .mozconfig file in your home directory which will handle all the configure options.
Code:
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --enable-application=browser
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-optimize
ac_add_options --enable-xft
ac_add_options --enable-libxul
Then to get the source code to build:
Code:
make -f client.mk checkout
Then you'll build
Code:
make -f client.mk build
And to create your .deb at this point you'll just:
Code:
checkinstall -D make install
Be sure to enter a version number and change anything you see fitting. Without a version number the build will fail.
Now you have a freshly compiled Firefox.
assuming you named the package Firefox, you'll remove it with:
This worked fine for me but I need to know how to get it to play nicely with Flash and how to add the search bar for Debian's repositories.