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:50:16
Message-Id: i8q2t3$81m$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: firefox-bin optimizations? by Walter Dnes
1 On 05.10.2010 07:49, Walter Dnes wrote:
2 > On Thu, Sep 30, 2010 at 12:37:10PM -0700, walt wrote
3 >> On 09/30/2010 05:30 AM, Mark David Dumlao wrote:
4 >>> On Thu, Sep 30, 2010 at 8:00 PM, Johannes Kimmel<johannes.kimmel@×××.de> wrote:
5 >>>> On 09/30/2010 12:58 PM, Mark David Dumlao wrote:
6 >>>>>
7 >>>>> Heya,
8 >>>>> I noticed that my firefox-bin is a lot smaller in memory footprint
9 >>>>> compared to ordinary gentoo-compiled firefox.
10 >>>>>
11 >>>>> Does anyone know what compiler flags upstream applies to their
12 >>>>> firefox?
13 >>
14 >> Try entering about:buildconfig in the URL bar.
15 >
16 > I tried it, and for good measure, did some spelunking in the
17 > .configure file in the firefox tarball. I have some questions, before
18 > possibly tweaking the Firefox ebuild and/or .configure on my machine...
19 >
20 > --enable-application=xulrunner
21 > will Firefox run without this?
22 >
23 > --enable-pango
24 > will Firefox run without this? I have the "moznopango" flag set, which
25 > is supposed to speed things up, but about:buildconfig indicates that
26 > pango is enabled.
27 >
28 > --disable-strip --disable-strip-libs --disable-install-strip
29 > Why? I thought most packages stripped code after install.
30 >
31 > --enable-default-toolkit=cairo-gtk2
32 > will Firefox run without this?
33 >
34 > --enable-oji
35 > will Firefox run without this? And what is "oji"? I can't find any
36 > mention of what it does.
37 >
38 > --enable-mathml
39 > I don't really need it right now.
40 >
41 > --enable-storage
42 > will Firefox run without this? The help says...
43 > "Enable mozStorage module and related components". Can someone please
44 > give a short explanation in plain English what this does?
45 >
46 > --disable-ogg
47 > One thing I might consider enabling. Is there a problem with Firefox's
48 > ogg support, or any other reason to disable it?
49
50 And you see all those options listed in firefox-bin buildconfig? Then this
51 is surely not the Firefox built by upstream (mozilla.com). They would only
52 use a minimal set of build options not all the rubbish (most of which is
53 currently ignored or just obsolete) that the Gentoo non-bin ebuilds set.
54 Peter.