Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: firefox-bin optimizations?
Date: Wed, 06 Oct 2010 03:29:34
Message-Id: 20101006032754.GA23672@waltdnes.org
In Reply to: [gentoo-user] Re: firefox-bin optimizations? by walt
1 On Tue, Oct 05, 2010 at 08:16:08AM -0700, walt wrote
2
3 > I'm confused about that xulrunner flag because I set it to 'browser' in
4 > my own firefox builds, and so do the binary builds from mozilla. Do you
5 > have the xulrunner USE flag set?
6
7 No. "emerge --info | grep xulrunner" doesn't find anything. I'll
8 have to modify that.
9
10 > > I have the "moznopango" flag set, which is supposed to speed things
11 > > up, but about:buildconfig indicates that pango is enabled.
12 >
13 > If you referring to a USE flag, I don't see it anywhere. Must be obsolete.
14
15 OK, I'll have to modify that. Wonder why the Gentoo ebuild maintainer
16 dropped it.
17
18 > > --disable-strip --disable-strip-libs --disable-install-strip
19 > > Why? I thought most packages stripped code after install.
20 >
21 > Do you have the 'debug' USE flag set?
22
23 No. "emerge --info | grep debug" doesn't find anything. I'll have to
24 modify that.
25
26 > > --enable-oji
27 >
28 > Open JVM Integration: it enables support for the java plugin named
29 > libjavaplugin_oji.so
30
31 Since I don't bother with Java, I may as well disable this.
32
33 Some additional spelunking in the ebuild file finds...
34 mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
35 mozconfig_annotate '' --enable-application=browser
36 mozconfig_annotate '' --disable-mailnews
37 mozconfig_annotate 'broken' --disable-crashreporter
38 mozconfig_annotate '' --enable-image-encoder=all
39 mozconfig_annotate '' --enable-canvas
40 mozconfig_annotate 'gtk' --enable-default-toolkit=cairo-gtk2
41 # Bug 60668: Galeon doesn't build without oji enabled, so enable it
42 # regardless of java setting.
43 mozconfig_annotate '' --enable-oji --enable-mathml
44 mozconfig_annotate 'places' --enable-storage --enable-places
45 mozconfig_annotate '' --enable-safe-browsing
46
47 # Build mozdevelop permately
48 mozconfig_annotate '' --enable-jsd --enable-xpctools
49
50 # System-wide install specs
51 mozconfig_annotate '' --disable-installer
52 mozconfig_annotate '' --disable-updater
53 mozconfig_annotate '' --disable-strip
54 mozconfig_annotate '' --disable-install-strip
55
56 # Use system libraries
57 mozconfig_annotate '' --enable-system-cairo
58 mozconfig_annotate '' --enable-system-hunspell
59 mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}" /usr
60 mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr
61 mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir)
62 mozconfig_annotate '' --with-system-bz2
63 mozconfig_annotate '' --with-system-libxul
64 mozconfig_annotate '' --with-libxul-sdk="${EPREFIX}"/usr/$(get_libdir)/xulrunner-devel-${MAJ_XUL_PV}
65
66 Looks like I can tweak stuff in the ebuild via "mozconfig_annotate"
67 lines, and then...
68
69 ebuild firefox-3.6.9.ebuild manifest
70 emerge firefox
71
72 Updating new ebuilds after each "emerge --sync" will be simpler than
73 maintaining firefox outside of portage via manual builds.
74
75 --
76 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-user] Re: firefox-bin optimizations? Walter Dnes <waltdnes@××××××××.org>