Package: lintian Version: 2.5.0~rc2 Severity: normal Tags: patch The Debian Fonts Task Force have agreed to name font packages using the following naming scheme: fonts-<foundry>-<name>
Yet, lintian gives a font-in-non-font-package when it finds a font in packages with that naming scheme. Attached is a patch to fix this issue. -- System Information: Debian Release: squeeze/sid APT prefers natty-updates APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty-proposed'), (500, 'natty-backports'), (500, 'natty') Architecture: i386 (i686) Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.21.0.20110327-2ubuntu1 The GNU assembler, linker and bina ii diffstat 1.54-1 produces graph of changes introduc ii dpkg-dev 1.16.0~ubuntu6 Debian package development tools ii file 5.04-5ubuntu2 Determines file type using "magic" ii gettext 0.18.1.1-3ubuntu1 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl 0.1.24build1 Perl interface to libapt-pkg ii libclass-access 0.34-1 Perl module that automatically gen ii libemail-valid- 0.184-1 Perl module for checking the valid ii libipc-run-perl 0.89-1 Perl module for running processes ii libparse-debian 1.1.1-2.1ubuntu1 parse Debian changelogs and output ii libtimedate-per 1.2000-1 collection of modules to manipulat ii liburi-perl 1.56-1 module to manipulate and access UR ii locales 2.13+git20100825-4 common files for locale support ii man-db 2.5.9-4 on-line manual pager ii perl [libdigest 5.10.1-17ubuntu4 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarch <none> (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db 2.5.9-4 on-line manual pager -- no debconf information
--- a/checks/files 2011-04-05 19:40:19.000000000 +0200 +++ b/checks/files 2011-04-09 15:22:30.827554610 +0200 @@ -970,7 +970,7 @@ if ($FONT_PACKAGES->known($font)) { tag 'duplicate-font-file', "$file also in", $FONT_PACKAGES->value($font) if ($pkg ne $FONT_PACKAGES->value($font) and $type ne 'udeb'); - } elsif ($pkg !~ m/^(?:[ot]tf|t1|xfonts)-/) { + } elsif ($pkg !~ m/^(?:[ot]tf|t1|xfonts|fonts)-/) { tag 'font-in-non-font-package', $file; } }