Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129631 - Provide "Mozilla Static Build" option (USE mozstatic?)
Summary: Provide "Mozilla Static Build" option (USE mozstatic?)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Mozilla Gentoo Team
URL: http://www.mozilla.org/build/static-b...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 13:36 UTC by Daniel Mario Vega
Modified: 2006-04-11 15:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mario Vega 2006-04-11 13:36:57 UTC
Mozilla Static Builds are well documented and supported by Mozilla Organization:

http://www.mozilla.org/build/static-build.html

They are not like traditional static builds. The system libraries get still
linked dinamically. Only Mozilla internal components get statically linked to
the "*-bin" executable. This make sense, since those components are not shared
between aplications.

By using a static build you get a faster executable (start-time and runtime) and less memory usage.

Official Firefox releases by Mozilla.org are statically linked (see size of
*-bin executable and the missing shared libraries, or check
"about:buildconfig") (And I believe official Thunderbird releases also).

Mozilla.org thinks static builds are perfect for end users. Gentoo should provide this option also.

Since the meaning of "Mozilla Static Build" is not the same of a traditional
static built application (ie. system libraries still get linked dinamically) I
suggest we should create a new USE flag (mozstatic?)

To enable Mozilla Static Builds simply add to the configure script:

      --enable-static --disable-shared

---
This bug is a duplicate of bug 76948 , I'm creating a new one trying to provide extra arguments in favor of this option. Sorry for the dupe
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-11 13:40:03 UTC
Why don't you just use -bin then? Fail to see what's the advantage here.
Comment 2 Daniel Mario Vega 2006-04-11 13:56:14 UTC
For the same reasons Gentoo is a source distribution and not a binary one.

- To customize another options for your preference (eg. ipv6, gnome, xinerama, xprint, etc).
- To optimize for your hardware
- To use shared png,jpeg,zlib libraries instead of *-bin static ones
Comment 3 Jory A. Pratt 2006-04-11 15:14:24 UTC
When more testing is done, maybe until a much larger group of people request such a feature please use *-bin