[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513650: lintian: pedantic: check for fonts in non-font package



Hi Russ,

Hope you will give me some time to sleep and then write a couple more checks :)

Russ Allbery wrote:
[...]
> 
> A pure filename match on the fonts I think is only certainty: possible.  I
> made that adjustment after committing.
>

At the beginning I considered downloading the .deb files to calculate the
checksums of the files, based on the analysis of Contents, but when Paul
replied to my questions I was thinking about using the file he mentioned. I
decided to implement the check using none of those methods because I didn't see
much gain, as it would consume more time to calculate the checksums.

If it is really desired, the current script in private/ could take some more
bits from the debhelper one which already downloads .deb files, and
checks/files be adapted.

The list of fonts files is a bit large actually, so I though not using checksums
to be a good compromise between accuracy (or rather number of false negatives)
and speed.

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net





Reply to: