[Pkg-ace-devel] Bug#562164: Bug#562164: libtao-doc: newest version of package is enormous

Pau Garcia i Quiles pgquiles at elpauer.org
Wed Dec 23 11:58:33 UTC 2009


Hello,

It's mostly because of the images and the search capabilities. What
follows is an explanation of the growth but I cannot come with a good
solution to shrink the size.

* Images:

As ACE < 5.6.3-6 did not include graphviz as a dependency, images were
not being generated and the docs were image-less. You are right there
is no notice of the addition of graphviz as a build-depends in the
changelog of 5.6.3-6 (there is in the changelog for 5.7.4/5.7.5, in
trunk, but I forgot to add that to 5.6.3-6).

In libace-doc, the .png images account for 50% of the installed size
(112 MB of 225 MB)

In libtao-doc, the .png images account for 40% of the installed size (
450 MB of 1.2GB )

For some images (most of them), an additional HTML page is generated.

* Search:

Doxygen is generating a search engine for all the docs. This is
enabled in ACE 5.6.3 (SEARCHENGINE = yes in the .doxygen files). I
don't know why this was not being generated for ACE 5.6.3-5. Why
researching the growth in installed size, I've noticed search is not
working because the search.js files were compressed by debhelper:

./ace-6/usr/share/doc/libace-doc/rmcast/search/search.js.gz
./ace-6/usr/share/doc/libace-doc/search/search.js.gz
./ace-6/usr/share/doc/libace-doc/QoS/search/search.js.gz
./ace-6/usr/share/doc/libace-doc/ssl/search/search.js.gz

We should exclude .js from dh_compress

On Wed, Dec 23, 2009 at 11:29 AM, Colin Watson <cjwatson at debian.org> wrote:
> Package: libtao-doc
> Version: 5.6.3-6
>
> In version 5.6.3-6, libtao-doc grew by a factor of >50, to 519MB.
> libace-doc got quite a bit bigger too. Isn't this a bit excessive? I
> imagine lots of this is autogenerated, but 29 times bigger than the
> upstream tarball seems a bit much.
>
> I started rebuilding my local Debian mirror last night, and it seems to
> have taken most of the night just downloading libtao-doc; given the
> former size of the package and the fact that there's no indication of a
> change of this magnitude in the changelog, it looks as though it may be
> a mistake. Packages this big tend not to be very useful anyway because
> many people will just uninstall them rather than having to upgrade them.



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)





More information about the Pkg-ace-devel mailing list