SliTaz SliTaz Forum

You are not logged in.

#1 2012-04-16 00:27:12

namT
Member
Registered: 2011-10-25
Posts: 27

Compiling Firefox

Hello, I was wondering who compiled Firefox-10.02 for Slitaz.

I was also wondering if I could get the .configure options for it so that I can try to compile Firefox-11.

Or maybe someone could advise me if the following .configure options look sane for Slitaz:

./configure --prefix=/usr --disable-webm --disable-dbus --disable-libnotify --enable-official-branding --enable-shared --disable-static --disable-debug --disable-crashreporter --disable-updater --disable-tests --disable-xinerama --disable-gnomevfs --disable-gnomeui --enable-safe-browsing --disable-accessibility --disable-logging --enable-strip --disable-necko-wifi --enable-application=browser --disable-libjpeg-turbo

Offline

#2 2012-04-16 01:21:25

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Compiling Firefox

Just use the Firefox package @ http://www.trixarian.net/SliTaz - yes I know it's a Firefox 4 package, but it can do what the default package can't which is upgrade itself to the latest version. No compiling required.

Offline

#3 2012-04-16 01:30:36

namT
Member
Registered: 2011-10-25
Posts: 27

Re: Compiling Firefox

Thank You, Trixar

But my intention is more than just to get the latest version. I want to try to compile it with less options than the standard Firefox, to see if I can get increased stability and/or speed out of it.

I haven't compiled anything in Slitaz yet, so perhaps you could help me with this question:

To compile, I need to install some development files with the following commands, correct?

tazpkg get-install slitaz-toolchain

tazpkg get-install ncurses-dev

tazpkg get-install perl

Are there other development files that I should install as well?

Offline

#4 2012-04-16 12:06:52

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Compiling Firefox

Add [c]tazpkg get-install slitaz-dev-pkgs[/c] to that list - actually you can remove ncurses-dev because slitaz-dev-pkgs should pull it too.

You would have had better luck with Midori though - Part of the reason Firefox runs so heavily is because part of it is written in Java and it uses an optimized and stripped down JavaVM to run those parts.

Offline

#5 2012-04-16 14:30:13

namT
Member
Registered: 2011-10-25
Posts: 27

Re: Compiling Firefox

Trixar_za,

Thanks for the info. I tried compiling Firefox in Puppy on a old  Pentium4 with 512MB ram and I found the computer locked up several hours into the "make" process.

I will let Firefox compile overnight (in Slitaz) on my Athlon X2 5200+ dual-core and see what happens.

Midori is great for casual surfing but nothing beats Firefox's selection of addon tools.

Offline

#6 2012-04-16 14:50:43

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Compiling Firefox

I used to think the same until I was force to use Midori for a while recently - It's a pretty good minimal solution and even comes with adblock plugin. Just a shame about the bookmark bug though

Offline

#7 2012-04-17 01:31:38

namT
Member
Registered: 2011-10-25
Posts: 27

Re: Compiling Firefox

I ended up installing the following packages:

slitaz-toolchain

perl

slitaz-dev-pkgs

dbus-glib

dbus-dev

dbus-glib-dev

alsa-lib-dev

mesa-dev

tar

zlib

xz

I compiled Firefox with almost the same options as in the first post, but I decided to enable dbus and  the updater. All seems to be working, but I don't notice any difference in speed...well at least it works. Now I need to figure out how to package it. smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]