=== removed directory '.pc/0001-hyphen.patch'
=== removed directory '.pc/0001-hyphen.patch/man'
=== removed file '.pc/0001-hyphen.patch/man/kakasi.1'
--- .pc/0001-hyphen.patch/man/kakasi.1	2014-02-03 00:00:27 +0000
+++ .pc/0001-hyphen.patch/man/kakasi.1	1970-01-01 00:00:00 +0000
@@ -1,271 +0,0 @@
-.\" $Id: kakasi.1,v 1.1 2003-02-23 14:31:04 baba Exp $
-.\" Copyright (C) 1992
-.\" Hironobu Takahashi (takahasi@tiny.or.jp)
-.\" Translated to English by J. Grant, and H. Baba
-.\"
-.\" This program is free software; you can redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as published by
-.\" the Free Software Foundation; either versions 2, or (at your option)
-.\" any later version.
-.\"
-.\" This program is distributed in the hope that it will be useful
-.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public License
-.\" along with KAKASI, see the file COPYING.  If not, write to the Free
-.\" Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-.\" 
-.de Sp
-.if t .sp .5v
-.if n .sp
-..
-.de Ip
-.br
-.ie \\n.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH KAKASI 1 LOCAL
-.UC 6
-.SH NAME
-KAKASI - Kanji kana simple inverter (between Kanji, both Kana and Romaji)
-.SH SYNOPSIS
-.B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
-.SH DESCRIPTION
-.I KAKASI
-In Japanese sentences are often made up a mixture of Chinese
-characters (Kanji), Kana (Hiragana and Katakana) and Romaji (Latin 
-phonetical pronunciation).  This program converts between these four
-different ways of writing Japanese.
-
-This program is useful for those whose terminal or desktop does not
-support the native display of Japanese.  Also this is a great tool
-for those who are learning Japanese (international students and 
-children etc).
-
-A word can be passed into the standard input (stdin), then it is
-translated and output to standard out (stdout).  In the following
-example the "bunchu" Kanji is converted into Hiragana.
-.PP
-.Ip "" 10
-kakasi -JH < document
-.PP
-Since version 2.3.0 text with spaces in-between words has been supported.
-In the following example the output has spaces in-between each word.
-.Ip "" 10
-kakasi -w < document
-.PP
-Since version 2.3.5 level conversion mode has been supported.
-In the following example, simple Kanjis are left them unconverted,
-and difficult Kanjis are translated into Hiragana.
-.Ip "" 10
-kakasi -l4 < document
-.PP
-.I KAKASI
-It is possible to convert letters to alphabetical characters.  Also
-Katakana letters in the JIS x0201 character set and the Hiragana in
-the JIS x0208 character set can be converted between each other.
-.PP
-.I KAKASI
-The following character set in brackets which is displayed.
-.PP
-.Ip "ASCII (a)" 10
-Known as "ascii" character set.
-.PP
-.Ip "JISROMAN (j)" 10
-Known as "jis roman" character set.
-.PP
-.Ip "GRAPHIC (g)" 10
-It is the DEC graphic character set.
-.PP
-.Ip "Katakana (k)" 10
-.br
-JIS x0201, defined as part of the GR character set.
-.PP
-.Ip "" 10
-As a matter of convinience, JIS x0208 is divided as stated below.
-.PP
-.Ip "Kanji (J)" 10
-.br
-JIS x0208 characters included between 16 and 94 sections.
-.Ip "Hiragana (H)" 10
-.br
-JIS x0208 characters included in section 4 (Hiragana)
-.Ip "Katakana (K)" 10
-.br
-JIS x0208 characters included in section 5 (Katakana)
-.Ip "Sign (E)"
-.br
-JIS x0208 characters included in section 1,2,3,6,7, and 8.
-(Note that section 9-15 are undefined in JIS x0208.)
-.PP
-Translation between the following character sets are available.
-.PP
-.Ip "ASCII" 13
--> JISROMAN, Sign
-.Ip "JISROMAN" 13
--> ASCII, Sign
-.Ip "GRAPHIC" 13
--> ASCII, JISROMAN, Sign
-.Ip "JISx0201 Katakana" 13
--> ASCII, JISROMAN, Kana, Hiragana
-.Ip "Sign" 13
--> ASCII, JISROMAN
-.Ip "Katakana" 13
--> ASCII, JISROMAN, JISx0201 Katakana, Hiragana
-.Ip "Hiragana" 13
--> ASCII, JISROMAN, JISx0201 Katakana, Kana
-.Ip "Kanji" 13
--> ASCII, JISROMAN, JISx0201 Katakana, Kana, Hiragana
-.PP
-With conversion of ASCII and the JISROMAN the alphabetical character conversion
-is done from JISx0201 Katakana, Katakana, Hiragana and Kanji.
-.PP
-.Ip "Example:" 4
-.sp
-1. All kanji characters are converted to Hiragana.
-.sp
-    kakasi -JH 
-.sp
-2. All JIS x0208 characters are converted to JIS X 0201.
-.sp
-.sp
-    kakasi -Hk -Kk -Jk -Ea
-.sp
-3. All characters are converted to JIS X 0208.
-.sp
-    kakasi -aE -jE -gE -kK
-.sp
-4. All characters are converted to ascii and words are separated.
-.sp
-    kakasi -Ha -Ka -Ja -Ea -ka
-.sp
-5. Exchange between Katakana and Hiragana characters.
-.sp
-    kakasi -HK -KH
-.PP
-
-.SH CONVERSION DESIGNATED CHARACTER SET
-
-Some character sets are categorized by kakasi and indicated by
-following mnemonics: a, j, g, k, E, H, K, J.
-
-      a --- ASCII characters
-      j --- JIS ROMAN ( nearly equal to ASCII, "~" and "\" are
-            different ) defined by JIS x0201
-      g --- DEC Graphic Characters
-      k --- KATAKANA defined by JIS x0201
-
-E, H, K, and J are included in JIS x0208 character set.
-
-      J --- KANJI characters of JIS x0208.
-      H --- HIRAGANA characters of JIS x0208.
-      K --- KATAKANA characters of JIS x0208.
-      E --- Rest of above characters of JIS x0208 which includes
-            alphabets, numbers, symbols and so on.
-
--(from)(to) means conversion from character set (from) to (to).
-For example, -JK option causes KANJI characters are converted
-to HIRAGANA. Combinations in the following table are available.
-(You must not remember it, because the -h shows same information)
-
-      to\from|    a    j    k    E    H     K    J    g
-      -------+--------------------------------------------
-         a   |    -    o    o1   o    o1    o1   o12  o
-         j   |    o    -    o1   o    o1    o1   o12  o
-         k   |              -         o     o    o2
-         E   |    o    o         -                    o
-         H   |              o         -     o    o2
-         K   |              o         o     -
-
-      o  -- converted.
-      1  -- converted to Romaji.
-      2  -- Kanji -> Kana conversion.
-
-.SH KANJI CODING CONVERSION
-Unfortunately, several coding systems are used in Japan and JIS
-x0208 standard are changed at 1983. Therefore, KAKASI can
-automatically distinguish the coding system and coding revision
-and then use the same output coding system if the document does
-not include JIS x0201 KATAKANA.  If JIS x0201 KATAKANA is
-included or you wish to change kanji coding system, you may
-use the next options.
-
-      -i : input coding
-      -o : output coding
-
-      jis -- Widely used on the internet. (Ex: fj, jp, .. newsgroups)
-             Derived from ISO-2022 coding manner.
-             newjis: JISx0208 (1983) invoked by ESC-$-B.
-             oldjis: JISx0208 (1978) invoked by ESC-$-@.
-      euc,dec -- Often used in UNIX like computers. JISx0208 is
-             assigned to GR ( MSB is 1 ). The major difference between
-             euc and dec is assignment of JISx0201 KATAKANA and
-             the DEC graphic character.
-      sjis -- Defined by Microsoft Corp. Widely used on the personal
-             computers ( MSDOS, Mac, .. )
-
-.SH ROMAJI CONVERSION
-Kanji kana conversion options. Used with -J? option.
-There are 2 types of Romaji writing.  The first is the Kunrei
-method defined by Japanese government, and the second is the
-Hepburn method.  I think Hepburn method sounds naturally to
-foreigners.
-
-      -rhepburn : Hepburn Method (default)
-      -rkunrei  : Kunrei Method
-
-.SH OTHER OPTIONS
-
-      -p: List all possible readings. If there exist two or more
-          possible readings, KAKASI shows them in braces {aaa,bbb}.
-      -s: Insert a separate character between words.
-      -f: Furigana mode. Shows the original kanji word with reading.
-      -c: Skip characters within word. ( default TAB CR LF BLANK )
-      -C: Capitalize Romaji word (with -Ja or -Jj option)
-      -U: Upcase romaji word (with -Ja or -Jj option)
-      -u: Call fflush().
-      -w: wakatigaki mode. 'wakatigaki' is word segmentation for
-          Japanese sentences.
-
-
-.SH DICTIONARIES
-.I KAKASI
-can accept additional dictionary to the system dictionary.
-The acceptable format of additional dictionary is
-.I SKK
-format, and
-.I Wnn
-format, and so on.
-Namely, each record is one line with two fields, Yomi (reading) and 
-Jukugo(idiom).  Fields are separated with commas (or TAB, or blank).
-The kanji code is restricted to JIS or EUC.
-See another document named JISYO for more details.
-.SH ENVIRONMENT VARIABLES
-The behavior is affected by the following environment variables.
-.Ip KANWADICTPATH
-Specifies a path of kanwadict (full-path including filename).
-Default value is $prefix/share/kakasi/kanwadict.
-.Ip ITAIJIDICTPATH
-Specifies a path of itaijidict (full-path including filename).
-Default value is $prefix/share/kakasi/itaijidict.
-.SH AUTHOR
-Hironobu Takahasi <takahasi@tiny.or.jp>
-.SH FILES
-.Ip "$prefix/share/kakasi/kanwadict"
-It is a binary dictionary of 
-.I KAKASI.
-It is automatically converted from kakasidict by mkkanwa
-when the package is installed.
-.SH SEE ALSO
-mkkanwa(1)
-.SH DIAGNOSTICS
-Return status except 0 when there is any trouble.
-.SH BUGS
-Report bugs to KAKASI Project <kakasi-dev@namazu.org>.
-Please DO NOT CONTACT to the originator (Takahasi-san).
-.SH NOTE ABOUT ENGLISH MANUAL
-The content of English manual is not exactly same as that of Japanese manual.
-

=== removed file '.pc/0001-hyphen.patch/man/kakasi.1.ja'
--- .pc/0001-hyphen.patch/man/kakasi.1.ja	2014-02-03 00:00:27 +0000
+++ .pc/0001-hyphen.patch/man/kakasi.1.ja	1970-01-01 00:00:00 +0000
@@ -1,472 +0,0 @@
-.\" $Id: kakasi.1.ja,v 1.2 2006-01-04 08:13:46 knok Exp $
-.\" Copyright (C) 1992
-.\" Hironobu Takahashi (takahasi@tiny.or.jp)
-.\"
-.\" This program is free software; you can redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as published by
-.\" the Free Software Foundation; either versions 2, or (at your option)
-.\" any later version.
-.\"
-.\" This program is distributed in the hope that it will be useful
-.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public License
-.\" along with KAKASI, see the file COPYING.  If not, write to the Free
-.\" Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-.\" 
-.de Sp
-.if t .sp .5v
-.if n .sp
-..
-.de Ip
-.br
-.ie \\n.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH KAKASI 1 LOCAL
-.UC 6
-.SH NAME
-KAKASI - Kanji kana simple inverter (漢字かな読み上げ)
-.SH SYNOPSIS
-.B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
-.SH DESCRIPTION
-.I KAKASI
-は漢字かな混じり文をかなだけの文やローマ字表記に変換することを
-目的として作られました。
-漢字の読めない端末を使った時や、
-漢字に不慣れな外国人や子供に文章を紹介したい時などに使えるかもしれません。
-標準入力から日本語の文章を入力すると、
-指定された文字セットに変換されて出力されます。 
-.PP
-例えば次の例では文中の漢字がひらがなに変換されます。
-.Ip "" 10
-kakasi -JH < document
-.PP
-バージョン 2.3.0 からは、分かち書き機能が追加されました。
-例えば次の例では、日本語文が分かち書きされて出力されます。
-.Ip "" 10
-kakasi -w < document
-.PP
-バージョン 2.3.5 からは、学年別ひらがな変換機能が追加されました。
-例えば次の例では、小学4年生までに習った漢字は漢字のまま表示し、
-それ以外の難しい漢字はひらがなに開いて出力されます。
-.Ip "" 10
-kakasi -l4 < document
-.PP
-.I KAKASI
-は文字をローマ字に変換したり、
-JIS x0201
-のかたかな文字や、
-JIS x0208
-のひらがな、
-かたかなの間で相互に変換できます。
-.I KAKASI
-では文字セットとして次のものを理解します。
-(カッコの中は
-.I KAKASI
-のオプションとして指定する文字を表します。)
-.PP
-.Ip "ASCII (a)" 10
-いわゆる ascii です。'〜', '＼' が含まれています。
-.PP
-.Ip "JISROMAN (j)" 10
-いわゆる jis roman です。'￣' , '￥' が含まれています。
-.PP
-.Ip "GRAPHIC (g)" 10
-これについては正しい名称を知りません。
-DEC 社の端末で表示される罫線などがこの文字セットに含まれます。
-.PP
-.Ip "かたかな (k)" 10
-.br
-JIS x0201 で定義されている文字セットのうち GR の部分です。
-.PP
-.Ip "" 10
-以下は JIS x0208 を便宜上分割したものです。規格上は全体で一つの文字セットです。
-.PP
-.Ip "漢字 (J)" 10
-.br
-16 区以降の `亜' に続く文字です。
-.Ip "ひらがな (H)" 10
-.br
-4 区にあるひらがなです。
-.Ip "かたかな (K)" 10
-.br
-5 区にあるかたかなです。
-ひらがなと 1 区ずれただけでなく、独自の個性が発揮されているものです。
-.Ip "記号 (E)"
-.br
-上記以外の文字です。
-.PP
-次の文字セット間の変換が指定できます。
-.PP
-.Ip "ASCII" 13
--> JISROMAN, 記号
-.Ip "JISROMAN" 13
--> ASCII, 記号
-.Ip "GRAPHIC" 13
--> ASCII, JISROMAN, 記号
-.Ip "JISx0201のかたかな" 13
--> ASCII, JISROMAN, カナ, ひらがな
-.Ip "記号" 13
--> ASCII, JISROMAN
-.Ip "かたかな" 13
--> ASCII, JISROMAN, JISx0201のかたかな, ひらがな
-.Ip "ひらがな" 13
--> ASCII, JISROMAN, JISx0201のかたかな, カナ
-.Ip "漢字" 13
--> ASCII, JISROMAN, JISx0201のかたかな, カナ, ひらがな
-.PP
-漢字からの変換では読み上げによって変換します。
-JISx0201かたかな、かたかな、ひらがな、漢字から ASCII と JISROMAN への
-変換ではローマ字変換を行います。
-.PP
-.SH "文字セットの変換指定オプション"
-.PP
-.Ip "\-a[jE]"
-.B E
-が指定されると JISx0208 の記号への変換になります。
-それ以外のコードが指定されるか, 引数がないと変換しません。
-.PP
-.Ip "\-j[aE]"
-.B E
-が指定されると JISx0208 の記号への変換になります。
-.PP
-.Ip "\-g[ajE]"
-ちょっと無理があります。
-.PP
-.Ip "\-k[ajKH]"
-.B aj
-を指定するとローマ字に変換します。
-.B KH
-では JISx0208 のかたかなやひらがなに変換します。
-.PP
-.Ip "\-E[aj]"
-JISx0208 の記号を ASCII または JIS ROMAN にします。
-現在のバージョンではそのほとんどが手抜き工事になっています。
-.PP
-.Ip "\-H[ajkK]"
-.B aj
-を指定するとローマ字に変換します。
-.B k
-ではJISx0201のかたかなに、
-.B K
-ではかたかなに変換します。
-.PP
-.Ip "\-K[ajkH]"
-.B aj
-を指定するとローマ字に変換します。
-.B k
-ではJISx0201のかたかなに、
-.B H
-ではひらがなに変換します。
-.PP
-.Ip "-J[ajkHK]"
-まず辞書を引いて読み上げ、
-.B aj
-が指定されるとローマ字に変換します。
-.B k
-ではJISx0201のかたかなに、
-.B H
-ではひらがなに、
-.B K
-ではかたかなに変換します。
-.PP
-.Ip "Example:" 4
-.sp
-1. 漢字をひらがなに読み上げる
-.sp
-    kakasi -JH 
-.sp
-2. すべての JISx0208 で定義された文字をおきかえる。
-.sp
-.sp
-    kakasi -Hk -Kk -Jk -Ea
-.sp
-3. すべての文字を JISx0208 の文字におきかえる。
-.sp
-    kakasi -aE -jE -gE -kK
-.sp
-4. ローマ字変換
-.sp
-    kakasi -Ha -Ka -Ja -Ea -ka
-.sp
-5. かたかなとひらがなを交換
-.sp
-    kakasi -HK -KH
-.PP
-.SH 漢字コーディング
-.PP
-.I KAKASI
-では次の漢字コーディングシステムが使えます。
-.PP
-           JIS, OLDJIS, EUC, DEC, SJIS
-.PP
-.Ip "-i{jis, oldjis, euc, dec, sjis}"
-入力側の漢字コードを指定します。
-もしも指定されない場合には入力から判断しようとします。
-.I KAKASI
-は入力をためこんで統計的に処理する方法がとれないので、
-最初の漢字らしい文字をもって判断します。
-.sp
-1. ESC-$-B
-.br
-JIS コーディングと解釈します。
-またこれ以降は G0 に 新JIS が指示されたものとします。
-.sp
-2. ESC-$-@
-.br
-旧JIS コーディングと解釈します。
-またこれ以降は G0 に 旧JIS が指示されたものとします。
-.sp
-3. 0x80 以上の値
-.br
-この時さらに 1 Byte を入力して、
-この 2 Byte で シフトJIS の JISx0208 文字として解釈できる場合、
-新JIS コーディングと解釈します。
-またこれ以降は GR は使えず シフトJIS の文字として解釈されます。
-.sp
-4. 0x80 で上記に該当しない
-.br
-以降は EUC コーディングを仮定します。
-.br
-なお、オプションで指定する以外に DEC コーディングが指定されることはありません。
-.br
-最初にJISx0201のかたかなを表現する 0xa0 以上のコードに遭遇した場合と、
-EUC コードなのに SJIS としても解釈され得る文字に遭遇すると誤って解釈します。
-つまり `燹' から `螢' までの 945 文字のいずれかが EUC で表現されていても
-SJIS に解釈されてしまいます。
-.PP
-.Ip "\-o{jis, oldjis, euc, dec, sjis}" 8
-出力側の漢字コーディングを指定します。
-もしも指定されない場合には入力と同じにします。
-.PP
-漢字のコーディングのモデルとしては、
-以下のように文字セットの指示と呼出しがされているものとします。
-.PP
-JIS:
-.PP
-    GL -- G0 -- ASCII
-    GR -- G1 -- JISx0201のかたかな
-          G2 -- JISx0201のかたかな
-          G3 -- JISx0201のかたかな
-.PP
-JISx0208 の文字は ESC-$-B を用いて G0 に指示をして出力します。
-.PP
-OLDJIS:
-.PP
-    GL -- G0 -- JISROMAN
-    GR -- G1 -- JISx0201のかたかな
-          G2 -- JISx0201のかたかな
-          G3 -- JISx0201のかたかな
-.PP
-JISx0208 の文字は ESC-$-@ を用いて G0 に旧JISを指示をして出力します。
-.PP
-EUC:
-.PP
-    GL -- G0 -- ASCII
-          G1 -- JISx0201のかたかな
-          G2 -- JISx0201のかたかな
-    GR -- G3 -- JISx0208 の文字
-.PP
-JISx0201のかたかなの表示には ESC-N (シングル シフト)を使って、
-GR に G2 を呼出して出力します。
-.PP
-DEC:
-.PP
-    GL -- G0 -- ASCII
-          G1 -- GRAPHIC
-          G2 -- JISx0201のかたかな
-    GR -- G3 -- JISx0208 の文字
-.PP
-JISx0201のかたかなの表示には ESC-} を使って GR に G2 を呼出して出力します。
-.PP
-SJIS:
-.PP
-    GL -- G0 -- ASCII
-          G1 -- JISx0201のかたかな
-          G2 -- JISx0201のかたかな
-          G2 -- JISx0201のかたかな
-    GR -- SHIFTJIS
-.PP
-JISx0201のかたかなとJISx0208 の文字の表示は GR で行います。
-.PP
-入力側では次のようにエスケープシークエンスを解釈します。
-.PP
-呼出し:
-.br
-           G0     G1     G2     G3
-.br
-GL:        SI     SO    ESC-n  ESC-o
-.br
-GR:              ESC-~  ESC-}  ESC-|
-.sp
-シングルシフト:
-.br
-           G0     G1     G2     G3
-.br
-                        ESC-N  ESC-O
-.br
-                        (SS2)  (SS3)
-.sp
-指示：
-.br
-.br
-       ASCII   JISROMAN GRAPHIC  かたかな   旧JIS     新JIS
-.br
-G0:   ESC-(-B  ESC-(-J  ESC-(-0  ESC-(-I   ESC-$-@   ESC-$-B
-.br
-G1:   ESC-)-B  ESC-)-J  ESC-)-0  ESC-)-I  ESC-$-)-@ ESC-$-)-B
-.br
-G2:   ESC-*-B  ESC-*-J  ESC-*-0  ESC-*-I  ESC-$-*-@ ESC-$-*-B
-.br
-G3:   ESC-+-B  ESC-+-J  ESC-+-0  ESC-+-I  ESC-$-+-@ ESC-$-+-B
-.sp
-.SH 漢字かな変換オプション
-.PP
-.B "-Jx"
-あるいは
-.B "-w"
-を使って漢字からの変換にのみ適用されるオプションです。
-他の変換には影響しません。
-.Ip "\-p"
-辞書中で照合したものが複数ある時に、そのすべてを表示します。
-多くの単語は複数の読みがあります。
-その場合 {} でくくって表示します。
-.sp
-        素子 -> {もとこ|そし}
-.Ip "\-s"
-漢字からの変換で変換ごとに空白等の区切を入れるようにします。
-前にすでに改行、空白、TAB が入っていればなにもしませんが、
-なければ空白文字を入れます。
-また後ろにも空白を入れます。
-漢字かな混じり文をローマ字に変換する場合には不可欠ですね。
-.sp
-    "漢字かな混じり文をローマ字に変換"
-.br
-    " kan'zi kana ma ziri bun' woro-ma zi ni hen'kan' "
-.PP
-.Ip "\-S"
--s オプションあるいは -w オプション指定時に出力される区切り文字は
-デフォルトでは空白文字 ' ' ですが、
--S オプションで任意の ASCII 文字列を指定することができます。
-たとえば -s -S__ のようにオプションを与えると、
-.sp
-    "漢字かな混じり文を"
-.sp
-が、
-.sp
-    "漢字__かな__混__じり__文__を"
-.sp
-となります。あるいは、-s -S"<sep>" とすれば、
-.sp
-    "漢字<sep>かな<sep>混<sep>じり<sep>文<sep>を"
-.sp
-となります。
-.Ip "-f"
-ふりがなモード。
-つまり変換前の漢字の脇にその読みを差し込みます。
-.sp
-  "変換前の漢字の脇に"
-.sp
-  "変換前[へんかんまえ]の漢字[かんじ]の脇[わき]に"
-.PP
-.Ip "\-F"
-ふりがなモード時の括弧として任意の ASCII 文字列を指定します。
-左右の括弧に対応して -Fl と -Fr というサフィックスがつきます。
-たとえば、左側に左丸括弧を指定するには -Fl"(" と、
-右側に右丸括弧を指定するには -Fr")" と指定します。
-.sp
-  "変換前(へんかんまえ)の漢字(かんじ)の脇(わき)に"
-.sp
-あるいは、-JF -f -Fl"<ruby>" -Fr"</ruby>" のように指定すると、
-以下のようにできます。
-.sp
-  "変換前<ruby>へんかんまえ</ruby>の漢字<ruby>かんじ</ruby>の脇<ruby>わき</ruby>に"
-.PP
-.Ip "\-c\"文字列\""
-漢字熟語中に含まれる、空白や改行を除いて読むようにします。
-複数の行に改行で分割されたり、行の先頭にタブや引用符がある時
-でもよみがなの解釈が行えるようにします。
-読みとばす文字の default  は{改行 タブ 空白}ですが、
-任意の ascii 文字が追加できます。
-JUNET のニュースならば、引用を示す -c'>' とするといいでしょう。
-以下の例では -c">_" としたものです。
-.sp
-    >> このバグについてはこれから検
-    >> 討してみます。  谷_山__浩_子
-.sp
-    >> このバグについてはこれからけんとう
-    >> してみます。  たにやま___ひろこ_
-.PP
-.Ip "-C"
-漢字をローマ字に変換する場合に、
-先頭のアルファベットを大文字にします。
--Ja -Jj と共に使った場合のみ有効です。
-.PP
-.Ip "-U"
-漢字をローマ字に変換する場合に、
-アルファベットをすべて大文字にします。
--Ja -Jj と共に使った場合のみ有効です。
-.SH その他のオプション
-.Ip "\-rk"
-ローマ字への変換様式をヘボン式から訓令式に変更します。
-例えば、'し' は標準では 'shi' ですが、 'si' になります。
-.B -r
-のみもしくは、
-.B -rh
-などの指定では
-.I "Hepburn (ヘボン)"
-式になります。
-.PP
-.Ip "\-t"
-ローマ字への変換で従来のヘボン式を利用します。
-.Ip "\-u"
-文字の出力ごとに
-.B "fflush()"
-を呼びます。
-system V などで端末出力をすぐ見たい時に必要になるかもしれません。
-.Ip "\-w"
-分かち書きをします。詳しくは、README.wakati をご覧下さい。
-.Ip "\-l[123456jn]"
-学年別ひらがな変換機能(仮名表記モード)を指定します。
-詳しくは、README.level をご覧下さい。
-.Ip "\-L[123456jn]"
-学年別ひらがな変換機能(振り仮名モード)を指定します。
-詳しくは、README.level をご覧下さい。
-.SH 辞書
-.I KAKASI
-ではユーザの辞書を任意に追加することができます。使用できる辞書は
-.I SKK
-の辞書に準じたフォーマットか
-.I Wnn
-の ASCII 形式などのように、
-1 行に読みと熟語の順に並んでいて、
-空白、タブ、カンマ等で区切られているものが使えます。
-辞書の漢字コーディングは JIS または EUC に限ります。
-詳細については JISYO というファイルを参照してください。
-.SH 環境変数
-.Ip KANWADICTPATH
-kanwadict の場所 (ファイル名を含むフルパス) を指定することができます。
-省略時は $prefix/share/kakasi/kanwadict を設定したのと同じことになります。
-.Ip ITAIJIDICTPATH
-itaijidict の場所 (ファイル名を含むフルパス) を指定することができます。
-省略時は $prefix/share/kakasi/itaijidict を設定したのと同じことになります。
-.SH AUTHOR
-高橋 裕信 <takahasi@tiny.or.jp>
-.SH FILES
-.Ip "$prefix/share/kakasi/kanwadict"
-.I KAKASI
-の基本辞書です。
-インストール時に mkkanwa によって作成されます。
-.SH SEE ALSO
-mkkanwa(1)
-.SH DIAGNOSTICS
-辞書にトラブルがあれば 0 以外の値を返します。
-.SH BUGS
-.\" たくさんあるはずです。
-.\" みつけたら takahasi@tiny.or.jp までレポートしてください。
-何かありましたら、高橋さんにではなく、KAKASI プロジェクト
-<kakasi-dev@namazu.org> までお知らせ下さい。
\ No newline at end of file

=== removed directory '.pc/0002-utf8.patch'
=== removed directory '.pc/0002-utf8.patch/man'
=== removed file '.pc/0002-utf8.patch/man/kakasi.1'
--- .pc/0002-utf8.patch/man/kakasi.1	2014-02-03 00:00:27 +0000
+++ .pc/0002-utf8.patch/man/kakasi.1	1970-01-01 00:00:00 +0000
@@ -1,271 +0,0 @@
-.\" $Id: kakasi.1,v 1.1 2003-02-23 14:31:04 baba Exp $
-.\" Copyright (C) 1992
-.\" Hironobu Takahashi (takahasi@tiny.or.jp)
-.\" Translated to English by J. Grant, and H. Baba
-.\"
-.\" This program is free software; you can redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as published by
-.\" the Free Software Foundation; either versions 2, or (at your option)
-.\" any later version.
-.\"
-.\" This program is distributed in the hope that it will be useful
-.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public License
-.\" along with KAKASI, see the file COPYING.  If not, write to the Free
-.\" Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-.\" 
-.de Sp
-.if t .sp .5v
-.if n .sp
-..
-.de Ip
-.br
-.ie \\n.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH KAKASI 1 LOCAL
-.UC 6
-.SH NAME
-KAKASI \- Kanji kana simple inverter (between Kanji, both Kana and Romaji)
-.SH SYNOPSIS
-.B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
-.SH DESCRIPTION
-.I KAKASI
-In Japanese sentences are often made up a mixture of Chinese
-characters (Kanji), Kana (Hiragana and Katakana) and Romaji (Latin 
-phonetical pronunciation).  This program converts between these four
-different ways of writing Japanese.
-
-This program is useful for those whose terminal or desktop does not
-support the native display of Japanese.  Also this is a great tool
-for those who are learning Japanese (international students and 
-children etc).
-
-A word can be passed into the standard input (stdin), then it is
-translated and output to standard out (stdout).  In the following
-example the "bunchu" Kanji is converted into Hiragana.
-.PP
-.Ip "" 10
-kakasi \-JH < document
-.PP
-Since version 2.3.0 text with spaces in\-between words has been supported.
-In the following example the output has spaces in\-between each word.
-.Ip "" 10
-kakasi \-w < document
-.PP
-Since version 2.3.5 level conversion mode has been supported.
-In the following example, simple Kanjis are left them unconverted,
-and difficult Kanjis are translated into Hiragana.
-.Ip "" 10
-kakasi \-l4 < document
-.PP
-.I KAKASI
-It is possible to convert letters to alphabetical characters.  Also
-Katakana letters in the JIS x0201 character set and the Hiragana in
-the JIS x0208 character set can be converted between each other.
-.PP
-.I KAKASI
-The following character set in brackets which is displayed.
-.PP
-.Ip "ASCII (a)" 10
-Known as "ascii" character set.
-.PP
-.Ip "JISROMAN (j)" 10
-Known as "jis roman" character set.
-.PP
-.Ip "GRAPHIC (g)" 10
-It is the DEC graphic character set.
-.PP
-.Ip "Katakana (k)" 10
-.br
-JIS x0201, defined as part of the GR character set.
-.PP
-.Ip "" 10
-As a matter of convinience, JIS x0208 is divided as stated below.
-.PP
-.Ip "Kanji (J)" 10
-.br
-JIS x0208 characters included between 16 and 94 sections.
-.Ip "Hiragana (H)" 10
-.br
-JIS x0208 characters included in section 4 (Hiragana)
-.Ip "Katakana (K)" 10
-.br
-JIS x0208 characters included in section 5 (Katakana)
-.Ip "Sign (E)"
-.br
-JIS x0208 characters included in section 1,2,3,6,7, and 8.
-(Note that section 9\-15 are undefined in JIS x0208.)
-.PP
-Translation between the following character sets are available.
-.PP
-.Ip "ASCII" 13
--> JISROMAN, Sign
-.Ip "JISROMAN" 13
--> ASCII, Sign
-.Ip "GRAPHIC" 13
--> ASCII, JISROMAN, Sign
-.Ip "JISx0201 Katakana" 13
--> ASCII, JISROMAN, Kana, Hiragana
-.Ip "Sign" 13
--> ASCII, JISROMAN
-.Ip "Katakana" 13
--> ASCII, JISROMAN, JISx0201 Katakana, Hiragana
-.Ip "Hiragana" 13
--> ASCII, JISROMAN, JISx0201 Katakana, Kana
-.Ip "Kanji" 13
--> ASCII, JISROMAN, JISx0201 Katakana, Kana, Hiragana
-.PP
-With conversion of ASCII and the JISROMAN the alphabetical character conversion
-is done from JISx0201 Katakana, Katakana, Hiragana and Kanji.
-.PP
-.Ip "Example:" 4
-.sp
-1. All kanji characters are converted to Hiragana.
-.sp
-    kakasi \-JH 
-.sp
-2. All JIS x0208 characters are converted to JIS X 0201.
-.sp
-.sp
-    kakasi \-Hk \-Kk \-Jk \-Ea
-.sp
-3. All characters are converted to JIS X 0208.
-.sp
-    kakasi \-aE \-jE \-gE \-kK
-.sp
-4. All characters are converted to ascii and words are separated.
-.sp
-    kakasi \-Ha \-Ka \-Ja \-Ea \-ka
-.sp
-5. Exchange between Katakana and Hiragana characters.
-.sp
-    kakasi \-HK \-KH
-.PP
-
-.SH CONVERSION DESIGNATED CHARACTER SET
-
-Some character sets are categorized by kakasi and indicated by
-following mnemonics: a, j, g, k, E, H, K, J.
-
-      a \-\-\- ASCII characters
-      j \-\-\- JIS ROMAN ( nearly equal to ASCII, "~" and "\" are
-            different ) defined by JIS x0201
-      g \-\-\- DEC Graphic Characters
-      k \-\-\- KATAKANA defined by JIS x0201
-
-E, H, K, and J are included in JIS x0208 character set.
-
-      J \-\-\- KANJI characters of JIS x0208.
-      H \-\-\- HIRAGANA characters of JIS x0208.
-      K \-\-\- KATAKANA characters of JIS x0208.
-      E \-\-\- Rest of above characters of JIS x0208 which includes
-            alphabets, numbers, symbols and so on.
-
-\-(from)(to) means conversion from character set (from) to (to).
-For example, \-JK option causes KANJI characters are converted
-to HIRAGANA. Combinations in the following table are available.
-(You must not remember it, because the \-h shows same information)
-
-      to\\from|    a    j    k    E    H     K    J    g
-      \-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-         a   |    \-    o    o1   o    o1    o1   o12  o
-         j   |    o    \-    o1   o    o1    o1   o12  o
-         k   |              \-         o     o    o2
-         E   |    o    o         \-                    o
-         H   |              o         \-     o    o2
-         K   |              o         o     \-
-
-      o  \-\- converted.
-      1  \-\- converted to Romaji.
-      2  \-\- Kanji \-> Kana conversion.
-
-.SH KANJI CODING CONVERSION
-Unfortunately, several coding systems are used in Japan and JIS
-x0208 standard are changed at 1983. Therefore, KAKASI can
-automatically distinguish the coding system and coding revision
-and then use the same output coding system if the document does
-not include JIS x0201 KATAKANA.  If JIS x0201 KATAKANA is
-included or you wish to change kanji coding system, you may
-use the next options.
-
-      \-i : input coding
-      \-o : output coding
-
-      jis \-\- Widely used on the internet. (Ex: fj, jp, .. newsgroups)
-             Derived from ISO\-2022 coding manner.
-             newjis: JISx0208 (1983) invoked by ESC\-$\-B.
-             oldjis: JISx0208 (1978) invoked by ESC\-$\-@.
-      euc,dec \-\- Often used in UNIX like computers. JISx0208 is
-             assigned to GR ( MSB is 1 ). The major difference between
-             euc and dec is assignment of JISx0201 KATAKANA and
-             the DEC graphic character.
-      sjis \-\- Defined by Microsoft Corp. Widely used on the personal
-             computers ( MSDOS, Mac, .. )
-
-.SH ROMAJI CONVERSION
-Kanji kana conversion options. Used with \-J? option.
-There are 2 types of Romaji writing.  The first is the Kunrei
-method defined by Japanese government, and the second is the
-Hepburn method.  I think Hepburn method sounds naturally to
-foreigners.
-
-      \-rhepburn : Hepburn Method (default)
-      \-rkunrei  : Kunrei Method
-
-.SH OTHER OPTIONS
-
-      \-p: List all possible readings. If there exist two or more
-          possible readings, KAKASI shows them in braces {aaa,bbb}.
-      \-s: Insert a separate character between words.
-      \-f: Furigana mode. Shows the original kanji word with reading.
-      \-c: Skip characters within word. ( default TAB CR LF BLANK )
-      \-C: Capitalize Romaji word (with \-Ja or \-Jj option)
-      \-U: Upcase romaji word (with \-Ja or \-Jj option)
-      \-u: Call fflush().
-      \-w: wakatigaki mode. 'wakatigaki' is word segmentation for
-          Japanese sentences.
-
-
-.SH DICTIONARIES
-.I KAKASI
-can accept additional dictionary to the system dictionary.
-The acceptable format of additional dictionary is
-.I SKK
-format, and
-.I Wnn
-format, and so on.
-Namely, each record is one line with two fields, Yomi (reading) and 
-Jukugo(idiom).  Fields are separated with commas (or TAB, or blank).
-The kanji code is restricted to JIS or EUC.
-See another document named JISYO for more details.
-.SH ENVIRONMENT VARIABLES
-The behavior is affected by the following environment variables.
-.Ip KANWADICTPATH
-Specifies a path of kanwadict (full\-path including filename).
-Default value is $prefix/share/kakasi/kanwadict.
-.Ip ITAIJIDICTPATH
-Specifies a path of itaijidict (full\-path including filename).
-Default value is $prefix/share/kakasi/itaijidict.
-.SH AUTHOR
-Hironobu Takahasi <takahasi@tiny.or.jp>
-.SH FILES
-.Ip "$prefix/share/kakasi/kanwadict"
-It is a binary dictionary of 
-.I KAKASI.
-It is automatically converted from kakasidict by mkkanwa
-when the package is installed.
-.SH SEE ALSO
-mkkanwa(1)
-.SH DIAGNOSTICS
-Return status except 0 when there is any trouble.
-.SH BUGS
-Report bugs to KAKASI Project <kakasi\-dev@namazu.org>.
-Please DO NOT CONTACT to the originator (Takahasi\-san).
-.SH NOTE ABOUT ENGLISH MANUAL
-The content of English manual is not exactly same as that of Japanese manual.
-

=== removed file '.pc/0002-utf8.patch/man/kakasi.1.ja'
--- .pc/0002-utf8.patch/man/kakasi.1.ja	2014-02-03 00:00:27 +0000
+++ .pc/0002-utf8.patch/man/kakasi.1.ja	1970-01-01 00:00:00 +0000
@@ -1,472 +0,0 @@
-.\" $Id: kakasi.1.ja,v 1.2 2006-01-04 08:13:46 knok Exp $
-.\" Copyright (C) 1992
-.\" Hironobu Takahashi (takahasi@tiny.or.jp)
-.\"
-.\" This program is free software; you can redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as published by
-.\" the Free Software Foundation; either versions 2, or (at your option)
-.\" any later version.
-.\"
-.\" This program is distributed in the hope that it will be useful
-.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public License
-.\" along with KAKASI, see the file COPYING.  If not, write to the Free
-.\" Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-.\" 
-.de Sp
-.if t .sp .5v
-.if n .sp
-..
-.de Ip
-.br
-.ie \\n.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH KAKASI 1 LOCAL
-.UC 6
-.SH NAME
-KAKASI \- Kanji kana simple inverter (漢字かな読み上げ)
-.SH SYNOPSIS
-.B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
-.SH DESCRIPTION
-.I KAKASI
-は漢字かな混じり文をかなだけの文やローマ字表記に変換することを
-目的として作られました。
-漢字の読めない端末を使った時や、
-漢字に不慣れな外国人や子供に文章を紹介したい時などに使えるかもしれません。
-標準入力から日本語の文章を入力すると、
-指定された文字セットに変換されて出力されます。 
-.PP
-例えば次の例では文中の漢字がひらがなに変換されます。
-.Ip "" 10
-kakasi \-JH < document
-.PP
-バージョン 2.3.0 からは、分かち書き機能が追加されました。
-例えば次の例では、日本語文が分かち書きされて出力されます。
-.Ip "" 10
-kakasi \-w < document
-.PP
-バージョン 2.3.5 からは、学年別ひらがな変換機能が追加されました。
-例えば次の例では、小学4年生までに習った漢字は漢字のまま表示し、
-それ以外の難しい漢字はひらがなに開いて出力されます。
-.Ip "" 10
-kakasi \-l4 < document
-.PP
-.I KAKASI
-は文字をローマ字に変換したり、
-JIS x0201
-のかたかな文字や、
-JIS x0208
-のひらがな、
-かたかなの間で相互に変換できます。
-.I KAKASI
-では文字セットとして次のものを理解します。
-(カッコの中は
-.I KAKASI
-のオプションとして指定する文字を表します。)
-.PP
-.Ip "ASCII (a)" 10
-いわゆる ascii です。'〜', '＼' が含まれています。
-.PP
-.Ip "JISROMAN (j)" 10
-いわゆる jis roman です。'￣' , '￥' が含まれています。
-.PP
-.Ip "GRAPHIC (g)" 10
-これについては正しい名称を知りません。
-DEC 社の端末で表示される罫線などがこの文字セットに含まれます。
-.PP
-.Ip "かたかな (k)" 10
-.br
-JIS x0201 で定義されている文字セットのうち GR の部分です。
-.PP
-.Ip "" 10
-以下は JIS x0208 を便宜上分割したものです。規格上は全体で一つの文字セットです。
-.PP
-.Ip "漢字 (J)" 10
-.br
-16 区以降の `亜' に続く文字です。
-.Ip "ひらがな (H)" 10
-.br
-4 区にあるひらがなです。
-.Ip "かたかな (K)" 10
-.br
-5 区にあるかたかなです。
-ひらがなと 1 区ずれただけでなく、独自の個性が発揮されているものです。
-.Ip "記号 (E)"
-.br
-上記以外の文字です。
-.PP
-次の文字セット間の変換が指定できます。
-.PP
-.Ip "ASCII" 13
-\-> JISROMAN, 記号
-.Ip "JISROMAN" 13
-\-> ASCII, 記号
-.Ip "GRAPHIC" 13
-\-> ASCII, JISROMAN, 記号
-.Ip "JISx0201のかたかな" 13
-\-> ASCII, JISROMAN, カナ, ひらがな
-.Ip "記号" 13
-\-> ASCII, JISROMAN
-.Ip "かたかな" 13
-\-> ASCII, JISROMAN, JISx0201のかたかな, ひらがな
-.Ip "ひらがな" 13
-\-> ASCII, JISROMAN, JISx0201のかたかな, カナ
-.Ip "漢字" 13
-\-> ASCII, JISROMAN, JISx0201のかたかな, カナ, ひらがな
-.PP
-漢字からの変換では読み上げによって変換します。
-JISx0201かたかな、かたかな、ひらがな、漢字から ASCII と JISROMAN への
-変換ではローマ字変換を行います。
-.PP
-.SH "文字セットの変換指定オプション"
-.PP
-.Ip "\-a[jE]"
-.B E
-が指定されると JISx0208 の記号への変換になります。
-それ以外のコードが指定されるか, 引数がないと変換しません。
-.PP
-.Ip "\-j[aE]"
-.B E
-が指定されると JISx0208 の記号への変換になります。
-.PP
-.Ip "\-g[ajE]"
-ちょっと無理があります。
-.PP
-.Ip "\-k[ajKH]"
-.B aj
-を指定するとローマ字に変換します。
-.B KH
-では JISx0208 のかたかなやひらがなに変換します。
-.PP
-.Ip "\-E[aj]"
-JISx0208 の記号を ASCII または JIS ROMAN にします。
-現在のバージョンではそのほとんどが手抜き工事になっています。
-.PP
-.Ip "\-H[ajkK]"
-.B aj
-を指定するとローマ字に変換します。
-.B k
-ではJISx0201のかたかなに、
-.B K
-ではかたかなに変換します。
-.PP
-.Ip "\-K[ajkH]"
-.B aj
-を指定するとローマ字に変換します。
-.B k
-ではJISx0201のかたかなに、
-.B H
-ではひらがなに変換します。
-.PP
-.Ip "\-J[ajkHK]"
-まず辞書を引いて読み上げ、
-.B aj
-が指定されるとローマ字に変換します。
-.B k
-ではJISx0201のかたかなに、
-.B H
-ではひらがなに、
-.B K
-ではかたかなに変換します。
-.PP
-.Ip "Example:" 4
-.sp
-1. 漢字をひらがなに読み上げる
-.sp
-    kakasi \-JH 
-.sp
-2. すべての JISx0208 で定義された文字をおきかえる。
-.sp
-.sp
-    kakasi \-Hk \-Kk \-Jk \-Ea
-.sp
-3. すべての文字を JISx0208 の文字におきかえる。
-.sp
-    kakasi \-aE \-jE \-gE \-kK
-.sp
-4. ローマ字変換
-.sp
-    kakasi \-Ha \-Ka \-Ja \-Ea \-ka
-.sp
-5. かたかなとひらがなを交換
-.sp
-    kakasi \-HK \-KH
-.PP
-.SH 漢字コーディング
-.PP
-.I KAKASI
-では次の漢字コーディングシステムが使えます。
-.PP
-           JIS, OLDJIS, EUC, DEC, SJIS
-.PP
-.Ip "\-i{jis, oldjis, euc, dec, sjis}"
-入力側の漢字コードを指定します。
-もしも指定されない場合には入力から判断しようとします。
-.I KAKASI
-は入力をためこんで統計的に処理する方法がとれないので、
-最初の漢字らしい文字をもって判断します。
-.sp
-1. ESC\-$\-B
-.br
-JIS コーディングと解釈します。
-またこれ以降は G0 に 新JIS が指示されたものとします。
-.sp
-2. ESC\-$\-@
-.br
-旧JIS コーディングと解釈します。
-またこれ以降は G0 に 旧JIS が指示されたものとします。
-.sp
-3. 0x80 以上の値
-.br
-この時さらに 1 Byte を入力して、
-この 2 Byte で シフトJIS の JISx0208 文字として解釈できる場合、
-新JIS コーディングと解釈します。
-またこれ以降は GR は使えず シフトJIS の文字として解釈されます。
-.sp
-4. 0x80 で上記に該当しない
-.br
-以降は EUC コーディングを仮定します。
-.br
-なお、オプションで指定する以外に DEC コーディングが指定されることはありません。
-.br
-最初にJISx0201のかたかなを表現する 0xa0 以上のコードに遭遇した場合と、
-EUC コードなのに SJIS としても解釈され得る文字に遭遇すると誤って解釈します。
-つまり `燹' から `螢' までの 945 文字のいずれかが EUC で表現されていても
-SJIS に解釈されてしまいます。
-.PP
-.Ip "\-o{jis, oldjis, euc, dec, sjis}" 8
-出力側の漢字コーディングを指定します。
-もしも指定されない場合には入力と同じにします。
-.PP
-漢字のコーディングのモデルとしては、
-以下のように文字セットの指示と呼出しがされているものとします。
-.PP
-JIS:
-.PP
-    GL \-\- G0 \-\- ASCII
-    GR \-\- G1 \-\- JISx0201のかたかな
-          G2 \-\- JISx0201のかたかな
-          G3 \-\- JISx0201のかたかな
-.PP
-JISx0208 の文字は ESC\-$\-B を用いて G0 に指示をして出力します。
-.PP
-OLDJIS:
-.PP
-    GL \-\- G0 \-\- JISROMAN
-    GR \-\- G1 \-\- JISx0201のかたかな
-          G2 \-\- JISx0201のかたかな
-          G3 \-\- JISx0201のかたかな
-.PP
-JISx0208 の文字は ESC\-$\-@ を用いて G0 に旧JISを指示をして出力します。
-.PP
-EUC:
-.PP
-    GL \-\- G0 \-\- ASCII
-          G1 \-\- JISx0201のかたかな
-          G2 \-\- JISx0201のかたかな
-    GR \-\- G3 \-\- JISx0208 の文字
-.PP
-JISx0201のかたかなの表示には ESC\-N (シングル シフト)を使って、
-GR に G2 を呼出して出力します。
-.PP
-DEC:
-.PP
-    GL \-\- G0 \-\- ASCII
-          G1 \-\- GRAPHIC
-          G2 \-\- JISx0201のかたかな
-    GR \-\- G3 \-\- JISx0208 の文字
-.PP
-JISx0201のかたかなの表示には ESC\-} を使って GR に G2 を呼出して出力します。
-.PP
-SJIS:
-.PP
-    GL \-\- G0 \-\- ASCII
-          G1 \-\- JISx0201のかたかな
-          G2 \-\- JISx0201のかたかな
-          G2 \-\- JISx0201のかたかな
-    GR \-\- SHIFTJIS
-.PP
-JISx0201のかたかなとJISx0208 の文字の表示は GR で行います。
-.PP
-入力側では次のようにエスケープシークエンスを解釈します。
-.PP
-呼出し:
-.br
-           G0     G1     G2     G3
-.br
-GL:        SI     SO    ESC\-n  ESC\-o
-.br
-GR:              ESC\-~  ESC\-}  ESC\-|
-.sp
-シングルシフト:
-.br
-           G0     G1     G2     G3
-.br
-                        ESC\-N  ESC\-O
-.br
-                        (SS2)  (SS3)
-.sp
-指示：
-.br
-.br
-       ASCII   JISROMAN GRAPHIC  かたかな   旧JIS     新JIS
-.br
-G0:   ESC\-(\-B  ESC\-(\-J  ESC\-(\-0  ESC\-(\-I   ESC\-$\-@   ESC\-$\-B
-.br
-G1:   ESC\-)\-B  ESC\-)\-J  ESC\-)\-0  ESC\-)\-I  ESC\-$\-)\-@ ESC\-$\-)\-B
-.br
-G2:   ESC\-*\-B  ESC\-*\-J  ESC\-*\-0  ESC\-*\-I  ESC\-$\-*\-@ ESC\-$\-*\-B
-.br
-G3:   ESC\-+\-B  ESC\-+\-J  ESC\-+\-0  ESC\-+\-I  ESC\-$\-+\-@ ESC\-$\-+\-B
-.sp
-.SH 漢字かな変換オプション
-.PP
-.B "\-Jx"
-あるいは
-.B "\-w"
-を使って漢字からの変換にのみ適用されるオプションです。
-他の変換には影響しません。
-.Ip "\-p"
-辞書中で照合したものが複数ある時に、そのすべてを表示します。
-多くの単語は複数の読みがあります。
-その場合 {} でくくって表示します。
-.sp
-        素子 \-> {もとこ|そし}
-.Ip "\-s"
-漢字からの変換で変換ごとに空白等の区切を入れるようにします。
-前にすでに改行、空白、TAB が入っていればなにもしませんが、
-なければ空白文字を入れます。
-また後ろにも空白を入れます。
-漢字かな混じり文をローマ字に変換する場合には不可欠ですね。
-.sp
-    "漢字かな混じり文をローマ字に変換"
-.br
-    " kan'zi kana ma ziri bun' woro\-ma zi ni hen'kan' "
-.PP
-.Ip "\-S"
-\-s オプションあるいは \-w オプション指定時に出力される区切り文字は
-デフォルトでは空白文字 ' ' ですが、
-\-S オプションで任意の ASCII 文字列を指定することができます。
-たとえば \-s \-S__ のようにオプションを与えると、
-.sp
-    "漢字かな混じり文を"
-.sp
-が、
-.sp
-    "漢字__かな__混__じり__文__を"
-.sp
-となります。あるいは、\-s \-S"<sep>" とすれば、
-.sp
-    "漢字<sep>かな<sep>混<sep>じり<sep>文<sep>を"
-.sp
-となります。
-.Ip "\-f"
-ふりがなモード。
-つまり変換前の漢字の脇にその読みを差し込みます。
-.sp
-  "変換前の漢字の脇に"
-.sp
-  "変換前[へんかんまえ]の漢字[かんじ]の脇[わき]に"
-.PP
-.Ip "\-F"
-ふりがなモード時の括弧として任意の ASCII 文字列を指定します。
-左右の括弧に対応して \-Fl と \-Fr というサフィックスがつきます。
-たとえば、左側に左丸括弧を指定するには \-Fl"(" と、
-右側に右丸括弧を指定するには \-Fr")" と指定します。
-.sp
-  "変換前(へんかんまえ)の漢字(かんじ)の脇(わき)に"
-.sp
-あるいは、\-JF \-f \-Fl"<ruby>" \-Fr"</ruby>" のように指定すると、
-以下のようにできます。
-.sp
-  "変換前<ruby>へんかんまえ</ruby>の漢字<ruby>かんじ</ruby>の脇<ruby>わき</ruby>に"
-.PP
-.Ip "\-c\"文字列\""
-漢字熟語中に含まれる、空白や改行を除いて読むようにします。
-複数の行に改行で分割されたり、行の先頭にタブや引用符がある時
-でもよみがなの解釈が行えるようにします。
-読みとばす文字の default  は{改行 タブ 空白}ですが、
-任意の ascii 文字が追加できます。
-JUNET のニュースならば、引用を示す \-c'>' とするといいでしょう。
-以下の例では \-c">_" としたものです。
-.sp
-    >> このバグについてはこれから検
-    >> 討してみます。  谷_山__浩_子
-.sp
-    >> このバグについてはこれからけんとう
-    >> してみます。  たにやま___ひろこ_
-.PP
-.Ip "\-C"
-漢字をローマ字に変換する場合に、
-先頭のアルファベットを大文字にします。
-\-Ja \-Jj と共に使った場合のみ有効です。
-.PP
-.Ip "\-U"
-漢字をローマ字に変換する場合に、
-アルファベットをすべて大文字にします。
-\-Ja \-Jj と共に使った場合のみ有効です。
-.SH その他のオプション
-.Ip "\-rk"
-ローマ字への変換様式をヘボン式から訓令式に変更します。
-例えば、'し' は標準では 'shi' ですが、 'si' になります。
-.B \-r
-のみもしくは、
-.B \-rh
-などの指定では
-.I "Hepburn (ヘボン)"
-式になります。
-.PP
-.Ip "\-t"
-ローマ字への変換で従来のヘボン式を利用します。
-.Ip "\-u"
-文字の出力ごとに
-.B "fflush()"
-を呼びます。
-system V などで端末出力をすぐ見たい時に必要になるかもしれません。
-.Ip "\-w"
-分かち書きをします。詳しくは、README.wakati をご覧下さい。
-.Ip "\-l[123456jn]"
-学年別ひらがな変換機能(仮名表記モード)を指定します。
-詳しくは、README.level をご覧下さい。
-.Ip "\-L[123456jn]"
-学年別ひらがな変換機能(振り仮名モード)を指定します。
-詳しくは、README.level をご覧下さい。
-.SH 辞書
-.I KAKASI
-ではユーザの辞書を任意に追加することができます。使用できる辞書は
-.I SKK
-の辞書に準じたフォーマットか
-.I Wnn
-の ASCII 形式などのように、
-1 行に読みと熟語の順に並んでいて、
-空白、タブ、カンマ等で区切られているものが使えます。
-辞書の漢字コーディングは JIS または EUC に限ります。
-詳細については JISYO というファイルを参照してください。
-.SH 環境変数
-.Ip KANWADICTPATH
-kanwadict の場所 (ファイル名を含むフルパス) を指定することができます。
-省略時は $prefix/share/kakasi/kanwadict を設定したのと同じことになります。
-.Ip ITAIJIDICTPATH
-itaijidict の場所 (ファイル名を含むフルパス) を指定することができます。
-省略時は $prefix/share/kakasi/itaijidict を設定したのと同じことになります。
-.SH AUTHOR
-高橋 裕信 <takahasi@tiny.or.jp>
-.SH FILES
-.Ip "$prefix/share/kakasi/kanwadict"
-.I KAKASI
-の基本辞書です。
-インストール時に mkkanwa によって作成されます。
-.SH SEE ALSO
-mkkanwa(1)
-.SH DIAGNOSTICS
-辞書にトラブルがあれば 0 以外の値を返します。
-.SH BUGS
-.\" たくさんあるはずです。
-.\" みつけたら takahasi@tiny.or.jp までレポートしてください。
-何かありましたら、高橋さんにではなく、KAKASI プロジェクト
-<kakasi\-dev@namazu.org> までお知らせ下さい。

=== modified file '.pc/0003-prefix.patch/man/kakasi.1'
--- .pc/0003-prefix.patch/man/kakasi.1	2014-02-03 00:00:27 +0000
+++ .pc/0003-prefix.patch/man/kakasi.1	2014-03-22 23:58:46 +0000
@@ -1,4 +1,4 @@
-.\" $Id: kakasi.1,v 1.1 2003-02-23 14:31:04 baba Exp $
+.\" $Id: kakasi.1,v 1.3 2014-02-03 07:07:16 knok Exp $
 .\" Copyright (C) 1992
 .\" Hironobu Takahashi (takahasi@tiny.or.jp)
 .\" Translated to English by J. Grant, and H. Baba

=== modified file '.pc/0003-prefix.patch/man/kakasi.1.ja'
--- .pc/0003-prefix.patch/man/kakasi.1.ja	2014-02-03 00:00:27 +0000
+++ .pc/0003-prefix.patch/man/kakasi.1.ja	2014-03-22 23:58:46 +0000
@@ -1,4 +1,4 @@
-.\" $Id: kakasi.1.ja,v 1.2 2006-01-04 08:13:46 knok Exp $
+.\" $Id: kakasi.1.ja,v 1.4 2014-02-03 07:07:16 knok Exp $
 .\" Copyright (C) 1992
 .\" Hironobu Takahashi (takahasi@tiny.or.jp)
 .\"

=== modified file '.pc/applied-patches'
--- .pc/applied-patches	2014-02-03 00:00:27 +0000
+++ .pc/applied-patches	2014-03-22 23:58:46 +0000
@@ -1,4 +1,2 @@
-0001-hyphen.patch
-0002-utf8.patch
 0003-prefix.patch
 0004-multiarch.patch

=== modified file 'ChangeLog'
--- ChangeLog	2014-02-01 20:45:09 +0000
+++ ChangeLog	2014-03-22 23:58:46 +0000
@@ -1,4 +1,57 @@
-2014-01-18  knok  <knok@kerl.knok.ddns.daionet.gr.jp>
+2014-03-18  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* configure.in: Bump version 2.3.6.
+	* NEWS: 2.3.6 description.
+
+2014-02-19  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* src/kanjiio.c: Add iconv_t cast.
+
+2014-02-13  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* src/dict.c: Define uintptr_t as a typedef instead of #define.
+
+2014-02-07  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* src/hh2.c (H2H): Fix unnecessary separate string output
+	 when first input char is hiragana.
+
+	* tests/kakasi-9: Add wakatigaki test.
+	* tests/data/*: Test data for the above.
+
+2014-02-03  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* man/kakasi.1: Add escape chars before hyphen.
+	  - Add utf8 on encoding option.
+	* man/kakasi.1.ja: Ditto.
+	* man/kakasi-config.1: New file.
+	  - These modifications are contributed by Osamu Aoki,thanks.
+	* TODO: Add a new task (subsitute prefix directory in manpages).
+
+2014-01-31  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* configure.in: Chage to check gcc flags in runtime, 
+	  instead of the configure file generation time.
+	 Fix utf8 check in runtime.
+
+2014-01-29  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+	* configure.in: Check -Wno-unused-result option in gcc.
+
+2014-01-28  NOKUBI Takatsugu  <knok@daionet.gr.jp>
+
+
+	* configure.in: Bumped Version 2.3.6dev.
+
+	* tests/kakasi-1 : Check GNU od.
+
+	* tests/kakasi-4 : Check GNU echo.
+
+	* tests/kakasi-5: Set exit status to 77 (SKIP)
+
+	* tests/kakasi-8: use $CC instead of gcc.
+
+2014-01-18  NOKUBI Takatsugu  <knok@daionet.gr.jp>
 
 	* Version 2.3.5.
 

=== modified file 'NEWS'
--- NEWS	2010-03-21 15:27:39 +0000
+++ NEWS	2014-03-22 23:58:46 +0000
@@ -1,3 +1,25 @@
+KAKASI 2.3.5 から 2.3.6 での変更点
+
+       * テストコードの実行環境を調べ、テストが行えない環境ではスキップ
+         するよう修正
+
+       * configure時にコンパイラの対応オプションがあるかどうかを確認
+         (古いgccが-Wno-unused-resultオプションを受け付けない問題への
+	 対応)
+
+       * autoconf実行時にiconvの有無をチェックしていたのを、configure
+         時にチェックするよう修正
+
+       * マニュアルの修正、追加 (Osamu Aokiさんによる)
+
+       * 分かち書きにおいて、行頭がASCII文字の場合余計にデリミタを
+         出力するバグを修正
+
+       * unitptr_tをマクロ定義からtypedefに変更(一部のコンパイラで
+         マクロが処理できない問題を回避)
+
+       * iconv関連のキャスト不足を修正
+ 
 KAKASI 2.3.4 から 2.3.5 での変更点
 
 	* UTF-8 の入出力に対応 (要 iconv)

=== modified file 'TODO'
--- TODO	2014-02-01 20:45:09 +0000
+++ TODO	2014-03-22 23:58:46 +0000
@@ -1,3 +1,5 @@
+* manpageのprefixをconfigure時に書き換える
+
 * --enable-wakatigaki オプションの廃止。
 
 * -JH オプションをつけると読めない漢字は表示しないので、

=== modified file 'configure'
--- configure	2014-02-01 20:45:09 +0000
+++ configure	2014-03-22 23:58:46 +0000
@@ -2673,7 +2673,7 @@
 
 # Define the identity of the package.
  PACKAGE=kakasi
- VERSION=2.3.5
+ VERSION=2.3.6
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3888,9 +3888,7 @@
 fi
 
 
-if test -n "$GCC"; then
-    CFLAGS="$CFLAGS -Wall -Wunused -Wuninitialized -Wmissing-prototypes -Wmissing-declarations -pedantic -Wno-unused-result"
-fi
+
 
 
 
@@ -11576,7 +11574,6 @@
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utf8" >&5
 $as_echo "$utf8" >&6; }
-if test "${utf8}" = "yes" ; then
 
       if test "X$prefix" = "XNONE"; then
     acl_final_prefix="$ac_default_prefix"
@@ -12541,6 +12538,9 @@
 
   fi
 
+if test "x$utf8" = x"yes"; then :
+
+
     LIBS="$LIBICONV $LIBS"
 
 $as_echo "#define KAKASI_SUPPORT_UTF8 1" >>confdefs.h
@@ -12571,11 +12571,69 @@
   conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
 
+
+fi
+
+if { ac_try='${CC-cc} -Wall  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -Wall"
+fi
+if { ac_try='${CC-cc} -Wunused  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -Wunused"
+fi
+if { ac_try='${CC-cc} -Wuninitialized  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -Wuninitialized"
+fi
+if { ac_try='${CC-cc} -Wmissing-declarations  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -Wmissing-declarations"
+fi
+if { ac_try='${CC-cc} -Wmissing-prototypes  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -Wmissing-prototypes"
+fi
+if { ac_try='${CC-cc} -pedantic  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -pedantic"
+fi
+if { ac_try='${CC-cc} -Wno-unused-result  -xc /dev/null -S -o /dev/null'
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  CFLAGS="$CFLAGS -Wno-unused-result"
 fi
 
 ac_config_headers="$ac_config_headers config.h"
 
-ac_config_files="$ac_config_files src/Makefile lib/Makefile lib/makefile.msc man/Makefile tests/Makefile Makefile kakasi-config kakasi.spec"
+ac_config_files="$ac_config_files src/Makefile lib/Makefile lib/makefile.msc man/Makefile tests/Makefile tests/data/Makefile Makefile kakasi-config kakasi.spec"
 
 ac_config_commands="$ac_config_commands default"
 
@@ -13585,6 +13643,7 @@
     "lib/makefile.msc") CONFIG_FILES="$CONFIG_FILES lib/makefile.msc" ;;
     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
+    "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "kakasi-config") CONFIG_FILES="$CONFIG_FILES kakasi-config" ;;
     "kakasi.spec") CONFIG_FILES="$CONFIG_FILES kakasi.spec" ;;

=== modified file 'configure.in'
--- configure.in	2014-02-01 20:45:09 +0000
+++ configure.in	2014-03-22 23:58:46 +0000
@@ -1,10 +1,10 @@
 dnl Process this file with autoconf to produce a configure script.
-dnl $Id: configure.in,v 1.17 2014-01-18 06:47:21 knok Exp $
+dnl $Id: configure.in,v 1.23 2014-03-18 06:33:20 knok Exp $
 
 AC_INIT
 AC_CONFIG_SRCDIR([src/kakasi.c])
 AC_PREREQ([2.50])
-AM_INIT_AUTOMAKE(kakasi, 2.3.5)
+AM_INIT_AUTOMAKE(kakasi, 2.3.6)
 
 AM_MAINTAINER_MODE
 
@@ -14,9 +14,9 @@
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 
-if test -n "$GCC"; then
-    CFLAGS="$CFLAGS -Wall -Wunused -Wuninitialized -Wmissing-prototypes -Wmissing-declarations -pedantic -Wno-unused-result"
-fi
+AC_DEFUN([KAKASI_CHECK_CFLAGS],
+[AS_IF([AC_TRY_COMMAND([${CC-cc} $1  -xc /dev/null -S -o /dev/null])],
+			 [CFLAGS="$CFLAGS $1"])])
 
 dnl OS specific.
 AC_EXEEXT
@@ -80,7 +80,7 @@
   esac
 fi
 AC_MSG_RESULT($utf8)
-if test "${utf8}" = "yes" ; then
+AS_VAR_IF(utf8, "yes",[
     AM_ICONV
     LIBS="$LIBICONV $LIBS"
     AC_DEFINE(KAKASI_SUPPORT_UTF8, 1, [KAKASI_SUPPORT_UTF8])
@@ -88,7 +88,16 @@
 		    [if (iconv_open("EUC-JP", "UTF-8") == -1) exit(1);])],
 	[],
 	[AC_MSG_ERROR([can not use EUC-JP or UTF-8 encoding on iconv])])
-fi
+])
+
+dnl check gcc flags
+KAKASI_CHECK_CFLAGS([-Wall])
+KAKASI_CHECK_CFLAGS([-Wunused])
+KAKASI_CHECK_CFLAGS([-Wuninitialized])
+KAKASI_CHECK_CFLAGS([-Wmissing-declarations])
+KAKASI_CHECK_CFLAGS([-Wmissing-prototypes])
+KAKASI_CHECK_CFLAGS([-pedantic])
+KAKASI_CHECK_CFLAGS([-Wno-unused-result])
 
 AM_CONFIG_HEADER(config.h)
 AC_CONFIG_FILES([src/Makefile
@@ -96,6 +105,7 @@
 	   lib/makefile.msc
 	   man/Makefile
 	   tests/Makefile
+	   tests/data/Makefile
 	   Makefile
 	   kakasi-config
 	   kakasi.spec

=== removed directory 'debian-orig'
=== removed file 'debian-orig/changelog'
--- debian-orig/changelog	2014-02-01 20:45:09 +0000
+++ debian-orig/changelog	1970-01-01 00:00:00 +0000
@@ -1,195 +0,0 @@
-kakasi (2.3.5~pre1+cvs20071101-3) unstable; urgency=medium
-
-  * QA upload.
-
-  [ Logan Rosen ]
-  * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el
-    by getting new libtool macros (still updates config.{sub,guess}; closes:
-    #733709).
-
- -- Colin Watson <cjwatson@debian.org>  Thu, 09 Jan 2014 15:41:40 +0000
-
-kakasi (2.3.5~pre1+cvs20071101-2) unstable; urgency=low
-
-  * Set the Maintainer field to Debian QA Group.
-
- -- Keita Maehara <maehara@debian.org>  Tue, 02 Jul 2013 00:31:56 +0900
-
-kakasi (2.3.5~pre1+cvs20071101-1) unstable; urgency=low
-
-  * Maintainer release.
-  * New upstream snapshot (Closes: #184286, #162890, #273249, #273250,
-    #545045).
-  * Updated Standards-Version to 3.8.4.
-  * Switch to dpkg-source 3.0 (quilt) format.
-  * Switch to debhelper 7.
-  * Updated references to the upstream URL.
-  * Now libkakasi2-dev is in section libdevel.
-  * Removed symlinks to undocumented(7).
-  * Added missing upstream docs.
-  * Moved kakasi-config to libkakasi2-dev.
-
- -- Keita Maehara <maehara@debian.org>  Sun, 21 Mar 2010 15:27:39 +0900
-
-kakasi (2.3.4-3.2) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Fix FTBFS on avr32 (Closes: #535748) and ppc64 (Closes: #327131):
-     - Copy config.{guess,sub} before ./configure.
-     - Add autotools-dev to Build-Depends accordingly.
-  * Fix FTBFS on GNU/kFreeBSD (Closes: #306935):
-     - Call autoreconf -vfi before ./configure.
-     - Add autoconf, automake, libtool to Build-Depends accordingly.
-  * Fix watch file (Closes: #449790, #529120):
-     - Thanks to Yan Morin for the patch.
-  * Fix a few lintian warnings:
-     - Use debian/compat rather than DH_COMPAT.
-     - Add ${misc:Depends} to Build-Depends.
-     - Use ${binary:Version} in Build-Depends.
-     - Move dh_installdeb after dh_shlibdeps.
-
- -- Cyril Brulebois <kibi@debian.org>  Fri, 04 Dec 2009 22:33:14 +0100
-
-kakasi (2.3.4-3.1) unstable; urgency=low
-
-  * Non-maintainer upload to fix almost empty copyright file.
-    (Closes: #381338)
-
- -- Margarita Manterola <marga@debian.org>  Fri, 11 Aug 2006 17:21:30 -0300
-
-kakasi (2.3.4-3) unstable; urgency=low
-
-  * Added README.wakati (closes: Bug#189803).
-
- -- Keita Maehara <maehara@debian.org>  Tue, 30 Dec 2003 22:38:18 +0900
-
-kakasi (2.3.4-2) unstable; urgency=low
-
-  * Added a dependency on kakasi-dic to libkakasi2.
-
- -- Keita Maehara <maehara@debian.org>  Sat, 28 Sep 2002 20:55:49 +0900
-
-kakasi (2.3.4-1) unstable; urgency=low
-
-  * New upstream release.
-  * Removed add-log-mailing-address from changelog.
-
- -- Keita Maehara <maehara@debian.org>  Tue, 25 Dec 2001 23:18:48 +0900
-
-kakasi (2.3.3-3) unstable; urgency=low
-
-  * Maintainer release (closes: Bug#103346).
-
- -- Keita Maehara <maehara@debian.org>  Sat, 14 Jul 2001 23:50:12 +0900
-
-kakasi (2.3.3-2.1) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Run libtoolize to get support for new architectures.  Closes: #103346
-
- -- LaMont Jones <lamont@debian.org>  Mon,  9 Jul 2001 21:39:34 -0600
-
-kakasi (2.3.3-2) unstable; urgency=low
-
-  * Updated to Standards-Version 3.5.5.
-  * Replaced config.guess and config.sub to support hppa and ia64.
-  * Removed "dh_testversion" from debian/rules and added "Build-Depends:
-    debhelper" to debian/control.
-
- -- Keita Maehara <maehara@debian.org>  Sun,  8 Jul 2001 01:47:06 +0900
-
-kakasi (2.3.3-1) unstable; urgency=low
-
-  * New upstream release.
-  * Wrote a more verbose description (closes: Bug#74756).
-  * Added kakasi-config(1) manpage.
-
- -- Keita Maehara <maehara@debian.org>  Sun, 28 Jan 2001 11:39:35 +0900
-
-kakasi (2.3.2-1) unstable; urgency=low
-
-  * New upstream release.
-
- -- Keita Maehara <maehara@debian.org>  Sat, 29 Apr 2000 15:23:15 +0900
-
-kakasi (2.3.1-2) unstable; urgency=low
-
-  * Moved kakasi.1.gz under /usr/share/man/ja/man1.
-
- -- Keita Maehara <maehara@debian.org>  Thu, 13 Jan 2000 00:18:46 +0900
-
-kakasi (2.3.1-1) unstable; urgency=low
-
-  * New upstream release (A little patch for the previous version has
-    been incorporated into upstream ([namazu-dev 608])).
-  * Removed "$(MAKE) dict-install" from debian/rules.
-
- -- Keita Maehara <maehara@debian.org>  Tue,  2 Nov 1999 00:58:13 +0900
-
-kakasi (2.3.0-1) unstable; urgency=low
-
-  * New upstream release (closes: Bug#46291).
-  * Made mkinstalldirs line DESTDIR-aware in top-level Makefile.am
-    (therefore Makefile.in too). Already forwarded to upstream.
-
- -- Keita Maehara <maehara@debian.org>  Thu,  7 Oct 1999 23:21:08 +0900
-
-kakasi (2.2.5-7) unstable; urgency=low
-
-  * Updated to Standards-Version 3.0.0.
-  * Compiled with -O option instead of -O2 to avoid segfault problem.
-  * Added missing symlink libkakasi.so to libkakasi.so.2.2.5 and
-    explicit dependency on the same version of libkakasi2 to
-    libkakasi2-dev.
-
- -- Keita Maehara <maehara@debian.org>  Fri, 10 Sep 1999 22:35:54 +0900
-
-kakasi (2.2.5-6) unstable; urgency=low
-
-  * Official release for the Debian Project.
-  * Updated to Standards-Version 2.5.0.0.
-  * Applied library patch by Takatsugu Nokubi <knok@daionet.gr.jp> and
-    now kakasi consists of four packages: kakasi, kakasi-dic,
-    libkakasi2 and libkakasi2-dev.
-  * Miscellaneous changes.
-
- -- Keita Maehara <maehara@debian.org>  Sun,  4 Apr 1999 18:38:25 +0900
-
-kakasi (2.2.5-5) frozen unstable; urgency=low
-
-  * Moved kakasi.1.gz from /usr/man/ja_JP.ujis/man1 to
-    /usr/man/ja/man1.
-
- -- Keita Maehara <maehara@debian.or.jp>  Mon, 11 Jan 1999 21:48:31 +0900
-
-kakasi (2.2.5-4) unstable; urgency=low
-
-  * Applied "WAKATIGAKI" patch by Hajime Baba
-    <baba@kusastro.kyoto-u.ac.jp> (wishlist #JP/215).
-
- -- Keita Maehara <maehara@debian.or.jp>  Sat, 28 Feb 1998 03:12:38 +0900
-
-kakasi (2.2.5-3) unstable; urgency=low
-
-  * Built with libc6.
-  * Pristine upstream source (kakasidict is now provided as debian
-    .diff.gz patch).
-  * Built with debhelper scripts.
-
- -- Keita Maehara <maehara@debian.or.jp>  Sun,  7 Dec 1997 22:00:14 +0900
-
-kakasi (2.2.5-2) unstable; urgency=low
-
-  * Added -isp option to dpkg-gencontrol.
-
- -- Keita Maehara <maehara@debian.or.jp>  Sat, 1 Nov 1997 01:41:08 +0900
-
-kakasi (2.2.5-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- Keita Maehara <maehara@mbox.kyoto-inet.or.jp>  Sat, 13 Sep 1997 01:43:14 +0900
-
-Local variables:
-mode: debian-changelog
-End:

=== removed file 'debian-orig/compat'
--- debian-orig/compat	2014-02-01 20:45:09 +0000
+++ debian-orig/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-9

=== removed file 'debian-orig/control'
--- debian-orig/control	2014-02-01 20:45:09 +0000
+++ debian-orig/control	1970-01-01 00:00:00 +0000
@@ -1,68 +0,0 @@
-Source: kakasi
-Section: text
-Priority: optional
-Maintainer: "Natural Language Processing, Japanese" <pkg-nlp-ja-devel@lists.alioth.debian.org> 
-Uploaders: Osamu Aoki <osamu@debian.org>
-Build-Depends: debhelper (>= 9), autoconf, automake, libtool, dh-autoreconf
-Standards-Version: 3.8.5
-Homepage: http://kakasi.namazu.org
-
-Package: kakasi
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, kakasi-dic
-Description: KAnji KAna Simple Inverter
- KAKASI is the language processing filter to convert Kanji characters
- to Hiragana, Katakana or Romaji(1) and may be helpful to read
- Japanese documents.
- .
- The name "KAKASI" is the abbreviation of "kanji kana simple inverter"
- and the inverse of SKK "simple kana kanji converter" which is
- developed by Masahiko Sato at Tohoku University. The most entries of
- the kakasi dictionary is derived form the SKK dictionaries. If you
- have some interests in the naming of "KAKASI", please consult to
- Japanese-English dictionary. :-)
- .
- (1) "Romaji" is alphabetical description of Japanese pronunciation.
-
-Package: kakasi-dic
-Architecture: all
-Depends: ${misc:Depends}
-Conflicts: kakasi (<= 2.2.5-5)
-Description: KAKASI dictionary files
- This package provides KAKASI dictionary files. You have to install
- this package if you use KAKASI.
- .
- KAKASI is the language processing filter to convert Kanji characters
- to Hiragana, Katakana or Romaji(1) and may be helpful to read
- Japanese documents.
- .
- (1) "Romaji" is alphabetical description of Japanese pronunciation.
-
-Package: libkakasi2
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, kakasi-dic
-Description: Library version of KAKASI
- This package provides the function of KAKASI as a shared library.
- .
- KAKASI is the language processing filter to convert Kanji characters
- to Hiragana, Katakana or Romaji(1) and may be helpful to read
- Japanese documents.
- .
- (1) "Romaji" is alphabetical description of Japanese pronunciation.
-
-Package: libkakasi2-dev
-Section: libdevel
-Architecture: any
-Depends: libkakasi2 (= ${binary:Version}), ${misc:Depends}, libc6-dev
-Provides: kakasi-dev
-Conflicts: kakasi-dev
-Description: Header files and static libraries for library version of KAKASI
- This package provides header files and static libraries for library
- version of KAKASI.
- .
- KAKASI is the language processing filter to convert Kanji characters
- to Hiragana, Katakana or Romaji(1) and may be helpful to read
- Japanese documents.
- .
- (1) "Romaji" is alphabetical description of Japanese pronunciation.

=== removed file 'debian-orig/copyright'
--- debian-orig/copyright	2014-02-01 20:45:09 +0000
+++ debian-orig/copyright	1970-01-01 00:00:00 +0000
@@ -1,40 +0,0 @@
-This package was debianized by Keita Maehara <maehara@debian.org> on
-Thu,  7 Oct 1999 22:53:41 +0900.
-
-It was downloaded from http://kakasi.namazu.org
-
-Upstream Authors: 
- 
- Originator:
-  Hironobu Takahashi <hironobu@trc.rwcp.or.jp>
- Members of KAKASI Project (Maintainers):
-  Hajime BABA <baba@kusastro.kyoto-u.ac.jp>
-  NOKUBI Takatsugu <knok@daionet.gr.jp>
-  Satoru Takabayashi <satoru-t@is.aist-nara.ac.jp>
-  Ken-ichi Hirose <kenzo-@tama.or.jp>
-  Ryuji Abe <raeva@t3.rim.or.jp>
-  Yoshinori TAKESAKO <takesako@robotics.im.hiroshima-cu.ac.jp>
-
-Copyright: 1992 - 2001 Hironobu Takahashi and Members of KAKASI Project
-
-/*
- * KAKASI (Kanji Kana Simple inversion program)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either versions 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with KAKASI, see the file COPYING.  If not, write to the Free
- * Software Foundation Inc., 51 Franklin St, Fifth Floor, Boston,
- * MA 02110-1301, USA. 
- */
-
-In Debian Systems, you can find a copy of the GPL license at:
-/usr/share/common-licenses/GPL

=== removed file 'debian-orig/kakasi-config.1'
--- debian-orig/kakasi-config.1	2014-02-01 20:45:09 +0000
+++ debian-orig/kakasi-config.1	1970-01-01 00:00:00 +0000
@@ -1,51 +0,0 @@
-.TH KAKASI 1 "28 January 2001"
-.SH NAME
-kakasi-config - script to get information about the installed version of KAKASI
-.SH SYNOPSIS
-.B kakasi-config
-[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-help] [\-\-version] [\-\-libs] [\-\-cflags]
-.SH DESCRIPTION
-.PP
-\fIkakasi-config\fP is a tool that is used to configure to determine
-the compiler and linker flags that should be used to compile
-and link programs that use \fIKAKASI\fP. It is also used internally
-to the .m4 macros for GNU autoconf that are included with \fIKAKASI\fP.
-.
-.SH OPTIONS
-.l
-\fIkakasi-config\fP accepts the following options:
-.TP 8
-.B  \-\-help
-Print the help text and exit.
-.TP 8
-.B  \-\-version
-Print the currently installed version of \fIKAKASI\fP on the standard output.
-.TP 8
-.B  \-\-libs
-Print the linker flags that are necessary to link a \fIKAKASI\fP program.
-.TP 8
-.B  \-\-cflags
-Print the compiler flags that are necessary to compile a \fIKAKASI\fP program.
-.TP 8
-.B  \-\-prefix=PREFIX
-If specified, use PREFIX instead of the installation prefix that \fIKAKASI\fP
-was built with when computing the output for the \-\-cflags and
-\-\-libs options. This option is also used for the exec prefix
-if \-\-exec\-prefix was not specified. This option must be specified
-before any \-\-libs or \-\-cflags options.
-.TP 8
-.B  \-\-exec\-prefix=PREFIX
-If specified, use PREFIX instead of the installation exec prefix that
-\fIGTK+\fP was built with when computing the output for the \-\-cflags
-and \-\-libs options.  This option must be specified before any
-\-\-libs or \-\-cflags options.
-.SH SEE ALSO
-.BR kakasi (1),
-.SH COPYRIGHT
-Copyright \(co  2001 Kakasi Project
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation.

=== removed file 'debian-orig/kakasi-dic.install'
--- debian-orig/kakasi-dic.install	2014-02-01 20:45:09 +0000
+++ debian-orig/kakasi-dic.install	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-usr/share/kakasi/*

=== removed file 'debian-orig/kakasi.docs'
--- debian-orig/kakasi.docs	2014-02-01 20:45:09 +0000
+++ debian-orig/kakasi.docs	1970-01-01 00:00:00 +0000
@@ -1,10 +0,0 @@
-AUTHORS
-NEWS
-ONEWS
-README
-README-ja
-THANKS
-TODO
-doc/JISYO
-doc/README.lib
-doc/README.wakati

=== removed file 'debian-orig/kakasi.install'
--- debian-orig/kakasi.install	2014-02-01 20:45:09 +0000
+++ debian-orig/kakasi.install	1970-01-01 00:00:00 +0000
@@ -1,5 +0,0 @@
-usr/bin/atoc_conv
-usr/bin/kakasi
-usr/bin/mkkanwa
-usr/bin/rdic_conv
-usr/bin/wx2_conv

=== removed file 'debian-orig/kakasi.manpages'
--- debian-orig/kakasi.manpages	2014-02-01 20:45:09 +0000
+++ debian-orig/kakasi.manpages	1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
-man/kakasi.1
-man/kakasi.ja.1

=== removed file 'debian-orig/libkakasi2-dev.install'
--- debian-orig/libkakasi2-dev.install	2014-02-01 20:45:09 +0000
+++ debian-orig/libkakasi2-dev.install	1970-01-01 00:00:00 +0000
@@ -1,5 +0,0 @@
-usr/bin/kakasi-config
-usr/include/libkakasi.h
-usr/lib/libkakasi.a
-usr/lib/libkakasi.la
-usr/lib/libkakasi.so

=== removed file 'debian-orig/libkakasi2-dev.manpages'
--- debian-orig/libkakasi2-dev.manpages	2014-02-01 20:45:09 +0000
+++ debian-orig/libkakasi2-dev.manpages	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-man/kakasi-config.1

=== removed file 'debian-orig/libkakasi2.install'
--- debian-orig/libkakasi2.install	2014-02-01 20:45:09 +0000
+++ debian-orig/libkakasi2.install	1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
-usr/lib/libkakasi.so.2.1.0
-usr/lib/libkakasi.so.2

=== removed file 'debian-orig/libkakasi2.postinst'
--- debian-orig/libkakasi2.postinst	2014-02-01 20:45:09 +0000
+++ debian-orig/libkakasi2.postinst	1970-01-01 00:00:00 +0000
@@ -1,47 +0,0 @@
-#! /bin/sh
-# postinst script for kakasi
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/doc/packaging-manual/
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
-    configure)
-        ldconfig
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-

=== removed directory 'debian-orig/patches'
=== removed file 'debian-orig/patches/series'
=== removed file 'debian-orig/rules'
--- debian-orig/rules	2014-02-01 20:45:09 +0000
+++ debian-orig/rules	1970-01-01 00:00:00 +0000
@@ -1,33 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-
-%:
-	dh $@ --with autoreconf
-
-override_dh_auto_test:
-
-override_dh_installman:
-	-cp -f debian/kakasi-config.1 man/kakasi-config.1
-	-cp -f man/kakasi.1.ja man/kakasi.ja.1
-	dh_installman
-
-override_dh_clean:
-	-rm man/kakasi-config.1
-	-rm man/kakasi.ja.1
-	dh_clean

=== removed directory 'debian-orig/source'
=== removed file 'debian-orig/source/format'
--- debian-orig/source/format	2014-02-01 20:45:09 +0000
+++ debian-orig/source/format	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-3.0 (quilt)

=== removed file 'debian-orig/watch'
--- debian-orig/watch	2014-02-01 20:45:09 +0000
+++ debian-orig/watch	1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
-version=3
-http://kakasi.namazu.org/stable/kakasi-(.*)\.tar\.gz

=== modified file 'debian/changelog'
--- debian/changelog	2014-02-03 00:00:27 +0000
+++ debian/changelog	2014-03-22 23:58:46 +0000
@@ -1,3 +1,10 @@
+kakasi (2.3.6-0ubuntu1) trusty; urgency=medium
+
+  * New upstream release.
+  * Drop 001-hyphen.patch, 0002-utf8.patch, fixed upstream
+
+ -- Jackson Doak <noskcaj@ubuntu.com>  Sun, 23 Mar 2014 10:48:13 +1100
+
 kakasi (2.3.5-2) unstable; urgency=medium
 
   * Fix kakasi-config script.  Closes: #737378

=== modified file 'debian/control'
--- debian/control	2014-02-01 20:45:09 +0000
+++ debian/control	2014-03-22 23:58:46 +0000
@@ -1,7 +1,8 @@
 Source: kakasi
 Section: text
 Priority: optional
-Maintainer: "Natural Language Processing, Japanese" <pkg-nlp-ja-devel@lists.alioth.debian.org> 
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: "Natural Language Processing, Japanese" <pkg-nlp-ja-devel@lists.alioth.debian.org> 
 Uploaders: Osamu Aoki <osamu@debian.org>
 Build-Depends: debhelper (>= 9), autoconf, automake, libtool, dh-autoreconf
 Standards-Version: 3.9.5

=== removed file 'debian/patches/0001-hyphen.patch'
--- debian/patches/0001-hyphen.patch	2014-02-03 00:00:27 +0000
+++ debian/patches/0001-hyphen.patch	1970-01-01 00:00:00 +0000
@@ -1,574 +0,0 @@
-From: Osamu Aoki <osamu@debian.org>
-Description: - -> \- changes
- Fixed lintian warning
---- a/man/kakasi.1
-+++ b/man/kakasi.1
-@@ -30,7 +30,7 @@
- .TH KAKASI 1 LOCAL
- .UC 6
- .SH NAME
--KAKASI - Kanji kana simple inverter (between Kanji, both Kana and Romaji)
-+KAKASI \- Kanji kana simple inverter (between Kanji, both Kana and Romaji)
- .SH SYNOPSIS
- .B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
- .SH DESCRIPTION
-@@ -50,18 +50,18 @@
- example the "bunchu" Kanji is converted into Hiragana.
- .PP
- .Ip "" 10
--kakasi -JH < document
-+kakasi \-JH < document
- .PP
--Since version 2.3.0 text with spaces in-between words has been supported.
--In the following example the output has spaces in-between each word.
-+Since version 2.3.0 text with spaces in\-between words has been supported.
-+In the following example the output has spaces in\-between each word.
- .Ip "" 10
--kakasi -w < document
-+kakasi \-w < document
- .PP
- Since version 2.3.5 level conversion mode has been supported.
- In the following example, simple Kanjis are left them unconverted,
- and difficult Kanjis are translated into Hiragana.
- .Ip "" 10
--kakasi -l4 < document
-+kakasi \-l4 < document
- .PP
- .I KAKASI
- It is possible to convert letters to alphabetical characters.  Also
-@@ -99,7 +99,7 @@
- .Ip "Sign (E)"
- .br
- JIS x0208 characters included in section 1,2,3,6,7, and 8.
--(Note that section 9-15 are undefined in JIS x0208.)
-+(Note that section 9\-15 are undefined in JIS x0208.)
- .PP
- Translation between the following character sets are available.
- .PP
-@@ -127,24 +127,24 @@
- .sp
- 1. All kanji characters are converted to Hiragana.
- .sp
--    kakasi -JH 
-+    kakasi \-JH 
- .sp
- 2. All JIS x0208 characters are converted to JIS X 0201.
- .sp
- .sp
--    kakasi -Hk -Kk -Jk -Ea
-+    kakasi \-Hk \-Kk \-Jk \-Ea
- .sp
- 3. All characters are converted to JIS X 0208.
- .sp
--    kakasi -aE -jE -gE -kK
-+    kakasi \-aE \-jE \-gE \-kK
- .sp
- 4. All characters are converted to ascii and words are separated.
- .sp
--    kakasi -Ha -Ka -Ja -Ea -ka
-+    kakasi \-Ha \-Ka \-Ja \-Ea \-ka
- .sp
- 5. Exchange between Katakana and Hiragana characters.
- .sp
--    kakasi -HK -KH
-+    kakasi \-HK \-KH
- .PP
- 
- .SH CONVERSION DESIGNATED CHARACTER SET
-@@ -152,37 +152,37 @@
- Some character sets are categorized by kakasi and indicated by
- following mnemonics: a, j, g, k, E, H, K, J.
- 
--      a --- ASCII characters
--      j --- JIS ROMAN ( nearly equal to ASCII, "~" and "\" are
-+      a \-\-\- ASCII characters
-+      j \-\-\- JIS ROMAN ( nearly equal to ASCII, "~" and "\" are
-             different ) defined by JIS x0201
--      g --- DEC Graphic Characters
--      k --- KATAKANA defined by JIS x0201
-+      g \-\-\- DEC Graphic Characters
-+      k \-\-\- KATAKANA defined by JIS x0201
- 
- E, H, K, and J are included in JIS x0208 character set.
- 
--      J --- KANJI characters of JIS x0208.
--      H --- HIRAGANA characters of JIS x0208.
--      K --- KATAKANA characters of JIS x0208.
--      E --- Rest of above characters of JIS x0208 which includes
-+      J \-\-\- KANJI characters of JIS x0208.
-+      H \-\-\- HIRAGANA characters of JIS x0208.
-+      K \-\-\- KATAKANA characters of JIS x0208.
-+      E \-\-\- Rest of above characters of JIS x0208 which includes
-             alphabets, numbers, symbols and so on.
- 
---(from)(to) means conversion from character set (from) to (to).
--For example, -JK option causes KANJI characters are converted
-+\-(from)(to) means conversion from character set (from) to (to).
-+For example, \-JK option causes KANJI characters are converted
- to HIRAGANA. Combinations in the following table are available.
--(You must not remember it, because the -h shows same information)
-+(You must not remember it, because the \-h shows same information)
- 
--      to\from|    a    j    k    E    H     K    J    g
--      -------+--------------------------------------------
--         a   |    -    o    o1   o    o1    o1   o12  o
--         j   |    o    -    o1   o    o1    o1   o12  o
--         k   |              -         o     o    o2
--         E   |    o    o         -                    o
--         H   |              o         -     o    o2
--         K   |              o         o     -
--
--      o  -- converted.
--      1  -- converted to Romaji.
--      2  -- Kanji -> Kana conversion.
-+      to\\from|    a    j    k    E    H     K    J    g
-+      \-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-+         a   |    \-    o    o1   o    o1    o1   o12  o
-+         j   |    o    \-    o1   o    o1    o1   o12  o
-+         k   |              \-         o     o    o2
-+         E   |    o    o         \-                    o
-+         H   |              o         \-     o    o2
-+         K   |              o         o     \-
-+
-+      o  \-\- converted.
-+      1  \-\- converted to Romaji.
-+      2  \-\- Kanji \-> Kana conversion.
- 
- .SH KANJI CODING CONVERSION
- Unfortunately, several coding systems are used in Japan and JIS
-@@ -193,41 +193,41 @@
- included or you wish to change kanji coding system, you may
- use the next options.
- 
--      -i : input coding
--      -o : output coding
-+      \-i : input coding
-+      \-o : output coding
- 
--      jis -- Widely used on the internet. (Ex: fj, jp, .. newsgroups)
--             Derived from ISO-2022 coding manner.
--             newjis: JISx0208 (1983) invoked by ESC-$-B.
--             oldjis: JISx0208 (1978) invoked by ESC-$-@.
--      euc,dec -- Often used in UNIX like computers. JISx0208 is
-+      jis \-\- Widely used on the internet. (Ex: fj, jp, .. newsgroups)
-+             Derived from ISO\-2022 coding manner.
-+             newjis: JISx0208 (1983) invoked by ESC\-$\-B.
-+             oldjis: JISx0208 (1978) invoked by ESC\-$\-@.
-+      euc,dec \-\- Often used in UNIX like computers. JISx0208 is
-              assigned to GR ( MSB is 1 ). The major difference between
-              euc and dec is assignment of JISx0201 KATAKANA and
-              the DEC graphic character.
--      sjis -- Defined by Microsoft Corp. Widely used on the personal
-+      sjis \-\- Defined by Microsoft Corp. Widely used on the personal
-              computers ( MSDOS, Mac, .. )
- 
- .SH ROMAJI CONVERSION
--Kanji kana conversion options. Used with -J? option.
-+Kanji kana conversion options. Used with \-J? option.
- There are 2 types of Romaji writing.  The first is the Kunrei
- method defined by Japanese government, and the second is the
- Hepburn method.  I think Hepburn method sounds naturally to
- foreigners.
- 
--      -rhepburn : Hepburn Method (default)
--      -rkunrei  : Kunrei Method
-+      \-rhepburn : Hepburn Method (default)
-+      \-rkunrei  : Kunrei Method
- 
- .SH OTHER OPTIONS
- 
--      -p: List all possible readings. If there exist two or more
-+      \-p: List all possible readings. If there exist two or more
-           possible readings, KAKASI shows them in braces {aaa,bbb}.
--      -s: Insert a separate character between words.
--      -f: Furigana mode. Shows the original kanji word with reading.
--      -c: Skip characters within word. ( default TAB CR LF BLANK )
--      -C: Capitalize Romaji word (with -Ja or -Jj option)
--      -U: Upcase romaji word (with -Ja or -Jj option)
--      -u: Call fflush().
--      -w: wakatigaki mode. 'wakatigaki' is word segmentation for
-+      \-s: Insert a separate character between words.
-+      \-f: Furigana mode. Shows the original kanji word with reading.
-+      \-c: Skip characters within word. ( default TAB CR LF BLANK )
-+      \-C: Capitalize Romaji word (with \-Ja or \-Jj option)
-+      \-U: Upcase romaji word (with \-Ja or \-Jj option)
-+      \-u: Call fflush().
-+      \-w: wakatigaki mode. 'wakatigaki' is word segmentation for
-           Japanese sentences.
- 
- 
-@@ -246,10 +246,10 @@
- .SH ENVIRONMENT VARIABLES
- The behavior is affected by the following environment variables.
- .Ip KANWADICTPATH
--Specifies a path of kanwadict (full-path including filename).
-+Specifies a path of kanwadict (full\-path including filename).
- Default value is $prefix/share/kakasi/kanwadict.
- .Ip ITAIJIDICTPATH
--Specifies a path of itaijidict (full-path including filename).
-+Specifies a path of itaijidict (full\-path including filename).
- Default value is $prefix/share/kakasi/itaijidict.
- .SH AUTHOR
- Hironobu Takahasi <takahasi@tiny.or.jp>
-@@ -264,8 +264,8 @@
- .SH DIAGNOSTICS
- Return status except 0 when there is any trouble.
- .SH BUGS
--Report bugs to KAKASI Project <kakasi-dev@namazu.org>.
--Please DO NOT CONTACT to the originator (Takahasi-san).
-+Report bugs to KAKASI Project <kakasi\-dev@namazu.org>.
-+Please DO NOT CONTACT to the originator (Takahasi\-san).
- .SH NOTE ABOUT ENGLISH MANUAL
- The content of English manual is not exactly same as that of Japanese manual.
- 
---- a/man/kakasi.1.ja
-+++ b/man/kakasi.1.ja
-@@ -29,7 +29,7 @@
- .TH KAKASI 1 LOCAL
- .UC 6
- .SH NAME
--KAKASI - Kanji kana simple inverter (漢字かな読み上げ)
-+KAKASI \- Kanji kana simple inverter (漢字かな読み上げ)
- .SH SYNOPSIS
- .B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
- .SH DESCRIPTION
-@@ -43,18 +43,18 @@
- .PP
- 例えば次の例では文中の漢字がひらがなに変換されます。
- .Ip "" 10
--kakasi -JH < document
-+kakasi \-JH < document
- .PP
- バージョン 2.3.0 からは、分かち書き機能が追加されました。
- 例えば次の例では、日本語文が分かち書きされて出力されます。
- .Ip "" 10
--kakasi -w < document
-+kakasi \-w < document
- .PP
- バージョン 2.3.5 からは、学年別ひらがな変換機能が追加されました。
- 例えば次の例では、小学4年生までに習った漢字は漢字のまま表示し、
- それ以外の難しい漢字はひらがなに開いて出力されます。
- .Ip "" 10
--kakasi -l4 < document
-+kakasi \-l4 < document
- .PP
- .I KAKASI
- は文字をローマ字に変換したり、
-@@ -103,21 +103,21 @@
- 次の文字セット間の変換が指定できます。
- .PP
- .Ip "ASCII" 13
---> JISROMAN, 記号
-+\-> JISROMAN, 記号
- .Ip "JISROMAN" 13
---> ASCII, 記号
-+\-> ASCII, 記号
- .Ip "GRAPHIC" 13
---> ASCII, JISROMAN, 記号
-+\-> ASCII, JISROMAN, 記号
- .Ip "JISx0201のかたかな" 13
---> ASCII, JISROMAN, カナ, ひらがな
-+\-> ASCII, JISROMAN, カナ, ひらがな
- .Ip "記号" 13
---> ASCII, JISROMAN
-+\-> ASCII, JISROMAN
- .Ip "かたかな" 13
---> ASCII, JISROMAN, JISx0201のかたかな, ひらがな
-+\-> ASCII, JISROMAN, JISx0201のかたかな, ひらがな
- .Ip "ひらがな" 13
---> ASCII, JISROMAN, JISx0201のかたかな, カナ
-+\-> ASCII, JISROMAN, JISx0201のかたかな, カナ
- .Ip "漢字" 13
---> ASCII, JISROMAN, JISx0201のかたかな, カナ, ひらがな
-+\-> ASCII, JISROMAN, JISx0201のかたかな, カナ, ひらがな
- .PP
- 漢字からの変換では読み上げによって変換します。
- JISx0201かたかな、かたかな、ひらがな、漢字から ASCII と JISROMAN への
-@@ -163,7 +163,7 @@
- .B H
- ではひらがなに変換します。
- .PP
--.Ip "-J[ajkHK]"
-+.Ip "\-J[ajkHK]"
- まず辞書を引いて読み上げ、
- .B aj
- が指定されるとローマ字に変換します。
-@@ -178,24 +178,24 @@
- .sp
- 1. 漢字をひらがなに読み上げる
- .sp
--    kakasi -JH 
-+    kakasi \-JH 
- .sp
- 2. すべての JISx0208 で定義された文字をおきかえる。
- .sp
- .sp
--    kakasi -Hk -Kk -Jk -Ea
-+    kakasi \-Hk \-Kk \-Jk \-Ea
- .sp
- 3. すべての文字を JISx0208 の文字におきかえる。
- .sp
--    kakasi -aE -jE -gE -kK
-+    kakasi \-aE \-jE \-gE \-kK
- .sp
- 4. ローマ字変換
- .sp
--    kakasi -Ha -Ka -Ja -Ea -ka
-+    kakasi \-Ha \-Ka \-Ja \-Ea \-ka
- .sp
- 5. かたかなとひらがなを交換
- .sp
--    kakasi -HK -KH
-+    kakasi \-HK \-KH
- .PP
- .SH 漢字コーディング
- .PP
-@@ -204,19 +204,19 @@
- .PP
-            JIS, OLDJIS, EUC, DEC, SJIS
- .PP
--.Ip "-i{jis, oldjis, euc, dec, sjis}"
-+.Ip "\-i{jis, oldjis, euc, dec, sjis}"
- 入力側の漢字コードを指定します。
- もしも指定されない場合には入力から判断しようとします。
- .I KAKASI
- は入力をためこんで統計的に処理する方法がとれないので、
- 最初の漢字らしい文字をもって判断します。
- .sp
--1. ESC-$-B
-+1. ESC\-$\-B
- .br
- JIS コーディングと解釈します。
- またこれ以降は G0 に 新JIS が指示されたものとします。
- .sp
--2. ESC-$-@
-+2. ESC\-$\-@
- .br
- 旧JIS コーディングと解釈します。
- またこれ以降は G0 に 旧JIS が指示されたものとします。
-@@ -248,48 +248,48 @@
- .PP
- JIS:
- .PP
--    GL -- G0 -- ASCII
--    GR -- G1 -- JISx0201のかたかな
--          G2 -- JISx0201のかたかな
--          G3 -- JISx0201のかたかな
-+    GL \-\- G0 \-\- ASCII
-+    GR \-\- G1 \-\- JISx0201のかたかな
-+          G2 \-\- JISx0201のかたかな
-+          G3 \-\- JISx0201のかたかな
- .PP
--JISx0208 の文字は ESC-$-B を用いて G0 に指示をして出力します。
-+JISx0208 の文字は ESC\-$\-B を用いて G0 に指示をして出力します。
- .PP
- OLDJIS:
- .PP
--    GL -- G0 -- JISROMAN
--    GR -- G1 -- JISx0201のかたかな
--          G2 -- JISx0201のかたかな
--          G3 -- JISx0201のかたかな
-+    GL \-\- G0 \-\- JISROMAN
-+    GR \-\- G1 \-\- JISx0201のかたかな
-+          G2 \-\- JISx0201のかたかな
-+          G3 \-\- JISx0201のかたかな
- .PP
--JISx0208 の文字は ESC-$-@ を用いて G0 に旧JISを指示をして出力します。
-+JISx0208 の文字は ESC\-$\-@ を用いて G0 に旧JISを指示をして出力します。
- .PP
- EUC:
- .PP
--    GL -- G0 -- ASCII
--          G1 -- JISx0201のかたかな
--          G2 -- JISx0201のかたかな
--    GR -- G3 -- JISx0208 の文字
-+    GL \-\- G0 \-\- ASCII
-+          G1 \-\- JISx0201のかたかな
-+          G2 \-\- JISx0201のかたかな
-+    GR \-\- G3 \-\- JISx0208 の文字
- .PP
--JISx0201のかたかなの表示には ESC-N (シングル シフト)を使って、
-+JISx0201のかたかなの表示には ESC\-N (シングル シフト)を使って、
- GR に G2 を呼出して出力します。
- .PP
- DEC:
- .PP
--    GL -- G0 -- ASCII
--          G1 -- GRAPHIC
--          G2 -- JISx0201のかたかな
--    GR -- G3 -- JISx0208 の文字
-+    GL \-\- G0 \-\- ASCII
-+          G1 \-\- GRAPHIC
-+          G2 \-\- JISx0201のかたかな
-+    GR \-\- G3 \-\- JISx0208 の文字
- .PP
--JISx0201のかたかなの表示には ESC-} を使って GR に G2 を呼出して出力します。
-+JISx0201のかたかなの表示には ESC\-} を使って GR に G2 を呼出して出力します。
- .PP
- SJIS:
- .PP
--    GL -- G0 -- ASCII
--          G1 -- JISx0201のかたかな
--          G2 -- JISx0201のかたかな
--          G2 -- JISx0201のかたかな
--    GR -- SHIFTJIS
-+    GL \-\- G0 \-\- ASCII
-+          G1 \-\- JISx0201のかたかな
-+          G2 \-\- JISx0201のかたかな
-+          G2 \-\- JISx0201のかたかな
-+    GR \-\- SHIFTJIS
- .PP
- JISx0201のかたかなとJISx0208 の文字の表示は GR で行います。
- .PP
-@@ -299,15 +299,15 @@
- .br
-            G0     G1     G2     G3
- .br
--GL:        SI     SO    ESC-n  ESC-o
-+GL:        SI     SO    ESC\-n  ESC\-o
- .br
--GR:              ESC-~  ESC-}  ESC-|
-+GR:              ESC\-~  ESC\-}  ESC\-|
- .sp
- シングルシフト:
- .br
-            G0     G1     G2     G3
- .br
--                        ESC-N  ESC-O
-+                        ESC\-N  ESC\-O
- .br
-                         (SS2)  (SS3)
- .sp
-@@ -316,19 +316,19 @@
- .br
-        ASCII   JISROMAN GRAPHIC  かたかな   旧JIS     新JIS
- .br
--G0:   ESC-(-B  ESC-(-J  ESC-(-0  ESC-(-I   ESC-$-@   ESC-$-B
-+G0:   ESC\-(\-B  ESC\-(\-J  ESC\-(\-0  ESC\-(\-I   ESC\-$\-@   ESC\-$\-B
- .br
--G1:   ESC-)-B  ESC-)-J  ESC-)-0  ESC-)-I  ESC-$-)-@ ESC-$-)-B
-+G1:   ESC\-)\-B  ESC\-)\-J  ESC\-)\-0  ESC\-)\-I  ESC\-$\-)\-@ ESC\-$\-)\-B
- .br
--G2:   ESC-*-B  ESC-*-J  ESC-*-0  ESC-*-I  ESC-$-*-@ ESC-$-*-B
-+G2:   ESC\-*\-B  ESC\-*\-J  ESC\-*\-0  ESC\-*\-I  ESC\-$\-*\-@ ESC\-$\-*\-B
- .br
--G3:   ESC-+-B  ESC-+-J  ESC-+-0  ESC-+-I  ESC-$-+-@ ESC-$-+-B
-+G3:   ESC\-+\-B  ESC\-+\-J  ESC\-+\-0  ESC\-+\-I  ESC\-$\-+\-@ ESC\-$\-+\-B
- .sp
- .SH 漢字かな変換オプション
- .PP
--.B "-Jx"
-+.B "\-Jx"
- あるいは
--.B "-w"
-+.B "\-w"
- を使って漢字からの変換にのみ適用されるオプションです。
- 他の変換には影響しません。
- .Ip "\-p"
-@@ -336,7 +336,7 @@
- 多くの単語は複数の読みがあります。
- その場合 {} でくくって表示します。
- .sp
--        素子 -> {もとこ|そし}
-+        素子 \-> {もとこ|そし}
- .Ip "\-s"
- 漢字からの変換で変換ごとに空白等の区切を入れるようにします。
- 前にすでに改行、空白、TAB が入っていればなにもしませんが、
-@@ -346,13 +346,13 @@
- .sp
-     "漢字かな混じり文をローマ字に変換"
- .br
--    " kan'zi kana ma ziri bun' woro-ma zi ni hen'kan' "
-+    " kan'zi kana ma ziri bun' woro\-ma zi ni hen'kan' "
- .PP
- .Ip "\-S"
---s オプションあるいは -w オプション指定時に出力される区切り文字は
-+\-s オプションあるいは \-w オプション指定時に出力される区切り文字は
- デフォルトでは空白文字 ' ' ですが、
---S オプションで任意の ASCII 文字列を指定することができます。
--たとえば -s -S__ のようにオプションを与えると、
-+\-S オプションで任意の ASCII 文字列を指定することができます。
-+たとえば \-s \-S__ のようにオプションを与えると、
- .sp
-     "漢字かな混じり文を"
- .sp
-@@ -360,12 +360,12 @@
- .sp
-     "漢字__かな__混__じり__文__を"
- .sp
--となります。あるいは、-s -S"<sep>" とすれば、
-+となります。あるいは、\-s \-S"<sep>" とすれば、
- .sp
-     "漢字<sep>かな<sep>混<sep>じり<sep>文<sep>を"
- .sp
- となります。
--.Ip "-f"
-+.Ip "\-f"
- ふりがなモード。
- つまり変換前の漢字の脇にその読みを差し込みます。
- .sp
-@@ -375,13 +375,13 @@
- .PP
- .Ip "\-F"
- ふりがなモード時の括弧として任意の ASCII 文字列を指定します。
--左右の括弧に対応して -Fl と -Fr というサフィックスがつきます。
--たとえば、左側に左丸括弧を指定するには -Fl"(" と、
--右側に右丸括弧を指定するには -Fr")" と指定します。
-+左右の括弧に対応して \-Fl と \-Fr というサフィックスがつきます。
-+たとえば、左側に左丸括弧を指定するには \-Fl"(" と、
-+右側に右丸括弧を指定するには \-Fr")" と指定します。
- .sp
-   "変換前(へんかんまえ)の漢字(かんじ)の脇(わき)に"
- .sp
--あるいは、-JF -f -Fl"<ruby>" -Fr"</ruby>" のように指定すると、
-+あるいは、\-JF \-f \-Fl"<ruby>" \-Fr"</ruby>" のように指定すると、
- 以下のようにできます。
- .sp
-   "変換前<ruby>へんかんまえ</ruby>の漢字<ruby>かんじ</ruby>の脇<ruby>わき</ruby>に"
-@@ -392,8 +392,8 @@
- でもよみがなの解釈が行えるようにします。
- 読みとばす文字の default  は{改行 タブ 空白}ですが、
- 任意の ascii 文字が追加できます。
--JUNET のニュースならば、引用を示す -c'>' とするといいでしょう。
--以下の例では -c">_" としたものです。
-+JUNET のニュースならば、引用を示す \-c'>' とするといいでしょう。
-+以下の例では \-c">_" としたものです。
- .sp
-     >> このバグについてはこれから検
-     >> 討してみます。  谷_山__浩_子
-@@ -401,22 +401,22 @@
-     >> このバグについてはこれからけんとう
-     >> してみます。  たにやま___ひろこ_
- .PP
--.Ip "-C"
-+.Ip "\-C"
- 漢字をローマ字に変換する場合に、
- 先頭のアルファベットを大文字にします。
---Ja -Jj と共に使った場合のみ有効です。
-+\-Ja \-Jj と共に使った場合のみ有効です。
- .PP
--.Ip "-U"
-+.Ip "\-U"
- 漢字をローマ字に変換する場合に、
- アルファベットをすべて大文字にします。
---Ja -Jj と共に使った場合のみ有効です。
-+\-Ja \-Jj と共に使った場合のみ有効です。
- .SH その他のオプション
- .Ip "\-rk"
- ローマ字への変換様式をヘボン式から訓令式に変更します。
- 例えば、'し' は標準では 'shi' ですが、 'si' になります。
--.B -r
-+.B \-r
- のみもしくは、
--.B -rh
-+.B \-rh
- などの指定では
- .I "Hepburn (ヘボン)"
- 式になります。
-@@ -469,4 +469,4 @@
- .\" たくさんあるはずです。
- .\" みつけたら takahasi@tiny.or.jp までレポートしてください。
- 何かありましたら、高橋さんにではなく、KAKASI プロジェクト
--<kakasi-dev@namazu.org> までお知らせ下さい。
-\ No newline at end of file
-+<kakasi\-dev@namazu.org> までお知らせ下さい。

=== removed file 'debian/patches/0002-utf8.patch'
--- debian/patches/0002-utf8.patch	2014-02-03 00:00:27 +0000
+++ debian/patches/0002-utf8.patch	1970-01-01 00:00:00 +0000
@@ -1,34 +0,0 @@
---- a/man/kakasi.1
-+++ b/man/kakasi.1
-@@ -206,6 +206,8 @@
-              the DEC graphic character.
-       sjis \-\- Defined by Microsoft Corp. Widely used on the personal
-              computers ( MSDOS, Mac, .. )
-+      utf8 \-\- Current international standard.  All modern OSs use this 
-+             encoding of the Unicode character set as the default.
- 
- .SH ROMAJI CONVERSION
- Kanji kana conversion options. Used with \-J? option.
---- a/man/kakasi.1.ja
-+++ b/man/kakasi.1.ja
-@@ -202,9 +202,9 @@
- .I KAKASI
- では次の漢字コーディングシステムが使えます。
- .PP
--           JIS, OLDJIS, EUC, DEC, SJIS
-+           JIS, OLDJIS, EUC, DEC, SJIS, UTF8
- .PP
--.Ip "\-i{jis, oldjis, euc, dec, sjis}"
-+.Ip "\-i{jis, oldjis, euc, dec, sjis, utf8}"
- 入力側の漢字コードを指定します。
- もしも指定されない場合には入力から判断しようとします。
- .I KAKASI
-@@ -239,7 +239,7 @@
- つまり `燹' から `螢' までの 945 文字のいずれかが EUC で表現されていても
- SJIS に解釈されてしまいます。
- .PP
--.Ip "\-o{jis, oldjis, euc, dec, sjis}" 8
-+.Ip "\-o{jis, oldjis, euc, dec, sjis, utf8}" 8
- 出力側の漢字コーディングを指定します。
- もしも指定されない場合には入力と同じにします。
- .PP

=== modified file 'debian/patches/0003-prefix.patch'
--- debian/patches/0003-prefix.patch	2014-02-03 00:00:27 +0000
+++ debian/patches/0003-prefix.patch	2014-03-22 23:58:46 +0000
@@ -1,6 +1,11 @@
+---
+ man/kakasi.1    |    6 +++---
+ man/kakasi.1.ja |    6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
 --- a/man/kakasi.1
 +++ b/man/kakasi.1
-@@ -249,14 +249,14 @@
+@@ -249,14 +249,14 @@ See another document named JISYO for mor
  The behavior is affected by the following environment variables.
  .Ip KANWADICTPATH
  Specifies a path of kanwadict (full\-path including filename).
@@ -20,7 +25,7 @@
  It is automatically converted from kakasidict by mkkanwa
 --- a/man/kakasi.1.ja
 +++ b/man/kakasi.1.ja
-@@ -450,14 +450,14 @@
+@@ -450,14 +450,14 @@ system V などで端末出力をすぐ見たい時に
  .SH 環境変数
  .Ip KANWADICTPATH
  kanwadict の場所 (ファイル名を含むフルパス) を指定することができます。

=== modified file 'debian/patches/0004-multiarch.patch'
--- debian/patches/0004-multiarch.patch	2014-02-03 00:00:27 +0000
+++ debian/patches/0004-multiarch.patch	2014-03-22 23:58:46 +0000
@@ -1,6 +1,10 @@
+---
+ kakasi-config.in |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 --- a/kakasi-config.in
 +++ b/kakasi-config.in
-@@ -72,7 +72,7 @@
+@@ -72,7 +72,7 @@ while test $# -gt 0; do
         	;;
  
      --libs)

=== modified file 'debian/patches/series'
--- debian/patches/series	2014-02-03 00:00:27 +0000
+++ debian/patches/series	2014-03-22 23:58:46 +0000
@@ -1,4 +1,2 @@
-0001-hyphen.patch
-0002-utf8.patch
 0003-prefix.patch
 0004-multiarch.patch

=== added directory 'doc/CVS'
=== added file 'doc/CVS/Entries'
--- doc/CVS/Entries	1970-01-01 00:00:00 +0000
+++ doc/CVS/Entries	2014-03-22 23:58:46 +0000
@@ -0,0 +1,8 @@
+/ChangeLog.lib/1.1.1.1/Sat Mar  4 05:37:56 2000//
+/JISYO/1.1.1.1/Sat Mar  4 05:37:56 2000//
+/README.BeOS/1.1.1.1/Sat Mar  4 05:37:56 2000//
+/README.OS2/1.1.1.1/Sat Mar  4 05:37:56 2000//
+/README.level/1.1/Fri Dec  6 13:45:57 2002//
+/README.lib/1.2/Thu Feb 15 03:07:12 2001//
+/README.wakati/1.1.1.1/Sat Mar  4 05:37:56 2000//
+D

=== added file 'doc/CVS/Repository'
--- doc/CVS/Repository	1970-01-01 00:00:00 +0000
+++ doc/CVS/Repository	2014-03-22 23:58:46 +0000
@@ -0,0 +1,1 @@
+kakasi/doc

=== added file 'doc/CVS/Root'
--- doc/CVS/Root	1970-01-01 00:00:00 +0000
+++ doc/CVS/Root	2014-03-22 23:58:46 +0000
@@ -0,0 +1,1 @@
+:ext:cvs.namazu.org/storage/cvsroot

=== modified file 'kakasi.spec'
--- kakasi.spec	2014-02-01 20:45:09 +0000
+++ kakasi.spec	2014-03-22 23:58:46 +0000
@@ -1,4 +1,4 @@
-%define ver	2.3.5
+%define ver	2.3.6
 %define  RELEASE 1
 %define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 

=== modified file 'lib/libdict.c'
--- lib/libdict.c	2014-02-01 20:45:09 +0000
+++ lib/libdict.c	2014-03-22 23:58:46 +0000
@@ -1,6 +1,6 @@
 /*
  * KAKASI (Kanji Kana Simple inversion program)
- * $Id: dict.c,v 1.12 2013-02-20 05:36:43 knok Exp $
+ * $Id: dict.c,v 1.13 2014-02-13 07:30:35 knok Exp $
  * Copyright (C) 1992
  * Hironobu Takahashi (takahasi@tiny.or.jp)
  *
@@ -45,7 +45,7 @@
 #ifdef HAVE_STDINT_H
 # include <stdint.h>
 #else
-#define uintptr_t (int)
+typedef int uintptr_t;
 #endif
 #include "kakasi.h"
 

=== modified file 'lib/libhh2.c'
--- lib/libhh2.c	2010-03-21 15:27:39 +0000
+++ lib/libhh2.c	2014-03-22 23:58:46 +0000
@@ -1,6 +1,6 @@
 /*
  * KAKASI (Kanji Kana Simple inversion program)
- * $Id: hh2.c,v 1.15 2006-09-21 07:51:12 knok Exp $
+ * $Id: hh2.c,v 1.16 2014-02-07 07:36:54 knok Exp $
  * Copyright (C) 1992
  * Hironobu Takahashi (takahasi@tiny.or.jp)
  *
@@ -795,25 +795,29 @@
      Character *n;
 {
     /* Hiragana except for '\244\362' */
-    if ((c[0].c1 == 0xA4 && c[0].c2 != 0xF2) ||
-	(c[0].c1 == 0xA1 &&
-	 (c[0].c2 == 0xBC || c[0].c2 == 0xAB || c[0].c2 == 0xAC))) {
-        if (bunkatu_mode) {
-	    if (! terminate_done) {
-		if (separator_out != 1 || wo_mode == 1)
-		    separator_out = 2;
+    if (c[0].c1 == 0xA4 && c[0].c2 != 0xF2) {
+	if ( bunkatu_mode ) {
+	    if ( wo_mode == 2 ) {
+		separator_out = 1;  
+		n[1].type = JIS83;
+		n[1].c1 = c[0].c1;
+		n[1].c2 = c[0].c2;
+		n[2].type = OTHER;
+		n[2].c1 = 0;
+		n[2].c2 = 0;
+		wo_mode = 0;
+		return 2;
 	    } else {
-		separator_out = 1;
+		n[0].type = JIS83;
+		n[0].c1 = c[0].c1;
+		n[0].c2 = c[0].c2;
+		n[1].type = OTHER;
+		n[1].c1 = 0;
+		n[1].c2 = 0;
+		wo_mode = 0;
+		return 1;
 	    }
-        }
-	wo_mode = 0;
-	n[0].type = JIS83;
-	n[0].c1 = c[0].c1;
-	n[0].c2 = c[0].c2;
-	n[1].type = OTHER;
-	n[1].c1 = 0;
-	n[1].c2 = 0;
-	return 2;
+	}
     } else if (c[0].c1 == 0xA4 && c[0].c2 == 0xF2) { /* '\244\362' */
 	wo_mode = 1;
 	if (bunkatu_mode) {
@@ -827,6 +831,15 @@
 	n[1].c1 = 0;
 	n[1].c2 = 0;
 	return 2;
+    } else if ((c[0].c1 == 0xa1) &&
+	       ((c[0].c2 == 0xbc) || (c[0].c2 == 0xab) || (c[0].c2 == 0xac))) {
+	n[0].type = JIS83;
+	n[0].c1 = c[0].c1;
+	n[0].c2 = c[0].c2;
+	n[1].type = OTHER;
+	n[1].c1 = 0;
+	n[1].c2 = 0;
+	return 1;
     } else {
 	wo_mode = 0;
 	separator_out = 0;

=== modified file 'lib/libkanjiio.c'
--- lib/libkanjiio.c	2014-02-01 20:45:09 +0000
+++ lib/libkanjiio.c	2014-03-22 23:58:46 +0000
@@ -1,6 +1,6 @@
 /*
  * KAKASI (Kanji Kana Simple inversion program)
- * $Id: kanjiio.c,v 1.17 2013-02-07 07:26:18 knok Exp $
+ * $Id: kanjiio.c,v 1.18 2014-02-19 07:47:17 knok Exp $
  * Copyright (C) 1992
  * Hironobu Takahashi (takahasi@tiny.or.jp)
  *
@@ -1078,13 +1078,13 @@
 void 
 close_iconv()
 {
-    if (fromutf8 != -1) {
+    if (fromutf8 != (iconv_t) -1) {
 	iconv_close(fromutf8);
-	fromutf8 = -1;
+	fromutf8 = (iconv_t) -1;
     }
-    if (toutf8 != -1) {
+    if (toutf8 != (iconv_t) -1) {
 	iconv_close(toutf8);
-	toutf8 = -1;
+	toutf8 = (iconv_t) -1;
     }
 }
 #endif /* KAKASI_SUPPORT_UTF8 */

=== modified file 'man/Makefile.am'
--- man/Makefile.am	2010-03-21 15:27:39 +0000
+++ man/Makefile.am	2014-03-22 23:58:46 +0000
@@ -2,5 +2,5 @@
 
 AUTOMAKE_OPTIONS = 1.4 no-dependencies
 
-man_MANS = kakasi.1
+man_MANS = kakasi.1 kakasi-config.1
 EXTRA_DIST = $(man_MANS) kakasi.1.ja kakasi.cat kakasi.cat.ja

=== modified file 'man/Makefile.in'
--- man/Makefile.in	2014-02-01 20:45:09 +0000
+++ man/Makefile.in	2014-03-22 23:58:46 +0000
@@ -218,7 +218,7 @@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = 1.4 no-dependencies
-man_MANS = kakasi.1
+man_MANS = kakasi.1 kakasi-config.1
 EXTRA_DIST = $(man_MANS) kakasi.1.ja kakasi.cat kakasi.cat.ja
 all: all-am
 

=== added file 'man/kakasi-config.1'
--- man/kakasi-config.1	1970-01-01 00:00:00 +0000
+++ man/kakasi-config.1	2014-03-22 23:58:46 +0000
@@ -0,0 +1,51 @@
+.TH KAKASI 1 "28 January 2001"
+.SH NAME
+kakasi\-config \- script to get information about the installed version of KAKASI
+.SH SYNOPSIS
+.B kakasi\-config
+[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-help] [\-\-version] [\-\-libs] [\-\-cflags]
+.SH DESCRIPTION
+.PP
+\fIkakasi\-config\fP is a tool that is used to configure to determine
+the compiler and linker flags that should be used to compile
+and link programs that use \fIKAKASI\fP. It is also used internally
+to the .m4 macros for GNU autoconf that are included with \fIKAKASI\fP.
+.
+.SH OPTIONS
+.TP
+\fIkakasi\-config\fP accepts the following options:
+.TP 8
+.B  \-\-help
+Print the help text and exit.
+.TP 8
+.B  \-\-version
+Print the currently installed version of \fIKAKASI\fP on the standard output.
+.TP 8
+.B  \-\-libs
+Print the linker flags that are necessary to link a \fIKAKASI\fP program.
+.TP 8
+.B  \-\-cflags
+Print the compiler flags that are necessary to compile a \fIKAKASI\fP program.
+.TP 8
+.B  \-\-prefix=PREFIX
+If specified, use PREFIX instead of the installation prefix that \fIKAKASI\fP
+was built with when computing the output for the \-\-cflags and
+\-\-libs options. This option is also used for the exec prefix
+if \-\-exec\-prefix was not specified. This option must be specified
+before any \-\-libs or \-\-cflags options.
+.TP 8
+.B  \-\-exec\-prefix=PREFIX
+If specified, use PREFIX instead of the installation exec prefix that
+\fIGTK+\fP was built with when computing the output for the \-\-cflags
+and \-\-libs options.  This option must be specified before any
+\-\-libs or \-\-cflags options.
+.SH SEE ALSO
+.BR kakasi (1),
+.SH COPYRIGHT
+Copyright \(co  2001 Kakasi Project
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation.

=== modified file 'man/kakasi.1'
--- man/kakasi.1	2014-02-01 20:45:09 +0000
+++ man/kakasi.1	2014-03-22 23:58:46 +0000
@@ -1,4 +1,4 @@
-.\" $Id: kakasi.1,v 1.1 2003-02-23 14:31:04 baba Exp $
+.\" $Id: kakasi.1,v 1.3 2014-02-03 07:07:16 knok Exp $
 .\" Copyright (C) 1992
 .\" Hironobu Takahashi (takahasi@tiny.or.jp)
 .\" Translated to English by J. Grant, and H. Baba

=== modified file 'man/kakasi.1.ja'
--- man/kakasi.1.ja	2014-02-01 20:45:09 +0000
+++ man/kakasi.1.ja	2014-03-22 23:58:46 +0000
@@ -1,4 +1,4 @@
-.\" $Id: kakasi.1.ja,v 1.2 2006-01-04 08:13:46 knok Exp $
+.\" $Id: kakasi.1.ja,v 1.4 2014-02-03 07:07:16 knok Exp $
 .\" Copyright (C) 1992
 .\" Hironobu Takahashi (takahasi@tiny.or.jp)
 .\"

=== modified file 'src/dict.c'
--- src/dict.c	2014-02-01 20:45:09 +0000
+++ src/dict.c	2014-03-22 23:58:46 +0000
@@ -1,6 +1,6 @@
 /*
  * KAKASI (Kanji Kana Simple inversion program)
- * $Id: dict.c,v 1.12 2013-02-20 05:36:43 knok Exp $
+ * $Id: dict.c,v 1.13 2014-02-13 07:30:35 knok Exp $
  * Copyright (C) 1992
  * Hironobu Takahashi (takahasi@tiny.or.jp)
  *
@@ -45,7 +45,7 @@
 #ifdef HAVE_STDINT_H
 # include <stdint.h>
 #else
-#define uintptr_t (int)
+typedef int uintptr_t;
 #endif
 #include "kakasi.h"
 

=== modified file 'src/hh2.c'
--- src/hh2.c	2010-03-21 15:27:39 +0000
+++ src/hh2.c	2014-03-22 23:58:46 +0000
@@ -1,6 +1,6 @@
 /*
  * KAKASI (Kanji Kana Simple inversion program)
- * $Id: hh2.c,v 1.15 2006-09-21 07:51:12 knok Exp $
+ * $Id: hh2.c,v 1.16 2014-02-07 07:36:54 knok Exp $
  * Copyright (C) 1992
  * Hironobu Takahashi (takahasi@tiny.or.jp)
  *
@@ -795,25 +795,29 @@
      Character *n;
 {
     /* Hiragana except for '\244\362' */
-    if ((c[0].c1 == 0xA4 && c[0].c2 != 0xF2) ||
-	(c[0].c1 == 0xA1 &&
-	 (c[0].c2 == 0xBC || c[0].c2 == 0xAB || c[0].c2 == 0xAC))) {
-        if (bunkatu_mode) {
-	    if (! terminate_done) {
-		if (separator_out != 1 || wo_mode == 1)
-		    separator_out = 2;
+    if (c[0].c1 == 0xA4 && c[0].c2 != 0xF2) {
+	if ( bunkatu_mode ) {
+	    if ( wo_mode == 2 ) {
+		separator_out = 1;  
+		n[1].type = JIS83;
+		n[1].c1 = c[0].c1;
+		n[1].c2 = c[0].c2;
+		n[2].type = OTHER;
+		n[2].c1 = 0;
+		n[2].c2 = 0;
+		wo_mode = 0;
+		return 2;
 	    } else {
-		separator_out = 1;
+		n[0].type = JIS83;
+		n[0].c1 = c[0].c1;
+		n[0].c2 = c[0].c2;
+		n[1].type = OTHER;
+		n[1].c1 = 0;
+		n[1].c2 = 0;
+		wo_mode = 0;
+		return 1;
 	    }
-        }
-	wo_mode = 0;
-	n[0].type = JIS83;
-	n[0].c1 = c[0].c1;
-	n[0].c2 = c[0].c2;
-	n[1].type = OTHER;
-	n[1].c1 = 0;
-	n[1].c2 = 0;
-	return 2;
+	}
     } else if (c[0].c1 == 0xA4 && c[0].c2 == 0xF2) { /* '\244\362' */
 	wo_mode = 1;
 	if (bunkatu_mode) {
@@ -827,6 +831,15 @@
 	n[1].c1 = 0;
 	n[1].c2 = 0;
 	return 2;
+    } else if ((c[0].c1 == 0xa1) &&
+	       ((c[0].c2 == 0xbc) || (c[0].c2 == 0xab) || (c[0].c2 == 0xac))) {
+	n[0].type = JIS83;
+	n[0].c1 = c[0].c1;
+	n[0].c2 = c[0].c2;
+	n[1].type = OTHER;
+	n[1].c1 = 0;
+	n[1].c2 = 0;
+	return 1;
     } else {
 	wo_mode = 0;
 	separator_out = 0;

=== modified file 'src/kanjiio.c'
--- src/kanjiio.c	2014-02-01 20:45:09 +0000
+++ src/kanjiio.c	2014-03-22 23:58:46 +0000
@@ -1,6 +1,6 @@
 /*
  * KAKASI (Kanji Kana Simple inversion program)
- * $Id: kanjiio.c,v 1.17 2013-02-07 07:26:18 knok Exp $
+ * $Id: kanjiio.c,v 1.18 2014-02-19 07:47:17 knok Exp $
  * Copyright (C) 1992
  * Hironobu Takahashi (takahasi@tiny.or.jp)
  *
@@ -1078,13 +1078,13 @@
 void 
 close_iconv()
 {
-    if (fromutf8 != -1) {
+    if (fromutf8 != (iconv_t) -1) {
 	iconv_close(fromutf8);
-	fromutf8 = -1;
+	fromutf8 = (iconv_t) -1;
     }
-    if (toutf8 != -1) {
+    if (toutf8 != (iconv_t) -1) {
 	iconv_close(toutf8);
-	toutf8 = -1;
+	toutf8 = (iconv_t) -1;
     }
 }
 #endif /* KAKASI_SUPPORT_UTF8 */

=== modified file 'tests/Makefile.am'
--- tests/Makefile.am	2014-02-01 20:45:09 +0000
+++ tests/Makefile.am	2014-03-22 23:58:46 +0000
@@ -5,7 +5,9 @@
                     pkgdatadir=$(top_srcdir)
 
 TESTS = kakasi-1 kakasi-2 kakasi-3 kakasi-4 kakasi-5 kakasi-6 kakasi-7 \
-	kakasi-8
+	kakasi-8 kakasi-9
+
+SUBDIRS = data
 
 clean-local:
 	rm -f test-log tmp

=== modified file 'tests/Makefile.in'
--- tests/Makefile.in	2014-02-01 20:45:09 +0000
+++ tests/Makefile.in	2014-03-22 23:58:46 +0000
@@ -64,14 +64,54 @@
 am__depfiles_maybe =
 SOURCES =
 DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-dvi-recursive install-exec-recursive \
+	install-html-recursive install-info-recursive \
+	install-pdf-recursive install-ps-recursive install-recursive \
+	installcheck-recursive installdirs-recursive pdf-recursive \
+	ps-recursive uninstall-recursive
 am__can_run_installinfo = \
   case $$AM_UPDATE_INFO_DIR in \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
+  distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+	distdir
+ETAGS = etags
+CTAGS = ctags
 am__tty_colors = \
 red=; grn=; lgn=; blu=; std=
+DIST_SUBDIRS = $(SUBDIRS)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+  dir0=`pwd`; \
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+  sed_rest='s,^[^/]*/*,,'; \
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+  sed_butlast='s,/*[^/]*$$,,'; \
+  while test -n "$$dir1"; do \
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+    if test "$$first" != "."; then \
+      if test "$$first" = ".."; then \
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+      else \
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+        if test "$$first2" = "$$first"; then \
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+        else \
+          dir2="../$$dir2"; \
+        fi; \
+        dir0="$$dir0"/"$$first"; \
+      fi; \
+    fi; \
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+  done; \
+  reldir="$$dir2"
 ACLOCAL = @ACLOCAL@
 AMTAR = @AMTAR@
 AR = @AR@
@@ -193,10 +233,11 @@
                     pkgdatadir=$(top_srcdir)
 
 TESTS = kakasi-1 kakasi-2 kakasi-3 kakasi-4 kakasi-5 kakasi-6 kakasi-7 \
-	kakasi-8
+	kakasi-8 kakasi-9
 
+SUBDIRS = data
 EXTRA_DIST = $(TESTS) env.sh
-all: all-am
+all: all-recursive
 
 .SUFFIXES:
 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
@@ -235,12 +276,141 @@
 
 clean-libtool:
 	-rm -rf .libs _libs
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@fail= failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	  || eval $$failcom; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+	@fail= failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	  || eval $$failcom; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	mkid -fID $$unique
 tags: TAGS
-TAGS:
 
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	set x; \
+	here=`pwd`; \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	  empty_fix=.; \
+	else \
+	  include_option=--include; \
+	  empty_fix=; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test ! -f $$subdir/TAGS || \
+	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	shift; \
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  if test $$# -gt 0; then \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      "$$@" $$unique; \
+	  else \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      $$unique; \
+	  fi; \
+	fi
 ctags: CTAGS
-CTAGS:
-
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	test -z "$(CTAGS_ARGS)$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && $(am__cd) $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
 check-TESTS: $(TESTS)
 	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
@@ -365,20 +535,46 @@
 	    || exit 1; \
 	  fi; \
 	done
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    $(am__make_dryrun) \
+	      || test -d "$(distdir)/$$subdir" \
+	      || $(MKDIR_P) "$(distdir)/$$subdir" \
+	      || exit 1; \
+	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+	    $(am__relativize); \
+	    new_distdir=$$reldir; \
+	    dir1=$$subdir; dir2="$(top_distdir)"; \
+	    $(am__relativize); \
+	    new_top_distdir=$$reldir; \
+	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+	    ($(am__cd) $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$$new_top_distdir" \
+	        distdir="$$new_distdir" \
+		am__remove_distdir=: \
+		am__skip_length_check=: \
+		am__skip_mode_fix=: \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
 check-am: all-am
 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
-check: check-am
+check: check-recursive
 all-am: Makefile
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
 
 install-am: all-am
 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
-installcheck: installcheck-am
+installcheck: installcheck-recursive
 install-strip:
 	if test -z '$(STRIP)'; then \
 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
@@ -400,85 +596,88 @@
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
 	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
+clean: clean-recursive
 
 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
-distclean: distclean-am
+distclean: distclean-recursive
 	-rm -f Makefile
-distclean-am: clean-am distclean-generic
+distclean-am: clean-am distclean-generic distclean-tags
 
-dvi: dvi-am
+dvi: dvi-recursive
 
 dvi-am:
 
-html: html-am
+html: html-recursive
 
 html-am:
 
-info: info-am
+info: info-recursive
 
 info-am:
 
 install-data-am:
 
-install-dvi: install-dvi-am
+install-dvi: install-dvi-recursive
 
 install-dvi-am:
 
 install-exec-am:
 
-install-html: install-html-am
+install-html: install-html-recursive
 
 install-html-am:
 
-install-info: install-info-am
+install-info: install-info-recursive
 
 install-info-am:
 
 install-man:
 
-install-pdf: install-pdf-am
+install-pdf: install-pdf-recursive
 
 install-pdf-am:
 
-install-ps: install-ps-am
+install-ps: install-ps-recursive
 
 install-ps-am:
 
 installcheck-am:
 
-maintainer-clean: maintainer-clean-am
+maintainer-clean: maintainer-clean-recursive
 	-rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
-mostlyclean: mostlyclean-am
+mostlyclean: mostlyclean-recursive
 
 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
-pdf: pdf-am
+pdf: pdf-recursive
 
 pdf-am:
 
-ps: ps-am
+ps: ps-recursive
 
 ps-am:
 
 uninstall-am:
 
-.MAKE: check-am install-am install-strip
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
+	ctags-recursive install-am install-strip tags-recursive
 
-.PHONY: all all-am check check-TESTS check-am clean clean-generic \
-	clean-libtool clean-local distclean distclean-generic \
-	distclean-libtool distdir dvi dvi-am html html-am info info-am \
-	install install-am install-data install-data-am install-dvi \
-	install-dvi-am install-exec install-exec-am install-html \
-	install-html-am install-info install-info-am install-man \
-	install-pdf install-pdf-am install-ps install-ps-am \
-	install-strip installcheck installcheck-am installdirs \
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+	all all-am check check-TESTS check-am clean clean-generic \
+	clean-libtool clean-local ctags ctags-recursive distclean \
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	installcheck installcheck-am installdirs installdirs-am \
 	maintainer-clean maintainer-clean-generic mostlyclean \
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-	uninstall uninstall-am
+	tags tags-recursive uninstall uninstall-am
 
 
 clean-local:

=== added directory 'tests/data'
=== added file 'tests/data/Makefile.am'
--- tests/data/Makefile.am	1970-01-01 00:00:00 +0000
+++ tests/data/Makefile.am	2014-03-22 23:58:46 +0000
@@ -0,0 +1,4 @@
+##
+AUTOMAKE_OPTIONS = 1.4 no-dependencies
+
+EXTRA_DIST = hira-first-in.txt  hira-first-out.txt

=== added file 'tests/data/Makefile.in'
--- tests/data/Makefile.in	1970-01-01 00:00:00 +0000
+++ tests/data/Makefile.in	2014-03-22 23:58:46 +0000
@@ -0,0 +1,383 @@
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \	]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = tests/data
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+depcomp =
+am__depfiles_maybe =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBICONV = @LTLIBICONV@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AUTOMAKE_OPTIONS = 1.4 no-dependencies
+EXTRA_DIST = hira-first-in.txt  hira-first-out.txt
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/data/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu tests/data/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	if test -z '$(STRIP)'; then \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	      install; \
+	else \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+	fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+	distclean distclean-generic distclean-libtool distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	installcheck installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

=== added file 'tests/data/hira-first-in.txt'
--- tests/data/hira-first-in.txt	1970-01-01 00:00:00 +0000
+++ tests/data/hira-first-in.txt	2014-03-22 23:58:46 +0000
@@ -0,0 +1,1 @@
+蚊

=== added file 'tests/data/hira-first-out.txt'
--- tests/data/hira-first-out.txt	1970-01-01 00:00:00 +0000
+++ tests/data/hira-first-out.txt	2014-03-22 23:58:46 +0000
@@ -0,0 +1,1 @@
+蚊 

=== modified file 'tests/kakasi-1'
--- tests/kakasi-1	2014-02-01 20:45:09 +0000
+++ tests/kakasi-1	2014-03-22 23:58:46 +0000
@@ -1,15 +1,23 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # test for encoding
 #   (require: GNU echo, GNU od)
 #
-# $Id: kakasi-1,v 1.3 2013-10-17 06:32:32 knok Exp $
+# $Id: kakasi-1,v 1.5 2014-01-28 06:50:11 knok Exp $
 
 LOG=`pwd`/test-log
 echo '  *** starting ' $0 >> $LOG
 
 . ./env.sh
 
+od --version > /dev/null 2>&1
+STATUS=$?
+if [ "$STATUS" != 0 ]
+then
+    echo "not GNU od." >> $LOG
+    exit 77 # SKIP
+fi
+
 # "$BF|K\8l$NJ8;zNs(B"
 newjis='033 044 102 106 174 113 134 070 154 044 116 112 070 073 172 116 163 033 050 102 012'
 oldjis='033 044 100 106 174 113 134 070 154 044 116 112 070 073 172 116 163 033 050 112 012'

=== modified file 'tests/kakasi-4'
--- tests/kakasi-4	2014-02-01 20:45:09 +0000
+++ tests/kakasi-4	2014-03-22 23:58:46 +0000
@@ -1,15 +1,24 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # test for romaji conversion (misc, when you modified romaji table, add this)
 #    (require: GNU echo)
 #
-# $Id: kakasi-4,v 1.4 2013-10-17 06:32:32 knok Exp $
+# $Id: kakasi-4,v 1.5 2014-01-28 06:55:30 knok Exp $
 
 LOG=`pwd`/test-log
 echo '  *** starting ' $0 >> $LOG
 
 . ./env.sh
 
+/bin/echo --version |grep -q GNU
+STATUS=$?
+if [ "$STATUS" != 0 ]
+then
+    echo "not GNU echo." >> $LOG
+    exit 77 # SKIP
+fi
+
+
 romacheck () {
 	KAKASI=../src/kakasi
 

=== modified file 'tests/kakasi-5'
--- tests/kakasi-5	2014-02-01 20:45:09 +0000
+++ tests/kakasi-5	2014-03-22 23:58:46 +0000
@@ -1,13 +1,13 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # test for incomplete input sequences
 #
-# $Id: kakasi-5,v 1.3 2013-12-03 07:38:30 knok Exp $
+# $Id: kakasi-5,v 1.4 2014-01-28 07:05:12 knok Exp $
 
 LOG=`pwd`/test-log
 
 echo '  *** disabled ' $0 >> $LOG
-exit 0
+exit 77
 
 echo '  *** starting ' $0 >> $LOG
 

=== modified file 'tests/kakasi-8'
--- tests/kakasi-8	2014-02-01 20:45:09 +0000
+++ tests/kakasi-8	2014-03-22 23:58:46 +0000
@@ -1,12 +1,18 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # test for libkakasi linkable
 #
-# $Id: kakasi-8,v 1.5 2013-12-17 05:41:17 knok Exp $
+# $Id: kakasi-8,v 1.7 2014-01-28 07:03:35 knok Exp $
 
 LOG=`pwd`/test-log
 echo '  *** starting ' $0 >> $LOG
 
+if [ ! -e "$CC" ]
+then
+    echo "can't find CC: $CC"  >> $LOG
+    exit 77
+fi
+
 TMPSRC=main.c
 TMPEXE=main
 
@@ -26,7 +32,7 @@
 }
 _EOF
 
-gcc $TMPSRC -o $TMPEXE -I../lib ../lib/.libs/libkakasi.so
+$CC $TMPSRC -o $TMPEXE -I../lib ../lib/.libs/libkakasi.so
 STATUS=$?
 if [ "$STATUS" != 0 ]
 then

=== added file 'tests/kakasi-9'
--- tests/kakasi-9	1970-01-01 00:00:00 +0000
+++ tests/kakasi-9	2014-03-22 23:58:46 +0000
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# test for wakatigaki with hiragana
+#
+# $Id: kakasi-9,v 1.2 2014-02-07 07:38:05 knok Exp $
+
+LOG=`pwd`/test-log
+echo '  *** starting ' $0 >> $LOG
+
+. ./env.sh
+
+INPUT=./data/hira-first-in.txt
+TMPOUT=./data/tmpout.txt
+EXPECT=./data/hira-first-out.txt
+
+clean() {
+    rm -f $TMPOUT
+}
+
+../src/kakasi -w -iutf8 -outf8 < $INPUT >$TMPOUT
+if cmp -s $TMPOUT $EXPECT
+then
+    echo "test passed." >> $LOG
+else
+    echo "test failed. the output was:" >> $LOG
+    cat $TMPOUT >> $LOG
+    clean
+    exit 1
+fi
+
+clean
+
+exit 0

