1 |
On 10/04/2010 10:49 PM, 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 |
Some of your questions are answered in file 'configure.in'. |
24 |
--enable-application=APP |
25 |
Options include: |
26 |
browser (Firefox) |
27 |
xulrunner |
28 |
|
29 |
I'm confused about that xulrunner flag because I set it to 'browser' in |
30 |
my own firefox builds, and so do the binary builds from mozilla. Do you |
31 |
have the xulrunner USE flag set? |
32 |
|
33 |
> --enable-pango |
34 |
> will Firefox run without this? I have the "moznopango" flag set, which |
35 |
> is supposed to speed things up, but about:buildconfig indicates that |
36 |
> pango is enabled. |
37 |
|
38 |
If you referring to a USE flag, I don't see it anywhere. Must be obsolete. |
39 |
|
40 |
> |
41 |
> --disable-strip --disable-strip-libs --disable-install-strip |
42 |
> Why? I thought most packages stripped code after install. |
43 |
|
44 |
Do you have the 'debug' USE flag set? |
45 |
|
46 |
> --enable-default-toolkit=cairo-gtk2 |
47 |
> will Firefox run without this? |
48 |
|
49 |
You need to pick either that one or cairo-qt if you are building on linux. |
50 |
|
51 |
> --enable-oji |
52 |
> will Firefox run without this? And what is "oji"? I can't find any |
53 |
> mention of what it does. |
54 |
|
55 |
Open JVM Integration: it enables support for the java plugin named |
56 |
libjavaplugin_oji.so |
57 |
|
58 |
> --enable-mathml |
59 |
> I don't really need it right now. |
60 |
|
61 |
Add "ac_add_options --disable-mathml" to your .mozconfig file. |
62 |
|
63 |
> --enable-storage |
64 |
> will Firefox run without this? The help says... |
65 |
> "Enable mozStorage module and related components". Can someone please |
66 |
> give a short explanation in plain English what this does? |
67 |
|
68 |
'storage' is the mozilla wrapper for SQLite, but configure.in doesn't |
69 |
eplain what that means. I don't see where '--disable-storage' is even |
70 |
defined, but you can always try it and see what happens. |
71 |
|
72 |
> --disable-ogg |
73 |
> One thing I might consider enabling. Is there a problem with Firefox's |
74 |
> ogg support, or any other reason to disable it? |
75 |
|
76 |
I notice that my own firefox builds do compile the code for ogg support, |
77 |
but I have no idea what it does or if it works correctly. |