From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P3A1k-0007MR-M4 for garchives@archives.gentoo.org; Tue, 05 Oct 2010 16:06:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D36F8E082F for ; Tue, 5 Oct 2010 16:05:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 80E5AE087F for ; Tue, 5 Oct 2010 15:16:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2932A1B426B for ; Tue, 5 Oct 2010 15:16:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.902 X-Spam-Level: X-Spam-Status: No, score=-2.902 required=5.5 tests=[AWL=-0.303, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MssX4OubIOsa for ; Tue, 5 Oct 2010 15:16:32 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 3C1341B4246 for ; Tue, 5 Oct 2010 15:16:30 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P39Fk-0006A3-An for gentoo-user@gentoo.org; Tue, 05 Oct 2010 17:16:28 +0200 Received: from adsl-69-234-214-85.dsl.irvnca.pacbell.net ([69.234.214.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Oct 2010 17:16:28 +0200 Received: from w41ter by adsl-69-234-214-85.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Oct 2010 17:16:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: firefox-bin optimizations? Date: Tue, 05 Oct 2010 08:16:08 -0700 Message-ID: References: <4CA47BEE.8050906@gmx.de> <20101005054908.GA22391@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-214-85.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b7pre) Gecko/20101001 Thunderbird/3.3a1pre In-Reply-To: <20101005054908.GA22391@waltdnes.org> X-Archives-Salt: b16bd20d-cf09-41e8-b202-9b87fef05bbc X-Archives-Hash: a552df45e1b038d8319e7542cea7d67d 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 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.