--- mecab-0.97.orig/mecab-0.97.tar.gz.cdbs-config_list +++ mecab-0.97/mecab-0.97.tar.gz.cdbs-config_list @@ -0,0 +1,4 @@ +mecab-0.97/config.h.in +mecab-0.97/config.guess +mecab-0.97/config.rpath +mecab-0.97/config.sub --- mecab-0.97.orig/debian/libmecab-dev.files +++ mecab-0.97/debian/libmecab-dev.files @@ -0,0 +1,5 @@ +usr/bin/mecab-config +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.la +usr/lib/lib*.so --- mecab-0.97.orig/debian/README.Debian +++ mecab-0.97/debian/README.Debian @@ -0,0 +1,18 @@ +Mecab for Debian +---------------- + +Mecab is a morphological analysys system. It can segment and tokenize +Japanese text string, and can output with many additional informations +(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 --- mecab-0.97.orig/debian/changelog +++ mecab-0.97/debian/changelog @@ -0,0 +1,110 @@ +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 --- mecab-0.97.orig/debian/control +++ mecab-0.97/debian/control @@ -0,0 +1,42 @@ +Source: mecab +Section: misc +Priority: optional +Maintainer: TSUCHIYA Masatoshi +Build-Depends: debhelper (>> 4.0.0), cdbs, libtool, automake1.4, autoconf +Standards-Version: 3.7.3 + +Package: mecab +Architecture: any +Depends: ${shlibs: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} +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: libmecab1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +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: libmecab1 (= ${binary:Version}) +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. --- mecab-0.97.orig/debian/copyright +++ mecab-0.97/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by TSUCHIYA Masatoshi on +Wed, 31 Jul 2002 17:20:50 +0900. + +It was downloaded from http://mecab.sourceforge.net/ + +Upstream Author: Taku Kudo . + +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 (see `/usr/share/common-licenses/BSD'). --- mecab-0.97.orig/debian/rules +++ mecab-0.97/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f +# -*- Makefile -*- + +VERSION = $(shell dpkg-parsechangelog|awk '/^Version: /{print $$2}') +LIBPACKAGE = $(shell dh_listpackages|egrep 'lib.*[0-9]') +LIBFILES = debian/$(LIBPACKAGE).files + +DEB_TAR_SRCDIR := mecab-$(shell echo $(VERSION)|cut -f1 -d-) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/tarball.mk + +DEB_CONFIGURE_LIBEXECDIR = /usr/lib +DEB_CONFIGURE_EXTRA_FLAGS = --with-perl5=/usr/bin/perl +DEB_DH_MAKESHLIBS_ARGS += -V"$(LIBPACKAGE) (>= $(VERSION))" + +binary-post-install/mecab:: + dh_movefiles -p$(cdbs_curpkg) + +binary-post-install/mecab-utils:: + dh_movefiles -p$(cdbs_curpkg) + +binary-post-install/libmecab-dev:: + dh_movefiles -p$(cdbs_curpkg) + +binary-post-install/$(LIBPACKAGE):: $(LIBFILES) + dh_movefiles -p$(cdbs_curpkg) + +$(LIBFILES): debian/control debian/rules debian/libmecab.files.in + cp -p debian/libmecab.files.in $@ + +clean:: + -rm -f $(LIBFILES) + +DEB_AUTO_UPDATE_LIBTOOL = pre +DEB_AUTO_UPDATE_ACLOCAL = 1.4 +DEB_AUTO_UPDATE_AUTOCONF = 2.50 +DEB_AUTO_UPDATE_AUTOMAKE = 1.4 --- mecab-0.97.orig/debian/libmecab-dev.manpages +++ mecab-0.97/debian/libmecab-dev.manpages @@ -0,0 +1 @@ +debian/mecab-config.1 --- mecab-0.97.orig/debian/libmecab.files.in +++ mecab-0.97/debian/libmecab.files.in @@ -0,0 +1,2 @@ +etc/* +usr/lib/lib*.so.* --- mecab-0.97.orig/debian/mecab-config.1 +++ mecab-0.97/debian/mecab-config.1 @@ -0,0 +1,56 @@ +.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). --- mecab-0.97.orig/debian/mecab-utils.files +++ mecab-0.97/debian/mecab-utils.files @@ -0,0 +1 @@ +usr/lib/mecab/* --- mecab-0.97.orig/debian/mecab.postinst +++ mecab-0.97/debian/mecab.postinst @@ -0,0 +1,32 @@ +#! /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 --- mecab-0.97.orig/debian/mecab.dirs +++ mecab-0.97/debian/mecab.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/doc/mecab +usr/share/man --- mecab-0.97.orig/debian/mecab.docs +++ mecab-0.97/debian/mecab.docs @@ -0,0 +1,3 @@ +build-tree/mecab-*/doc/*.css +build-tree/mecab-*/doc/*.html +build-tree/mecab-*/doc/*.png --- mecab-0.97.orig/debian/mecab.files +++ mecab-0.97/debian/mecab.files @@ -0,0 +1,2 @@ +usr/bin/mecab +usr/share/man/man1/* --- mecab-0.97.orig/debian/compat +++ mecab-0.97/debian/compat @@ -0,0 +1 @@ +4 --- mecab-0.97.orig/debian/patches/050_mecab-config.diff +++ mecab-0.97/debian/patches/050_mecab-config.diff @@ -0,0 +1,12 @@ +#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) --- mecab-0.97.orig/debian/patches/030_mecabrc.diff +++ mecab-0.97/debian/patches/030_mecabrc.diff @@ -0,0 +1,12 @@ +#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 + --- mecab-0.97.orig/debian/patches/080_meta-tags.diff +++ mecab-0.97/debian/patches/080_meta-tags.diff @@ -0,0 +1,11 @@ +#DPATCHLEVEL=1 +--- mecab-0.93.orig/doc/index.html 2006-07-30 20:46:18.000000000 +0900 ++++ mecab-0.93/doc/index.html 2006-10-07 15:17:55.192785807 +0900 +@@ -2,6 +2,7 @@ + "http://www.w3.org/TR/html4/strict.dtd"> + + ++ + + MeCab: Yet Another Part-of-Speech and Morphological + Analyzer