--- xapian-core-1.0.18.orig/debian/watch +++ xapian-core-1.0.18/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://xapian.org/download http://oligarchy.co.uk/xapian/([\d.]+)/xapian-core-\1\.tar\.gz --- xapian-core-1.0.18.orig/debian/libxapianVERSION-dev.install +++ xapian-core-1.0.18/debian/libxapianVERSION-dev.install @@ -0,0 +1,8 @@ +usr/bin/xapian-config +usr/include/xapian.h +usr/include/xapian +usr/lib/libxapian.a +usr/lib/libxapian.la +usr/lib/libxapian.so +usr/share/aclocal +usr/share/man/man1/xapian-config.1 --- xapian-core-1.0.18.orig/debian/xapian-tools.install +++ xapian-core-1.0.18/debian/xapian-tools.install @@ -0,0 +1,22 @@ +usr/bin/copydatabase +usr/bin/delve +usr/bin/quartzcheck +usr/bin/quartzcompact +usr/bin/quartzdump +usr/bin/quest +usr/bin/xapian-check +usr/bin/xapian-compact +usr/bin/xapian-inspect +usr/bin/xapian-progsrv +usr/bin/xapian-tcpsrv +usr/share/man/man1/copydatabase.1 +usr/share/man/man1/delve.1 +usr/share/man/man1/quartzcheck.1 +usr/share/man/man1/quartzcompact.1 +usr/share/man/man1/quartzdump.1 +usr/share/man/man1/quest.1 +usr/share/man/man1/xapian-check.1 +usr/share/man/man1/xapian-compact.1 +usr/share/man/man1/xapian-inspect.1 +usr/share/man/man1/xapian-progsrv.1 +usr/share/man/man1/xapian-tcpsrv.1 --- xapian-core-1.0.18.orig/debian/rules +++ xapian-core-1.0.18/debian/rules @@ -0,0 +1,242 @@ +#!/usr/bin/make -f +# +# Copyright (C) 2004,2005,2006 Lemur Consulting Ltd +# Copyright (C) 2006,2007,2008,2009 Olly Betts +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +# Codename we're building packages for. For backported packages, put the +# codename (e.g. lenny or jaunty) in debian/codename. If that file doesn't +# exist, the default is sid. +CODENAME := $(shell cat debian/codename 2>/dev/null||echo sid) + +# ${binary:Version} was added after sarge and dapper, so use the old name for +# it (${Source-Version}) there. +ifneq ($(findstring .$(CODENAME)., .sarge.dapper.), ) +BINARY_VERSION := $${Source-Version} +else +BINARY_VERSION := $${binary:Version} +endif + +# The soversion number needs to match that generated by libtool. The following +# lines should read configure.ac to get the current interface number and +# subtract it from the interface age, to get the oldest interface number +# supported by the library. This should correspond to the soversion assigned +# to the library by libtool. (This isn't documented, and is system dependent, +# so we need to check it doesn't break with future versions of libtool.) +libxapian_soversion:=$(shell sed 's/^LIBRARY_VERSION_INFO=\([0-9][0-9]*\):[0-9][0-9]*:\([0-9][0-9]*\).*/\1-\2/p;d' configure.ac) +libxapian_soversion:=$(shell echo $$(($(libxapian_soversion)))) + +# For now, we don't support installation of development files for multiple +# versions concurrently. Incompatible ABI changes should be rare, so this +# seems reasonable. +libxapian_dev_soversion= + +export DH_OPTIONS + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +confflags := --prefix=/usr --sysconfdir=/etc +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) + ifeq ($(DEB_HOST_ARCH), alpha) + # The alpha buildd is failing with a SEGV while trying to skip testcase + # nomoredocids1 for the inmemory backend. Skipping works by throwing + # an exception so this smells like a toolchain bug to me. Disabling + # optimisation seems to avoid this (and fixes a SEGV in the generated + # code for firefox #503051). + DEB_BUILD_OPTIONS += noopt + endif +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) + # Disable the testsuite when cross-compiling. + DEB_BUILD_OPTIONS += nocheck +endif + +ifeq ($(DEB_HOST_ARCH), avr32) + # The avr32 buildd is repeatedly failing with "Took too long", so disable + # optimisation and the testsuite for now for a faster build. + DEB_BUILD_OPTIONS += noopt nocheck +endif + +CFLAGS := +CXXFLAGS := -g + +ifeq ($(DEB_HOST_ARCH), hurd-i386) + # Testcase topercent2 fails without -ffloat-store - smells like an excess + # precision issue. + CXXFLAGS += -ffloat-store +endif + +# Handle DEB_BUILD_OPTIONS. Note that dh_strip handles nostrip for us. + +ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 + CXXFLAGS += -O2 +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif +ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + MAKE_CHECK := : +else + MAKE_CHECK := $(MAKE) check VALGRIND= +endif + +confflags += CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" + +# With GCC3 and later this won't make a huge difference, but it'll save +# a bit of time and diskspace while building. +confflags += --disable-dependency-tracking + +maint: \ + debian/control \ + debian/libxapian$(libxapian_soversion).install \ + debian/libxapian$(libxapian_dev_soversion)-dev.install + +maintclean: clean + rm -f debian/control + rm -f debian/libxapian$(libxapian_soversion).install + rm -f debian/libxapian$(libxapian_dev_soversion)-dev.install + rm -rf debian/libxapian$(libxapian_soversion) + rm -rf debian/libxapian$(libxapian_dev_soversion)-dev + rm -rf debian/xapian-doc + rm -rf debian/xapian-tools + rm -rf debian/tmp + +debian/control: debian/rules debian/control.in debian/compat debian/patches/series + rm -f debian/control.tmp + sed -e 's/@LIBXAPIAN_SOVERSION@/$(libxapian_soversion)/g' \ + -e 's/@LIBXAPIAN_DEV_SOVERSION@/$(libxapian_dev_soversion)/g' \ + -e 's/@BINARY_VERSION@/$(BINARY_VERSION)/g' \ + -e 's/@BUILD_DEPS@/debhelper (>= $(shell cat debian/compat)),$(shell grep -qv '^#' debian/patches/series && echo " quilt,")/g' \ + debian/control.in > debian/control.tmp + mv debian/control.tmp debian/control + +debian/libxapian$(libxapian_soversion).install: debian/rules debian/libxapianVERSION.install + cp -f debian/libxapianVERSION.install debian/libxapian$(libxapian_soversion).install + +debian/libxapian$(libxapian_dev_soversion)-dev.install: debian/rules debian/libxapianVERSION-dev.install + cp -f debian/libxapianVERSION-dev.install debian/libxapian$(libxapian_dev_soversion)-dev.install + +# Include quilt's fragment if it is installed. +-include /usr/share/quilt/quilt.make + +# Dummy patch and unpatch targets in case quilt isn't installed. +patch unpatch: + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) debian/control + dh_testdir + + # Use the latest config.sub and config.guess from the autotools-dev + # package. + rm -f config.sub config.guess + ln -s /usr/share/misc/config.sub config.sub + ln -s /usr/share/misc/config.guess config.guess + + # Report kernel and compiler version so upstream PLATFORMS file can be + # updated from buildd logs. + -uname -a + -g++ --version + + # Configure in a subdirectory, for neatness. + mkdir -p build + cd build && ../configure $(confflags) + + # Touch the stamp file, to avoid repeating the configure step. + touch $@ + +build: build-stamp +build-stamp: configure + dh_testdir + $(MAKE) -C build + $(MAKE_CHECK) -C build + touch $@ + +install: DH_OPTIONS= +install: build \ + debian/libxapian$(libxapian_soversion).install \ + debian/libxapian$(libxapian_dev_soversion)-dev.install + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Install the files into debian/tmp + $(MAKE) -C build DESTDIR=$(CURDIR)/debian/tmp install + + # Install the example source code + mkdir -p debian/tmp/usr/share/doc/xapian-examples/examples + cp examples/*.cc debian/tmp/usr/share/doc/xapian-examples/examples + ln -s ../../../../lib/xapian-examples/examples debian/tmp/usr/share/doc/xapian-examples/examples/built + + # Reads the *.install files to decide where to install everything + dh_install --sourcedir=debian/tmp --fail-missing + + +binary: binary-arch binary-indep +binary-indep: DH_OPTIONS=-i +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs ChangeLog + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: DH_OPTIONS=-a +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs ChangeLog + dh_strip --dbg-package=libxapian$(libxapian_soversion)-dbg + dh_link + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -L libxapian$(libxapian_soversion) -ldebian/libxapian$(libxapian_soversion)/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +clean: debian/control unpatch + dh_testdir + dh_testroot + rm -rf build + rm -f config.sub config.guess + dh_clean + rm -f build-stamp configure-stamp + +.PHONY: maint maintclean configure build install binary binary-arch binary-indep clean patch unpatch --- xapian-core-1.0.18.orig/debian/xapian-doc.doc-base.apidocs +++ xapian-core-1.0.18/debian/xapian-doc.doc-base.apidocs @@ -0,0 +1,12 @@ +Document: xapian-apidocs +Title: API documentation for Xapian +Abstract: This manual describes the native C++ API of the Xapian + search engine library. +Section: Programming/C++ + +Format: PDF +Files: /usr/share/doc/xapian-doc/apidoc.pdf* + +Format: HTML +Index: /usr/share/doc/xapian-doc/apidoc/html/index.html +Files: /usr/share/doc/xapian-doc/apidoc/html/*.html --- xapian-core-1.0.18.orig/debian/compat +++ xapian-core-1.0.18/debian/compat @@ -0,0 +1 @@ +5 --- xapian-core-1.0.18.orig/debian/control.in +++ xapian-core-1.0.18/debian/control.in @@ -0,0 +1,122 @@ +Source: xapian-core +Section: libs +Priority: optional +Maintainer: Olly Betts +Standards-Version: 3.8.4 +Build-Depends: @BUILD_DEPS@ autotools-dev, zlib1g-dev +Homepage: http://xapian.org/ +Vcs-Browser: http://trac.xapian.org/browser/branches/1.0/xapian-core +Vcs-svn: svn://svn.xapian.org/xapian/branches/1.0/xapian-core + +Package: libxapian@LIBXAPIAN_SOVERSION@ +Architecture: any +Section: libs +Priority: important +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: xapian-tools +Conflicts: libxapian2 +Description: Search engine library + This package contains the core Xapian runtime library. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: libxapian@LIBXAPIAN_SOVERSION@-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libxapian@LIBXAPIAN_SOVERSION@ (= @BINARY_VERSION@), ${shlibs:Depends}, ${misc:Depends} +Suggests: libc-dbg, libgcc1-dbg | libgcc2-dbg | libgcc4-dbg, zlib1g-dbg, libstdc++6-4.3-dbg | libstdc++6-4.2-dbg | libstdc++6-4.1-dbg | libstdc++6-4.0-dbg +Description: Debugging symbols for the Xapian Search engine library + This package contains debugging symbols for the core Xapian library. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: libxapian@LIBXAPIAN_DEV_SOVERSION@-dev +Architecture: any +Section: libdevel +Depends: libxapian@LIBXAPIAN_SOVERSION@ (= @BINARY_VERSION@), libc6-dev | libc-dev, ${misc:Depends} +Suggests: xapian-doc (= @BINARY_VERSION@), xapian-examples (= @BINARY_VERSION@) +Description: Development files for Xapian search engine library + This package contains development libraries and headers for the core Xapian + library. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: xapian-tools +Architecture: any +Section: utils +Depends: libxapian@LIBXAPIAN_SOVERSION@ (= @BINARY_VERSION@), ${shlibs:Depends}, ${misc:Depends} +Description: Basic tools for Xapian search engine library + This package contains several tools related to Xapian. + - copydatabase: Copy one or more Xapian databases. + - delve: Inspect the contents of a Xapian database. + - quartzcheck: Check the validity of a quartz-format Xapian database. + - quartzcompact: Compact a quartz database, or merge and compact several. + - quartzdump: Dump (part of) a quartz-format Xapian database. + - quest: Command line search of a Xapian database. + - xapian-check: Check the validity of a Xapian database. + - xapian-compact: Compact a quartz database, or merge and compact several. + - xapian-progsrv: stdin/stdout based server, for searching databases remotely. + - xapian-tcpsrv: TCP based server, used for searching databases remotely. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: xapian-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Recommends: libxapian@LIBXAPIAN_DEV_SOVERSION@-dev (= @BINARY_VERSION@) +Description: Core Xapian documentation + This package contains general documentation about Xapian, and more detailed + API documentation. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: xapian-examples +Architecture: any +Section: doc +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: libxapian@LIBXAPIAN_DEV_SOVERSION@-dev (= @BINARY_VERSION@) +Description: Xapian simple example programs + This package contains source code for some example programs which use the + Xapian library. The three "simple" examples are also included in binary + form; binaries for the other examples can be found in the xapian-tools + package (since they're useful tools in their own right). + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. --- xapian-core-1.0.18.orig/debian/libxapian-dev.install +++ xapian-core-1.0.18/debian/libxapian-dev.install @@ -0,0 +1,8 @@ +usr/bin/xapian-config +usr/include/xapian.h +usr/include/xapian +usr/lib/libxapian.a +usr/lib/libxapian.la +usr/lib/libxapian.so +usr/share/aclocal +usr/share/man/man1/xapian-config.1 --- xapian-core-1.0.18.orig/debian/libxapian15.install +++ xapian-core-1.0.18/debian/libxapian15.install @@ -0,0 +1 @@ +usr/lib/libxapian.so.* --- xapian-core-1.0.18.orig/debian/xapian-examples.install +++ xapian-core-1.0.18/debian/xapian-examples.install @@ -0,0 +1,2 @@ +usr/share/doc/xapian-examples/examples +usr/bin/simple* usr/lib/xapian-examples/examples --- xapian-core-1.0.18.orig/debian/libxapianVERSION.install +++ xapian-core-1.0.18/debian/libxapianVERSION.install @@ -0,0 +1 @@ +usr/lib/libxapian.so.* --- xapian-core-1.0.18.orig/debian/xapian-doc.doc-base.xapian-intro +++ xapian-core-1.0.18/debian/xapian-doc.doc-base.xapian-intro @@ -0,0 +1,9 @@ +Document: xapian-intro +Title: Introductory documents about Xapian +Abstract: These documents give an introduction to the Xapian + search engine library, and how to use it. +Section: Programming + +Format: HTML +Index: /usr/share/doc/xapian-doc/index.html +Files: /usr/share/doc/xapian-doc/*.html --- xapian-core-1.0.18.orig/debian/TODO +++ xapian-core-1.0.18/debian/TODO @@ -0,0 +1,12 @@ +A section 3 man page should be written to describe libxapian (see the libxml +manpage for example.) + +We could also produce debug variant of the libxapian package, built with +--enable-assertions and/or --enable-log. + +xapian-doc: in index.html, there is one broken link (which occurs in two +places, pointing to the "internal classes" documentation, since we don't +generate this by default). We could move this to point to the Xapian website. +There should almost certainly be a link back to the front page of the Xapian +website, too. The documentation should also probably be in the style of the +Xapian website, and should use the Xapian logo on the front page. --- xapian-core-1.0.18.orig/debian/xapian-doc.install +++ xapian-core-1.0.18/debian/xapian-doc.install @@ -0,0 +1 @@ +usr/share/doc/xapian-core/* usr/share/doc/xapian-doc --- xapian-core-1.0.18.orig/debian/README.source +++ xapian-core-1.0.18/debian/README.source @@ -0,0 +1,8 @@ +This package uses quilt to manage all modifications to the upstreami +source. For information on using quilt see: + +/usr/share/doc/quilt/README.source + +One slightly unusual feature of the packaging is that the build-dependency +on quilt is only added if there are patches listed in debian/patches/series +(debian/control is generated from the template debian/control.in). --- xapian-core-1.0.18.orig/debian/control +++ xapian-core-1.0.18/debian/control @@ -0,0 +1,122 @@ +Source: xapian-core +Section: libs +Priority: optional +Maintainer: Olly Betts +Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 5), quilt, autotools-dev, zlib1g-dev +Homepage: http://xapian.org/ +Vcs-Browser: http://trac.xapian.org/browser/branches/1.0/xapian-core +Vcs-svn: svn://svn.xapian.org/xapian/branches/1.0/xapian-core + +Package: libxapian15 +Architecture: any +Section: libs +Priority: important +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: xapian-tools +Conflicts: libxapian2 +Description: Search engine library + This package contains the core Xapian runtime library. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: libxapian15-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libxapian15 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: libc-dbg, libgcc1-dbg | libgcc2-dbg | libgcc4-dbg, zlib1g-dbg, libstdc++6-4.3-dbg | libstdc++6-4.2-dbg | libstdc++6-4.1-dbg | libstdc++6-4.0-dbg +Description: Debugging symbols for the Xapian Search engine library + This package contains debugging symbols for the core Xapian library. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: libxapian-dev +Architecture: any +Section: libdevel +Depends: libxapian15 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends} +Suggests: xapian-doc (= ${binary:Version}), xapian-examples (= ${binary:Version}) +Description: Development files for Xapian search engine library + This package contains development libraries and headers for the core Xapian + library. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: xapian-tools +Architecture: any +Section: utils +Depends: libxapian15 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Basic tools for Xapian search engine library + This package contains several tools related to Xapian. + - copydatabase: Copy one or more Xapian databases. + - delve: Inspect the contents of a Xapian database. + - quartzcheck: Check the validity of a quartz-format Xapian database. + - quartzcompact: Compact a quartz database, or merge and compact several. + - quartzdump: Dump (part of) a quartz-format Xapian database. + - quest: Command line search of a Xapian database. + - xapian-check: Check the validity of a Xapian database. + - xapian-compact: Compact a quartz database, or merge and compact several. + - xapian-progsrv: stdin/stdout based server, for searching databases remotely. + - xapian-tcpsrv: TCP based server, used for searching databases remotely. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: xapian-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Recommends: libxapian-dev (= ${binary:Version}) +Description: Core Xapian documentation + This package contains general documentation about Xapian, and more detailed + API documentation. + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. + +Package: xapian-examples +Architecture: any +Section: doc +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: libxapian-dev (= ${binary:Version}) +Description: Xapian simple example programs + This package contains source code for some example programs which use the + Xapian library. The three "simple" examples are also included in binary + form; binaries for the other examples can be found in the xapian-tools + package (since they're useful tools in their own right). + . + The Xapian search engine library is a highly adaptable toolkit which allows + developers to easily add advanced indexing and search facilities to their own + applications. It implements the probabilistic model of information retrieval, + and provides facilities for performing ranked free-text searches, relevance + feedback, phrase searching, boolean searching, stemming, and simultaneous + update and searching. It is highly scalable, and is capable of working with + collections containing hundreds of millions of documents. --- xapian-core-1.0.18.orig/debian/changelog +++ xapian-core-1.0.18/debian/changelog @@ -0,0 +1,599 @@ +xapian-core (1.0.18-1) unstable; urgency=low + + * New upstream release. + + Includes fix for Xapian ticket#250. Closes: #564830 + + -- Olly Betts Sun, 14 Feb 2010 12:17:31 +0000 + +xapian-core (1.0.17+svn13879-1) experimental; urgency=low + + * Snapshot from upstream branches/1.0 including patch for Xapian ticket#250. + * debian/control.in: + + Remove "DM-Upload-Allowed: yes" as I'm now a DD. + + Add "Vcs-Browser:" and "Vcs-svn:". + + Standards-Version: 3.8.4 (no changes required). + + Add '${misc:Depends}' for xapian-doc to placate lintian. + * debian/rules: Update licence boilerplate from GPLv2+ to MIT/X. + * debian/copyright: Update copyright years. + + -- Olly Betts Tue, 02 Feb 2010 11:21:32 +0000 + +xapian-core (1.0.17-1) unstable; urgency=low + + * New upstream release. + + -- Olly Betts Thu, 19 Nov 2009 04:05:59 +0000 + +xapian-core (1.0.16-3) unstable; urgency=low + + * The lsof probing reveals that the fd ulimit problem isn't due to extra + fds being open, so remove it as it has served its purpose, and instead + just disable the fd ulimit for now. + + -- Olly Betts Mon, 14 Sep 2009 06:19:30 +0100 + +xapian-core (1.0.16-2) unstable; urgency=low + + * Add build dependency on lsof which the new fd ulimit patch uses. + + -- Olly Betts Sun, 13 Sep 2009 11:04:09 +0100 + +xapian-core (1.0.16-1) unstable; urgency=low + + * New upstream release. + * debian/rules: Force nocheck into DEB_BUILD_OPTIONS on avr32 to try to stop + the build from timing out. + * debian/README.source: Added. + * debian/patches: Replace the patch to disable the fd ulimit on alpha with + one to use lsof to report and count the number of already open fds, and + then add this number to the limit we were going to set. + + -- Olly Betts Sat, 12 Sep 2009 14:18:31 +0100 + +xapian-core (1.0.15-2) unstable; urgency=low + + * debian/rules: Include /usr/share/quilt/quilt.make much earlier so that + QUILT_STAMPFN is actually set when we try to use it. This means that + the patch(es) will actually be applied (presumably 1.0.14-2 built on + alpha just by luck). + * debian/rules: Build with "-g" so that the -dbg package is more useful. + * debian/rules: Disable optimisation for avr32 in the hope that will avoid + the build failing with "Took too long". + * debian/rules: Add -ffloat-store for i386-hurd to try to get topercent2 to + pass. + + -- Olly Betts Fri, 28 Aug 2009 05:09:14 +0000 + +xapian-core (1.0.15-1) unstable; urgency=low + + * New upstream release. + * xapian-tools now depends on the same version of libxapian15 to avoid + problems with some undocumented symbols xapian-compact uses. + * Fix typo in package description. + * debian/rules: Set DEB_HOST_ARCH by calling dpkg-architecture if it isn't + already set so that behaviour is the same when running debian/rules "by + hand". + * debian/control.in: Standards-Version: 3.8.3 (no changes required). + * debian/patches/runtest-no-fd-ulimit-on-alpha.patch: Add a description of + the patch. + + -- Olly Betts Thu, 27 Aug 2009 03:17:52 +0100 + +xapian-core (1.0.14-2) unstable; urgency=medium + + * "urgency=medium" as 1.0.14-1 has aged 5 days and only FTBFS on alpha + because of a new ulimit in the testsuite in 1.0.14-1. + * debian/rules,debian/control.in,debian/patches/series: Add support for + managing patches with quilt, but only add quilt as a build dependency + if there are patches. Also autogenerate the versioned dependency on + debhelper using debian/compat. + * debian/patches/runtest-no-fd-ulimit-on-alpha.patch: Fix FTBFS on alpha + by disabling the new fd ulimit in the test harness on that architecture. + + -- Olly Betts Wed, 05 Aug 2009 02:53:41 +0000 + +xapian-core (1.0.14-1) unstable; urgency=low + + * New upstream release. + + debian/patch: Changes included upstream so remove. + * debian/control.in: Standards-Version: 3.8.2 (no changes required). + * debian/control.in: Update required debhelper version. + * debian/copyright: Update for the MIT/X relicensing of the serialise-double + code. + * debian/rules: Explicitly disable use of valgrind for the testsuite - + otherwise if someone builds their own package with valgrind installed (as + developer boxes often do), the test suite run will take a really long + time. + + -- Olly Betts Thu, 30 Jul 2009 03:01:21 +0100 + +xapian-core (1.0.13-3) unstable; urgency=low + + * debian/patch: Backport more testsuite patches from upstream SVN: + + Don't bother trying to count CPU time for child processes, as it's hard + to ensure that the child processes have finished with the current + framework, and just counting time in the current process checks most + things (the local backend tests cover much of the work done by the + server part of the remote backend). + + Increase the number of tests until the first sample takes more than + 0.001 seconds to avoid trying to base calculations on a length of time + we probably can't reliably measure to start with. + + Always give the full exception message (was conditional on --verbose). + Tidy up output for reporting the various different exception types and + other failures to give more consistent output. + + -- Olly Betts Fri, 19 Jun 2009 10:43:48 +0100 + +xapian-core (1.0.13-2) unstable; urgency=low + + * debian/patch: Backport two patches from upstream SVN: + + Fix failure of topercent2 on some architectures. + + Fix leaking of fds used to launch xapian-tcpsrv for remotetcp test, + which hopefully will cure sporadic test failures on some buildds. + * debian/rules: Reenable testsuite on m68k now that topercent2 should pass + reliably. + * debian/rules: Improve comment describing why we disable optimisation on + alpha. + + -- Olly Betts Sat, 13 Jun 2009 10:54:22 +0000 + +xapian-core (1.0.13-1) unstable; urgency=low + + * New upstream release. + * debian/TODO: Update since we now have a -dbg package with debugging + symbols. + * debian/control.in: Better description for libxapian-dbg. + * debian/rules: Don't allow CODENAME to be set in the environment. + * Relicense the Debian packaging under the MIT/X licence. + * debian/patch: Changes included upstream so remove. + + -- Olly Betts Wed, 10 Jun 2009 14:03:15 +0100 + +xapian-core (1.0.12-2) unstable; urgency=low + + * debian/control.in: libxapian-dbg should be section debug not + libs. + * debian/copyright: Update for 2009. /usr/share/common-licenses/GPL -> + /usr/share/licenses/GPL-2 since the former is now a symlink to GPL-3 + and Xapian is GPL v2 or later. + * debian/patch: Patch from upstream SVN to fix equality test of const char * + with string literal to use strcmp(). + + -- Olly Betts Sun, 3 May 2009 05:59:02 +0100 + +xapian-core (1.0.12-1) unstable; urgency=low + + * New upstream release. + * debian/control.in: Standards-Version: 3.8.1 (no changes required). + * debian/compat: Increase from 4 to 5 since 4 is now deprecated in sid and + 5 is supported by all currently supported Debian and Ubuntu releases. + * debian/control.in,debian/rules: Split off debug information into a new + libxapian-dbg package. + + -- Olly Betts Sun, 26 Apr 2009 13:45:21 +0100 + +xapian-core (1.0.10-2) unstable; urgency=low + + * debian/control.in: Demote xapian-doc and xapian-examples from Recommends + to Suggests of libxapian-dev. Closes: #516511, #516512 + * debian/rules: Force noopt on alpha to try to work around likely toolchain + bug which is causing a SEGV in the testsuite when an exception is thrown. + + -- Olly Betts Tue, 24 Feb 2009 12:57:04 +0000 + +xapian-core (1.0.10-1) unstable; urgency=low + + * New upstream release. + + Builds with GCC 4.4 snapshot. Closes: #505413 + + debian/patch: All changes included upstream so remove. + * debian/control.in: Update libxapian15 to "Priority: important" to match + the override file. + * debian/control.in: Add "DM-Upload-Allowed: yes" since I'm now a Debian + Maintainer. + + -- Olly Betts Wed, 18 Feb 2009 04:15:19 +0000 + +xapian-core (1.0.7-4) unstable; urgency=low + + * debian/patch: Backport fix from upstream SVN which fixes segfaults when + using OP_ELITE_SET on x86 and possibly m68k due to excess precision + causing a comparison operator to report true for both a>b and b>a. + + -- Olly Betts Thu, 09 Oct 2008 12:58:25 +0100 + +xapian-core (1.0.7-3) unstable; urgency=low + + * debian/rules: Run "make all" and "make check" as separate commands to + avoid hitting parallel building bugs. Closes: #493390 + * debian/patch: Backport fixes for upstream bug #287 (which can cause + database corruption), and a bug without a ticket which causes problems + iterating over tables created lazily after the database has had commits + which are still in sequential mode. + + -- Olly Betts Fri, 8 Aug 2008 09:46:20 +0100 + +xapian-core (1.0.7-2) unstable; urgency=low + + * debian/rules: Fix configure and build rules to be parallel make safe + (caused FTBFS on s390 buildd). + * debian/rules: Temporarily disable the testsuite on m68k while we resolve + why topercent2 is failing there. It's a new regression test for a minor + bug supposedly fixed in 1.0.7, so it's not like it actually worked any + better in the currently installed 1.0.5-1 packages. + + -- Olly Betts Tue, 29 Jul 2008 11:50:35 +0100 + +xapian-core (1.0.7-1) unstable; urgency=low + + * New upstream release. + + Add "nl" for selecting the Dutch stemmer, which was accidentally missing + from the list of language codes recognised. Reported by Joey Hess. + Closes: #484458 + * debian/copyright: Update for 2008 and a few other minor changes. + * debian/control.in: Add "${shlibs:Depends}, ${misc:Depends}" to "Depends" + to fix a policy violation (dependencies will pull them in anyway so this + hasn't caused problems in practice). Omission noticed by Niko Tyni. + * debian/control.in: Move libxapianNN-dev from "Depends" to "Recommends" + for xapian-examples since it's not actually needed to run the built + examples. + * debian/rules: Add support for parallel= in DEB_BUILD_OPTIONS, as + recommended by policy 3.8.0. Use $(filter ...) instead of $(find ...) + to check for noopt in DEB_BUILD_OPTIONS to avoid false matches on + substrings of non-standard options (e.g. snooptables). + * debian/rules: Run the xapian-core testsuite unless nocheck is specified + in DEB_BUILD_OPTIONS. It takes 3.5 minutes on x86-64, so hopefully + shouldn't be too painful for slower architectures. + * debian/control.in: Standards-Version: 3.8.0 + * debian/watch: Add watch file. Not useful for me as I make the upstream + releases, but DEHS, etc find it useful. + * debian/xapian-doc.doc-base.apidocs: Section "Apps/Programming" is no + longer valid - use section "Programming/C++" instead. + * debian/xapian-doc.doc-base.xapian-intro: Section "Apps/Programming" is no + longer valid - use section "Programming" instead. + + -- Olly Betts Wed, 23 Jul 2008 10:30:49 +0100 + +xapian-core (1.0.5-1) unstable; urgency=low + + * New upstream release. + + Fixes compilation with latest GCC 4.3 snapshot. Closes: #455151 + + No longer installs ".map" files with documentation, which fixes lintian + warning about an empty file in the documentation. + * debian/rules: Look for "CODENAME" and "debian/codename" rather than + "COMPONENT" and "debian/component". + * debian/control.in: Standards-Version: 3.7.3 (no changes required). + * debian/control.in: The "Homepage:" header is now official, so convert + "Homepage:" pseudo-headers. + + -- Olly Betts Sat, 22 Dec 2007 21:37:09 +0000 + +xapian-core (1.0.4-1) unstable; urgency=low + + * New upstream release. Closes: #444858 + + Fixes compilation with latest GCC 4.3 snapshot. Closes: #441618 + * debian/control.in,debian/rules: Use "${binary:Version}" instead of + "${Source-Version}" (except on sarge and dapper which predate + "${binary:Version}"). + + -- Olly Betts Fri, 2 Nov 2007 03:15:23 +0000 + +xapian-core (1.0.2-1) unstable; urgency=low + + * New upstream release. + + -- Olly Betts Thu, 5 Jul 2007 01:06:06 +0100 + +xapian-core (1.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Olly Betts Mon, 11 Jun 2007 16:51:38 +0100 + +xapian-core (1.0.0-1) unstable; urgency=low + + * New upstream release. + + Now builds with GCC 4.3 snapshot. Closes: #417778 + * debian/rules: Generate control from control.in robustly - don't risk + leaving a partially generated destination file. + * debian/patch: Changes included upstream so remove. + * debian/xapian-tools.install: Package new xapian-check tool and its manpage. + * debian/control.in: Mention new xapian-check and previously overlooked + xapian-progsrv. Make it clear that quartzXXX is for quartz-format + databases. + * debian/copyright: Update. + * debian/rules: We don't need to pass --mandir or --infodir to configure + as the values we explicitly set are the defaults anyway (and we don't + have any documentation in "info" format). + * debian/control.in: Add "zlib1g-dev" to "Build-Depends:". + + -- Olly Betts Tue, 29 May 2007 16:37:31 +0100 + +xapian-core (0.9.9-1) unstable; urgency=low + + * New upstream release. + * debian/xapian-tools.install: Install xapian-progsrv.1 man page. + * debian/patch: Fix WritableDatabase::replace_document() bug where replacing + a document with itself with unmodified postings loses all positional + information for that document. + + -- Olly Betts Wed, 15 Nov 2006 01:03:02 +0000 + +xapian-core (0.9.8-1) unstable; urgency=low + + * New upstream release. + * debian/xapian-doc.doc-base.apidocs: The printable API documentation is now + a PDF rather than PostScript. + + -- Olly Betts Sat, 4 Nov 2006 12:27:01 +0000 + +xapian-core (0.9.7-1) unstable; urgency=low + + * New upstream release. + * debian/xapian-tools.install: Install /usr/bin/xapian-progsrv. + * debian/copyright: Add Richard Boulton. + + -- Olly Betts Wed, 11 Oct 2006 17:44:47 +0100 + +xapian-core (0.9.6-5) unstable; urgency=low + + * debian/control.in: Remove "designed to be" from the package description at + Wookey's suggestion. + * debian/control.in: Add extra space before "Homepage:" as is recommended + by the Debian Developer's Reference. + + -- Olly Betts Sun, 9 Jul 2006 02:03:19 +0100 + +xapian-core (0.9.6-4) unstable; urgency=low + + * debian/copyright: Update with a thorough list of copyrights and licences. + + -- Olly Betts Mon, 26 Jun 2006 16:00:12 +0100 + +xapian-core (0.9.6-3) unstable; urgency=low + + * debian/control: Updated description: + + The queryparser is no longer a separate library. + + The claimed scalability was overly modest - we can certainly handle + "hundreds of millions of documents". + + Add a link to the homepage. + + -- Olly Betts Thu, 15 Jun 2006 04:14:49 +0100 + +xapian-core (0.9.6-2) unstable; urgency=low + + * dh_strip handles nostrip in DEB_BUILD_OPTIONS for us, so there's no + need to check by hand. + * configure with --disable-dependency-tracking which will save us some + diskspace and a little time during the build. + + -- Olly Betts Fri, 9 Jun 2006 02:29:10 +0100 + +xapian-core (0.9.6-1) unstable; urgency=low + + * New upstream release. + * "Standards-Version: 3.7.2" - no changes required. + + -- Olly Betts Mon, 15 May 2006 21:20:07 +0100 + +xapian-core (0.9.5-3) unstable; urgency=low + + * Create xapian-examples package. + + -- Olly Betts Wed, 12 Apr 2006 04:14:51 +0100 + +xapian-core (0.9.5-2) unstable; urgency=low + + * Use debian/compat instead of setting DH_COMPAT. + * dh_install with --fail-missing intead of just --list-missing. + * dh_install now explicitly excludes the simple* examples. + + -- Olly Betts Sun, 9 Apr 2006 21:17:32 +0100 + +xapian-core (0.9.5-1) unstable; urgency=low + + * New upstream release. + + All installed binaries now have man pages. + * "Standards-Version: 3.6.2" - no changes required. + * debian/copyright: Update FSF address and give download URL for releases + instead of obsolete CVS location. + * debian/control.in: copydatabase and xapian-compact are packaged in + xapian-tools, so add them to the list of tools in the package description. + * debian/rules: Increase DH_COMPAT from 3 to 4. + * debian/TODO: Updated. + * New maintainer. + + -- Olly Betts Sun, 9 Apr 2006 00:41:22 +0100 + +xapian-core (0.9.4-3) unstable; urgency=low + + * Add new header "deprecated.h" + + -- Richard Boulton Fri, 3 Mar 2006 02:59:10 +0000 + +xapian-core (0.9.4-2) unstable; urgency=low + + * Fix invalid date line in previous changelog entry. + + -- Richard Boulton Fri, 3 Mar 2006 02:33:08 +0000 + +xapian-core (0.9.4-1) unstable; urgency=low + + * New upstream release. + * A couple of small, but important, fixes. + + -- Richard Boulton Fri, 3 Mar 2006 02:31:23 +0000 + +xapian-core (0.9.3-1) unstable; urgency=low + + * New upstream release. + * API additions: some new functions to get version information, useful + when using a shared library of Xapian. + * Query parser bug fix with "+" terms when default op is AND. + * Query parser supports "AND NOT" as a synonym for "NOT". + * Various bug fixes - some errors threw unhelpful exception types. + * Use updated versions of automake and libtool. + * Various documentation, debug and packaging updates. + + -- Richard Boulton Thu, 16 Feb 2006 12:59:27 +0000 + +xapian-core (0.9.2-1) unstable; urgency=low + + * New upstream release. + * API modifications to queryparser. + * "flint" database backend now claimed to be functional. + * Many bug-fixes. + + -- Richard Boulton Fri, 15 Jul 2005 12:56:43 +0100 + +xapian-core (0.9.1-2) unstable; urgency=low + + * Add new header xapian/dbfactory.h + * Add delve and quest to xapian-tools package. + + -- Richard Boulton Wed, 15 Jun 2005 10:45:17 +0100 + +xapian-core (0.9.1-1) unstable; urgency=low + + * New upstream release. (Version 0.9.0 never got packaged.) + * Various API changes - see NEWS file for details. + * No longer Build-Depend on bison - we now use lemon, and use the copy + of lemon in the Xapian source tree. + + -- Richard Boulton Tue, 7 Jun 2005 07:31:29 +0100 + +xapian-core (0.8.5-1) unstable; urgency=low + + * New upstream release. + * xapian-config: --libs output fixed to not include libxapian.la + * quartzcompact: Added --no-full / -n option to disable full compaction, + fix largefile support, slight increase in compaction efficiency, slight + change in statistics reporting formatting. + + -- Richard Boulton Wed, 5 Jan 2005 11:42:51 +0000 + +xapian-core (0.8.4-1) unstable; urgency=low + + * New upstream release. + * API changes: + - Added constructors to Database and WritableDatabase. + Auto::open() is now deprecated. + - Removed the ability to write a Xapian object to an ostream directly. + - Renamed BM25 parameters to match standard naming in papers and elsewhere. + * Library version number increased from 3 to 5 due to interface changes. + * Some bug and portability fixes. + + -- Richard Boulton Thu, 9 Dec 2004 17:30:31 +0000 + +xapian-core (0.8.3-1) unstable; urgency=low + + * New upstream release. + * Fixed bug which caused a segmentation fault or odd "Document not found" + exceptions when new check_at_least parameter to Enquire::get_mset() was + used and there weren't many matches (regression test checkatleast1). + * omtcpsrv renamed to xapian-tcpsrv. + + -- Richard Boulton Tue, 21 Sep 2004 13:30:17 +0100 + +xapian-core (0.8.2-3) unstable; urgency=low + + * Make libxapian3 conflict with libxapian2, because libxapian2 version + 0.8.1-1 actually contained libxapian.so.3 (which was a bug). + + -- Richard Boulton Tue, 14 Sep 2004 17:34:43 +0100 + +xapian-core (0.8.2-2) unstable; urgency=low + + * Oops - library version number should be 3. Changed it back, + so we now have libxapian3. + (I was confused between the interface number and the version number.) + + -- Richard Boulton Tue, 14 Sep 2004 16:44:37 +0100 + +xapian-core (0.8.2-1) unstable; urgency=low + + * New upstream release (0.8.2). + * library version number increased to 4 (from 2). + (Xapian::Database::get_lastdocid added; QueryParser tries + reparsing after stripping punctuation; several unused + Error subclasses removed; assorted Iterator changes, + Xapian::ESet::back and many other methods added). + + -- Richard Boulton Tue, 14 Sep 2004 01:03:49 +0100 + +xapian-core (0.8.1-1) unstable; urgency=low + + * New upstream release. + + -- Richard Boulton Wed, 30 Jun 2004 20:10:05 +0100 + +xapian-core (0.8.0-9) unstable; urgency=low + + * Remove build dependencies on tools which aren't required if not using + maintainer mode. + + -- Richard Boulton Thu, 27 May 2004 00:37:02 +0100 + +xapian-core (0.8.0-8) unstable; urgency=low + + * Fix minor bugs in debian/rules (trailing backslashes, and missing -p + from mkdir) + + -- Richard Boulton Wed, 19 May 2004 13:33:02 +0100 + +xapian-core (0.8.0-7) unstable; urgency=low + + * Perform build in a subdirectory. This is neater, and will also make it + easier to perform a differently configured build to produce a debug + version. + + -- Richard Boulton Wed, 19 May 2004 12:13:45 +0100 + +xapian-core (0.8.0-6) unstable; urgency=low + + * debian/rules,debian/control.in: Remove queryparser packages - merge + them into the main library package. + + -- Richard Boulton Wed, 19 May 2004 01:44:58 +0100 + +xapian-core (0.8.0-5) unstable; urgency=low + + * debian/rules: Add --list-missing back to dh_install. + * debian/control.in: Remove build depend on graphviz, and add TODO item + to sort this out properly. + Also, build depend on debhelper >= 4.1.22, since this is needed for + --list-missing. + + -- Richard Boulton Wed, 12 May 2004 11:59:42 +0100 + +xapian-core (0.8.0-4) unstable; urgency=low + + * xapian-doc: Correct Recommends field to point to libxapian-dev, not + libxapian2-dev, and to libxapian-queryparser-dev not + libxapian-queryparser1-dev. + + -- Richard Boulton Wed, 12 May 2004 10:36:16 +0100 + +xapian-core (0.8.0-3) unstable; urgency=low + + * Remove empty maintainer scripts, allowing debhelper to make them. + * Add rules to make symlinks to config.guess and config.sub, and added + Build-Depends on autotools-dev. Remove Build-Depends on automake, + autoconf and libtool (these will be run before the source package is + generated). + * Add some more items to TODO list. + + -- Richard Boulton Wed, 12 May 2004 09:48:34 +0100 + +xapian-core (0.8.0-2) unstable; urgency=low + + * Fixed postinst, postrm, and prerm scripts to have a #!/bin/sh line, so + they actually work. + * Various tweaks to debian/rules suggested by looking at dh_make output. + + -- Richard Boulton Tue, 11 May 2004 17:00:03 +0100 + +xapian-core (0.8.0-1) unstable; urgency=low + + * Initial release, from upstream source snapshot. + + -- Richard Boulton Sun, 9 May 2004 16:28:37 +0100 --- xapian-core-1.0.18.orig/debian/copyright +++ xapian-core-1.0.18/debian/copyright @@ -0,0 +1,174 @@ +This is the Debian package of the Xapian search engine library. This +package was originally created and maintained by Richard Boulton +. It is currently maintained by Olly Betts +. + +It was downloaded from http://xapian.org/download + +Upstream Authors: + + Olly Betts + Hein Ragas + Sam Liddicott + Ananova Ltd + Orange PCS Ltd + BrightStation PLC + Dr Martin Porter + Free Software Foundation, Inc. + Silicon Graphics Computer Systems, Inc. + Richard Boulton + Lemur Consulting Ltd + +Copyright: + + Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Olly Betts + Copyright (C) 2003 Sam Liddicott + Copyright (C) 2001,2002 Ananova Ltd + Copyright (C) 2003 Orange PCS Ltd + Copyright (C) 1999,2000,2001 BrightStation PLC + Copyright (C) 2001 Hein Ragas + Copyright (C) 2003,2006,2010 Richard Boulton + Copyright (C) 2007,2008,2009 Lemur Consulting Ltd + + 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 2 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + See /usr/share/common-licenses/GPL-2 for the full text of the GNU GPL. + +The snowball sources in the languages subdirectory are licensed under +the three clause BSD license: + + Copyright (c) 2001, Dr Martin Porter + Copyright (c) 2004,2005, Richard Boulton + Copyright (c) 2006,2007, Olly Betts + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * 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. + * The name of the author may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. + +The file common/autoptr.h is taken from GCC and bears the following +licence statements: + + Copyright (C) 2001 Free Software Foundation, Inc. + + This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) + any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this library; see the file COPYING. If not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA. + + As a special exception, you may use this file as part of a free software + library without restriction. Specifically, if other files instantiate + templates or use macros or inline functions from this file, or you compile + this file and link it with other files to produce an executable, this + file does not by itself cause the resulting executable to be covered by + the GNU General Public License. This exception does not however + invalidate any other reasons why the executable file might be covered by + the GNU General Public License. + + Copyright (c) 1997-1999 + Silicon Graphics Computer Systems, Inc. + + Permission to use, copy, modify, distribute and sell this software + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and + that both that copyright notice and this permission notice appear + in supporting documentation. Silicon Graphics makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied warranty. + +The following files are licensed under the MIT/X licence: + + common/serialise-double.cc + common/serialise-double.h + + Copyright (C) 2006,2007,2008,2009 Olly Betts + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + +The files queryparser/lemon.c and queryparser/queryparser.lt (which are +a parser generator and its output template file) bear the following +statements respectively: + + The authors of this program disclaim copyright. + + The author disclaims copyright to this source code. + +The Debian packaging is licensed under the MIT/X licence: + + Copyright (C) 2004,2005,2006 Lemur Consulting Ltd + Copyright (C) 2006,2007,2008,2009,2010 Olly Betts + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. --- xapian-core-1.0.18.orig/debian/patches/series +++ xapian-core-1.0.18/debian/patches/series @@ -0,0 +1 @@ +runtest-no-fd-ulimit.patch --- xapian-core-1.0.18.orig/debian/patches/runtest-no-fd-ulimit.patch +++ xapian-core-1.0.18/debian/patches/runtest-no-fd-ulimit.patch @@ -0,0 +1,23 @@ +Description: Disable fd limit when running testsuite + We've seen the testsuite hitting the fd limit sometimes on Debian + alpha and s390 buildds and several of the Ubuntu buildds. Looking at + the output of lsof reveals that there aren't extra fds open (at least + not in runtest). Best current guess is a timing difference of some + sort with when the databases for the previous testcase are closed. + Since this umlimit is intended to catch newly introduced leaks before + they get into a release, just disabling this in the Debian builds is + an acceptable workaround. +Author: Olly Betts +Index: xapian-core/tests/runtest.in +=================================================================== +--- xapian-core/tests/runtest.in (revision 13449) ++++ xapian-core/tests/runtest.in (working copy) +@@ -35,7 +35,7 @@ + # If ulimit supports it, limit the number of open file descriptors so we catch + # file descriptor leaks sooner. Not all platforms support changing this limit + # but Linux does at least. +-ulimit -n 64 2>/dev/null || true ++#ulimit -n 64 2>/dev/null || true + + case $1 in + *test|*test@EXEEXT@) ;;