Closed
Bug 305963
Opened 19 years ago
Closed 19 years ago
1.8 Branch Binary Bits Are Too Big
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird1.1
People
(Reporter: mscott, Assigned: mscott)
Details
The release machine for windows branch builds is generating a thunderbird.exe that is 300k bigger than the trunk. I went back in time to the day we branched and found that when both the trunk and the branch were the same bits, that the release machine for the branch was still making a binary that was 300K larger than it should be.
Assignee | ||
Comment 2•19 years ago
|
||
I started comparing the individual library sizes for each library generated by the two builds in dist\bin\lib. I discovered that gklayout.lib was the trouble maker. It turns out the branch is building some gecko extension called MATHML which is adding the bloat...
Assignee | ||
Comment 3•19 years ago
|
||
--disable-mathml is still set in mail\config\mozconfig for the branch, it must be getting defined somewhere in the build scripts by accident. And my own private 1.5 builds don't build mathml, so it must be getting defined by accident by something in the branch build scripts.
Comment 4•19 years ago
|
||
Is MathML part of our web experience or not? I hate to see it disabled in Thunderbird but enabled in a complementary Firefox at such little price (probably a lot less than 300k when 7zipped).
Assignee | ||
Comment 5•19 years ago
|
||
Chase tracked down the problem area. The tinderbox machine on the trunk sources mail\config\mozconfig in its default mozconfig file: . $topsrcdir/mail/config/mozconfig ac_add_options --enable-update-channel=nightly etc.etc. This source line is commented out on the branch build mozconfig to try to optimize the build scripts so the branch didn't have to check out mail\config\mozconfig before building. # . $topsrcdir/mail/config/mozconfig ac_add_options --enable-update-channel=nightly etc. etc. This is why the branch build is missing a lot of our Thunderbird build options, most notably causing us to start building unwanted mathml stuff!
Comment 6•19 years ago
|
||
Thunderbird can fetch web content, and the Gecko rv: in its user agent will match other products from the same aviary or Mozilla milestone branch, so it should not start throwing out Gecko features. What's the real objection here, download size (which as bsmedberg suggests is a lot less than 300k with compression) or inflated code size? /be
Comment 7•19 years ago
|
||
(In reply to comment #5) > This is why the branch build is missing a lot of our Thunderbird build options, > most notably causing us to start building unwanted mathml stuff! So I didn't read mscott's comment after responding to bsmedberg's. Here's my thing: we want the rv: 1.8 substring in the comment in the user-agent to mean a certain set of web features. If Thunderbird's UA is distinct enough, then I'm happy. If we believe its rv: should differ from Firefox's on account of SVG and MathML being disabled in Thunderbird, then how would we distinguish rv: best? /be
Assignee | ||
Comment 8•19 years ago
|
||
I fixed the build machine so tomorrow's bits should be back to being the same size as the trunk builds. I'll close this out but we should still think about Brendan's comments about the user agent rv.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•19 years ago
|
||
I created Bug 306128 for the user agent discussion.
You need to log in
before you can comment on or make changes to this bug.
Description
•