Gentoo Archives: gentoo-user

From: Peter Weilbacher <newsspam@××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: firefox-bin optimizations?
Date: Sat, 09 Oct 2010 15:54:59
Message-Id: i8q37a$beh$1@dough.gmane.org
In Reply to: [gentoo-user] Re: firefox-bin optimizations? by walt
1 On 05.10.2010 17:16, walt wrote:
2 >
3 >> --enable-default-toolkit=cairo-gtk2
4 >> will Firefox run without this?
5
6 Yes, it will. cairo-gtk2 is the default (last I looked).
7
8 > You need to pick either that one or cairo-qt if you are building on linux.
9 >
10 >> --enable-oji
11 >> will Firefox run without this? And what is "oji"? I can't find any
12 >> mention of what it does.
13 >
14 > Open JVM Integration: it enables support for the java plugin named
15 > libjavaplugin_oji.so
16
17 But that will only work until FF 3.5.x. 3.6 has OJI support removed.
18 And as all up-to-date Java plugins without security problems on Linux
19 are not OJI, you will want to not set this one.
20
21 >> --enable-mathml
22 >> I don't really need it right now.
23 >
24 > Add "ac_add_options --disable-mathml" to your .mozconfig file.
25
26 Don't bother, or does it matter if you save 15 kB in the binaries? Nothing
27 will run faster if you disable it.
28
29 >> --enable-storage
30 >> will Firefox run without this? The help says...
31 >> "Enable mozStorage module and related components". Can someone please
32 >> give a short explanation in plain English what this does?
33 >
34 > 'storage' is the mozilla wrapper for SQLite, but configure.in doesn't
35 > eplain what that means. I don't see where '--disable-storage' is even
36 > defined, but you can always try it and see what happens.
37
38 This is the default, and I think one cannot disable it any more. SQLite
39 is an integral part of Firefox by now. The flag above is probably ignored.
40
41 >> --disable-ogg
42 >> One thing I might consider enabling. Is there a problem with Firefox's
43 >> ogg support, or any other reason to disable it?
44 >
45 > I notice that my own firefox builds do compile the code for ogg support,
46 > but I have no idea what it does or if it works correctly.
47
48 Use --disable-ogg is you don't want HTML5-like Ogg-Theora movies in
49 webpages.
50
51 Peter.