Bug#447727: iso-codes: Please consider bzip2'ing the .debs

2007-10-23 Thread Martin Pitt
Package: iso-codes
Severity: wishlist
Tags: patch

Hello,

since iso-codes contains a lot of text documents, it particularly
benefits from compressing the debs with bzip2. This saves download
bandwidth and space on CD. Trivial patch attached.

dpkg supports this feature since 1.10.24 [1] (i. e. since before
sarge).

Thanks,

Martin

[1] 
http://packages.debian.org/changelogs/pool/main/d/dpkg/current/changelog#versionversion1.10.24

-- 
Martin Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org
diff -pruN 1.0a-1/debian/changelog 1.0a-1ubuntu1/debian/changelog
--- 1.0a-1/debian/changelog	2007-10-18 16:49:04.0 +0100
+++ 1.0a-1ubuntu1/debian/changelog	2007-10-05 14:43:43.0 +0100
@@ -1,3 +1,9 @@
+iso-codes (1.0a-1ubuntu1) gutsy; urgency=low
+
+  * debian/rules: Use bzip2 compression for the .deb, saving 0.5 MB.
+
+ -- Martin Pitt [EMAIL PROTECTED]  Fri, 05 Oct 2007 11:19:10 +0200
+
 iso-codes (1.0a-1) unstable; urgency=low
 
   * Rebuild without auto-generated files to allow transition to testing
diff -pruN 1.0a-1/debian/control 1.0a-1ubuntu1/debian/control
--- 1.0a-1/debian/control	2007-10-18 16:49:04.0 +0100
+++ 1.0a-1ubuntu1/debian/control	2007-10-05 14:43:43.0 +0100
@@ -1,7 +1,8 @@
 Source: iso-codes
 Section: misc
 Priority: optional
-Maintainer: Alastair McKinstry [EMAIL PROTECTED]
+Maintainer: Ubuntu Core Developers [EMAIL PROTECTED]
+XSBC-Original-Maintainer: Alastair McKinstry [EMAIL PROTECTED]
 Uploaders: Tobias Toedter [EMAIL PROTECTED], Christian Perrier [EMAIL PROTECTED]
 Build-Depends: debhelper (= 5), gettext, python, python-xml
 Standards-Version: 3.7.2
diff -pruN 1.0a-1/debian/rules 1.0a-1ubuntu1/debian/rules
--- 1.0a-1/debian/rules	2007-10-18 16:49:04.0 +0100
+++ 1.0a-1ubuntu1/debian/rules	2007-10-05 14:43:43.0 +0100
@@ -54,7 +54,7 @@ binary-indep: build install
 	dh_gencontrol -- -fdebian/files~
 	dpkg-distaddfile $(FILENAME)  debian-installer optional
 	dh_md5sums -p iso-codes
-	dh_builddeb -p iso-codes
+	dh_builddeb -p iso-codes -- -Z bzip2
 	dh_builddeb --filename=$(FILENAME)
 
 binary: binary-indep binary-arch


signature.asc
Description: Digital signature


Bug#447727: iso-codes: Please consider bzip2'ing the .debs

2007-10-23 Thread Christian Perrier
Quoting Martin Pitt ([EMAIL PROTECTED]):
 Package: iso-codes
 Severity: wishlist
 Tags: patch
 
 Hello,
 
 since iso-codes contains a lot of text documents, it particularly
 benefits from compressing the debs with bzip2. This saves download
 bandwidth and space on CD. Trivial patch attached.
 
 dpkg supports this feature since 1.10.24 [1] (i. e. since before
 sarge).


I just proposed that last week-end when I saw the Ubuntu patch,
indeed..:-). I was waiting for co-maintainers comments but I don't
really see any harm that would be cause by your proposal.

Thanks, Martin, for contributing back to Debian. ;-)



signature.asc
Description: Digital signature


Bug#447727: iso-codes: Please consider bzip2'ing the .debs

2007-10-23 Thread Tobias Toedter
package iso-codes
tag 447727 pending
thanks

On Tue, 23 Oct 2007 14:31:27 +0200
Martin Pitt [EMAIL PROTECTED] wrote:

 Hello,
 
 since iso-codes contains a lot of text documents, it particularly
 benefits from compressing the debs with bzip2. This saves download
 bandwidth and space on CD. Trivial patch attached.

Hi Martin,

thanks for this patch, I've committed it to SVN. It'll be part of the
next release.

Regards,
Tobias

-- 
Tobias Toedter   | If God had really intended men to fly,
Hamburg, Germany | he'd make it easier to get to the airport.


signature.asc
Description: PGP signature