debian/0000755000000000000000000000000012260053425007165 5ustar debian/mecab-config.10000644000000000000000000000232212260050704011555 0ustar .TH MECAB-CONFIG "1" "Aug 15th, 2003" .SH NAME mecab-config \- Get command-line flags for building stuff using Mecab .SH SYNOPSIS .B mecab-config [\fIOPTION\fR] ... .SH DESCRIPTION .B mecab-config gives information about how .I Mecab is configured on your system, giving necessary command line options to build your applications. .PP Known values for OPTION are: .TP \fB\-\-cxx\fR print C++ compiler used to compile Mecab .TP \fB\-\-prefix\fR print Mecab prefix .TP \fB\-\-exec\-prefix\fR print Mecab executable prefix .TP \fB\-\-libs\fR print library linking information .TP \fB\-\-cflags\fR print preprocessor flags, I_opts, and compiler options .TP \fB\-\-dicdir\fR print path to directory containing dictionaries .TP \fB\-\-libexecdir\fR print path to directory containing helper executables .TP \fB\-\-libs-only-L\fR print linker "-L" flags for dynamic linking .TP \fB\-\-libs-only-l\fR print dynamic linker "-l" flags .TP \fB\-\-inc-dir\fR print "-I" include options .TP \fB\-\-help\fR print this help and exit .TP \fB\-\-version\fR print version information .br .SH SEE ALSO .BR mecab (1). .SH AUTHOR This manual page was written by TSUCHIYA Masatoshi , for the Debian project (but may be used by others). debian/source/0000755000000000000000000000000012260052630010462 5ustar debian/source/format0000644000000000000000000000001412260052630011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000034712260050704010217 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for devscripts >= 2.9 http://code.google.com/p/mecab/downloads/list /.*/files/mecab-([0-9.]+)\.tar\.gz debian/patches/0000755000000000000000000000000012260053144010612 5ustar debian/patches/series0000644000000000000000000000010612260053065012026 0ustar 030_mecabrc 050_mecab-config 090_man_whatis_entry remove-urchin.patch debian/patches/remove-urchin.patch0000644000000000000000000000114112260053144014413 0ustar Description: remove google-analytics Javascript from package Author: Hideki Yamane --- Forwarded: not-needed Last-Update: 2013-12-29 --- mecab-0.996.orig/doc/index.html +++ mecab-0.996/doc/index.html @@ -7,14 +7,6 @@

MeCab: Yet Another Part-of-Speech and Morphological Analyzer

- - -

MeCab (和布蕪)とは

MeCabは debian/patches/090_man_whatis_entry0000644000000000000000000000052712260050704014503 0ustar --- a/man/mecab.1 +++ b/man/mecab.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. .TH MECAB "1" "March 2009" "mecab of 0.98pre1" MeCab .SH NAME -mecab \- manual page for mecab of 0.98pre1 +mecab \- Yet Another Part-of-Speech and Morphological Analyzer .SH SYNOPSIS .B mecab [\fIoptions\fR] \fIfiles\fR debian/patches/050_mecab-config0000644000000000000000000000045412260050704013435 0ustar #DPATCHLEVEL=1 --- mecab-0.93.orig/mecab-config.in 2006-03-09 04:19:35.000000000 +0900 +++ mecab-0.93/mecab-config.in 2006-10-07 15:19:09.725655286 +0900 @@ -107,7 +107,7 @@ ;; --libexecdir) - echo @prefix@/libexec/mecab + echo /usr/lib/mecab ;; --sysconfdir) debian/patches/030_mecabrc0000644000000000000000000000052312260050704012512 0ustar #DPATCHLEVEL=1 --- mecab-0.93/mecabrc.in~ 2006-10-07 15:10:46.512753644 +0900 +++ mecab-0.93/mecabrc.in 2006-10-07 15:11:49.388866592 +0900 @@ -3,7 +3,7 @@ ; ; $Id: mecabrc.in,v 1.3 2006/05/29 15:36:08 taku-ku Exp $; ; -dicdir = @prefix@/lib/mecab/dic/ipadic +dicdir = /var/lib/mecab/dic/debian ; userdic = /home/foo/bar/user.dic debian/copyright0000644000000000000000000000376212260050704011125 0ustar This package was debianized by TSUCHIYA Masatoshi on Wed, 31 Jul 2002 17:20:50 +0900. It was downloaded from http://code.google.com/p/mecab/downloads/list Copyright(C) 2001-2006 Taku Kudo Copyright(C) 2004-2006 Nippon Telegraph and Telephone Corporation Copyright: MeCab is copyrighted free software by Taku Kudo and Nippon Telegraph and Telephone Corporation, and is released under any of the GPL (see `/usr/share/common-licenses/GPL-2'), the LGPL (see `/usr/share/common-licenses/LGPL-2.1'), or the BSD License as follows. The BSD License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/compat0000644000000000000000000000000212260050704010360 0ustar 7 debian/libmecab-dev.manpages0000644000000000000000000000002612260050704013207 0ustar debian/mecab-config.1 debian/libmecab-dev.install0000644000000000000000000000010212260050704013055 0ustar usr/bin/mecab-config usr/include/* usr/lib/lib*.a usr/lib/lib*.so debian/mecab.install0000644000000000000000000000004312260050704011616 0ustar usr/bin/mecab usr/share/man/man1/* debian/rules0000755000000000000000000000203712260053374010252 0ustar #!/usr/bin/make -f # -*- Makefile -*- include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk LIBPACKAGE = $(shell dh_listpackages|egrep 'lib.*[0-9]') LIBFILES = debian/$(LIBPACKAGE).install DEB_CONFIGURE_LIBEXECDIR = /usr/lib DEB_CONFIGURE_EXTRA_FLAGS = --with-perl5=/usr/bin/perl DEB_DH_MAKESHLIBS_ARGS += -V"$(LIBPACKAGE) (>= $(DEB_VERSION))" pre-build:: $(LIBFILES) test-driver $(LIBFILES): debian/libmecab.install.in debian/control debian/rules cp -p $< $@ test-driver: ln -sf /usr/share/automake-$(DEB_AUTO_UPDATE_AUTOMAKE)/test-driver $@ clean:: -rm -f $(LIBFILES) -rm -f test-driver DEB_AUTO_UPDATE_LIBTOOL = pre DEB_AUTO_UPDATE_ACLOCAL = $(shell dpkg -s automake | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1') DEB_AUTO_UPDATE_AUTOCONF = $(shell dpkg -s autoconf | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1') DEB_AUTO_UPDATE_AUTOMAKE = $(shell dpkg -s automake | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1') debian/libmecab.install.in0000644000000000000000000000003012260050704012706 0ustar etc/* usr/lib/lib*.so.* debian/README.Debian0000644000000000000000000000144712260050704011231 0ustar Mecab for Debian ---------------- Mecab is a morphological analysys system. It can segment and tokenize Japanese text string, and can output with many additional information (pronunciation, semantic information, and others). It will print the result of such an operation to the standard output, so that it can be either written to a file or further processed. Two dictionary packages for Mecab are available: `mecab-jumandic' and `mecab-ipadic'. To select a dictionary, (a) edit /etc/mecabrc, or (b) execute the command `update-alternatives --config mecab-dictionary'. If you want to use UTF-8 when analyzing morphologicaly, see `/usr/share/doc/mecab-jumandic/README.Debian' or `/usr/share/doc/mecab-ipadic/README.Debian'. -- TSUCHIYA Masatoshi , Wed, 5 Dec 2007 11:58:14 +0900 debian/README.source0000644000000000000000000000353512260050704011347 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches break fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/mecab.docs0000644000000000000000000000003712260050704011103 0ustar doc/*.css doc/*.html doc/*.png debian/mecab-utils.install0000644000000000000000000000002012260050704012747 0ustar usr/lib/mecab/* debian/changelog0000644000000000000000000001333412260053424011042 0ustar mecab (0.996-1.1) unstable; urgency=medium [ Hideki Yamane ] * Non-maintainer upload. * debian/rules - use dh-autoreconf to fix FTBFS (Closes: #725580) - remove "include /usr/share/cdbs/1/rules/patchsys-quilt.mk", use source format 3.0 instead * debian/control - add "Build-Depends: dh-autoreconf" as above - remove "Build-Depends: quilt", use source format 3.0 instead * add debian/source/format * debian/patches - add remove-urchin.patch to fix "privacy-breach-google-adsense" lintian error. It's Debian package specific because upstream uses it for its website. -- Hideki Yamane Thu, 17 Oct 2013 10:35:20 +0900 mecab (0.996-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.4. * Change VCS from Subversion to Git. -- Taku YASUI Mon, 12 Aug 2013 22:08:21 +0900 mecab (0.994-1) unstable; urgency=low * New upstream release * Update versioning policy, same as upstream -- Taku YASUI Mon, 12 Aug 2013 22:08:01 +0900 mecab (0.99.3-3) unstable; urgency=low * Add Breaks: libmecab1 (closes: #666166) -- Taku YASUI Sat, 21 Apr 2012 22:41:51 +0900 mecab (0.99.3-2) unstable; urgency=low * Add libmecab1 to Conflicts: of libmecab2 (closes: #666144) - /etc/mecabrc conflicts -- Taku YASUI Sat, 31 Mar 2012 00:30:47 +0900 mecab (0.99.3-1) unstable; urgency=low * New upstream release - The upstream version is 0.993 but 0.99.3 for Debian * Change package structure from tarball to extracted * Use quilt instead of simple-patchsys * Bump Standards-Version 3.9.3 * Change Homepage URL to http://code.google.com/p/mecab/ * Use dh_install instead of dh_movefiles -- Taku YASUI Thu, 29 Mar 2012 01:21:18 +0900 mecab (0.98-2) unstable; urgency=low * Add debian/watch file for uscan -- Taku YASUI Sun, 10 Jul 2011 19:21:42 +0900 mecab (0.98-1) unstable; urgency=low * New upstream release -- Taku YASUI Sun, 10 Jul 2011 19:00:14 +0900 mecab (0.97-2) unstable; urgency=low * Add Taku YASUI to Uploaders * Make using the latest automake and autoconf (closes: #549145, #628347) * Add ${misc:Depends} to Depends line of each packages * Change build depending debhelper version to >= 7.0.0 (for lenny rebuilding) * Remove needless .la file (closes: #622460) * Bump Standards-Version to 3.9.2 * Add copyright notice and BSD License phrases * Fix manpage whatis entry - debian/patches/090_man_whatis_entry.diff * Add Vcs-* and Homepage tag to debian/control -- Taku YASUI Sun, 10 Jul 2011 15:47:53 +0900 mecab (0.97-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Thu, 03 Jul 2008 23:00:00 +0900 mecab (0.96-1.1) unstable; urgency=medium * Non-maintainer upload. * Add '90_gcc-4.3_support.diff' to fix FTBFS with GCC 4.3 (Closes: #461727) * debian/control: - Bump Standards-Version to 3.7.3. - Use ${binary:Version} instead of ${Source-Version}. -- Chris Lamb Thu, 24 Apr 2008 18:15:55 +0100 mecab (0.96-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Sat, 15 Sep 2007 18:32:35 +0900 mecab (0.95-1.1) unstable; urgency=high * Non-maintainer upload for testing security team. * Included 040_fix_CVE-2007-3231.patch to fix CVE-2007-3231 (Closes: #429174). -- Nico Golde Thu, 16 Aug 2007 02:11:16 +0200 mecab (0.95-1) unstable; urgency=low * New upstream. * Rebuild dictionaries if they exist. -- TSUCHIYA Masatoshi Sun, 25 Mar 2007 18:39:52 +0900 mecab (0.93-1) unstable; urgency=low * New upstream. (closes: #379646) * Do not use bash-specifc syntax in debian/rules. (closes: #378306) -- TSUCHIYA Masatoshi Sat, 07 Oct 2006 17:34:18 +0900 mecab (0.80-2.2) unstable; urgency=low * Non-maintainer upload. * libstdc++ allocator transition: renamed libmecab0c2 into libmecab0c2a (closes: bug#339230). * Update libtool at build time (closes: bug#342688). -- Aurelien Jarno Sat, 17 Dec 2005 15:04:52 +0100 mecab (0.80-2.1) unstable; urgency=medium * Non-maintainer upload. * C++ ABI transition (Closes: #335636). -- Luk Claes Wed, 26 Oct 2005 10:56:48 +0200 mecab (0.80-2) unstable; urgency=low * debian/patches/050_mecab-config.diff: Fix `dicdir'. (closes: #295780) * Change the section of libmecab-dev from `devel' to `libdevel'. -- TSUCHIYA Masatoshi Wed, 06 Apr 2005 23:14:57 +0900 mecab (0.80-1) unstable; urgency=low * New upstream. * Use CDBS instead of DBS. * Insert meta tags to specify charsets. (closes: #233643) -- TSUCHIYA Masatoshi Fri, 12 Nov 2004 23:56:14 +0900 mecab (0.79-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Sun, 29 Aug 2004 17:21:05 +0900 mecab (0.78-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Tue, 22 Jun 2004 22:40:39 +0900 mecab (0.77-2) unstable; urgency=low * Improve documents. (closes: #232597) -- TSUCHIYA Masatoshi Mon, 05 Jan 2004 15:12:05 +0900 mecab (0.77-1) unstable; urgency=low * New upstream. -- TSUCHIYA Masatoshi Mon, 05 Jan 2004 15:12:05 +0900 mecab (0.76-2) unstable; urgency=low * Split `mecab-jumandic' package from this source package. -- TSUCHIYA Masatoshi Thu, 04 Dec 2003 22:31:14 +0900 mecab (0.76-1) unstable; urgency=low * Initial release. -- TSUCHIYA Masatoshi Tue, 11 Nov 2003 16:23:59 +0900 debian/mecab.postinst0000644000000000000000000000107712260050704012043 0ustar #! /bin/sh # postinst script for mecab # # see: dh_installdeb(1) set -e reconfigure(){ if ( dpkg --status ${1} 2>/dev/null|egrep -q "^Status: install ok installed" ); then dpkg-reconfigure ${1} fi } case "$1" in configure) reconfigure mecab-ipadic reconfigure mecab-jumandic ;; 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/mecab.dirs0000644000000000000000000000005212260050704011111 0ustar usr/bin usr/share/doc/mecab usr/share/man debian/control0000644000000000000000000000345512260052643010600 0ustar Source: mecab Section: misc Priority: optional Maintainer: TSUCHIYA Masatoshi Build-Depends: debhelper (>= 7.0.0), cdbs, libtool, automake, autoconf, dh-autoreconf Uploaders: Taku YASUI Vcs-Git: git://git.debian.org/collab-maint/mecab.git Vcs-Browser: http://git.debian.org/?p=collab-maint/mecab.git;a=summary Homepage: http://code.google.com/p/mecab/ Standards-Version: 3.9.4 Package: mecab Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, mecab-jumandic|mecab-ipadic Description: Japanese morphological analysis system Mecab is a morphological analysis system. It reads Japanese sentences from the standard input, segments them into morpheme sequences, and outputs them to the standard output with many additional pieces of information (pronunciation, semantic information, etc). Package: mecab-utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Support programs of Mecab This package provides the dictionary compiler to convert a dictionary written in text format to a binary data for Mecab, that is a Japanese morphological analysis system. This package is necessary to install dictionary packages for Mecab like mecab-jumandic. Package: libmecab2 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libmecab1 Replaces: libmecab1 Breaks: libmecab1 Description: Libraries of Mecab This package provides runtime libraries of Mecab, that is a Japanese morphological analysis system. Package: libmecab-dev Section: libdevel Architecture: any Depends: libmecab2 (= ${binary:Version}), ${misc:Depends} Description: Header files of Mecab This package provides header files which are necessary to development programs using runtime libraries of Mecab, that is a Japanese morphological analysis system.