--- darts-0.32.orig/tests/Makefile +++ darts-0.32/tests/Makefile @@ -0,0 +1,211 @@ +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = .. + +prefix = /usr +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/share/info +mandir = ${prefix}/share/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/darts +pkglibdir = $(libdir)/darts +pkgincludedir = $(includedir)/darts + +top_builddir = .. + +ACLOCAL = /home/henrich/src/japanese-morphological/darts-0.32/missing aclocal-1.4 +AUTOCONF = autoconf +AUTOMAKE = /home/henrich/src/japanese-morphological/darts-0.32/missing automake-1.4 +AUTOHEADER = autoheader + +INSTALL = /usr/bin/install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = i486-linux-gnu +host_triplet = @host@ +CC = i486-linux-gnu-gcc +CXX = i486-linux-gnu-g++ +DARTS_DEFAULT_ARRAY_SIZE = 4 +DARTS_DEFAULT_NODE_SIZE = 1 +DARTS_HAVE_ZLIB_H = 1 +DARTS_SIZEOF_CHAR = 1 +DARTS_SIZEOF_INT = 4 +DARTS_SIZEOF_LONG = 4 +DARTS_SIZEOF_LONG_LONG = 8 +DARTS_SIZEOF_SHORT = 2 +HAVE_LIB = @HAVE_LIB@ +LIB = @LIB@ +LTLIB = @LTLIB@ +MAKEINFO = makeinfo +PACKAGE = darts +VERSION = 0.32 + +TESTS = test1.sh +EXTRA_DIST = $(TESTS) linux.words mkipa.pl +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h +CONFIG_CLEAN_FILES = +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps tests/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = tests + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +check-TESTS: $(TESTS) + @failed=0; all=0; \ + srcdir=$(srcdir); export srcdir; \ + for tst in $(TESTS); do \ + if test -f $$tst; then dir=.; \ + else dir="$(srcdir)"; fi; \ + if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \ + all=`expr $$all + 1`; \ + echo "PASS: $$tst"; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="$$failed of $$all tests failed"; \ + fi; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0 +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags distdir check-TESTS info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +clean: + rm -f *.dar + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- darts-0.32.orig/debian/darts.manpages +++ darts-0.32/debian/darts.manpages @@ -0,0 +1,2 @@ +debian/darts.1 +debian/mkdarts.1 --- darts-0.32.orig/debian/darts.doc-base +++ darts-0.32/debian/darts.doc-base @@ -0,0 +1,9 @@ +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 --- darts-0.32.orig/debian/changelog +++ darts-0.32/debian/changelog @@ -0,0 +1,76 @@ +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 + --- darts-0.32.orig/debian/dirs +++ darts-0.32/debian/dirs @@ -0,0 +1 @@ +usr/bin --- darts-0.32.orig/debian/darts.1 +++ darts-0.32/debian/darts.1 @@ -0,0 +1,22 @@ +.\" 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). --- darts-0.32.orig/debian/docs +++ darts-0.32/debian/docs @@ -0,0 +1,2 @@ +doc/index.html +doc/darts.css --- darts-0.32.orig/debian/control +++ darts-0.32/debian/control @@ -0,0 +1,26 @@ +Source: darts +Section: devel +Priority: optional +Maintainer: Hideki Yamane +Build-Depends: debhelper (>= 5), autotools-dev +Standards-Version: 3.9.2 +Homepage: http://chasen.org/~taku/software/darts/ + +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. --- darts-0.32.orig/debian/copyright +++ darts-0.32/debian/copyright @@ -0,0 +1,44 @@ +Format: http://dep.debian.net/deps/dep5/ +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'. + --- darts-0.32.orig/debian/mkdarts.1 +++ darts-0.32/debian/mkdarts.1 @@ -0,0 +1,26 @@ +.\" 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). --- darts-0.32.orig/debian/watch +++ darts-0.32/debian/watch @@ -0,0 +1,6 @@ +# Compulsory line, this is a version 3 file +version=3 + +http://chasen.org/~taku/software/darts/src/darts-(.*)\.tar\.gz debian uupdate + + --- darts-0.32.orig/debian/rules +++ darts-0.32/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build-arch: build + +build-indep: build + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/darts.sgml > darts.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || rm Makefile + + rm -f config.sub config.guess config.status config.log config.h stamp-h + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/darts. + $(MAKE) DESTDIR=$(CURDIR)/debian/darts pkglibexecdir=\$${prefix}/bin install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress -X.html,.css + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- darts-0.32.orig/debian/compat +++ darts-0.32/debian/compat @@ -0,0 +1 @@ +5