[Pkg-fonts-devel] [idea]: please consider to compress your package with xz

Hideki Yamane henrich at debian.or.jp
Sun Jun 3 06:06:50 UTC 2012


Hi Vasudev :),

On Sat, 2 Jun 2012 23:29:23 +0530
Vasudev Kamath <kamathvasudev at gmail.com> wrote
> If you can have a look at package through pkg-fonts git repo I've
> pushed my changes there [1]
> 
> [1]
> http://anonscm.debian.org/gitweb/?p=pkg-fonts/fonts-lato.git;a=summary

 Some tweak comments here, see changelog in below diff :)

--------------------------------------------------------------------------
diff --git a/debian/changelog b/debian/changelog
index 9bbe902..5a4ac6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,15 @@
 fonts-lato (1.104-2) UNRELEASED; urgency=low
 
+  [ Vasudev Kamath ]
   * debian/control:
     + Changed Vcs-* fields to pkg-fonts git repository
 
+  [ Hideki Yamane ]
+  * debian/rules
+    + set xz compression
+  * debian/install
+    + simplified it
+
  -- Vasudev Kamath <kamathvasudev at gmail.com>  Sun, 04 Mar 2012 21:13:12 +0530
 
 fonts-lato (1.104-1) unstable; urgency=low
diff --git a/debian/install b/debian/install
index a519c09..fc3da51 100644
--- a/debian/install
+++ b/debian/install
@@ -1,17 +1 @@
-./Lato-RegIta.ttf usr/share/fonts/truetype/lato/
-./Lato-HaiIta.ttf usr/share/fonts/truetype/lato/
-./Lato-BolIta.ttf usr/share/fonts/truetype/lato/
-./Lato-Bla.ttf usr/share/fonts/truetype/lato/
-./Lato-Lig.ttf usr/share/fonts/truetype/lato/
-./Lato-Reg.ttf usr/share/fonts/truetype/lato/
-./Lato-Bol.ttf usr/share/fonts/truetype/lato/
-./Lato-BlaIta.ttf usr/share/fonts/truetype/lato/
-./Lato-LigIta.ttf usr/share/fonts/truetype/lato/
-./Lato-Hai.ttf usr/share/fonts/truetype/lato/
-
-
-
-
-
-
-
+*.ttf usr/share/fonts/truetype/lato/
diff --git a/debian/rules b/debian/rules
index b760bee..b608093 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,9 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 %:
-	dh $@ 
+	dh $@
+
+override_dh_builddeb:
+	dh_builddeb -- -Zxz -Sextreme -z9



More information about the Pkg-fonts-devel mailing list