LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-03-2008, 06:39 AM   #1
donnied
Member
 
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:
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:
Code:
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 01:55 AM.

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