Ticket #830 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] improve 0ad ubuntu packages compression

Reported by: fabio Owned by:
Priority: Should Have Milestone: Alpha 5
Component: Core engine Keywords:
Cc:

Description (last modified by fabio) (diff)

Ubuntu packages are compressed with default (-6) lzma compression. Using -9 compression decrease a bit the package size for faster downloads.

Also using xz for compressing source packages.

Attachments

0ad.patch (687 bytes) - added by fabio 2 years ago.
0ad-data.patch (757 bytes) - added by fabio 2 years ago.

Change History

Changed 2 years ago by fabio

Changed 2 years ago by fabio

comment:1 Changed 2 years ago by fabio

  • Description modified (diff)
  • Summary changed from improve 0ad ubuntu packages compression to [PATCH] improve 0ad ubuntu packages compression

comment:2 follow-up: ↓ 3 Changed 2 years ago by ricotz

  • Status changed from new to closed
  • Resolution set to fixed

It hasnt much effect (like -1.5% for data package) but i added the compression flags anyway. Using xz-source-tarballs isnt that important for users and might not be supported by older debian/ubuntu versions.

comment:3 in reply to: ↑ 2 Changed 2 years ago by fabio

Replying to ricotz:

It hasnt much effect (like -1.5% for data package) but i added the compression flags anyway. Using xz-source-tarballs isnt that important for users and might not be supported by older debian/ubuntu versions.

It requires dpkg-dev >= 1.15.5 (according to dpkg-source and the changelog) which is available since Ubuntu 10.04 (lucid).

Note: See TracTickets for help on using tickets.