pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xapian Update to 1.2.12:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef6ef4637b40
branches:  trunk
changeset: 609816:ef6ef4637b40
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Oct 10 16:10:31 2012 +0000

description:
Update to 1.2.12:

Xapian-core 1.2.12 (2012-06-27):

build system:

* 1.2.11 had its library version information incorrectly set.  This resulted in
  the shared library having an incorrect SONAME - e.g. on Linux,
  libxapian.so.21 instead of libxapian.so.22.  This release has been made to
  fix this problem.

documentation:

* AUTHORS: Add the GSoC students.

Xapian-core 1.2.11 (2012-06-26):

API:

* Add new QueryParser::STEM_ALL_Z stemming strategy, which stems all terms and
  adds a Z prefix.  (Patch from Sehaj Singh Kalra, fixes ticket#562)

* Add TermGenerator::set_stemming_strategy() method, with strategies which
  correspond to those of QueryParser.  Based on patch from Sehaj Singh Kalra,
  with some tweaks for adding term positions in more cases.  (Fixes ticket#563)

* Correct "BM25Weight" to "TradWeight" in exception message from TradWeight.

* We were failing to call init() for user-defined Weight objects providing the
  term-independent weight.  These now get called with init(0.0).

* Xapian::Auto::open_stub() now throws a Xapian::DatabaseOpeningError exception
  if the stub file can't be opened.  Previously we failed to check for this
  condition, which resulted in us treating the file as empty.

testsuite:

* When the testsuite is using valgrind, we used to run remote servers under
  valgrind too (but with --tool=none) to get consistent behaviour as valgrind's
  emulation of x87 excess precision isn't exact.  Now we only do this if x87 FP
  instructions are actually in use (which means x86 architecture and configure
  run with --disable-sse).

* Make sure XAPIAN_MAX_CHANGESETS gets unset after replication testcases which
  set it, so further testcases don't waste time generating changesets.

* Improved test coverage (including more tests for closed databases -
  ticket#337).

brass backend:

* After closing the database, methods which try to use the termlist would throw
  FeatureUnavailableError with message "Database has no termlist", assuming
  that the termlist table not being open meant it wasn't present.  Fix to check
  if the postlist_table is open to determine which case we're in.

chert backend:

* After closing the database, methods which try to use the termlist would throw
  FeatureUnavailableError with message "Database has no termlist", assuming
  that the termlist table not being open meant it wasn't present.  Fix to check
  if the postlist_table is open to determine which case we're in.

inmemory backend:

* Check if the database is closed in metadata_keys_begin() for InMemory
  Databases.

build system:

* xapian-config: Don't interpret a missing .la file as meaning that we only
  have static libraries.

documentation:

* Fix API documentation for Query constructors - both XOR and ELITE_SET can
  take any number of subqueries, not only exactly two.

* Backport missing API documentation comments for operator++ and operator*
  methods or PositionIterator, PostingIterator and TermGenerator.

* docs/replication.rst: Update documentation - since 1.2.5, the value of
  XAPIAN_MAX_CHANGESETS determines how many changesets we keep.

* docs/admin_notes.rst: Correction - we don't "create a lock file", we "lock a
  file".

* Fix API documentation for TradWeight constructor - "k1" should be "k".

portability:

* configure: Overhaul handling of compilers which pretend to be GCC.  Clang
  is now detected, and we only pass it warning flags it actually understands.
  And we now check for symbol visibility support with Intel's compiler.

* configure: Solaris automatically pulls in library dependencies, so set
  link_all_deplibs_CXX=no there.

* configure: We now check -Bsymbolic-functions for all compilers.

* configure: Enable -Wdouble-promotion for GCC >= 4.6.

* Pass -ldl last when compiling zlib-vg.so, as that seems to be needed on
  Ubuntu 12.04.

* Fix incorrect use of "delete" which should be "delete []".  This is
  undefined behaviour in C++, though the type is POD, so in practice this
  probably worked OK on many platforms.

* In BM25Weight when k1 or b is zero (not the default), we used to multiply
  an uninitialised double by zero, which is undefined behaviour, but in
  practice will often give zero, leading to the desired results.

* xapian.h: Add check for Qt headers being included before us and defining
  'slots' as a macro - if they are, give a clear error advising how to work
  around this (previously compilation would fail with a confusing error).

Xapian-core 1.2.10 (2012-05-09):

API:

testsuite:

* apitest: Extend tradweight1 to test that TradWeight(0) means that wdf and
  document length don't affect the weight of a term.

* termgentest: Check that TermGenerator discards words > 64 bytes.

matcher:

* Don't count unweighted subqueries of MultiAndPostList in percentage
  calculations, as OP_FILTER maps to MultiAndPostList now.  (ticket#590)

brass backend:

* When compacting, if the output database is empty, don't write out a metainfo
  tag.  Take care not to divide by zero when computing the percentage size
  change for a table.

chert backend:

* When compacting, if the output database is empty, don't write out a metainfo
  tag.  Take care not to divide by zero when computing the percentage size
  change for a table.

documentation:

* API documentation:

 + Note version when Database::close() was added.

 + Fix switched lower and upper in API documentation for Weight methods
   get_doclength_lower_bound() and get_doclength_upper_bound().  Correct
   maximum to minimum in get_doclength_lower_bound() comment and note that this
   excludes zero length documents.  Fix "An lower" to "A lower".

* docs/admin_notes.html: Mention that postlist and termlist tables also hold
  value info for chert.  Mention that xapian-chert-update was removed in 1.3.0.
  Mention that you need to use copydatabase from 1.2.x to convert flint to
  chert.

* HACKING: Update section on patches to mention git (git diff and git
  format-patch), and using "-r" with normal diff, and also that ptardiff offers
  a nice way to diff against an unpacked tarball.

debug code:

* Fix use of AssertEq() on NULL, which doesn't compile, at least with recent
  GCC.

Xapian-core 1.2.9 (2012-03-08):

API:

* QueryParser: Fix FLAG_AUTO_SYNONYMS not to enable auto multi-word synonyms
  too (but in a different way to trunk so as to not break the ABI).

matcher:

* Fix issue with running AND, OR and XOR queries against a database with no
  documents in it - this was leading to a divide by zero, which led to
  MSet::get_matches_estimated() reporting 2147483648 on i386.

build system:

* Remove configure's --with-stlport and --with-stlport-compiler options, as
  they don't allow you to actually specify what you need to (at least to use
  the Debian STLport package), and instead document what to pass to configure
  to enable building with STLport (though it seems to no longer be actively
  maintained, and the debug mode (which is probably the most interesting
  feature now) doesn't seem to work on Debian stable).

documentation:

* Document that OP_ELITE_SET with non-term subqueries might pick subqueries
  which don't match anything.  Closes ticket#49.

* Document that you can define a static operator delete method in your subclass
  if deallocation needs to be handled specially.  (Closes ticket#554)

* Assorted minor documentation improvements.

portability:

* Address new warnings from GCC 4.6.

* Fix argument order when linking xapian-check to fix mingw build.
  (ticket#567)

* Add some missing explicit header includes to fix build with STLport.

diffstat:

 textproc/xapian/Makefile |  9 +++++----
 textproc/xapian/distinfo |  8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r 4ca508f6a00f -r ef6ef4637b40 textproc/xapian/Makefile
--- a/textproc/xapian/Makefile  Wed Oct 10 16:07:34 2012 +0000
+++ b/textproc/xapian/Makefile  Wed Oct 10 16:10:31 2012 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.15 2012/01/10 02:41:29 schmonz Exp $
+# $NetBSD: Makefile,v 1.16 2012/10/10 16:10:31 wiz Exp $
 #
 
-DISTNAME=              xapian-core-1.2.8
-PKGNAME=               ${DISTNAME:S/-core//}
+DISTNAME=              xapian-core-${VERSION}
+VERSION=               1.2.12
+PKGNAME=               xapian-${VERSION}
 CATEGORIES=            textproc
-MASTER_SITES=          http://oligarchy.co.uk/xapian/1.2.8/
+MASTER_SITES=          http://oligarchy.co.uk/xapian/${VERSION}/
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              http://xapian.org/
diff -r 4ca508f6a00f -r ef6ef4637b40 textproc/xapian/distinfo
--- a/textproc/xapian/distinfo  Wed Oct 10 16:07:34 2012 +0000
+++ b/textproc/xapian/distinfo  Wed Oct 10 16:10:31 2012 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2012/01/10 01:03:28 schmonz Exp $
+$NetBSD: distinfo,v 1.13 2012/10/10 16:10:31 wiz Exp $
 
-SHA1 (xapian-core-1.2.8.tar.gz) = 4bdd3845278812d467b8d0fb73ee27a5be05b2d9
-RMD160 (xapian-core-1.2.8.tar.gz) = f6a88984e553cbf6c56c339bcb61a68c45e905ed
-Size (xapian-core-1.2.8.tar.gz) = 4106342 bytes
+SHA1 (xapian-core-1.2.12.tar.gz) = 2b96800280fee41eed767289620172f5226c9c4f
+RMD160 (xapian-core-1.2.12.tar.gz) = 182f8c606db591002b588a42585f5fb566b68bb9
+Size (xapian-core-1.2.12.tar.gz) = 4138429 bytes
 SHA1 (patch-common_safeuuid.h) = a017a88f5a82854cddc7ca89921ceec361a076b8



Home | Main Index | Thread Index | Old Index