diff options
author | schmonz <schmonz> | 2016-01-13 20:59:15 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2016-01-13 20:59:15 +0000 |
commit | 1054cb175e4e8d36c9a4d4f05774a7aff26210bd (patch) | |
tree | f97b1c03685ac14917accfb035262d87caef28d0 /textproc | |
parent | d9cf10f33bdfb5a300080ef395904fc3c43db908 (diff) | |
download | pkgsrc-1054cb175e4e8d36c9a4d4f05774a7aff26210bd.tar.gz |
Update to 1.2.22. From the changelog:
API:
* Add FLAG_CJK_NGRAM for QueryParser and TermGenerator. Has the same effect as
setting the environment variable XAPIAN_CJK_NGRAM. Fixes #180, reported by
Richard Boulton, with contributions from Pavel Strashkin, Mikkel Kamstrup
Erlandsen and Brandon Schaefer.
* Fix bug parsing multiple non-exclusive filter terms - previously this could
result in such filters effectively being ignored.
* Fix Database::get_doclength_lower_bound() over multiple databases when some
are empty or consist only of zero-length documents. Previously this would
report a lower bound of zero, now it reports the same lowest bound as a
single database containing all the same documents.
* Make Database::get_wdf_upper_bound("") return 0.
* Mark constructors taking a single argument as "explicit" to avoid unwanted
implicit conversions.
testsuite:
* If command line option --verbose/-v isn't specified, set the verbosity level
from environmental variable VERBOSE.
* Skip timed tests if $AUTOMATED_TESTING is set. Fixes #553, reported by
Dagobert Michelsen.
* Don't leave an extra fd open when starting xapian-tcpsrv for remotetcp tests.
* apitest: Revert disabling of part of adddoc5 for clang - the test failure was
in fact due to a bug in 1.3.x, and 1.2.x was never affected.
* apitest: Tweak bounds checks in dbstats1 testcase - multi backends should
give tight bounds.
brass backend:
* Format limit on docid now correctly imposed when sizeof(int) > 4.
* Avoid potential DB corruption with full-compaction when using 64K blocks.
chert backend:
* Format limit on docid now correctly imposed when sizeof(int) > 4.
* Avoid potential DB corruption with full-compaction when using 64K blocks.
flint backend:
* Format limit on docid now correctly imposed when sizeof(int) > 4.
* Avoid potential DB corruption with full-compaction when using 64K blocks.
remote backend:
* Fix to handle total document length exceeding 34,359,738,368. (Fixes #678,
reported by matf).
* Avoid dividing by zero when getting the average length for an empty database.
* Stop apparent error from remote server when read-only client disconnects. A
read-only client just closes the connection when done, but the server
previously reported "Got exception NetworkError: Received EOF", which sounds
like there was a problem. Now we just say "Connection closed" here, and
"Connection closed unexpectedly" if the client connects in the middle of an
exchange. Possibly fixes #654, reported by German M. Bravo.
* Give a clearer error message when the client and server remote protocol
versions aren't compatible.
* Check length of key in MSG_SETMETADATA.
build system:
* pkg-config: Fix library name in .pc file to say "xapian" not "xapian-core".
Reported by Eric Lindblad to the xapian-devel list.
* Private symbol decode_length() is no longer visible outside the library.
documentation:
* Stop maintaining ChangeLog files. They make merging patches harder, and stop
'git cherry-pick' from working as it should. The git repo history should be
sufficient for complying with GPLv2 2(a).
* Strip out "quickstart" examples which are out of date and rather redundant
with the "simple" examples.
* Correct documentation of Enquire::get_query(). If no query has been set,
the documentation said Xapian::InvalidArgumentError was thrown, but in
fact we just return a default initialised Query object (i.e. Query()). This
seems reasonable behaviour and has been the case since Xapian 0.9.0.
* Document xapian-compact --blocksize takes an argument.
* Update snowball website link to snowballstem.org.
tools:
* xapian-replicate: Fix replication for files > 4GB on 32-bit platforms.
Previously replication would fail to copy a file whose size didn't fit in
size_t. Fixes #685, reported by Josh Elsasser.
* xapian-tcpsrv: Better error if -p/--port not specified
* quest: Support `-f cjk_ngram`.
examples:
* xapian-metadata: Extend "list" subcommand to take optional key prefix.
portability:
* Fix new warnings from recent versions of GCC and clang.
* Add spaces between literal strings and macros which expand to literal strings
for C++11 compatibility in __WIN32__-specific code.
* Need <unistd.h> for unlink() on FreeBSD, reported by Germán M. Bravo via
github PR 72.
* Fix testsuite to build when S_ISSOCK() isn't defined.
* Don't provide our own implementation of sleep() under __WIN32__ if there
already is one - mingw provides one, and in some situations it seems to clash
with ours. Reported to xapian-discuss by John Alveris.
* Add missing '#include <arpa/inet.h>' to htons(). Seems to be implicitly
included on most platforms, but Interix needs it. Reported by Eric Lindblad
on xapian-discuss.
* Disable "<FUNCTION> is expected to return a value" warning from Sun's C++
compiler, as it fires for functions ending in a "throw" statement. Genuine
instances will be caught by compilers with superior warning machinery.
* Prefer scalbn() to ldexp() where possible, since the former doesn't ever set
errno.
* '#include <config.h>' in the "simple" examples, as when compiling with xlC on
AIX, _LARGE_FILES gets defined by AC_SYS_LARGEFILE to enable large file
support, and defining this changes the ABI of std::string, so it also needs
to be defined when compiling code using Xapian.
* On cygwin, include <arpa/inet.h> instead of winsock headers for htons() and
htonl().
* Include <cygwin/version.h> for CYGWIN_VERSION_API_MAJOR.
* Avoid referencing static members via an object in that object's own
definition, as this doesn't work with all compilers (noted with GCC 3.3), and
is a bit of an odd construct anyway. Reported by Eric Lindblad on
xapian-discuss.
* GCC < 3.4.2 lacks operator<< overloads for unsigned long long on some
platforms, so simply work around this by using str(), as this isn't
performance sensitive code. Reported by Eric Lindblad on xapian-discuss.
* Fix delete which should be delete[] in brass backend cursor code.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xapian/Makefile | 4 | ||||
-rw-r--r-- | textproc/xapian/PLIST | 6 | ||||
-rw-r--r-- | textproc/xapian/distinfo | 10 |
3 files changed, 8 insertions, 12 deletions
diff --git a/textproc/xapian/Makefile b/textproc/xapian/Makefile index 6533efda207..ec8ecc398f9 100644 --- a/textproc/xapian/Makefile +++ b/textproc/xapian/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.22 2015/05/23 18:20:59 schmonz Exp $ +# $NetBSD: Makefile,v 1.23 2016/01/13 20:59:15 schmonz Exp $ # DISTNAME= xapian-core-${VERSION} -VERSION= 1.2.21 +VERSION= 1.2.22 PKGNAME= xapian-${VERSION} CATEGORIES= textproc MASTER_SITES= http://oligarchy.co.uk/xapian/${VERSION}/ diff --git a/textproc/xapian/PLIST b/textproc/xapian/PLIST index bc13aa0c603..194a3611e68 100644 --- a/textproc/xapian/PLIST +++ b/textproc/xapian/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2015/05/23 18:20:59 schmonz Exp $ +@comment $NetBSD: PLIST,v 1.11 2016/01/13 20:59:15 schmonz Exp $ bin/copydatabase bin/delve bin/quest @@ -439,10 +439,6 @@ share/doc/xapian-core/matcherdesign.html share/doc/xapian-core/overview.html share/doc/xapian-core/postingsource.html share/doc/xapian-core/queryparser.html -share/doc/xapian-core/quickstart.html -share/doc/xapian-core/quickstartexpand.cc.html -share/doc/xapian-core/quickstartindex.cc.html -share/doc/xapian-core/quickstartsearch.cc.html share/doc/xapian-core/remote.html share/doc/xapian-core/remote_protocol.html share/doc/xapian-core/replication.html diff --git a/textproc/xapian/distinfo b/textproc/xapian/distinfo index 7cc0f7d02dc..5d022db55e6 100644 --- a/textproc/xapian/distinfo +++ b/textproc/xapian/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.20 2015/11/04 02:00:15 agc Exp $ +$NetBSD: distinfo,v 1.21 2016/01/13 20:59:15 schmonz Exp $ -SHA1 (xapian-core-1.2.21.tar.xz) = 03f67df86f600f0b64ea62fd9b956f72b5dce933 -RMD160 (xapian-core-1.2.21.tar.xz) = 6b2413007f245d2410e2b22d7656abb7f1bae750 -SHA512 (xapian-core-1.2.21.tar.xz) = a821043ea1686a09178bb91b14ed6a8cf00c50dfb0f066e420a40395edd3be085d7f89abb8f6a1151c847272c13601274e645055ede3548b07d5e912f0a70f81 -Size (xapian-core-1.2.21.tar.xz) = 3202560 bytes +SHA1 (xapian-core-1.2.22.tar.xz) = 803fd5fda3fec85800ff117432a8a51fe5d24ddf +RMD160 (xapian-core-1.2.22.tar.xz) = bca54d12145cf9b9c7c415d2c3c493d531dfa52c +SHA512 (xapian-core-1.2.22.tar.xz) = cb6bd565eb307f9bc8f801fc9cda0cc6ad5d7cb8bf0af2ab6e42d48ca4ea4169f08621db810ab87d15957d0f873bcb0336e16b12fdb6026375d9c0192781e0d6 +Size (xapian-core-1.2.22.tar.xz) = 3204096 bytes SHA1 (patch-common_socket_utils.cc) = 5e7ec55e2e1a4353a370197b2e953efa7206e59d |