On Wed, Dec 19, 2012, at 23:11, Alan McKinnon wrote:
> That stuff is controlled by the ebuild, IIRC ebuilds should call
> function dodoc so they do with docs what you want them to do. The
> function name may well have changed and been superceded since last I
> looked.
> 
> The reason you find nothing interesting in the ebuild is because
> something that should be there isn't. ebuilds not following rules wrt
> doc files is a bug and should be filed at bgo as such.

I looked into this problem a little more before submitting any bug.

At http://devmanual.gentoo.org/ebuild-writing/eapi/ it says that, for
EAPI=4, there is a default compression exclusion list:
/usr/share/doc/${PF}/html. udisks-2.0.0 ebuild uses EAPI=4. So this
explains why /usr/share/doc/udisks-2.0.0/html/udisks2/index.sgml and
many other such files are not being compressed. I checked, and they all
use EAPI=4 or EAPI=5. So the list of uncompressed files drops to 23
instead of 79.

Then I looked for non-zero size files only, because it makes no sense to
compress empty files. The list dropped to 9 files, belonging to 4
different ebuilds or 3 packages:

> /usr/share/doc/automake-1.12.5/amhello-1.0.tar.gz
> /usr/share/doc/libasyncns-0.8-r2/README
> /usr/share/doc/automake-1.11.6/amhello-1.0.tar.gz
> /usr/share/doc/groff-1.21-r1/meref.ps
> /usr/share/doc/groff-1.21-r1/meref.me
> /usr/share/doc/groff-1.21-r1/pic.ps
> /usr/share/doc/groff-1.21-r1/pic.ms
> /usr/share/doc/groff-1.21-r1/meintro.me
> /usr/share/doc/groff-1.21-r1/meintro.ps

Perhaps I may report these ones.

Reply via email to