[Pkg-fonts-devel] [idea]: please consider to compress your package with xz
Hideki Yamane
henrich at debian.or.jp
Wed May 30 10:48:21 UTC 2012
Hi list,
> ---------------------------------------------------------------------
> * How to compress with xz?
> ---------------------------------------------------------------------
>
> If you build package with dh7 or later, it's simple. Please add these lines
> to your debian/rules.
>
> override_dh_builddeb:
> dh_builddeb -- -Zxz
>
> That's all :)
"To compress with xz", it means 3 ways.
- for upstream tarball
- for debian.tar.gz file
- for deb
1. You can repack upstream tarball (usually .orig.tar.gz file) to tar.xz.
It would reduce source archive size, so recommended it if it's not
inconvenient for you.
2. If your package have huge file in debian directory, set it like this
> compression = "xz"
> compression-level = 4
in debian/source/options file. ... But I think it's rare case ;-)
3. As I suggested in above, rebuild package (usually data.tar.gz) with xz.
It would reduce binary archive size, but you should take care about it
in slow architectures.
--
Regards,
Hideki Yamane henrich @ debian.or.jp/org
http://wiki.debian.org/HidekiYamane
More information about the Pkg-fonts-devel
mailing list