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

Andreas Hess jaska at gmx.net
Tue Feb 11 14:01:56 CET 2003


On Tue, Feb 11, 2003 at 02:32:43PM +0200, Andriy N. Gritsenko wrote:
> 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>

AFAIK the first part of the locale equals the language. But the locale
for "C" can't be "", the locale for the locale "C" is "C" and not "".

> 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. :)

I think it isn't for the "C" locale, it is for all locales, so that's
the way to make it work with all locales.

So how should 'make install' behave? Install the english version as the
default version in '/usr/local/man/man1'? And why can't be the russian,
polish, french, etc. version, the default version for all locales?

> >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!

Ok, so how should 'make install' behave? Install the english version as
the default version in '/usr/local/man/man1'? And why can't be the russian,
polish, french, etc. version, the default version for all locales?


Andreas


More information about the MPlayer-dev-eng mailing list