Subject: Re: pkg/30687: /usr/pkg/man/ja_JP.EUC should be deprecated
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: SODA Noriyuki <soda@sra.co.jp>
List: pkgsrc-bugs
Date: 01/31/2006 08:58:56
The following reply was made to PR pkg/30687; it has been noted by GNATS.

From: SODA Noriyuki <soda@sra.co.jp>
To: gnats-bugs@netbsd.org
Cc: soda@sra.co.jp
Subject: Re: pkg/30687: /usr/pkg/man/ja_JP.EUC should be deprecated
Date: Tue, 31 Jan 2006 17:56:30 +0900 (JST)

 > We are now discussing this issue in tech-pkg-ja@jp.NetBSD.org, and one
 > of the conclusions is that it's better to define some make variables
 > to see the directory name and the locale name of Japanese EUC, instead
 > of just renaming the directory to "ja".
 > Please wait for a while until the discussion completes.
 
 I'm sorry that I forgot to post the summary.
 The consolusion was:
 
 1. Locale names aren't really portable. So, if we think pkgsrc as a
    cross-platform packaging system, the names must be configurable
    per Operating System basis.
 
 2. The directory names for locale dependent manuals aren't always
    same with the locale names themselves. So, the directory names must
    be configuratable per Operating System basis too.
 
 We use the following notion in this mail:
 
 [A] pkgsrc canonical locale name.
   To identify a locale, we uses this name.
   This name is based on what X11 and NetBSD are currently using.
   e.g. 
     "en_US.ISO8859-1" (English/US, Latin-1),
     "en_US.UTF-8" (English/US, UTF-8),
     "ja_JP.eucJP" (Japanese/Japan, EUC-JP)
 
 [B] OS-dependent locale name: ${LOCALE_NAME.[A]}
   e.g.
     ${LOCALE_NAME.en_US.ISO8859-1} 
     ${LOCALE_NAME.en_US.UTF-8}
     ${LOCALE_NAME.ja_JP.eucJP}
 
 [C] OS-dependent manual subdirectory prefix: ${MAN_SUBDIR.[A]}
   e.g.
     ${MAN_SUBDIR.en_US.ISO8859-1} 
     ${MAN_SUBDIR.en_US.UTF-8}
     ${MAN_SUBDIR.ja_JP.eucJP}
 
 for Japanese EUC, these values are :
 
 OS  		LOCALE_NAME.ja_JP.eucJP		MAN_SUBDIR.ja_JP.eucJP
 ---------------	------------------------------	-------------------------
 AIX		ja_JP				ja_JP(???)
 BSD/OS		Japanese-EUC(???)		Japanese-EUC(???)
 Darwin		not officially supported?	not officially supported?
 DragonflyBSD	ja_JP.eucJP(???)		ja_JP.eucJP(???)
 FreeBSD		ja_JP.eucJP			ja
 HP-UX		ja_JP.eucJP			ja_JP.eucJP
 IRIX		ja_JP.EUC(???)			ja_JP.EUC(???)
 Interix		???				???
 Linux (older)	ja_JP.eucJP			ja
 Linux (newer)	ja_JP.eucJP			N/A (UTF-8 man pages in "ja")
 NetBSD		ja_JP.eucJP			ja_JP.eucJP
 OSF1 (Tru64)	ja_JP.eucJP			ja_JP.eucJP
 OpenBSD		ja_JP.eucJP(???)		ja_JP.eucJP(???)
 Solaris		ja_JP.eucJP			ja_JP.eucJP
 UnixWare	???				???
 --
 soda