[Pkg-netsim-devel] Bug#693393: Bug#693393: Increase in .deb size from 2MB to 1.2GB!

Helmut Grohne helmut at subdivi.de
Sat Jul 13 07:11:46 UTC 2013

On Thu, Mar 07, 2013 at 05:40:54AM +0800, Aron Xu wrote:
> This time it's 943MiB for new upstream release (with increased amount
> of docs), we tried to reduce the size by removing most of duplicate
> files and run optipng against all PNG files. Do you have any idea to
> help us reduce the size further?

Other packages have moved to svg with success. Examples include
activiz.net-doc and dcmtk-doc. In addition I would like to ask you
whether using the recently introduced dh_doxygen would be feasible. At
the moment it takes care of removing the .map and .md5 files used to
speed up incremental doxygen runs. There are ideas about taking care of
the jquery embedding in dh_doxygen, but this is yet unimplemented. Here
is a quick sql query on the dedup.d.n backing db:

SELECT count(id), sum(size), sum(length(filename)) FROM content WHERE package = 'ns3-doc';
SELECT count(id), sum(size), sum(length(filename)) FROM content WHERE package = 'ns3-doc' AND (filename LIKE '%.md5' OR filename LIKE '%.map');

Removing those files would halve the number of files shipped in ns3-doc
and therefore significantly reduce the inode usage when installing it.
It would also result in removal of 45MB uncompressed data (not
considering filenames and other metadata) and 4MB of filenames. I guess
that the binary package would shrink by about 30MB, which is about 3%,
but more than nothing.

Hope this helps


More information about the Pkg-netsim-devel mailing list