debian/0000755000000000000000000000000011760716064007176 5ustar debian/compat0000644000000000000000000000000211760346665010402 0ustar 8 debian/changelog0000644000000000000000000000260711760351337011053 0ustar mecab-ipadic (2.7.0-20070801+main-1) unstable; urgency=low * Move to main with new tarball. Closes: #650418 * Repackage with modern dh and 3.0 (quilt) style. * Update upstream URL. -- Osamu Aoki Sun, 27 May 2012 15:33:01 +0900 mecab-ipadic (2.7.0+20070801-3) unstable; urgency=low * Create `mecab-ipadic-utf8' package for morphological analysis in UTF-8. -- TSUCHIYA Masatoshi Fri, 01 Feb 2008 13:10:20 +0900 mecab-ipadic (2.7.0+20070801-2) unstable; urgency=low * Fix the documentation bug to use UTF-8 dictionary. * Fix the packaging bug which fails removing this package. * Fix the packaging bug which fails rebuilding this package. -- TSUCHIYA Masatoshi Tue, 15 Jan 2008 22:12:42 +0900 mecab-ipadic (2.7.0+20070801-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Sat, 15 Sep 2007 18:32:35 +0900 mecab-ipadic (2.7.0+20060707-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Sat, 07 Oct 2006 16:28:05 +0900 mecab-ipadic (2.6.1-2) unstable; urgency=low * Use new dicrc distributed with mecab-0.79. -- TSUCHIYA Masatoshi Sun, 17 Oct 2004 22:26:51 +0900 mecab-ipadic (2.6.1-1) unstable; urgency=low * Initial release. -- TSUCHIYA Masatoshi Tue, 11 Nov 2003 16:47:35 +0900 debian/watch0000644000000000000000000000077211760714173010234 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # #http://www.example.com/downloads.php mecab-ipadic-(.*)\.tar\.gz http://code.google.com/p/mecab/downloads/list?can=1&q=mecab-ipadic .*/mecab-ipadic-(\d[\d.-]*)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian/mecab-ipadic.dirs0000644000000000000000000000006411760303035012345 0ustar usr/share/mecab/dic/ipadic var/lib/mecab/dic/ipadic debian/mecab-ipadic-utf8.dirs0000644000000000000000000000003611760303035013230 0ustar var/lib/mecab/dic/ipadic-utf8 debian/mecab-ipadic.install0000644000000000000000000000014311760704576013067 0ustar *.def usr/share/mecab/dic/ipadic dicrc usr/share/mecab/dic/ipadic *.csv usr/share/mecab/dic/ipadic debian/control0000644000000000000000000000201111760711537010573 0ustar Source: mecab-ipadic Section: misc Priority: extra Maintainer: Osamu Aoki Uploaders: TSUCHIYA Masatoshi Build-Depends: debhelper (>= 8.0.0) Standards-Version: 3.9.3 Homepage: http://code.google.com/p/mecab/ Vcs-Git: git://git.debian.org/collab-maint/mecab-ipadic.git Vcs-Browser: http://git.debian.org/?p=collab-maint/mecab-ipadic.git;a=summary Package: mecab-ipadic Architecture: all Depends: ${misc:Depends}, mecab-utils (>= 0.93) Description: IPA dictionary compiled for Mecab This package provides IPA dictionary converted for Mecab, that is a Japanese morphological analysis system. This dictionary is organized in the IPA grammar system. Package: mecab-ipadic-utf8 Architecture: all Depends: ${misc:Depends}, mecab-utils (>= 0.93), mecab-ipadic Description: IPA dictionary encoded in UTF-8 compiled for Mecab This package provides IPA dictionary converted for Mecab, that is a Japanese morphological analysis system. This dictionary is organized in the IPA grammar system. debian/postinst.in0000644000000000000000000000171711760303035011405 0ustar #! /bin/sh # postinst script for mecab-@basename@ # # see: dh_installdeb(1) set -e srcdir=/usr/share/mecab/dic/ipadic dstdir=/var/lib/mecab/dic/@basename@ encoding=@encoding@ case "$1" in configure) echo "Compiling IPA dictionary for Mecab. This takes long time..." /usr/lib/mecab/mecab-dict-index -d ${srcdir} -o ${dstdir} -f EUC-JP -t ${encoding} test -f ${dstdir}/dicrc && rm ${dstdir}/dicrc if [ ${encoding} = 'EUC-JP' ]; then ln -s ${srcdir}/dicrc ${dstdir}/dicrc priority=70 else sed "s,EUC-JP,${encoding},g" ${srcdir}/dicrc > ${dstdir}/dicrc priority=80 fi update-alternatives --install /var/lib/mecab/dic/debian mecab-dictionary ${dstdir} ${priority} ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000001021611760712347011131 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: mecab-ipadic Source: http://code.google.com/p/mecab/ Files: debian/* Copyright: 2008, TSUCHIYA Masatoshi 2011, Osamu Aoki License: BSD-3-Clause Files: * Copyright: 2000, 2001, 2002, 2003 Nara Institute of Science and Technology License: BSD-3-Clause with ICOT term Copyright 2000, 2001, 2002, 2003 Nara Institute of Science and Technology. All Rights Reserved. . Use, reproduction, and distribution of this software is permitted. Any copy of this software, whether in its original form or modified, must include both the above copyright notice and the following paragraphs. . Nara Institute of Science and Technology (NAIST), the copyright holders, disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness, in no event shall NAIST be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortuous action, arising out of or in connection with the use or performance of this software. . A large portion of the dictionary entries originate from ICOT Free Software. The following conditions for ICOT Free Software applies to the current dictionary as well. . Each User may also freely distribute the Program, whether in its original form or modified, to any third party or parties, PROVIDED that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear on, or be attached to, the Program, which is distributed substantially in the same form as set out herein and that such intended distribution, if actually made, will neither violate or otherwise contravene any of the laws and regulations of the countries having jurisdiction over the User or the intended distribution itself. . NO WARRANTY . The program was produced on an experimental basis in the course of the research and development conducted during the project and is provided to users as so produced on an experimental basis. Accordingly, the program is provided without any warranty whatsoever, whether express, implied, statutory or otherwise. The term "warranty" used herein includes, but is not limited to, any warranty of the quality, performance, merchantability and fitness for a particular purpose of the program and the nonexistence of any infringement or violation of any right of any third party. . Each user of the program will agree and understand, and be deemed to have agreed and understood, that there is no warranty whatsoever for the program and, accordingly, the entire risk arising from or otherwise connected with the program is assumed by the user. . Therefore, neither ICOT, the copyright holder, or any other organization that participated in or was otherwise related to the development of the program and their respective officials, directors, officers and other employees shall be held liable for any and all damages, including, without limitation, general, special, incidental and consequential damages, arising out of or otherwise in connection with the use or inability to use the program or any product, material or result produced or otherwise obtained by using the program, regardless of whether they have been advised of, or otherwise had knowledge of, the possibility of such damages at any time during the project or thereafter. Each user will be deemed to have agreed to the foregoing by his or her commencement of use of the program. The term "use" as used herein includes, but is not limited to, the use, modification, copying and distribution of the program and the production of secondary products from the program. . In the case where the program, whether in its original form or modified, was distributed or delivered to or received by a user from any person, organization or entity other than ICOT, unless it makes or grants independently of ICOT any specific warranty to the user in writing, such person, organization or entity, will also be exempted from and not be held liable to the user for any such damages as noted above as far as the program is concerned. debian/prerm.in0000644000000000000000000000105511760303035010642 0ustar #! /bin/sh # prerm script for mecab-@basename@ # # see: dh_installdeb(1) set -e case "$1" in remove|upgrade|deconfigure) rm -f /var/lib/mecab/dic/@basename@/* ;; esac case "$1" in remove) update-alternatives --remove mecab-dictionary /var/lib/mecab/dic/@basename@ ;; upgrade|deconfigure|failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/README.Debian0000644000000000000000000000275411760714460011245 0ustar mecab-ipadic and mecab-ipadic-utf8 for Debian --------------------------------------------- mecab-ipadic and mecab-ipadic-utf8 are dictionaries for mecab which performs the morphological analysis of Japanese texts. * mecab-ipadic for the EUC-JP encoded text. * mecab-ipadic-utf8 for the UTF-8 encoded text. These packages can coexist with other dictionaries. * mecab-naist-jdic * mecab-naist-jdic-eucjp * mecab-jumandic * mecab-jumandic-utf8 Since naist-jdic is based on ipadic with some updated contents, naist-jdic has the precedence over ipadic for the update-alternatives system. ipadic still has good reasons to exist since it has a better data consistency. You can find more information at http://code.google.com/p/mecab/ You can switch default dictionary to mecab-ipadic in UTF-8 mode by: $ sudo update-alternatives --config mecab-dictionary You can also force resource file to use ipadic in UTF-8 mode by: $ mecab -r /var/lib/mecab/dic/ipadic-utf8 ... or edit /etc/mecabrc to select the resource file. See mecab(8). NOTE: This mecab-ipadic package was originally uploaded to the non-free area following the precedent of ipadic. After careful review, the new ipadic maintainer posted the package should be treated as DFSG compliant to the debian-legal. http://lists.debian.org/debian-legal/2011/09/msg00010.html and uploaded it to the main area. It was accepted. This mecab-ipadic package follows this new precedent. -- Osamu Aoki Mon, 28 May 2012 23:50:22 +0900 debian/rules0000755000000000000000000000155711760715076010270 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_configure: @echo "do not execute ./configure" sed -e 's,@basename@,ipadic,g;' -e 's,@encoding@,EUC-JP,g;' debian/prerm.in > debian/mecab-ipadic.prerm sed -e 's,@basename@,ipadic,g;' -e 's,@encoding@,EUC-JP,g;' debian/postinst.in > debian/mecab-ipadic.postinst sed -e 's,@basename@,ipadic-utf8,g;' -e 's,@encoding@,UTF-8,g;' debian/prerm.in > debian/mecab-ipadic-utf8.prerm sed -e 's,@basename@,ipadic-utf8,g;' -e 's,@encoding@,UTF-8,g;' debian/postinst.in > debian/mecab-ipadic-utf8.postinst override_dh_auto_build: @echo "do nothing for build" override_dh_auto_clean: dh_auto_clean -rm -rf debian/mecab-ipadic.prerm -rm -rf debian/mecab-ipadic.postinst -rm -rf debian/mecab-ipadic-utf8.prerm -rm -rf debian/mecab-ipadic-utf8.postinst debian/source/0000755000000000000000000000000011760346665010504 5ustar debian/source/format0000644000000000000000000000001411760346665011712 0ustar 3.0 (quilt)