Package: vim
Version: 2:7.3.547-4
Severity: important
Tags: d-i patch

Hello,

while trying to figure out which packages could benefit from switching
to xz, vim-runtime appeared. Looking at the packages on CD1, the sizes
for switching everyone to xz would be:

972K    vim_7.3.547-4_amd64.deb
824K    vim_7.3.547-4.1_amd64.deb
164K    vim-common_7.3.547-4_amd64.deb
160K    vim-common_7.3.547-4.1_amd64.deb
6.1M    vim-runtime_7.3.547-4_all.deb
4.4M    vim-runtime_7.3.547-4.1_all.deb
404K    vim-tiny_7.3.547-4_amd64.deb
348K    vim-tiny_7.3.547-4.1_amd64.deb

(vim-runtime is already bzip2-compressed, but xz is much better.)

Thanks for considering.

Mraw,
KiBi.
diff -Nru vim-7.3.547/debian/changelog vim-7.3.547/debian/changelog
--- vim-7.3.547/debian/changelog	2012-07-24 04:55:58.000000000 +0200
+++ vim-7.3.547/debian/changelog	2012-09-11 12:00:34.000000000 +0200
@@ -1,3 +1,10 @@
+vim (2:7.3.547-4.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Switch compression to xz for all binaries.
+
+ -- Cyril Brulebois <k...@debian.org>  Tue, 11 Sep 2012 12:00:27 +0200
+
 vim (2:7.3.547-4) unstable; urgency=low
 
   * Add remove-py_config.patch, removing the dependence on Python's config.c.
diff -Nru vim-7.3.547/debian/rules vim-7.3.547/debian/rules
--- vim-7.3.547/debian/rules	2012-07-24 04:54:50.000000000 +0200
+++ vim-7.3.547/debian/rules	2012-09-11 12:03:29.000000000 +0200
@@ -520,8 +520,7 @@
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb -pvim-runtime -- -Zbzip2
-	dh_builddeb -Nvim-runtime
+	dh_builddeb -- -Zxz
 
 binary-arch: export DH_OPTIONS=-pvim-dbg
 binary-arch: $(foreach v,$(VARIANTS),binary-arch-$(v))
@@ -532,7 +531,7 @@
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb
+	dh_builddeb -- -Zxz
 
 binary-arch-vim-basic: export DH_OPTIONS=-pvim-common -pvim
 binary-arch-vim-basic: install-stamp-vim-basic
@@ -545,7 +544,7 @@
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb
+	dh_builddeb -- -Zxz
 
 binary-arch-%: export DH_OPTIONS=-p$* $(foreach v,$(VARIANTS_SKIP),-N$(v))
 binary-arch-%: install-stamp-%
@@ -558,7 +557,7 @@
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb
+	dh_builddeb -- -Zxz
 
 binary: beginlog binary-indep binary-arch endlog
 .PHONY: patch unpatch extract clean build install binary-indep binary-arch binary update-orig quilt-setup

Reply via email to