Received: by mail.netbsd.org (Postfix, from userid 605) id 3659184D50; Mon, 4 Mar 2019 01:38:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B481184D26 for ; Mon, 4 Mar 2019 01:38:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id mg4Yz3e0qY1n for ; Mon, 4 Mar 2019 01:38:00 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DD59E84CD3 for ; Mon, 4 Mar 2019 01:38:00 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D7BE6FB16; Mon, 4 Mar 2019 01:38:00 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1551663480199070" MIME-Version: 1.0 Date: Mon, 4 Mar 2019 01:38:00 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/textproc/xapian To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20190304013800.D7BE6FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1551663480199070 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Mon Mar 4 01:38:00 UTC 2019 Modified Files: pkgsrc/textproc/xapian: Makefile.common distinfo distinfo-bindings Log Message: Update to 1.4.11. From the changelog: API: * 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). testsuite: * Testcases which need a generated database now get run with a sharded database. * Avoid using strerror() in the testsuite which removes an obstacle to running tests in parallel in separate threads. matcher: * 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. documentation: * 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). portability: * Suppress more clang -Wself-assign-overloaded warnings in testcases which are deliberately testing handling of self-assignment. * Add missing includes of . 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 important. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/xapian/Makefile.common cvs rdiff -u -r1.33 -r1.34 pkgsrc/textproc/xapian/distinfo cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/xapian/distinfo-bindings Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1551663480199070 Content-Disposition: inline Content-Length: 3464 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/xapian/Makefile.common diff -u pkgsrc/textproc/xapian/Makefile.common:1.7 pkgsrc/textproc/xapian/Makefile.common:1.8 --- pkgsrc/textproc/xapian/Makefile.common:1.7 Tue Feb 12 19:21:18 2019 +++ pkgsrc/textproc/xapian/Makefile.common Mon Mar 4 01:38:00 2019 @@ -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 MASTER_SITES= http://oligarchy.co.uk/xapian/${VERSION}/ EXTRACT_SUFX= .tar.xz Index: pkgsrc/textproc/xapian/distinfo diff -u pkgsrc/textproc/xapian/distinfo:1.33 pkgsrc/textproc/xapian/distinfo:1.34 --- pkgsrc/textproc/xapian/distinfo:1.33 Tue Feb 12 19:21:18 2019 +++ pkgsrc/textproc/xapian/distinfo Mon Mar 4 01:38:00 2019 @@ -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 Index: pkgsrc/textproc/xapian/distinfo-bindings diff -u pkgsrc/textproc/xapian/distinfo-bindings:1.10 pkgsrc/textproc/xapian/distinfo-bindings:1.11 --- pkgsrc/textproc/xapian/distinfo-bindings:1.10 Tue Feb 12 19:21:18 2019 +++ pkgsrc/textproc/xapian/distinfo-bindings Mon Mar 4 01:38:00 2019 @@ -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 (patch-lua_Makefile.in) = 7f1c5077f0d46dfdf33c2b65f144bb08d5031330 SHA1 (patch-perl_Makefile.in) = 993b137b319d7d28c2b3a70d2e46e1a38d380578 --_----------=_1551663480199070--