Hi, the maintainer Noritada, On October 14, 2006 at 9:27AM +0900, tats (at vega.ocn.ne.jp) wrote:
> Package: skkdic-extra > Version: 20060813-2 > Severity: wishlist > > Could you please include SKK-JISYO.china_taiwan, China/Taiwan place > names dictionary, in the skkdic-extra package? > > The skkdic source package contains the materials > SKK-JISYO.china_taiwan.header and csv/china_taiwan.csv. > > SKK-JISYO.china_taiwan can be generated by the following procedure: > > $ ruby /usr/share/skktools/convert2skk/ctdicconv.rb csv/china_taiwan.csv > >SKK-JISYO.tmp > $ skkdic-expr SKK-JISYO.tmp | skkdic-sort - >SKK-JISYO.tmp1 > $ cat SKK-JISYO.china_taiwan.header SKK-JISYO.tmp1 >SKK-JISYO.china_taiwan > $ rm -f SKK-JISYO.tmp SKK-JISYO.tmp1 > > Note that skktools (>= 1.2-3) and ruby are required. The procedure is in Makefile, so you can use the following in debian/rules. sed 's!../tools!/usr/share/skktools!g' Makefile >Makefile.tmp make -f Makefile.tmp SKK-JISYO.china_taiwan Unfortunately, "../tools" is hardcoded in Makefile. Could you please ask the upstream to use a variable of "../tools" in Makefile? (e.g. set TOOLS_DIR = ../tools and replace ../tools with $(TOOLS_DIR) in Mekefile, and then you can use `make TOOLS_DIR=/usr/share/skktools SKK-JISYO.china_taiwan') Also, please note that the temporary files *.tmp and *.tmp1 and the generated file SKK-JISYO.china_taiwan should be removed at the clean target of debian/rules. A related finding is that SKK-JISYO.china_taiwan exists after `make clean'. It seems to be an upstream bug. I think *.tmp1 and SKK-JISYO.china_taiwan should be removed by `make clean'. Could you please ask the upstream about this? Thanks, -- Tatsuya Kinoshita
pgp1OsBbw2v1B.pgp
Description: PGP signature