--- libtext-mecab-perl-0.20013.orig/debian/compat +++ libtext-mecab-perl-0.20013/debian/compat @@ -0,0 +1 @@ +7 --- libtext-mecab-perl-0.20013.orig/debian/copyright +++ libtext-mecab-perl-0.20013/debian/copyright @@ -0,0 +1,32 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Maintainer: 2006-2011 Daisuke Maki +Source: http://search.cpan.org/dist/Text-MeCab/ +Name: Text-MeCab + +Files: * +Copyright: 2006-2011 Daisuke Maki +License: Artistic + +Files: inc/Module/* +Copyright: 2008-2011 Adam Kennedy. +License: Artistic + +Files: debian/* +Copyright: 2011, Taku YASUI +License: GPL-3+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + +License: GPL-1+ + 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 version 3, or (at your option) + any later version. + . + On Debian systems, the complete text of version 3 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. --- libtext-mecab-perl-0.20013.orig/debian/rules +++ libtext-mecab-perl-0.20013/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/perl-makemaker.mk + +DEB_MAKEMAKER_INVOKE := env PERL_MM_USE_DEFAULT=1 $(DEB_MAKEMAKER_INVOKE) --- libtext-mecab-perl-0.20013.orig/debian/changelog +++ libtext-mecab-perl-0.20013/debian/changelog @@ -0,0 +1,35 @@ +libtext-mecab-perl (0.20013-2build1) quantal; urgency=low + + * Rebuild for libmecab2 + + -- Michael Terry Wed, 18 Jul 2012 15:44:30 -0400 + +libtext-mecab-perl (0.20013-2) unstable; urgency=low + + * Remove 4 sanity test from t/01-sanity.t + - Some constants has been removed due to libmecab API has been + changed from 0.99 + - This is temporary countermeasure for above issue and I repored + it to upstream author: + https://rt.cpan.org/Public/Bug/Display.html?id=76170 + + -- Taku YASUI Sat, 31 Mar 2012 03:03:43 +0900 + +libtext-mecab-perl (0.20013-1) unstable; urgency=low + + * New upstream release + * Bump Standards-Version to 3.9.3 + + -- Taku YASUI Mon, 26 Mar 2012 01:16:38 +0900 + +libtext-mecab-perl (0.20012-2) unstable; urgency=low + + * Add copyright notice for inc/Modules/* + + -- Taku YASUI Mon, 18 Jul 2011 00:14:58 +0900 + +libtext-mecab-perl (0.20012-1) unstable; urgency=low + + * Initial Release (closes: #632697) + + -- Taku YASUI Fri, 15 Jul 2011 15:28:10 +0900 --- libtext-mecab-perl-0.20013.orig/debian/libtext-mecab-perl.examples +++ libtext-mecab-perl-0.20013/debian/libtext-mecab-perl.examples @@ -0,0 +1 @@ +eg/* --- libtext-mecab-perl-0.20013.orig/debian/README.source +++ libtext-mecab-perl-0.20013/debian/README.source @@ -0,0 +1,5 @@ +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. + +See /usr/share/doc/quilt/README.source for detail. --- libtext-mecab-perl-0.20013.orig/debian/control +++ libtext-mecab-perl-0.20013/debian/control @@ -0,0 +1,29 @@ +Source: libtext-mecab-perl +Section: perl +Priority: optional +Maintainer: Taku YASUI +Build-Depends: debhelper (>= 7), + cdbs, + quilt, + mecab, + libmecab-dev (>= 0.96), + libclass-accessor-perl, + perl (>= 5.10.1) +Standards-Version: 3.9.3 +Homepage: http://search.cpan.org/dist/Text-MeCab/ +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/libtext-mecab-perl +Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/libtext-mecab-perl + +Package: libtext-mecab-perl +Architecture: any +Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, + libclass-accessor-perl, + perl +Description: Alternate MeCab Interface for Perl + Text::MeCab is perl binding of MeCab (libmecab). + libmecab (http://mecab.sourceforge.ne.jp) already has a perl interface built + with it, but it is not Perl-ish one. Text::MeCab has following advantages + compared with it. + . + - High performance + - Perl-ish programming interface --- libtext-mecab-perl-0.20013.orig/debian/watch +++ libtext-mecab-perl-0.20013/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Text-MeCab/ .*/Text-MeCab-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libtext-mecab-perl-0.20013.orig/debian/patches/010_use_utf8_dictionary +++ libtext-mecab-perl-0.20013/debian/patches/010_use_utf8_dictionary @@ -0,0 +1,18 @@ +--- a/tools/probe_mecab.pl ++++ b/tools/probe_mecab.pl +@@ -95,7 +95,7 @@ + print "No linker flags specified\n"; + } + +-my $default_encoding = 'euc-jp'; ++my $default_encoding = 'utf-8'; + my $encoding = prompt( + join( + "\n", +@@ -117,4 +117,4 @@ + include => $include, + encoding => $encoding, + config => $mecab_config, +-}; +\ No newline at end of file ++}; --- libtext-mecab-perl-0.20013.orig/debian/patches/900_skip_failed_tests +++ libtext-mecab-perl-0.20013/debian/patches/900_skip_failed_tests @@ -0,0 +1,28 @@ +--- a/t/01-sanity.t ++++ b/t/01-sanity.t +@@ -1,6 +1,6 @@ + #!perl + use strict; +-use Test::More (tests => 42); ++use Test::More (tests => 38); + + BEGIN + { +@@ -8,10 +8,6 @@ + } + + if (&Text::MeCab::MECAB_VERSION >= 0.90) { +- ok(eval { my $v = MECAB_NOR_NODE; 1 } && !$@, "MECAB_NOR_NODE ok"); +- ok(eval { my $v = MECAB_UNK_NODE; 1 } && !$@, "MECAB_UNK_NODE ok"); +- ok(eval { my $v = MECAB_BOS_NODE; 1 } && !$@, "MECAB_BOS_NODE ok"); +- ok(eval { my $v = MECAB_EOS_NODE; 1 } && !$@, "MECAB_EOS_NODE ok"); + } + + can_ok("Text::MeCab", qw(new parse)); +@@ -28,4 +24,4 @@ + can_ok("Text::MeCab::Node::Cloned", $method); + } + +-1; +\ No newline at end of file ++1; --- libtext-mecab-perl-0.20013.orig/debian/patches/020_skip_regression_tests +++ libtext-mecab-perl-0.20013/debian/patches/020_skip_regression_tests @@ -0,0 +1,10 @@ +--- a/t/regression/01_tomi_args.t ++++ b/t/regression/01_tomi_args.t +@@ -3,6 +3,7 @@ + + BEGIN + { ++ plan skip_all => "Skil regression test"; + eval "use MeCab"; + if ($@) { + plan skip_all => "SWIG MeCab not available"; --- libtext-mecab-perl-0.20013.orig/debian/patches/series +++ libtext-mecab-perl-0.20013/debian/patches/series @@ -0,0 +1,3 @@ +010_use_utf8_dictionary +020_skip_regression_tests +900_skip_failed_tests