debian/0000755000000000000000000000000012155550604007171 5ustar debian/source/0000755000000000000000000000000012112612753010466 5ustar debian/source/format0000644000000000000000000000001412112612753011674 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020712112612753010216 0ustar # Compulsory line, this is a version 3 file version=3 http://chasen.org/~taku/software/darts/src/darts-(.*)\.tar\.gz debian uupdate debian/mkdarts.10000644000000000000000000000144312112612753010717 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH MKDARTS "1" "March 2008" .SH NAME mkdarts \- convert sorted dictionary data to DoubleArray File .SH SYNOPSIS .B mkdarts .RI \fIDictionaryFile\fR .RI \fIDoubleArrayFile\fR .br .SH DESCRIPTION This manual page documents briefly the .B mkdarts command. .PP \fBmkdarts\fP is a program that convert already sorted dictionary data to DoubleArray File. .SH SEE ALSO .BR darts (1). .br .SH AUTHOR mkdarts was written by Taku Kudo . .PP This manual page was written by Hideki Yamane , for the Debian project (but may be used by others). debian/patches/0000755000000000000000000000000012112612753010615 5ustar debian/patches/series0000644000000000000000000000010012112612753012021 0ustar set-AM_CFLAGS.patch fix-autoreconf.patch adjust-directory.patch debian/patches/set-AM_CFLAGS.patch0000644000000000000000000000065312112612753013747 0ustar Index: darts-0.32/configure.in =================================================================== --- darts-0.32.orig/configure.in 2008-03-22 20:07:51.000000000 +0900 +++ darts-0.32/configure.in 2012-05-29 20:19:42.251113458 +0900 @@ -27,8 +27,8 @@ dnl check gcc dnl if test -n "$GCC"; then - CFLAGS="-O3 -Wall" - CXXFLAGS="-O3 -Wall" + AM_CFLAGS="-O3 -Wall" + AM_CXXFLAGS="-O3 -Wall" fi dnl check C++ features debian/patches/fix-autoreconf.patch0000644000000000000000000000116212112612753014567 0ustar Index: darts-0.32/configure.in =================================================================== --- darts-0.32.orig/configure.in 2012-05-29 21:31:50.607226294 +0900 +++ darts-0.32/configure.in 2012-05-29 21:31:50.619226312 +0900 @@ -33,7 +33,7 @@ dnl check C++ features dnl -AC_DEFUN(CHECK_CXX_STL, [ +AC_DEFUN([CHECK_CXX_STL], [ AC_MSG_CHECKING(if ${CXX-c++} supports stl <$1> (required)) AC_TRY_COMPILE( [ @@ -110,7 +110,7 @@ dnl dnl check C++ features dnl -AC_DEFUN(CHECK_CXX_STL, [ +AC_DEFUN([CHECK_CXX_STL], [ AC_MSG_CHECKING(if ${CXX-c++} supports stl <$1> (required)) AC_TRY_COMPILE( [ debian/patches/adjust-directory.patch0000644000000000000000000000070112112612753015130 0ustar Index: darts-0.32/Makefile.am =================================================================== --- darts-0.32.orig/Makefile.am 2012-05-29 21:23:45.000000000 +0900 +++ darts-0.32/Makefile.am 2012-05-29 21:25:49.990745662 +0900 @@ -1,6 +1,6 @@ SUBDIRS = tests EXTRA_DIRS = doc -pkglibexecdir = ${libexecdir}/darts +pkglibexecdir = ${prefix}/bin pkglibexec_PROGRAMS = mkdarts darts always_built_SUBDIRS = tests EXTRA_DIST = darts.spec BSD LGPL debian/copyright0000644000000000000000000000374012112612754011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Darts Upstream-Contact: Taku Kudoh Source: http://chasen.org/~taku/software/darts/ Files: debian/* Copyright: 2008-2011, Hideki Yamane License: BSD-3-Clause Files: * Copyright: 2001-2008 License: BSD-3-Clause or LGPL-2.1 License: BSD-3-Clause 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. The name Nara Institute of Science and Technology may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY Nara Institute of Science and Technology ``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 Nara Institute of Science and Technology 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. License: LGPL-2.1 On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. debian/compat0000644000000000000000000000000212112612753010364 0ustar 9 debian/darts.doc-base0000644000000000000000000000043112112612753011700 0ustar Document: darts Title: Darts: Double ARray Trie System -- (Japanese) Author: Taku Kudoh Abstract: Description of darts: Double ARray Trie System in Japanese Section: Text Format: HTML Index: /usr/share/doc/darts/index.html Files: /usr/share/doc/darts/index.html debian/rules0000755000000000000000000000037712112612754010256 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS := hardening=+all %: dh $@ override_dh_auto_configure: autoreconf -i dh_auto_configure override_dh_compress: dh_compress -X.html,.css debian/darts.manpages0000644000000000000000000000004012112612753012012 0ustar debian/darts.1 debian/mkdarts.1 debian/docs0000644000000000000000000000003512112612753010037 0ustar doc/index.html doc/darts.css debian/changelog0000644000000000000000000000654412155550361011054 0ustar darts (0.32-13) unstable; urgency=low * debian/control - set Standards-Version: 3.9.4 - add Vcs-* field - set Maintainer as pkg-nlp-ja -- Hideki Yamane Tue, 11 Jun 2013 16:25:35 +0900 darts (0.32-12) unstable; urgency=low * debian/rules - remove -pie from hardening * add debian/darts.lintian-overrides since it seems to be false-positive. -- Hideki Yamane Sun, 13 Jan 2013 20:37:14 +0900 darts (0.32-11) unstable; urgency=low * debian/copyright - set copyright-format 1.0 -- Hideki Yamane Sun, 10 Jun 2012 22:04:32 +0900 darts (0.32-10) unstable; urgency=low * debian/rules - convert to dh style - set "export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie" - regenerate configure by autoreconf * debian/control - set "Build-Depends: debhelper (>= 9)" - add "Build-Depends: autoconf, automake" - set "Standards-Version: 3.9.3" * debian/compat - set 9 * debian/source/format - set "3.0 (quilt)" * debian/patches - add "set-AM_CFLAGS.patch" to enable hardening - add "fix-autoreconf.patch" to fix "underquoted definition of CHECK_CXX_STL" warning - add "adjust-directory.patch" to install binary to /usr/bin -- Hideki Yamane Tue, 29 May 2012 21:41:15 +0900 darts (0.32-9) unstable; urgency=low * debian/rules - add build-arch: and build-indep: target * debian/copyright - fix "obsolete-field-in-dep5-copyright" lintian warning -- Hideki Yamane Sat, 17 Sep 2011 13:27:50 +0900 darts (0.32-8) unstable; urgency=low * debian/control - update Standards-Version: 3.9.2 - remove DM-stuff * debian/copyright - update it as DEP5 style -- Hideki Yamane Sat, 11 Jun 2011 05:58:07 +0900 darts (0.32-7) unstable; urgency=low * debian/darts.doc-base - add it. -- Hideki Yamane (Debian-JP) Tue, 26 Jan 2010 19:41:03 +0900 darts (0.32-6) unstable; urgency=low * debian/control: - Bump up Standards-Version: 3.8.3 - add "Build-Depends: ${misc:Depends}" -- Hideki Yamane (Debian-JP) Thu, 31 Dec 2009 18:57:21 +0900 darts (0.32-5) unstable; urgency=low * debian/copyright - fix "copyright-with-old-dh-make-debian-copyright" -- Hideki Yamane (Debian-JP) Sun, 22 Feb 2009 04:02:56 +0900 darts (0.32-4) unstable; urgency=low * debian/control - set Priority: optional -- Hideki Yamane (Debian-JP) Tue, 08 Jul 2008 17:25:14 +0900 darts (0.32-3) unstable; urgency=low * debian/control - Bump up Standards-Version: 3.8.0 with no change. -- Hideki Yamane (Debian-JP) Mon, 09 Jun 2008 02:17:22 +0900 darts (0.32-2) unstable; urgency=low * debian/control - add "DM-Upload-Allowed: yes" * "Please describe what are double arrays" (Closes: #478011) Thanks to Enrico Zini . -- Hideki Yamane (Debian-JP) Sat, 03 May 2008 13:36:19 +0900 darts (0.32-1) unstable; urgency=low * New upstream release (Closes: #473081) -- Hideki Yamane (Debian-JP) Fri, 28 Mar 2008 08:28:48 +0900 darts (0.31-1) unstable; urgency=low * Initial release -- Hideki Yamane (Debian-JP) Thu, 20 Mar 2008 22:07:28 +0900 debian/dirs0000644000000000000000000000001012112612753010041 0ustar usr/bin debian/darts.lintian-overrides0000644000000000000000000000006412112612754013664 0ustar darts: hardening-no-fortify-functions usr/bin/darts debian/darts.10000644000000000000000000000110012112612753010355 0ustar .\" Hey, EMACS: -*- nroff -*- .TH DARTS "1" "MARCH 2008" .SH NAME darts \- program to do common prefix search interactively .SH SYNOPSIS .B darts .RI \fIDoubleArrayFile\fR .br .SH DESCRIPTION This manual page documents briefly the .B darts command. .PP \fBdarts\fP is a program for interactive common prefix search. .SH SEE ALSO .BR mkdarts (1). .br .SH AUTHOR mkdarts was written by Taku Kudo . .PP This manual page was written by Hideki Yamane , for the Debian project (but may be used by others). debian/control0000644000000000000000000000250312155550604010574 0ustar Source: darts Section: devel Priority: optional Maintainer: Natural Language Processing, Japanese Uploaders: Hideki Yamane Build-Depends: debhelper (>= 9), autotools-dev, autoconf, automake Standards-Version: 3.9.4 Homepage: http://chasen.org/~taku/software/darts/ Vcs-Git: git://anonscm.debian.org/pkg-nlp-ja/darts.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-nlp-ja/darts.git;a=summary Package: darts Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: C++ Template Library for implementation of Double-Array Darts is simple C++ Template Library for implementation of Double-Array Structure. . A double-array structure is a kind of Trie structure, digital search tree, an efficient data structure combining fast access of a matrix form with the compactness of a list form. It is faster than other implementations like Hash tree, Patricia tree, Suffix Array and so. . For more detail about double-array structure, see "Aoe, J. An Efficient Digital Search Algorithm by Using a Double-Array Structure. IEEE Transactions on Software Engineering. Vol. 15, 9 (Sep 1989). pp. 1066-1077." . This software provides indexing operations for Common Prefix Search. Darts is used for MeCab and ChaSen, Japanese Morphological Analysis System.