public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: firefox-bin optimizations?
Date: Sat, 9 Oct 2010 18:53:04 +0300	[thread overview]
Message-ID: <AANLkTimSNSgp57=3N+Kjbjr2FNNAjXv4qJDQZPafvfGZ@mail.gmail.com> (raw)
In-Reply-To: <20101009051723.GB24696@waltdnes.org>

On 10/9/10, Walter Dnes <waltdnes@waltdnes.org> wrote:
> On Thu, Oct 07, 2010 at 12:03:19PM +0300, Arttu V. wrote
>
>> I think the eclass(es) might be messing up the config, e.g., by
>> force-feeding pango and some other settings.
>>
>> Could you try also copying the mozcoreconf-2.eclass to your local
>> overlay's eclass/ subdir, and edit it there to suite your taste?
>
>   I tried but no luck.  I think I'll try building manually and see what
> happens.

Sorry, I went after the wrong eclass. Apparently www-client/firefox
compiles just a shell of an application ("front-end", mostly written
in XUL and JS?) when the real stuff is in net-libs/xulrunner. And
xulrunner's ebuilds use mozconfig-3.eclass instead.

Another thing I noticed about mozilla's build system is that one
*must* remove the enabling from the eclass(es) due to the way
mozilla's configure checks for these settings. If you have both
--enable-pango and --disable-pango in .mozconfig then enable will
override. And since Gentoo moz* eclasses will automatically force
several enabling lines into .mozconfig, it's useless to add
--disable-foo later on (e.g., in the ebuild). The change has to be
made in the eclass(es).

Thus equipped, I copied both mozconfig-3.eclass and
mozcoreconf-2.eclass over to a local overlay, modified their hardcoded
--enable-pango statements into --disable-pango's, re-emerged both
packages (xulrunner, firefox), and now about:buildconfig shows among
other things:

<snip>
Configure arguments
--enable-application=xulrunner --enable-optimize --disable-installer
--disable-pedantic --enable-crypto --with-system-jpeg
--with-system-zlib --disable-updater --disable-pango --disable-svg
--enable-system-cairo --disable-strip --disable-strip-libs
--disable-install-strip
</snip>

There it is, --disable-pango. Unfortunately by now I have already
forgotten why I was even removing pango in the first place, so I think
I'll re-enable it. I'd rather see if there are some ricing
opportunities^W^Wcompiler optimization switches that can be toggled to
make this sluggish browser faster.

-- 
Arttu V. -- Running Gentoo is like running with scissors



  reply	other threads:[~2010-10-09 15:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 10:58 [gentoo-user] firefox-bin optimizations? Mark David Dumlao
2010-09-30 12:00 ` Johannes Kimmel
2010-09-30 12:30   ` Mark David Dumlao
2010-09-30 19:37     ` [gentoo-user] " walt
2010-09-30 20:36       ` Mark David Dumlao
2010-10-05  5:49       ` Walter Dnes
2010-10-05 13:12         ` Bill Longman
2010-10-05 15:16         ` walt
2010-10-06  3:27           ` Walter Dnes
2010-10-07  4:55             ` Walter Dnes
2010-10-07  7:52               ` William Kenworthy
2010-10-07  7:59                 ` William Kenworthy
2010-10-07  9:03               ` Arttu V.
2010-10-09  5:17                 ` Walter Dnes
2010-10-09 15:53                   ` Arttu V. [this message]
2010-10-12  3:19                     ` Walter Dnes
2010-10-14  4:12                     ` Walter Dnes
2010-10-14 14:21                       ` Paul Hartman
2010-10-09 15:54           ` Peter Weilbacher
2010-10-09 15:48         ` Peter Weilbacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimSNSgp57=3N+Kjbjr2FNNAjXv4qJDQZPafvfGZ@mail.gmail.com' \
    --to=arttuv69@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox