Me too.
I haven't compiled a browser in ages. Last one was chromium+-24.?? in slackware that ran well enough on Slacko.
Before that I was religiously (for want of a better term) building seamonkey in old spup-100 (remember that?) and early slacko versions - but soon got tired of it and just ended up using the Pat Volkerding built Firefox official Slackware packages - mainly because it was substantially smaller than Seamonkey.
Anyway, when FF moved to their new 'Australis' UI it grew substantially - as did SM - why(?) who knows? Anyway they are both near 40MB packages these days and that is just plain bullshit in my view. What new do you get? Nothing. 0. ( nada - zero - zilch).
Thankfully 666philb discovered palemoon, which has been described as what Mate as is to Gnome (somewhere on the LQ forum) is Palemoon as is to Firefox. (Yes it is Firefox based).
So.. it comes as a binary .. but is open source so I found the source and compiled it. Worked first go (with caveats).
---------------------------------------------------------------------------------------------------------
So I've sold you and you want to build it.
REQUIRED: devx, EDIT: gstreamer (at least for a build time dependency), lots of RAM (2GB min with 6GB swap); a six pack (EDIT: the "configure" out put actually instructs you to check the fridge for beer!) or a few cups of coffee.. it takes ages! (especially the linker - took 35 mins to link on a 3GHz Athlon X2; 4GB RAM, 2GB swap)
Here is a quick and dirty recipe.
- 1. get the source. 2. Fixup autoconf. If you dont have autoconf-2.13 then get it
Code: Select all
wget ftp://source:current@ftp.palemoon.org/palemoon-25.5.0-source.7z
. It installs to /usr/local/binCode: Select all
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz tar -xvzf autoconf-2.13.tar.gz cd autoconf-2.13/ ./configure --program-suffix=2.13 make make install
3. Extract the source4. add this DOTmozconfig (name it .mozconfig - see the preceding DOT?) into your palemoon-25.5.0 src dir.Code: Select all
mkdir palemoon-25.5.0 7z x -opalemoon-25.5.0 palemoon-25.5.0-source.7z
CAVEAT 0: No guarantees here! It may (read WILL) need tweaking and coz it takes ages to compile is a royal PITA. YMMV.- note0 @line2 (autoconf)Code: Select all
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj mk_add_options AUTOCONF=autoconf2.13 export MOZILLA_OFFICIAL=1 ac_add_options --enable-official-branding ac_add_options --prefix=/usr ac_add_options --libdir=/usr/lib ac_add_options --with-default-mozilla-five-home=/usr/lib/palemoon ac_add_options --with-system-zlib ac_add_options --enable-application=browser ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-startup-notification ac_add_options --enable-crypto ac_add_options --enable-svg ac_add_options --enable-canvas ac_add_options --enable-logging ac_add_options --enable-xft ac_add_options --enable-webm ac_add_options --enable-xinerama ac_add_options --enable-reorder ac_add_options --enable-strip ac_add_options --enable-cpp-rtti ac_add_options --enable-single-profile ac_add_options --disable-tests ac_add_options --disable-optimize ac_add_options --disable-gnomevfs ac_add_options --disable-ldap ac_add_options --disable-accessibility ac_add_options --disable-crashreporter ac_add_options --disable-debug ac_add_options --disable-pedantic ac_add_options --disable-installer ac_add_options --disable-mailnews ac_add_options --disable-composer ac_add_options --disable-pulseaudio ac_add_options --disable-profilesharing ac_add_options --disable-tests export LDFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
- note1 @last line is required for 32 bit builds (thx jamesbond)
5. This is goofy - run this -- permissions are screwed up in the archive, need to figure out a better way.Code: Select all
cd palemoon-25.5.0 chmod -R 777 .
EDIT: Nope.. seems that perms must be set executable and I'm not searching the sources for every bad exec so (a bit safer)Code: Select all
cd palemoon-25.5.0 chmod -R 755 .
If you are paranoid, disconnect from the net after you download the source.
6.7. READY!Code: Select all
mkdir obj
8. If it builds (it may or may not) then do thisCode: Select all
make -f client.mk build
9. You should now have palemoon-25.5.0.en-US.linux-x86_64.tar.bz2 in dist!Code: Select all
cd obj make package