pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xapian-omega Update to 1.4.18. From the chang...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b1d97707e3d
branches:  trunk
changeset: 444950:5b1d97707e3d
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Jan 14 18:21:01 2021 +0000

description:
Update to 1.4.18. From the changelog:

indexers:

* omindex:

  + Add default MIME mapping for application/rtf.  IANA have registrations for
    text/rtf and (more recently) application/rtf (it seems because newer
    versions of the RTF format can contain 8-bit data) so we now recognise
    application/rtf by default and handle it the same way as text/rtf.

    Current libmagic seems to always return text/rtf (no matches for
    application/rtf in magic.mgc) and we continue to map extension rtf to
    text/rtf, so this change is mainly future-proofing against libmagic future
    changes.

  + Add support for indexing OpenXPS, which is effectively the same as XPS
    internally in ways we care about, but it uses a different mimetype and a
    different filename extension.

omega:

* Explicitly use OR for MORELIKE queries.

  Since 1.3.0 the default value of DEFAULTOP has been AND, which typically
  makes MORELIKE queries much less useful since they'll only match documents
  containing all the terms from the query expansion.  We now explicitly insert
  " OR " between the terms if DEFAULTOP hasn't been set to OR, which makes them
  work much more like they did in 1.2.x.

* Make $stoplist and $unstem consider all query strings by always passing the
  new Xapian::QueryParser::FLAG_ACCUMULATE flag.

* Add $foreach command which works like $map, but just concatenates the
  evaluated results rather than adding tabs to turn them into an OmegaScript
  list.

* Extend $include{} to allow handling failure to open the specified file via an
  optional second argument which if specified will be evaluated and returned
  instead.  Patch from Gaurav Arora.

* Support multiple MORELIKE parameters - we now form an RSet from all the
  specified documents and use that to generate the query to run (previously
  only one of multiple MORELIKE parameters was used).

diffstat:

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

diffs (29 lines):

diff -r ee87c2258f8d -r 5b1d97707e3d textproc/xapian-omega/Makefile
--- a/textproc/xapian-omega/Makefile    Thu Jan 14 18:20:46 2021 +0000
+++ b/textproc/xapian-omega/Makefile    Thu Jan 14 18:21:01 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.43 2020/08/31 18:12:19 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2021/01/14 18:21:01 schmonz Exp $
 
-PKGREVISION= 1
 .include "../../textproc/xapian/Makefile.common"
 
 DISTNAME=              xapian-omega-${VERSION}
diff -r ee87c2258f8d -r 5b1d97707e3d textproc/xapian-omega/distinfo
--- a/textproc/xapian-omega/distinfo    Thu Jan 14 18:20:46 2021 +0000
+++ b/textproc/xapian-omega/distinfo    Thu Jan 14 18:21:01 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.34 2020/08/21 20:46:05 schmonz Exp $
+$NetBSD: distinfo,v 1.35 2021/01/14 18:21:01 schmonz Exp $
 
-SHA1 (xapian-omega-1.4.17.tar.xz) = 7181ca7985cefc10125a5f5b5a64827f9dec4aac
-RMD160 (xapian-omega-1.4.17.tar.xz) = 47022bd5c79eaf012f617bd70b47926adde17754
-SHA512 (xapian-omega-1.4.17.tar.xz) = 0388714ae307044b486e92eacac2d8c09c334e1b77be6cc2c36f8c0c679b4fee660c9b12074e9a278e2981b4a5b4a607d068a5d16c852bef719245bb70b7ce7c
-Size (xapian-omega-1.4.17.tar.xz) = 547372 bytes
+SHA1 (xapian-omega-1.4.18.tar.xz) = a2f891a3bf205fc0a4657e85156903776eff8c03
+RMD160 (xapian-omega-1.4.18.tar.xz) = a869606b5378f77ad55034894e94755da04ba828
+SHA512 (xapian-omega-1.4.18.tar.xz) = 35da36bdaa6997353554604db5ced3f3a05d0862ce5cf357fae639ca88a65ea83bf0be039629e6aedd67f8cb369a7eaeba7f279980c9e2f585083c737c61ea43
+Size (xapian-omega-1.4.18.tar.xz) = 549892 bytes
 SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795
 SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4
 SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2



Home | Main Index | Thread Index | Old Index