Subject: pkg/30687: /usr/pkg/man/ja_JP.EUC should be deprecated
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 07/07/2005 17:44:00
>Number:         30687
>Category:       pkg
>Synopsis:       /usr/pkg/man/ja_JP.EUC should be deprecated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 07 17:44:00 +0000 2005
>Originator:     Noriyuki Soda
>Release:        NetBSD 1.6.2_STABLE
	the NetBSD project
Any system which is supported by pkgsrc.

pkgsrc currently uses ${PREFIX}/man/ja_JP.EUC for Japanese man pages.
This is because FreeBSD used to use the name ja_JP.EUC as Japanese
locale name, when pkgsrc was imported from FreeBSD's ports system.
But this is no longer true (they changed the locale name and the man
page directory name), and there is no system which uses ja_JP.EUC as 
Japanese locale nowadays (One of reasons of this is because the name
"ja_JP.EUC" is technically wrong, the codeset name must be "eucJP"
instead of "EUC".)

As the result, "man" command on operating systems which use pkgsrc
often cannot find the ${PREFIX}/man/ja_JP.EUC directory correctly.
Note that all operating systems (including NetBSD) supports "ja_JP.eucJP"
as the Japanese EUC locale name.


Install a package which has japanese man pages, and see that the OS's
"man" command cannot find the man pages.


Rename "ja_JP.EUC" to "ja" (or "ja_JP.eucJP").

The reason I recommend "ja" here is most operating systems use "ja"
for the directory of the Japanese man pages as follows.

Operating System	directory name
----------------	--------------
FreeBSD 5.4		ja
RedHat 8		ja
RedHat EL 4		ja
Fedora Core 2		ja
Debian GNU/Linux 3.1r0	ja
Solaris 9		ja (*1)
HP-UX 11i v2		ja_JP.eucJP

(*1) There is a symbolic link "ja_JP.eucJP" which points "ja".