こんな感じですか??
コピペで使えるかどうかよくわかりませんが。
今日はここいらで力尽きたので、テストパッケージとかはまた後日。
diff -ur anthy-9100/debian/rules anthy-9100.new/debian/rules
--- anthy-9100/debian/rules 2007-07-23 22:53:07.000000000 +0900
+++ anthy-9100.new/debian/rules 2007-07-23 22:32:02.000000000 +0900
@@ -64,6 +64,7 @@
-$(MAKE) distclean
-rm -f conftest* src-util/*.elc config.log
+ -rm -f calctrans/anthy.feature_info
dh_clean
install: build
@@ -108,6 +109,10 @@
$(CURDIR)/debian/tmp/$(METADICDIR)/gcanna.ctd
install -m 644 alt-cannadic/gcannaf.ctd
$(CURDIR)/debian/tmp/$(METADICDIR)/gcannaf.ctd
+ install -m 644 alt-cannadic/gtankan.ctd
+ $(CURDIR)/debian/tmp/$(METADICDIR)/gtankan.ctd
+ install -m 644 alt-cannadic/gtankan-okuri.ctd
+ $(CURDIR)/debian/tmp/$(METADICDIR)/gtankan-okuri.ctd
cd $(CURDIR)/mkworddic;
for i in *.t; do
diff -ur anthy-9100/debian/update-anthy-dics anthy-9100.new/debian/update-anthy-dics
--- anthy-9100/debian/update-anthy-dics 2007-07-23 22:53:07.000000000 +0900
+++ anthy-9100.new/debian/update-anthy-dics 2007-07-23 22:45:15.000000000 +0900
@@ -23,7 +23,7 @@
fi
echo "set_input_encoding eucjp" >> $TMPDICTCONFIG
-echo "set_exclude_wtypes #CN #CNS" >> $TMPDICTCONFIG
+#echo "set_exclude_wtypes #CN #CNS" >> $TMPDICTCONFIG
for file in $CANNADIC; do
case $file in
*.ctd)
@@ -33,12 +33,15 @@
;;
esac
done
-echo "clear_exclude_wtypes" >> $TMPDICTCONFIG
+#echo "clear_exclude_wtypes" >> $TMPDICTCONFIG
echo "read $METADICDIR/katakana.t" >> $TMPDICTCONFIG
echo "read $METADICDIR/adjust.t" >> $TMPDICTCONFIG
echo "read $METADICDIR/name.t" >> $TMPDICTCONFIG
echo "read $METADICDIR/compound.t" >> $TMPDICTCONFIG
+echo "read $METADICDIR/tankanji.t" >> $TMPDICTCONFIG
+echo "read $METADICDIR/extra.t" >> $TMPDICTCONFIG
+echo "read $METADICDIR/base.t" >> $TMPDICTCONFIG
addondics=$(sort -u $CONFIG| tr 'n' ' '| sed 's/ $//')
@@ -48,10 +51,11 @@
fi
done
-echo "read $METADICDIR/placename.t" >> $TMPDICTCONFIG
+echo "set_input_encoding utf8" >> $TMPDICTCONFIG
+echo "read $METADICDIR/utf8.t" >> $TMPDICTCONFIG
echo "build_reverse_dict" >> $TMPDICTCONFIG
-echo "read_uc $METADICDIR/udict" >> $TMPDICTCONFIG
echo "set_dict_encoding utf8" >> $TMPDICTCONFIG
+echo "read_uc $METADICDIR/udict" >> $TMPDICTCONFIG
echo "write anthy.wdic" >> $TMPDICTCONFIG
echo "done" >> $TMPDICTCONFIG
@@ -79,12 +83,12 @@
for i in /usr/share/anthy/depgraph/*.depword; do
ln -s $i $DEPGRAPHDIR/`basename $i`
done
-ln -s /usr/share/anthy/depgraph/indepword.txt
+ln -s /usr/share/anthy/depgraph/indepword.txt $DEPGRAPHDIR
ln -s /usr/share/anthy/depgraph/conjugate.table $DEPGRAPHDIR
/usr/bin/mkdepgraph
-ln -s /usr/share/anthy/calctrans $CALCTRANSDIR
+ln -sf /usr/share/anthy/calctrans $CALCTRANSDIR
cd $DICDIR
/usr/bin/mkfiledic -p ./
追記:
How-to-use.txt読んでないのバレバレですな…。