Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-03-2008, 06:39 AM   #1
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Rep: Reputation: 30
How to build a .deb of the Firefox CVS trunk

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:
mkdir cvs 
cd cvs
cvs -d co -r HEAD mozilla/
You will need a .mozconfig file in your home directory which will handle all the configure options.
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:
make -f checkout
Then you'll build
make -f build
And to create your .deb at this point you'll just:
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:
dpkg -r firefox
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.

Last edited by donnied; 11-03-2008 at 06:33 PM.


build, cvs, debian, firefox

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
build a debian package deb from tar.bz2 cccc Debian 6 09-17-2009 03:44 PM
etch: will ATIs fglrx* .deb pkgs still build if I upgrade kernel? HowDoIProgramIt Debian 9 08-06-2007 10:59 AM
Possible to build deb package from source files? davidas Debian 9 12-09-2006 06:27 PM
LIRC on 2.6.8 with CVS build bigbeav Linux - Hardware 0 08-26-2004 08:42 PM
Problem with CVS build RecoilUK Linux From Scratch 1 06-24-2002 12:11 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration