[MPlayer-dev-eng] Re: install localized manpages + [PATCH]

Andriy N. Gritsenko andrej at lucky.net
Tue Feb 11 13:32:43 CET 2003


    Hi, Andreas Hess!

Sometime (on Tuesday, February 11 at 14:22) I've received something...
>Ok, so how to honor the Filesystem Hierarchy Standard chapter 4.11.5?
>It states the following:

>"Manual pages are stored in <mandir>/<locale>/man<section>/<arch>."

>[...]

>"Systems which use a unique language and code set for all manual pages
>may omit the <locale> substring and store all manual pages in <mandir>."

>So if you have a single language system (whatever language it is),
>'/usr/local/man/man1' should be ok, but if you have a multi language
>system, '/usr/local/man/man1' can never be ok, not even for the english
>manpage (so most or all distributions handle it the wrong way).

If you have default language (usually referred ad "C") then <locale>
substring is "" (see man setlocale) so then default man path will be
<mandir>//man<section>/<arch> so /usr/local/man/man1 is also ok but only
for default ("C") locale. :)

>From my point of view, it would be ok (and right), to put every manpage
>(even the english) into '/usr/local/man/<locale>/man1'. If there is no
>objection, the following patch can be applied.

I have an objection since on my "uk_RU" locale I'll never get manual for
mplayer. You always have to have default locale manual page!

    With best wishes.
    Andriy.


More information about the MPlayer-dev-eng mailing list