On 10/04/2010 10:49 PM, Walter Dnes wrote:
On Thu, Sep 30, 2010 at 12:37:10PM -0700, walt wrote
On 09/30/2010 05:30 AM, Mark David Dumlao wrote:
On Thu, Sep 30, 2010 at 8:00 PM, Johannes Kimmel<johannes.kim...@gmx.de>
wrote:
On 09/30/2010 12:58 PM, Mark David Dumlao wrote:
Heya,
I noticed that my firefox-bin is a lot smaller in memory footprint
compared to ordinary gentoo-compiled firefox.
Does anyone know what compiler flags upstream applies to their
firefox?
Try entering about:buildconfig in the URL bar.
I tried it, and for good measure, did some spelunking in the
.configure file in the firefox tarball. I have some questions, before
possibly tweaking the Firefox ebuild and/or .configure on my machine...
--enable-application=xulrunner
will Firefox run without this?
Some of your questions are answered in file 'configure.in'.
--enable-application=APP
Options include:
browser (Firefox)
xulrunner
I'm confused about that xulrunner flag because I set it to 'browser' in
my own firefox builds, and so do the binary builds from mozilla. Do you
have the xulrunner USE flag set?
--enable-pango
will Firefox run without this? I have the "moznopango" flag set, which
is supposed to speed things up, but about:buildconfig indicates that
pango is enabled.
If you referring to a USE flag, I don't see it anywhere. Must be obsolete.
--disable-strip --disable-strip-libs --disable-install-strip
Why? I thought most packages stripped code after install.
Do you have the 'debug' USE flag set?
--enable-default-toolkit=cairo-gtk2
will Firefox run without this?
You need to pick either that one or cairo-qt if you are building on linux.
--enable-oji
will Firefox run without this? And what is "oji"? I can't find any
mention of what it does.
Open JVM Integration: it enables support for the java plugin named
libjavaplugin_oji.so
--enable-mathml
I don't really need it right now.
Add "ac_add_options --disable-mathml" to your .mozconfig file.
--enable-storage
will Firefox run without this? The help says...
"Enable mozStorage module and related components". Can someone please
give a short explanation in plain English what this does?
'storage' is the mozilla wrapper for SQLite, but configure.in doesn't
eplain what that means. I don't see where '--disable-storage' is even
defined, but you can always try it and see what happens.
--disable-ogg
One thing I might consider enabling. Is there a problem with Firefox's
ogg support, or any other reason to disable it?
I notice that my own firefox builds do compile the code for ogg support,
but I have no idea what it does or if it works correctly.