Re: optimizing PNGs
On Mon, May 27, 2013 at 10:35:48AM +0200, Mathieu Malaterre wrote:
> On Mon, May 27, 2013 at 10:26 AM, Helmut Grohne <helmut@subdivi.de> wrote:
> > * Packages shipping .md5 and .map files. Even though these files are
> > small, there can be very many of them adding up to the installation
> > size for filesystems with large block sizes. These files are used for
> > incremental recreation of the documentation, so they are completely
> > useless in a binary package. A future version of the doxygen package
> > will include a dh_doxygen to aid in getting rid of these files.
>
> Just for clarity, I believe you mean .md5. .map files are very useful
> (HTML usemap attribute), see:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704443
You are correct here. Thanks for pointing out.
While digging into this, I also discovered that there are a number of
duplicate files, that could be reduced using hard links[1] without much
effort. For example, in case of activiz.net-doc[2] 2% of the files can
be replaced by hard links. For vtk-doc[3] this amounts to 13% of the
files. Other large documentation packages are likely affected in a
similar way. The files typically affected are .svg and .map files. Even
though this certainly hits small files, this can reduce the installation
size measurably (for some filesystems).
Helmut
[1] http://wiki.debian.org/dedup.debian.net#Within_a_single_binary_package
rdfind also support -makehardlinks true
[2] http://dedup.debian.net/binary/activiz.net-doc
[3] http://dedup.debian.net/binary/vtk-doc
Reply to: