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

Bug#514095: lintian: Should not report for duplicate files|fonts in binary packages when one of the packages is a udeb



On Wed, 2009-02-04 at 10:55 -0600, Raphael Geissert wrote:
> Christian Perrier wrote:
[...]
> > While compiling ttf-freefont to sponsor its upload, I noticed the
> > following: W: ttf-freefont-udeb udeb: duplicate-font-file
> > usr/share/fonts/truetype/freefont/FreeSansBold.ttf also in ttf-freefont
> > 
> > This is of course completely intended. Having a udeb provide the same file
> > than a regular deb package is very common and, indeed, most of the time,
> > the purpose of a udeb package, particularly in font packages..:-)
[...]
> > I think that, if feasible, this test should not compare the content of
> > udeb packages with the content of deb packages.
>
> Attached mbox contains the patch.

Slightly pedantic (no pun intended) but the patch actually implements
something subtly different from Christian's original suggestion, namely
skipping the check entirely for udebs. However, having thought about it
a little more, that's probably not a bad thing, so I've applied it;
thanks.

One part of the patch I wasn't entirely sure about, so haven't applied
yet, was the change to allow udebs to contain fonts when the package
name does not start with "otf-" or "ttf-". Christian, is this something
that's worth enforcing at the udeb level as well, or are udebs
containing fonts likely to legitimately have other names?

Adam



Reply to: