Subject: Re: Japanese packages (Re: CVS commit: pkgsrc)
To: None <mason@primenet.com.au>
From: Kazuki Sakamoto <sakamoto@cec.co.jp>
List: tech-pkg
Date: 06/18/1999 11:44:49
mason@primenet.com.au wrote:

 > An example package: x11/rxvt
 > rxvt for non Japanese users does not want to support Japanese at all.
 > There can easily be a non-insignificant amount of memory usage difference
 > between a Japanese supported build and non Japanese supported build.
 > Of course, note that rxvt for Japanese is not in our pkgsrc at this time.

In rxvt, the support of Japanese cannot be merged for another reason.

rxvt supports kanji(Japanese), big5(Chinese), gb(Chinese), greek keybord.
But, these features conflict(see src/rxvt.h). Only one feature can be used
at the same time.

The solution,
	1. Add options mk.conf, as RXVT_USE_FEATURE= kanji,big5,gb,greek.

	2. Make directory as japanese/rxvt,chinese/rxvt-big5,
	   chinese/rxvt-gb,greek/rxvt.
	   MASTERDIR=../../x11/rxvt, CONFIGURE_ARGS+= --enable-kanji,
	   PKGNAME=ja-rxvt-2.6.0 , etc.

1. has problem about method of automatic making binary packages.
'make package' makes only 'rxvt-2.6.0' package.
'ja-rxvt-2.6.0', 'zh-rxvt-big5-2.6.0', 'zh-rxvt-bg-2.6.0', 'el-rxvt-2.6.0'
are not made by current bsd.pkg.mk.

2. multiplies package directories.

Any ideas?

Kazuki Sakamoto