[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#730370: live-manual: dh_compress -X for epub but not for html



Source: live-manual
Version: 3.0.2-1
Severity: normal
Tags: patch

epub is basically zip compressed just like odt.  So there is no point
compressing again with gzip.  So please use dh_comress -X for it.

(A zip file contains files which are all compresses separately allowing
us to access each component file without decompressing the entire zip
file.)

Attached patch fix this problem.

Also, if dh_compress works as designed and stated in its manual page, it
should not compress html and copyright files anyway.  So I do not
understand why you have -X.html there.  (Of course, you may had reason
to do this.  So patch does not change this.)

Regards,

Osamu
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
diff -Nru live-manual-3.0.2.orig/debian/rules live-manual-3.0.2/debian/rules
--- live-manual-3.0.2.orig/debian/rules	2013-04-30 13:59:03.000000000 +0900
+++ live-manual-3.0.2/debian/rules	2013-11-24 23:47:59.527793100 +0900
@@ -27,7 +27,7 @@
 	dh_builddeb -- -Zxz
 
 override_dh_compress:
-	dh_compress -X.html -X.odt
+	dh_compress -X.html -X.odt -X.epub
 
 override_dh_install:
 	dh_install --fail-missing

Reply to: