I have created an ebuild that will pull the CVS HEAD from Mozilla's repository and build Firefox with the newest source. All of the CVS is done through an eclass so it is easily ported to other Mozilla products. The Firefox ebuild also checks to see if mozbranding USE flag is enabled, and if not will install in a different SLOT than the default Firefox so you can have multiple versions. Attached is a Firefox ebuild, the Mozilla CVS eclass, and a patch for mozilla-launcher.eclass to allow for SLOT'd installs. Any comments, suggestions, or improvements would be appreciated.
Created attachment 104355 [details] New ebuild to build Firefox from CVS source
Created attachment 104356 [details] New eclass to pull source from Mozilla's CVS repository their way
Created attachment 104357 [details, diff] Patch to mozilla-launcher.eclass to support SLOT'd installs
Mozilla stuff takes enough time and effort to maintain as it is; so thanks but this is not getting into the official tree. Some overlays might accept it, try there. http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#doc_chap2
Okay, I didn't expect it to get into the official tree, I just put it here as a reference, so people can find it.
Created attachment 104365 [details] mozilla-firefox-3.0_alpha1.ebuild Here is the non-cvs ebuild for firefox 3
Created attachment 104374 [details] mozilla-firefox/mozilla-firefox-9999.ebuild Sorry about that, this ebuild doesn't correctly handle SLOT when not using mozbranding. Fixed here.
Created attachment 104375 [details, diff] mozilla-launcher.eclass.patch Sorry, fixed a typo.
Ugh, no X86 support? Only AMD64?????
(In reply to comment #9) > Ugh, no X86 support? Only AMD64????? > Add the ~x86 keyword. I didn't because I don't have an x86 box to test on.