Closed Bug 316548 Opened 20 years ago Closed 20 years ago

Use bzip2 compression for linux installers

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kairo, Assigned: kairo)

Details

Attachments

(1 file, 1 obsolete file)

From bug 297914 comment #14: "I note installer builds are still tar.gz. It would be nice to move those over to bz2." From what I see, Linux installers are generated by toolkit/mozapps/installer/unix/install_sub.pl (toolkit) and xpinstall/packager/unix/deliver*.pl (SeaMonkey). I haven't figured out yet how to detect gtk2 there, so that we can selectively switch to bzip2 for that...
Summary: Use BZ2 packaging for gtk2 installers → Use bzip2 packaging for gtk2 installers
Thinking a bit more about this stuff (and about how I might be able to test against gtk2 from perl), I think switching all linux installers over to bzip2 will be the best way. People on really old systems with gtk1 and no bzip2 can use the normal tarballs that are still .gz anyways - and I guess most of them do that. And bzip2 has been shipped with all interesting Linux distros for ages now.
Summary: Use bzip2 packaging for gtk2 installers → Use bzip2 compression for linux installers
Attached patch switch Linux installers to bzip2 (obsolete) — Splinter Review
This patch should switch both toolkit and SeaMonkey Linux installers to bzip2, I believe :) BTW, current tinderbox code should already be able to deal with this, as we already patched it for bug 297914 - though gtk1 release boxen (are there any bsides comet?) might not have this yet.
Attachment #203137 - Flags: superreview?(benjamin)
Attachment #203137 - Flags: review?(chase)
OK, I just tested making installers in my local trees with the patch, and while SeaMonkey performs correctly, I saw the filename of firefox installer was still wrong, though the format was correct. One further small change to that one line is needed to do it really correctly. This is fixed in this second patch :) To make it short, this patch is tested to work correctly (create correctly named and compressed installer files) on both SeaMonkey and Firefox trunk.
Attachment #203137 - Attachment is obsolete: true
Attachment #203208 - Flags: superreview?(benjamin)
Attachment #203208 - Flags: review?(chase)
Attachment #203137 - Flags: superreview?(benjamin)
Attachment #203137 - Flags: review?(chase)
Attachment #203208 - Flags: superreview?(benjamin) → superreview+
Attachment #203208 - Flags: review?(chase) → review+
checked into trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Is there a gain in compression?
(In reply to comment #5) > Is there a gain in compression? Usually there should be, and we saw good gain for normal packages in bug 297914 - surprisingly, I see no difference at the moment for installers...
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: