Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2001 14:45:30 +0900
From:      Motoyuki Konno <motoyuki@bsdclub.org>
To:        ports@freebsd.org
Cc:        i18n@FreeBSD.org
Subject:   X locale-specific resource files
Message-ID:  <200106160545.f5G5jUq26040@sakura.mk.bsdclub.org>

next in thread | raw e-mail | index | archive | help
To: ports and Cc: i18n.

As the result of recent discussion in i18n ML,  FreeBSD-current
supports new locale names (*1) in addition to the old ones (*2).
In the future, FreeBSD will support new locale names only.

*1: *.ISO*, ja_JP.eucJP, ko_KR.eucKR, ...
*2: *.ISO_*, ja_JP.EUC, ko_KR.EUC, ...

As the X I18N, locale-specific resouce files should be installed
into /usr/X11R6/lib/X11/<LocaleName>/app-defaults/.
I found that some ports and packages (for example, x11-clocks/emiclock)
install  resource files into
/usr/X11R6/lib/X11/<OldLocaleName>/app-defaults/.

FreeBSD Ports Collections supports both -current and -stable version
of FreeBSD.  So, I think locale-specific resouce files should be
installed into BOTH
    /usr/X11R6/lib/X11/<OldLocaleName>/app-defaults/
and
    /usr/X11R6/lib/X11/<NewLocaleName>/app-defaults/
during the transition period of locale name changes.  I made the
following plans:

  Plan A.
      1.  make both old (*3) and new (*4) resouce directory.
      2.  install local-specific resouce file into new directory.
      3.  ln -s <newdir>/resourcefile <olddir>/resourcefile

      bad point : ?

  Plan B.
      1.  make a new resource directory (*3).
      2.  install local-specific resource file into new directory.
      3.  old resource directory (*4) is a symlink to new one (*3).

      bad point : There's many FreeBSD boxes which already have
                  old resource directory.

  ------    
  *3 :  /usr/X11R6/lib/X11/<NewLocaleName>/app-defaults/
  *4 :  /usr/X11R6/lib/X11/<OldLocaleName>/app-defaults/
  ------


I think plan A is better than plan B.  Any comments?

--
------------------------------------------------------------------------
Motoyuki Konno                  motoyuki@bsdclub.org             (Home)
                                motoyuki@FreeBSD.ORG  (FreeBSD Project)
                                http://www.freebsd.org/~motoyuki/ (WWW)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-i18n" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106160545.f5G5jUq26040>