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.4.11. From the changelog:

branches:  trunk
changeset: 320350:4431bf72292d
user:      schmonz <>
date:      Mon Mar 04 01:38:00 2019 +0000

Update to 1.4.11. From the changelog:


* MSet::SNIPPET_CJK_NGRAM - new flag for use with MSet::snippet() to enable
  support for selecting and highlighting snippets which works with the
  QueryParser and TermGenerator FLAG_CJK_NGRAM flags.  This mode can also be
  enabled by setting environment variable XAPIAN_CJK_NGRAM to a non-empty
  value.  (There was nominally already support for XAPIAN_CJK_NGRAM in
  MSet::snippet(), but it didn't work usefully - the highlighting added was all
  empty start/end pairs at the end of the span of CJK characters containing the
  CJK ngram terms, which to the user would typically look like it was selecting
  the end of the text and not highlighting anything).

* Deprecate XAPIAN_CJK_NGRAM environment variable.  There are now flags which
  can be used instead in all cases, and there's sadly no portable thread-safe
  way to read an environment variable so checking environment variables is
  problematic in library code that may be used in multithreaded programs.

* Query::OP_ELITE_SET currently incorrectly recursively flattens any OP_OR (or
  OP_OR-like) subqueries into the list of subqueries it selects from - until
  that's fixed, we now select from the full exploded list rather than the last
  n (where n is the number of direct subqueries of the OP_ELITE_SET).


* Testcases which need a generated database now get run with a sharded

* Avoid using strerror() in the testsuite which removes an obstacle to running
  tests in parallel in separate threads.


* Extend detection of cases of OP_SYNONYM with disjoint subqueries (which means
  we don't need document length) which was added in 1.4.8 - we now detect when
  all subqueries are different terms, or when all subqueries are
  non-overlapping wildcards.  The second case is what QueryParser produces for
  a wildcard or partial query with a query prefix which maps to more than one
  term prefix.

glass backend:

* Handle an empty value slot lower bound gracefully.  This shouldn't happen for
  a non-empty slot, but has been reported by a notmuch user so it seems there
  is (or perhaps was as the database was several years old) a way it can come
  about.  We now check for this situation and set the smallest possible valid
  lower bound instead, so other code assuming a valid lower bound will work
  correctly.  Reported by jb55.

chert backend:

* Handle an empty value slot lower bound gracefully, equivalent to the change
  made for glass.


* HACKING: We no longer use auto_ptr<>.

* NEWS: Correct factual error in old entry - the 0.4.1 release was Open Muscat
  not OmSee (the OmSee name was only applied after that final release was made,
  and only used internally to BrightStation).


* Suppress more clang -Wself-assign-overloaded warnings in testcases which are
  deliberately testing handling of self-assignment.

* Add missing includes of <cerrno>.  Fixes #776, reported by Matthieu Gautier.

debug code:

* When configured with --enable-log, the O_SYNC flag was always specified when
  opening the logfile, with the intention that the most recent log entries
  wouldn't get lost if there was a crash, but O_SYNC can incur a significant
  performance overhead and most debugging is not of such crashes.  So we no
  longer specify O_SYNC by default, but you can now request synchronous logging
  by including %! anywhere in the filename specified with XAPIAN_DEBUG_LOG
  (the %! is replaced with the empty string).  We also now use O_DSYNC if
  available in preference to O_SYNC, since the mtime of the log file isn't


 textproc/xapian/Makefile.common   |   4 ++--
 textproc/xapian/distinfo          |  10 +++++-----
 textproc/xapian/distinfo-bindings |  10 +++++-----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs (52 lines):

diff -r 9c8466647193 -r 4431bf72292d textproc/xapian/Makefile.common
--- a/textproc/xapian/Makefile.common   Sun Mar 03 22:23:52 2019 +0000
+++ b/textproc/xapian/Makefile.common   Mon Mar 04 01:38:00 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2019/02/12 19:21:18 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.8 2019/03/04 01:38:00 schmonz Exp $
 # used by textproc/csharp-xapian/Makefile
 # used by textproc/lua-xapian/Makefile
 # used by textproc/p5-Xapian/Makefile
@@ -9,7 +9,7 @@
 # used by textproc/xapian/Makefile
 # used by textproc/xapian-omega/Makefile
-VERSION=               1.4.10
+VERSION=               1.4.11
 CATEGORIES=            textproc
 EXTRACT_SUFX=          .tar.xz
diff -r 9c8466647193 -r 4431bf72292d textproc/xapian/distinfo
--- a/textproc/xapian/distinfo  Sun Mar 03 22:23:52 2019 +0000
+++ b/textproc/xapian/distinfo  Mon Mar 04 01:38:00 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.33 2019/02/12 19:21:18 schmonz Exp $
+$NetBSD: distinfo,v 1.34 2019/03/04 01:38:00 schmonz Exp $
-SHA1 (xapian-core-1.4.10.tar.xz) = 520ef92a5dc84f32b6dccf8c7b7d7b5bef7759de
-RMD160 (xapian-core-1.4.10.tar.xz) = cdabad3c339148b93d3175e21e014dda3e59e605
-SHA512 (xapian-core-1.4.10.tar.xz) = fa716d6f8c04edb297d99dad4d7835f7874837ab3c39d7017e43708cde6992c596e579418be17b79772e002bd23b94169812523a1abd9519b1dd3df474f027d9
-Size (xapian-core-1.4.10.tar.xz) = 2973780 bytes
+SHA1 (xapian-core-1.4.11.tar.xz) = c1e452e4dc59351a72214ae24cf2b7a6c10fc9ef
+RMD160 (xapian-core-1.4.11.tar.xz) = 8e14120ebb8ea4b09e1e71ea784051577bb8daa9
+SHA512 (xapian-core-1.4.11.tar.xz) = 72ab7b0c774390f38319d241689b2dc3c2837fbbf933616574f6ad167f14a25c2eff747910022065508dc7c44f806dc2b71dae80a1b4f1f47e1675fb951bc785
+Size (xapian-core-1.4.11.tar.xz) = 2975524 bytes
 SHA1 (patch-common_safesyssocket.h) = 032d441853914d510bc285bb682a98c4ee264d52
diff -r 9c8466647193 -r 4431bf72292d textproc/xapian/distinfo-bindings
--- a/textproc/xapian/distinfo-bindings Sun Mar 03 22:23:52 2019 +0000
+++ b/textproc/xapian/distinfo-bindings Mon Mar 04 01:38:00 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo-bindings,v 1.10 2019/02/12 19:21:18 schmonz Exp $
+$NetBSD: distinfo-bindings,v 1.11 2019/03/04 01:38:00 schmonz Exp $
-SHA1 (xapian-bindings-1.4.10.tar.xz) = ee90b9d2acfa8de6f0a083a03bab71e503d98887
-RMD160 (xapian-bindings-1.4.10.tar.xz) = b3e37ef94858705ffec9e397d38a080d61ffe0b0
-SHA512 (xapian-bindings-1.4.10.tar.xz) = e993c33820f7606e17ee6ff5a13bdcb91beceec6a8443298ff06a3160052e96caff3aca30908c68a8a695429ec51189a86404b69c5525e5770741637cc63bbc1
-Size (xapian-bindings-1.4.10.tar.xz) = 1125168 bytes
+SHA1 (xapian-bindings-1.4.11.tar.xz) = 57d5a5d91bc5bcf17c124d65629c785f5d356db0
+RMD160 (xapian-bindings-1.4.11.tar.xz) = e977d8d2811147e7c51db17d598029137eadf980
+SHA512 (xapian-bindings-1.4.11.tar.xz) = 326b08b9959143b92e6c10bd9b6b107ce2779e6ef1a3b5570abd07802a5988dd7df4e890d820f7da355f9f9e64df9a3ae08a0664d70d10ba6f876fca3dc44ecd
+Size (xapian-bindings-1.4.11.tar.xz) = 1125716 bytes
 SHA1 (patch-configure) = d1c3edf1efcd105aef23bf9245650971f8df6ced
 SHA1 ( = 7f1c5077f0d46dfdf33c2b65f144bb08d5031330
 SHA1 ( = 993b137b319d7d28c2b3a70d2e46e1a38d380578

Home | Main Index | Thread Index | Old Index