--- mecab-cannadic-0.94h.orig/debian/dirs
+++ mecab-cannadic-0.94h/debian/dirs
@@ -0,0 +1,2 @@
+usr/lib/chasen/dic/cannadic
+etc
--- mecab-cannadic-0.94h.orig/debian/docs
+++ mecab-cannadic-0.94h/debian/docs
@@ -0,0 +1 @@
+README.ja
--- mecab-cannadic-0.94h.orig/debian/control
+++ mecab-cannadic-0.94h/debian/control
@@ -0,0 +1,17 @@
+Source: mecab-cannadic
+Section: misc
+Priority: optional
+Maintainer: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Build-Depends: debhelper (>> 4.0.0), chasen-dictutils
+Standards-Version: 3.5.9
+
+Package: chasen-cannadic
+Architecture: any
+Depends:
+Conflicts: ipadic
+Description: a Japanese dictionary for ChaSen derived from Canna dictionary
+ ChaSen is a Japanese morphological analysys system. It usually use
+ with ipadic dictionary. But it is DFSG-nonfree, so the package provides
+ yet another dictionary on DFSG-free environment.
+ The dictionary is based on cannadic.
+
--- mecab-cannadic-0.94h.orig/debian/changelog
+++ mecab-cannadic-0.94h/debian/changelog
@@ -0,0 +1,22 @@
+mecab-cannadic (0.94h-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/copyright: Added license boilerplate and fixed link to GPL text,
+ closes: #553431
+
+ -- Michael Banck <mbanck@debian.org> Sat, 28 Nov 2009 00:12:12 +0100
+
+mecab-cannadic (0.94h-2) unstable; urgency=low
+
+ * Fixed invalid build-depends, closes: #223193.
+
+ -- NOKUBI Takatsugu <knok@daionet.gr.jp> Tue, 9 Dec 2003 14:25:05 +0900
+
+mecab-cannadic (0.94h-1) unstable; urgency=low
+
+ * Initial Release.
+
+ * Installed in Debian, closes: #210877.
+
+ -- NOKUBI Takatsugu <knok@daionet.gr.jp> Sat, 13 Sep 2003 17:41:17 +0900
+
--- mecab-cannadic-0.94h.orig/debian/copyright
+++ mecab-cannadic-0.94h/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by NOKUBI Takatsugu <knok@daionet.gr.jp> on
+Sat, 13 Sep 2003 17:41:17 +0900.
+
+It was downloaded from http://cvs.namazu.org/mecab-cannadic/.
+
+Upstream Author(s): Sugimoto Masao, TSUCHIYA Masatoshi, NOKUBI Takatsugu.
+
+Copyright:
+
+The original cannadic is the following:
+Copytight 2000-2002 Sugimoto Masao
+
+Conversion scripts are the following:
+Copyright 2003 TSUCHIYA Masatoshi
+Copyright 2003 NOKUBI Takatsugu
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License version 2 as
+published by the Free Software Foundation.
+
+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 this program; if not, write to the Free Software Foundation,
+Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The following files are not protected under the copyright law in
+Japanese because there are not creative data, are the fact.
+
+connect.cha, ctypes.cha, grammer.cha
--- mecab-cannadic-0.94h.orig/debian/compat
+++ mecab-cannadic-0.94h/debian/compat
@@ -0,0 +1 @@
+4
--- mecab-cannadic-0.94h.orig/debian/README.Debian
+++ mecab-cannadic-0.94h/debian/README.Debian
@@ -0,0 +1,6 @@
+mecab-cannadic for Debian
+-------------------------
+
+This package is a dictionary files for ChaSen using cannadic.
+
+ -- NOKUBI Takatsugu <knok@daionet.gr.jp>, Sat Sep 13 18:06:13 2003
--- mecab-cannadic-0.94h.orig/debian/chasenrc
+++ mecab-cannadic-0.94h/debian/chasenrc
@@ -0,0 +1,111 @@
+;;
+;; chasenrc for chasen-cannadic
+;;
+;; ÆüËܸì¥é¥Ù¥ë¤È±Ñ¸ì¥é¥Ù¥ë¤É¤Á¤é¤«»ØÄꤹ¤ë¤À¤±¤ÇÎɤ¤
+;;;
+;;; grammar.cha/ctypes.cha/cforms.cha location /ʸˡ¥Õ¥¡¥¤¥ë
+;;;
+;(ʸˡ¥Õ¥¡¥¤¥ë /usr/lib/chasen/dic/cannadic)
+(GRAMMAR /usr/lib/chasen/dic/cannadic)
+
+;;;
+;;; dictionary /¼½ñ
+;;;
+(DADIC chadic)
+
+;;;
+;;; POS for Unknown words /̤ÃθìÉÊ»ì
+;;;
+;(̤ÃθìÉÊ»ì (̾»ì ¥µÊÑÀܳ))
+(UNKNOWN_POS (̾»ì ¥µÊÑÀܳ))
+
+;;;
+;;; output format /½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È
+;;;
+;(½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È "%m\t%y\t%M\t%U(%P-)\t%T \t%F \n") ; default(-f)
+;(OUTPUT_FORMAT "%m\t%y\t%M\t%U(%P-)\t%T \t%F \n") ; default(-f)
+;(OUTPUT_FORMAT "%m\t%y\t%M\t%P-\t%T \t%F \n") ; POS name
+;(OUTPUT_FORMAT "%m\t%?U/UNKNOWN/%y/\t%M\t%h/%t/%f\n") ; POS code
+;(OUTPUT_FORMAT "%M\t%P-\n")
+
+;;;
+;;; output format for compound words /Ê£¹ç¸ì½ÐÎÏ
+;;;
+;(Ê£¹ç¸ì½ÐÎÏ "COMPOUND") ; default
+;(OUTPUT_COMPOUND "COMPOUND") ; default
+;(OUTPUT_COMPOUND "SEG")
+
+;;;
+;;; BOS string /BOSʸ»úÎó
+;;;
+;(BOSʸ»úÎó "BOS")
+;(BOS_STRING "BOS")
+
+;;;
+;;; EOS string /EOSʸ»úÎó
+;;;
+;(EOSʸ»úÎó "EOS")
+;(EOS_STRING "EOS")
+
+;;;
+;;; Connection cost for Undefined contexts /̤ÄêµÁÏ¢ÀÜ¥³¥¹¥È
+;;;
+;(̤ÄêµÁÏ¢ÀÜ¥³¥¹¥È 10000)
+(DEF_CONN_COST 10000)
+
+;;;
+;;; POS Weight /Éʻ쥳¥¹¥È
+;;;
+;(Éʻ쥳¥¹¥È
+; ((*) 1)
+; ((UNKNOWN) 30000)
+;)
+(POS_COST
+ ((*) 1)
+ ((UNKNOWN) 30000)
+)
+
+;;;
+;;; connecition rules Weight /Ï¢ÀÜ¥³¥¹¥È½Å¤ß
+;;;
+;(Ï¢ÀÜ¥³¥¹¥È½Å¤ß 1)
+(CONN_WEIGHT 1)
+
+;;;
+;;; morphemes Weight /·ÁÂÖÁÇ¥³¥¹¥È½Å¤ß
+;;;
+;(·ÁÂÖÁÇ¥³¥¹¥È½Å¤ß 1)
+(MORPH_WEIGHT 1)
+
+;;;
+;;; cost width /¥³¥¹¥ÈÉý
+;;;
+;(¥³¥¹¥ÈÉý 0)
+(COST_WIDTH 0)
+
+;;;
+;;; composit POSs /Ï¢·ëÉÊ»ì
+;;;
+;(Ï¢·ëÉÊ»ì ((̾»ì ¿ô))
+; ((µ¹æ ¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È)))
+;(COMPOSIT_POS ((̾»ì ¿ô))
+; ((µ¹æ ¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È)))
+
+;;;
+;;; POSs as white space /¶õÇòÉÊ»ì
+;;;
+;(¶õÇòÉÊ»ì (µ¹æ ¶õÇò))
+;(SPACE_POS (µ¹æ ¶õÇò))
+
+;;;
+;;; annotation POSs /Ãí¼á
+;;;
+;(Ãí¼á (("<" ">") (µ¹æ °ìÈÌ)))
+;(ANNOTATION (("<" ">") (µ¹æ °ìÈÌ)))
+
+;;;
+;;; delimiter for option -j /¶èÀÚ¤êʸ»ú
+;;;
+;(¶èÀÚ¤êʸ»ú "¡£¡¥¡¢¡¤¡ª¡©.,!? ")
+;(DELIMITER "¡£¡¥¡¢¡¤¡ª¡©.,!? ")
+
--- mecab-cannadic-0.94h.orig/debian/rules
+++ mecab-cannadic-0.94h/debian/rules
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ $(MAKE) unpack-stamp
+ (cd chasen; $(MAKE) all)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -(cd chasen;$(MAKE) clean)
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ cp chasen/*.cha chasen/*.dic chasen/chadic.* \
+ $(CURDIR)/debian/chasen-cannadic/usr/lib/chasen/dic/cannadic/
+ cp debian/chasenrc $(CURDIR)/debian/chasen-cannadic/etc/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure