debian/0000755000000000000000000000000012254335172007172 5ustar debian/xapian-doc.doc-base.apidocs0000644000000000000000000000054312250011132014216 0ustar 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 debian/control.in0000644000000000000000000001425412254335131011203 0ustar Source: xapian-core Section: libs Priority: optional Maintainer: Olly Betts Standards-Version: 3.9.5 Build-Depends: @BUILD_DEPS@ autotools-dev, zlib1g-dev, uuid-dev, dh-autoreconf Homepage: http://xapian.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xapian-core.git Vcs-git: git://anonscm.debian.org/collab-maint/xapian-core.git Package: libxapian@LIBXAPIAN_SOVERSION@ Architecture: any Section: libs Priority: optional Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: xapian-tools 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: libc6-dbg, libgcc1-dbg, zlib1g-dbg, libstdc++6-4.6-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. debian/xapian-doc.install0000644000000000000000000000006512250011132012565 0ustar usr/share/doc/xapian-core/* usr/share/doc/xapian-doc debian/libxapian22.install0000644000000000000000000000002712250166206012670 0ustar usr/lib/libxapian.so.* debian/xapian-tools.lintian-overrides0000644000000000000000000000017512250011132015152 0ustar xapian-tools: hardening-no-fortify-functions usr/bin/delve xapian-tools: hardening-no-fortify-functions usr/bin/xapian-check debian/copyright0000644000000000000000000001402412250011132011105 0ustar 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,2011,2012,2013 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,2009,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 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,2011,2012,2013 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. debian/xapian-examples.install0000644000000000000000000000013012250011132013627 0ustar usr/share/doc/xapian-examples/examples usr/bin/simple* usr/lib/xapian-examples/examples debian/libxapianVERSION.install0000644000000000000000000000002712250146064013572 0ustar usr/lib/libxapian.so.* debian/changelog0000644000000000000000000007620512254335166011061 0ustar xapian-core (1.2.16-2ubuntu1) trusty; urgency=medium * Build using dh-autoreconf. -- Matthias Klose Wed, 18 Dec 2013 16:08:19 +0100 xapian-core (1.2.16-2) unstable; urgency=low * Fix creation of directory sse2 variant gets installed into. -- Olly Betts Fri, 06 Dec 2013 10:11:48 +1300 xapian-core (1.2.16-1) unstable; urgency=low * New upstream release: + Fix xapian-chert-update's -b option to work rather than always segfaulting. (Closes: #716484) * debian/watch: Fix to only consider stable releases, and to look for .tar.xz which upstream now uses. * debian/control.in: "Standards-Version: 3.9.5" (no changes required). * debian/rules,libxapianVERSION.install: Stop using brace expansion, fixing lintian warning brace-expansion-in-debhelper-config-file - instead install the sse2 build (where done) directly into the libxapianNN package directory. * debian/rules: Drop workaround for avr32 build timing out. * debian/control.in: Packaging now stored in git in debian collab-maint. -- Olly Betts Fri, 06 Dec 2013 07:59:30 +1300 xapian-core (1.2.15-2) unstable; urgency=low * debian/control.in: libxapian22 - "Priority: optional" to match overrides file. * debian/rules: Fix target dependencies so we don't run the testsuite twice. * debian/rules: Mark build-arch and build-indep as phony targets. * debian/copyright: Update to include 2013. -- Olly Betts Tue, 28 May 2013 10:33:34 +0000 xapian-core (1.2.15-1) unstable; urgency=low * New upstream release: + Incorporates both the patches we were carrying. * debian/control.in: Standards-Version: 3.9.4 (no changes required). * Fix binary-arch to depend on build-arch and binary-indep to depend on build-indep (previously both depended on build). * Add lintian overrides for hardening-no-fortify-functions false positives. -- Olly Betts Fri, 10 May 2013 10:22:12 +0000 xapian-core (1.2.12-2) unstable; urgency=low * New patch fix-db-write-lock.patch which fixes database write locking to work when the lock file is already open in the same process. (Closes: #695542) * New patch replication-above-32GB.patch which fixes database replication to handle files > 32GB. (Closes: #695643) -- Olly Betts Tue, 11 Dec 2012 04:22:04 +0000 xapian-core (1.2.12-1) unstable; urgency=low * New upstream release. + Checks if Qt headers have already been included and defined 'slots' as a macro, and if so gives a clear error advising how to work around this (previously compilation would fail with a confusing error). (Closes: #651696) * debian/rules: Calculate the soversion in a simpler way, using awk. -- Olly Betts Thu, 28 Jun 2012 07:53:22 +0000 xapian-core (1.2.10-2) unstable; urgency=low * Enable hardening flags, based on patch from Moritz Muehlenhoff. (Closes: #672836) -- Olly Betts Sun, 20 May 2012 11:45:04 +0000 xapian-core (1.2.10-1) unstable; urgency=low * New upstream release. * debian/control.in: Standards-Version: 3.9.3 (no changes required). * debian/copyright: Update copyright years. -- Olly Betts Thu, 10 May 2012 03:15:27 +0000 xapian-core (1.2.8-1) unstable; urgency=low * New upstream release. * debian/control: Update "Suggests:" of -dbg package. -- Olly Betts Sat, 17 Dec 2011 07:24:42 +0000 xapian-core (1.2.7-1) unstable; urgency=low * New upstream release. * debian/control.in: Standards-Version: 3.9.2 (no changes required). * debian/rules: Add build-arch and build-indep targets. -- Olly Betts Fri, 12 Aug 2011 01:37:23 +0000 xapian-core (1.2.5-1) unstable; urgency=low * New upstream release. * Fix up link to the internal sourcedocs in internals.html to point to those on the Xapian website. -- Olly Betts Wed, 06 Apr 2011 02:19:10 +0000 xapian-core (1.2.4-1) unstable; urgency=low * New upstream release. -- Olly Betts Tue, 21 Dec 2010 07:32:14 +0000 xapian-core (1.2.3-2) unstable; urgency=low * Only include debug symbols for the shared library in the debug package (Closes: #594455). -- Olly Betts Thu, 26 Aug 2010 07:10:51 +0000 xapian-core (1.2.3-1) unstable; urgency=low * New upstream release. * Upload to unstable. * debian/control.in: + Standards-Version: 3.9.1 (no changes required). * debian/patches/check-select-errors.patch: Drop, merged upstream. -- Olly Betts Tue, 24 Aug 2010 11:18:50 +0000 xapian-core (1.2.2-4) experimental; urgency=low * Add patch check-select-errors.patch which will hopefully fix erratic FTBFS on alpha and mipsel, or at least help to debug them. -- Olly Betts Wed, 07 Jul 2010 12:06:07 +0000 xapian-core (1.2.2-3) experimental; urgency=low * The special case code to add 'usr/lib/sse2' to libxapian22.install doesn't work as this file is generated when the source package is made, not at binary package build time. Instead use 'usr/lib/{,sse2}/libxapian.so.*' which will package the sse2 version if it has been built, and won't give an error if it doesn't. -- Olly Betts Wed, 07 Jul 2010 03:04:44 +0000 xapian-core (1.2.2-2) experimental; urgency=low * debian/rules: Fix typo in handling sse2 variant on i386/*-i386. -- Olly Betts Tue, 06 Jul 2010 16:19:40 +0000 xapian-core (1.2.2-1) experimental; urgency=low * New upstream release: + debian/patches: All patches incorporated upstream, so remove. + Package new upstream cmake support files in libxapian-dev. * Drop quilt dependencies now we're using source format "3.0 (quilt)". * On i386 and *-i386, build both SSE2 and i386 versions of the library. The main motivation is correctness (upstream now defaults to using SSE because excess precision from 387 FP instructions can cause inconsistencies in weight calculations) but the SSE2 build is faster too (~6%). * debian/rules: Try re-enabling optimisation on alpha - it's been more than a year. * debian/rules: Use dh_prep instead of dh_clean -k. -- Olly Betts Tue, 06 Jul 2010 13:33:37 +0000 xapian-core (1.2.0-3) experimental; urgency=low * debian/patches/ftbfs-on-hurd-fix.patch: Fix FTBFS on hurd due to SA_SIGINFO not being defined. * debian/patches/cursor-next-on-modified-table-fix-1.2.patch: Fix bug which manifests in notmuch 0.3.1 testsuite. (Closes: #579951) * Update to require dh7 and use dh compact level 7. * Switch to dpkg-source 3.0 (quilt) format. -- Olly Betts Wed, 05 May 2010 09:49:36 +0000 xapian-core (1.2.0-2) experimental; urgency=low * debian/patches/fix-header-installation-location.patch: Fix installation location of headers. * debian/rules: Empty dependency_libs in .la file. -- Olly Betts Mon, 03 May 2010 02:04:37 +0000 xapian-core (1.2.0-1) experimental; urgency=low * New upstream release. * debian/control.in: Update "Suggests" of -dbg package (libgcc2-dbg and libstdc++6-4.0-dbg removed; libstdc++6-4.4-dbg added). -- Olly Betts Thu, 29 Apr 2010 07:33:26 +0000 xapian-core (1.1.5-1) experimental; urgency=low * New upstream release. * debian/patches/runtest-no-fd-ulimit.patch: Drop patch - upstream now has fd leak checking in the test harness and has removed the ulimit. * debian/control.in: + Drop conflict on libxapian2 as that's too ancient to be relevant now. + Just use ${binary:Version} - sarge has reached EOL and I'm not intending to backport 1.1.x to dapper. + Add uuid-dev as a build dependency. -- Olly Betts Sat, 24 Apr 2010 07:51:31 +0000 xapian-core (1.0.19-1) unstable; urgency=low * New upstream release. -- Olly Betts Thu, 15 Apr 2010 08:01:52 +0000 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 debian/xapian-doc.doc-base.xapian-intro0000644000000000000000000000044112250011132015202 0ustar 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 debian/libxapian-dev.install0000644000000000000000000000025212250166206013300 0ustar usr/bin/xapian-config usr/include usr/lib/cmake/xapian usr/lib/libxapian.a usr/lib/libxapian.la usr/lib/libxapian.so usr/share/aclocal usr/share/man/man1/xapian-config.1 debian/TODO0000644000000000000000000000044212250011132007641 0ustar A section 3 man page should be written to describe libxapian (see the libxml manpage for example.) We could also produce debug variants of the libxapian package, built with --enable-assertions and/or --enable-log (the current -dbg package is just debug symbols for the libxapian package). debian/compat0000644000000000000000000000000212250011132010347 0ustar 7 debian/xapian-tools.install0000644000000000000000000000127012250011132013157 0ustar usr/bin/copydatabase usr/bin/delve usr/bin/quest usr/bin/xapian-check usr/bin/xapian-compact usr/bin/xapian-inspect usr/bin/xapian-progsrv usr/bin/xapian-tcpsrv usr/bin/xapian-chert-update usr/bin/xapian-replicate usr/bin/xapian-replicate-server usr/bin/xapian-metadata usr/share/man/man1/copydatabase.1 usr/share/man/man1/delve.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 usr/share/man/man1/xapian-chert-update.1 usr/share/man/man1/xapian-replicate.1 usr/share/man/man1/xapian-replicate-server.1 usr/share/man/man1/xapian-metadata.1 debian/libxapianVERSION-dev.install0000644000000000000000000000025212250011132014331 0ustar usr/bin/xapian-config usr/include usr/lib/cmake/xapian usr/lib/libxapian.a usr/lib/libxapian.la usr/lib/libxapian.so usr/share/aclocal usr/share/man/man1/xapian-config.1 debian/control0000644000000000000000000001400712254335140010572 0ustar Source: xapian-core Section: libs Priority: optional Maintainer: Olly Betts Standards-Version: 3.9.5 Build-Depends: debhelper (>= 7), autotools-dev, zlib1g-dev, uuid-dev, dh-autoreconf Homepage: http://xapian.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xapian-core.git Vcs-git: git://anonscm.debian.org/collab-maint/xapian-core.git Package: libxapian22 Architecture: any Section: libs Priority: optional Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: xapian-tools 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: libxapian22-dbg Architecture: any Section: debug Priority: extra Depends: libxapian22 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: libc6-dbg, libgcc1-dbg, zlib1g-dbg, libstdc++6-4.6-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: libxapian22 (= ${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: libxapian22 (= ${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. debian/rules0000755000000000000000000002062112254335105010247 0ustar #!/usr/bin/make -f # # Copyright (C) 2004,2005,2006 Lemur Consulting Ltd # Copyright (C) 2006,2007,2008,2009,2010,2011,2012,2013 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) # 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 awk -F'[=:]' '($$1 == "LIBRARY_VERSION_INFO") {print $$2 - $$4}' configure.ac) # 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) else confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) # Disable the testsuite when cross-compiling. DEB_BUILD_OPTIONS += nocheck endif # For i386 and *-i386. ifeq ($(patsubst %-i386,i386,$(DEB_HOST_ARCH)), i386) XAPIAN_BUILD_SSE := 1 endif CFLAGS := `dpkg-buildflags --get CFLAGS` CXXFLAGS := `dpkg-buildflags --get CXXFLAGS` LDFLAGS := `dpkg-buildflags --get LDFLAGS` CPPFLAGS := `dpkg-buildflags --get CPPFLAGS` # Fallback for suites which don't have dpkg-buildflags. ifeq (,$(CFLAGS)) CFLAGS := CXXFLAGS := -g ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O2 CXXFLAGS += -O2 endif endif # Handle other DEB_BUILD_OPTIONS. Note that dh_strip handles nostrip for us, # and dpkg-buildflags handles noopt with newer dpkg. 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)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" # 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/tmp-sse2 debian/control: debian/rules debian/control.in debian/compat rm -f debian/control.tmp sed -e 's/@LIBXAPIAN_SOVERSION@/$(libxapian_soversion)/g' \ -e 's/@LIBXAPIAN_DEV_SOVERSION@/$(libxapian_dev_soversion)/g' \ -e 's/@BUILD_DEPS@/debhelper (>= $(shell cat debian/compat)),/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 configure: configure-stamp configure-stamp: debian/control dh_testdir dh_autoreconf # 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 ifdef XAPIAN_BUILD_SSE cd build && ../configure $(confflags) --disable-sse mkdir -p build-sse2 cd build-sse2 && ../configure $(confflags) --disable-static else cd build && ../configure $(confflags) endif # Touch the stamp file, to avoid repeating the configure step. touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) -C build ifdef XAPIAN_BUILD_SSE $(MAKE) -C build-sse2 $(MAKE_CHECK) -C build-sse2 else $(MAKE_CHECK) -C build endif touch $@ install: DH_OPTIONS= install: install-stamp install-stamp: build-stamp \ debian/libxapian$(libxapian_soversion).install \ debian/libxapian$(libxapian_dev_soversion)-dev.install dh_testdir dh_testroot dh_prep dh_installdirs # Install the files into debian/tmp $(MAKE) -C build DESTDIR=$(CURDIR)/debian/tmp install ifdef XAPIAN_BUILD_SSE $(MAKE) -C build-sse2 DESTDIR=$(CURDIR)/debian/tmp-sse2 install mkdir -p $(CURDIR)/debian/libxapian$(libxapian_soversion)/usr/lib/sse2 mv $(CURDIR)/debian/tmp-sse2/usr/lib/libxapian*.so.* $(CURDIR)/debian/libxapian$(libxapian_soversion)/usr/lib/sse2 rm -rf $(CURDIR)/debian/tmp-sse2 endif # Empty dependency_libs to placate luddite release goal. sed -i 's/^\(dependency_libs=\).*/\1/' $(CURDIR)/debian/tmp/usr/lib/libxapian.la # 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 # Fix up link to the internal sourcedocs to point to those on the # Xapian website since we don't build and package them. sed -i 's,sourcedoc/html/annotated.html,http://xapian.org/docs/&,' debian/tmp/usr/share/doc/xapian-core/internals.html # Reads the *.install files to decide where to install everything dh_install --sourcedir=debian/tmp --fail-missing touch $@ binary: binary-arch binary-indep binary-indep: DH_OPTIONS=-i binary-indep: build-indep 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-arch install dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installmenu dh_installman dh_installchangelogs ChangeLog : dh_strip --dbg-package=libxapian$(libxapian_soversion)-dbg # Only keep debug symbols for the shared library. rm -rf debian/libxapian$(libxapian_soversion)-dbg/usr/lib/debug/usr/lib/xapian-examples rm -rf debian/libxapian$(libxapian_soversion)-dbg/usr/lib/debug/usr/bin : 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 dh_testdir dh_testroot rm -rf build build-sse2 dh_autoreconf_clean dh_clean .PHONY: maint maintclean configure build build-arch build-indep install binary binary-arch binary-indep clean debian/source/0000755000000000000000000000000012250011132010451 5ustar debian/source/format0000644000000000000000000000001412250011132011657 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020012250013152010176 0ustar version=3 http://xapian.org/download http://oligarchy.co.uk/xapian/(\d+\.\d*[02468]\.[\d.]+)/xapian-core-\1\.tar\.(?:xz|bz2|gz)