Bug#481505: please distribute usr/lib/libmarc-charset-perl/Table.pag as a sparse file

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Fri May 16 14:43:08 UTC 2008


Package: libmarc-charset-perl
Version: 0.98-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I tried to install libmarc-charset-perl on a machine with a small
disk, and it wants to chew up a full 410MB.  If
/usr/lib/libmarc-charset-perl/Table.pag was distributed as a sparse
file, it would be no more than 30MB.  This is a huge difference.
Here's a demonstration of a very crude attempt to make the file
sparse, and a comparison of the 380MB saved:

[0 dkg at squeak ~]$ dpkg --extract /var/cache/apt/archives/libmarc-charset-perl_0.98-2_i386.deb tmp/libmarc-charset-perl
[0 dkg at squeak ~]$ cp --sparse=always tmp/libmarc-charset-perl/usr/lib/libmarc-charset-perl/Table.pag{,.sparse}
[0 dkg at squeak ~]$ du -sh tmp/libmarc-charset-perl/usr/lib/libmarc-charset-perl/Table.pag{,.sparse}
391M	tmp/libmarc-charset-perl/usr/lib/libmarc-charset-perl/Table.pag
7.7M	tmp/libmarc-charset-perl/usr/lib/libmarc-charset-perl/Table.pag.sparse
[0 dkg at squeak ~]$

I don't know how to distribute a file as a sparse file within the .deb
framework, but if it's possible, i'd like to learn.

Thanks for packaging MARC::Charset for debian!

Regards,

	--dkg

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libmarc-charset-perl depends on:
ii  libclass-accessor-perl       0.31-2      Automated accessor generator
ii  libxml-sax-perl              0.16+dfsg-3 Perl module for using and building
ii  perl                         5.8.8-12    Larry Wall's Practical Extraction 

libmarc-charset-perl recommends no packages.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQIVAwUBSC2dfMzS7ZTSFznpAQI5cg//ZcXMWXiqN6kL56iG4xlaUj4i3ewr/2Bp
x/+zipUglNO3You8ZoiJiaHwPSGluSa0MF8DYTslPsmu/iRXZ9iVHpSLYygT+AGr
L6Wk+Dm/32qzO7Vyc1WT0r0va0vDtstYNzNqvsc8hkfOFR1nIl09VxxWYct+OdJk
3cUm15ommNOOz5mrsbzSn7iLysXTWyo+kM+dWLrluVXGqnCzqy2dATGu/3pBY2KE
a9+aG9Oyrw35BXq+/eyNGHit08TAhyhPTk0Uqn/nG+BXZ7a6jP90JXO0OL+EPPa4
U7iVAtjxnDQlkCH2mGDgx6+/mKDcATa7RhY50gW89/TMZ8DXsmer9OIrD+tLm2ie
6yewJkrTZZkdNdtZTP9dpT9Ghu/5dMJCHrf716HfEX+Vkb8kYmuIISJmVQpNtKai
YGDjERs1GOLCnsxVmMIghZokiPhStU2dTKB4KbOGWxOs+u0aePqyJy6tnYceL7qQ
qzndV2jn4YA0IjqsKLm9bfbdoxxnRaK+9qLBeLk4MXkucW5WH7DHd3hRQZ8jntbV
nOv1XKJXjwEMHjRQa7w+L5ZSWnGO+88OnJ1+e9NOvL3Q9pedoTMmZpXyj+1tJcfX
hNP27iGa1AajSEC5KJ8/hHUxDZYNAjVF/7tbmC1+cM75qcUo2Z5LGRNSP8gzuNzq
o3GHWuw2GVs=
=dosN
-----END PGP SIGNATURE-----





More information about the pkg-perl-maintainers mailing list