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

Re: Could someone please check some Japanese manpages?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Andrew,

At Mon, 26 Sep 2005 14:01:57 +1000,
Andrew Pollock wrote:
> I'm trying to clean up the dhcp3 packages, and I've gotten to installing the
> Japanese manpages into a more sane location than they are currently being.
> 
> Lintian's now complaining about some errors from man with respect to "cannot
> adjust line".

> They're in doc/ja_JP.eucJP in the dhcp3 source package.

I confirmed.

Well, manpages in ja_JP.eucJP haven't a problem.

This lintian warning message is caused by following lines of
/usr/share/lintian/checks/manpages:

        open MANERRS, '-|', "(LANG=C man -l unpacked/\Q$file\E >/dev/null) 2>&1"
            or fail("cannot run man -l: $!");
        while (<MANERRS>) {
            # ignore progress information from man
            next if /^Reformatting/;
            next if /^\s*$/;
            # ignore errors from gzip, will be dealt with at other places
            next if /^(man|gzip)/;
            # ignore 8bit character errors on localized man pages
            next if /warning: can\'t find numbered character/ && $lang ne "";
            chomp;
            s/^[^:]://o;
            tag "manpage-has-errors-from-man", "$file", "$_";
            last;

Opening manpages written in non latin language with "LANG=C" may
cause a problem. Lintian ignores "warning: can' find numbered
character" when manpage directory has a language code, but I think
"cannot adjust line" and "can't break line" should be ignored also.

Thanks,
- -- 
Kenshi Muto
kmuto@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkM5WXIACgkQQKW+7XLQPLF7mQCdHyhpdBCWI4dLrVkjHP59pcux
PmMAmwQ6SruduAicknSS6/zlVjAe0DoY
=iz5S
-----END PGP SIGNATURE-----



Reply to: