* First, I recommend at least a dual-core cpu system to compile Firefox.
I was successfull in compiling Firefox in dpup exprimo, which has gcc version 4.4.5-8
In older pups, you may need to upgrade your version of gcc compiler for it to work.
Type: "gcc -v" in the console to find out what version you have. ( Of course, make sure you have the devx.sfs loaded first )
You can get the Firefox source from -> http://releases.mozilla.org/pub/mozilla ... .0/source/
* get the firefox-12.0.source.tar.bz2 file (75MB)
1) Copy the source to a linux partition and extract with the following terminal command:
Code: Select all
tar xvfj firefox-12*.bz2
Code: Select all
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-dbus --disable-libnotify --enable-official-branding --enable-shared --disable-static --disable-debug --disable-crashreporter --disable-tests --disable-xinerama --disable-gnomevfs --disable-gnomeui --enable-safe-browsing --disable-accessibility --disable-logging --enable-strip --disable-necko-wifi --enable-application=browser --disable-webm --disable-libjpeg-turbo --disable-updater
Code: Select all
make -is
Code: Select all
make install DESTDIR=/tmp/firefox-12.0
5)
- Trim uneeded files/folders in /tmp/firefox-12.0
- then create a .desktop entry
- lastly, use "dir2pet" to package Firefox.
I am not going to teach you how to create a pet. If you don't know how, please see the pet packaging tutorial thread, by technosaurus:
http://www.murga-linux.com/puppy/viewtopic.php?t=35507
EXTRA OPTIONS
- if you want it to auto-update; remove the --disable-updater option
- if you have yasm installed, you can remove the --disable-webm --disable-libjpeg-turbo options
* I should add, you are supposed to get permission for the enable-official-branding option, so you may wish to leave that out if you are intending to share your pet with the public
for options to optimize Firefox for your specific cpu, see Playdayz thread:
http://www.murga-linux.com/puppy/viewto ... 822#521822
-