pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/textproc/xapian-omega Update to 1.4.19...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/54f0603fe302
branches:  trunk
changeset: 370946:54f0603fe302
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jan 02 09:32:06 2022 +0000

description:
Update to 1.4.19. From the changelog:

documentation:

* configure: Add missing AC_ARG_VAR for all programs so that they are
  documented in --help output, and so that autoconf knows they are "precious"
  and preserves them if configure is rerun even when they're specified via an
  environment variable.

* Add usage examples for $jsonobject.

* Fix path to omega in quickstart document.  Fixes #813, reported by Jim Lynch.

* Update for the IRC channel move from freenode to libera.chat.

indexers:

* Fix handling of UTF-16 BOMs in XML and HTML - we had the sense of the
  endianness indicated by the BOM the wrong way round.

* Avoid making an extra temporary copy of HTML/XML data which has a UTF16 BOM.

* We now ignore an end of line immediately after a PHP close tag to match what
  PHP does.

* omindex:

  + Fix handling of formatted xlsx dates in certain cases.

* scriptindex:

  + Add new scriptindex whitespace removal actions `ltrim`, `rtrim`, `squash`,
    and `trim`.

  + Improve `truncate` action - if a word ends exactly on the requested length
    we now leave it in place rather than removing it.

  + Report the location of previous `unique` action in the error given when
    `unique` is used more than once.

omega:

* Clamp START and END with packed timestamps.  The 4-byte unsigned packed
  time_t format can't represent dates before 1970 or after Sun 07 Feb 2106
  06:28:15 UTC so clamp dates before or after these - previously they would
  wrap around.

* The JSON produced by $jsonobject no longer contains newlines, which makes it
  usable as a single line serialisation format without post-processing.

* Add $base64 OmegaScript command.

* omega: Add flag_no_positions to wrap new
  Xapian::QueryParser::FLAG_NO_POSITIONS.

templates:

* Fix topterms template to not trigger early matching.  We were checking $msize
  before including the `query` template, but doing so would trigger the query
  to be run, which means that settings early in the `query` template which
  should affect the result (such as $setmap{prefix,...}) were being ignored
  when the `topterms` template was used.  Partly addresses #815, reported by
  Gennadiy.

* Add field support to opensearch and xml templates.  These templates now also
  search title, topic and filename by default and support `title:`, `author:`
  and `topic:` in the query string (both like the template `query` already
  does). Fixes remaining issue in #815, reported by Gennadiy.

testsuite:

* Expand omegatest.  All scriptindex actions now have test coverage.

build system:

* Replace uses of obsolete autoconf macros, fixing warnings if configure is
  regenerated with a recent release of autoconf.

portability:

* Don't automatically use _FORTIFY_SOURCE on mingw-w64.  Recent mingw-w64
  versions require -lssp to be linked when _FORTIFY_SOURCE is enabled, so just
  skip the automatic enabling.  Users who want to enable it can specify it
  explicitly.

  Fixes #808, reported by xpbxf4.

* Automatically enable GCC warnings -Wduplicated-cond and -Wduplicated-branches
  if using a GCC version new enough to support them.  The usefulness of
  -Wduplicated-cond was highlighted by dcb in #816.

* Fix GCC -Wshadow warning.

* Use clock_gettime() and nanosleep() under modern mingw as these allow higher
  precision than what we previously used.

diffstat:

 textproc/xapian-omega/Makefile |  3 +--
 textproc/xapian-omega/distinfo |  8 ++++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r d2535d553313 -r 54f0603fe302 textproc/xapian-omega/Makefile
--- a/textproc/xapian-omega/Makefile    Sun Jan 02 09:31:59 2022 +0000
+++ b/textproc/xapian-omega/Makefile    Sun Jan 02 09:32:06 2022 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.45 2021/05/24 19:55:00 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2022/01/02 09:32:06 schmonz Exp $
 
-PKGREVISION= 1
 .include "../../textproc/xapian/Makefile.common"
 
 DISTNAME=              xapian-omega-${VERSION}
diff -r d2535d553313 -r 54f0603fe302 textproc/xapian-omega/distinfo
--- a/textproc/xapian-omega/distinfo    Sun Jan 02 09:31:59 2022 +0000
+++ b/textproc/xapian-omega/distinfo    Sun Jan 02 09:32:06 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.37 2021/10/26 11:23:39 nia Exp $
+$NetBSD: distinfo,v 1.38 2022/01/02 09:32:06 schmonz Exp $
 
-BLAKE2s (xapian-omega-1.4.18.tar.xz) = 25e65bd6c19200984de9a8767ffff6b2fda0a230026fd4936efdac77d1e5838c
-SHA512 (xapian-omega-1.4.18.tar.xz) = 35da36bdaa6997353554604db5ced3f3a05d0862ce5cf357fae639ca88a65ea83bf0be039629e6aedd67f8cb369a7eaeba7f279980c9e2f585083c737c61ea43
-Size (xapian-omega-1.4.18.tar.xz) = 549892 bytes
+BLAKE2s (xapian-omega-1.4.19.tar.xz) = 74fd6fb4fc0e86d5a45ce560b57f948ae14da671da3a82ec39f8a93f41198a1a
+SHA512 (xapian-omega-1.4.19.tar.xz) = 82b682bc9d244256afffc2ab1b12b0f577184296a979dc42b2865b689c6d46eca6b838b95a5d040dc228de0c2e2261e81279e0a748eaff2d018732ce4bc07fae
+Size (xapian-omega-1.4.19.tar.xz) = 553680 bytes
 SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795
 SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4
 SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2



Home | Main Index | Thread Index | Old Index