Closed Bug 239041 Opened 20 years ago Closed 20 years ago

RFE: Make tar.bz2 the default packager format on Solaris

Categories

(SeaMonkey :: Build Config, enhancement)

Sun
Solaris
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7final

People

(Reporter: roland.mainz, Assigned: roland.mainz)

Details

Attachments

(1 file)

RFE: Make tar.bz2 the default packager format on Solaris to save lots of bytes
in the resulting distributions archive.

Some stats from FireFox (nightly build):
bytes    | filename
---------+------------------------------------------
16543672 | firefox-sparc-sun-solaris2.8.tar.bz2
20209054 | firefox-sparc-sun-solaris2.8.tar.gz
  940101 | gecko-sdk-sparc-sun-solaris2.8.tar.bz2
 1226379 | gecko-sdk-sparc-sun-solaris2.8.tar.gz

It seems that using bzip2 instead of gzip saves nearly 4MB in the resulting
binary tarball.
Assignee: nobody → roland.mainz
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.7final
Comment on attachment 145007 [details] [diff] [review]
Patch for 2004-03-27-trunk

Requesting r= ...

Note that Solaris shipps with bzip2 tools since Solaris 2.7 so there are no
problems for people to unpack the binaty builds on the affected platforms.
Attachment #145007 - Flags: review?(petez.bugzilla)
Comment on attachment 145007 [details] [diff] [review]
Patch for 2004-03-27-trunk

r=pete
Attachment #145007 - Flags: review?(petez.bugzilla) → review+
Attachment #145007 - Flags: superreview?(bryner)
Comment on attachment 145007 [details] [diff] [review]
Patch for 2004-03-27-trunk

Over to leaf per IRC comments.
Attachment #145007 - Flags: superreview?(bryner) → superreview?(leaf)
Comment on attachment 145007 [details] [diff] [review]
Patch for 2004-03-27-trunk

is bzip2 installed on most solaris installations?
Attachment #145007 - Flags: superreview?(leaf) → superreview+
Daniel (Leaf) Nunes wrote:
> (From update of attachment 145007 [details] [diff] [review])
> is bzip2 installed on most solaris installations?

Solaris >= 2.8 ships with bzip2/bunzip by default, for Solaris 2.7 it was added
after the FCS (First Customer Shipping, e.g. the first version available to the
public) release, the matching feature patch is part of the Recommonded&Security
patch cluster, see
http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xos-7&nav=pub-patches
(patch id is 111666-01 ; the patch was first released in 2001 and should now be
available on all Solaris 2.7 installations. If not they likely miss a bunch of
other patches required by Mozilla, too (that's why we have the patch checker now
:)) ...
Comment on attachment 145007 [details] [diff] [review]
Patch for 2004-03-27-trunk

Requesting a= for Mozilla1.7final... the patch just changes the default
packager format, people can always fall back to tar.gz via
% cd xpinstall/packager
% gmake MOZILLA_BIN=../../dist/bin/mozilla-bin MOZ_PKG_APPNAME=mozilla
MOZ_PKG_FORMAT=TGZ
Attachment #145007 - Flags: approval1.7?
pkw:
What about doing the same for AIX ? :)
Comment on attachment 145007 [details] [diff] [review]
Patch for 2004-03-27-trunk

a=chofmann for 1.7
Attachment #145007 - Flags: approval1.7? → approval1.7+
I just checked in Roland's patch per his request on IRC:

Checking in xpinstall/packager/Makefile.in;
/cvsroot/mozilla/xpinstall/packager/Makefile.in,v  <--  Makefile.in
new revision: 1.49; previous revision: 1.48
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: