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.12. From the chang...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ade95d98dd28
branches: trunk
changeset: 399101:ade95d98dd28
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Aug 02 21:29:11 2019 +0000
description:
Update to 1.4.12. From the changelog:
documentation:
* Improve docs for OmegaScript $hitlist{}.
* Fix RST formatting errors in omega docs.
* Clarify use of Q prefix for unique ID terms - it was described as "reserved",
but the use of "Q" is really just a convention (and in fact omindex uses "U"
not "Q").
* Clarify scriptindex's weight action takes parameter >= 0.
* Correct typo in OmegaScript $add parameter documentation.
indexers:
* omindex:
+ Fix typo in mimetypes used for Apple iWork documents ("apply" instead of
"apple") which meant that these documents weren't actually being indexed.
Patch from Bruno Baruffaldi.
+ Pipe input to ps2pdf as this accepts input on stdin. Possibility pointed
out by Gaurav Arora.
* scriptindex:
+ If parsedate action's format includes %z adjust for the timezone if
possible (this requires the non-POSIX tm_gmtoff member of struct tm)
and flag an error for other platforms.
+ If parsedate action's format include %Z flag an error as that doesn't
seem to be usefully supported by strptime() anywhere.
+ Fix parsedate action to treat formats without a timezone as being UTC
instead of localtime.
+ Add date=unixutc. The existing date=unix works in localtime which is
unhelpful if you want to use it on the output of parsedate since that's in
UTC; date=unixutc is just like date=unix except it always works in UTC.
+ The date action now emits a warning for invalid values. The documentation
used to say "invalid values are ignored at present", but it's more helpful
to flag bad data than quietly ignore it.
+ We now check the date action's parameter at script parse time and unknown
values result in an error and nothing being indexed. Previously an unknown
format uselessly resulted in the terms D, M and Y literally being added to
every document.
+ The split action now supports a new "prefixes" split style. This gives all
the prefixes from the split, so split=/,prefixes on a file path gives all
parent directories.
omega:
* Remove documented limitation of $subdb and $subid - the implementation
assumed that each omega database name corresponded to a single Xapian
database, and if a database name referred to a stub database file expanding
to multiple Xapian databases then they would misbehave. Such cases are now
handled properly as well.
* Extend $addfilter to support adding negated filters via a new optional second
argument which specifies the type of filter to add.
* Stop $sort from needlessly ensuring the match has run.
* Handle corner case of nested $hitlist gracefully instead of potentially
entering an infinite loop.
testsuite:
* omegatest: Avoid setting TZ globally during tests as that hides bugs where
behaviour depends on the local timezone when it shouldn't.
* omegatest: Support testing when built using LeakSanitizer by suppressing
leak reports for cached compiled pcre regular expressions. These aren't
released when the program exits but aren't memory leaks.
build system:
* Remove outdated deprecation warning suppression which was there to support
building from git in the run up to 1.3.2 - a development version which is
nearly 5 years ago now.
portability:
* Fix problems with fallback strptime() implementation which was being included
in the wrong binary, and was lacking a required const_cast on the return
value.
* Rework setenv() compatibility handling. Now that Solaris 9 is dead we can
assume setenv() is provided by Unix-like platforms (POSIX requires it). For
other platforms, provide a compatibility implementation of setenv() so the
compatibility code is encapsulated in one place rather than replicated at
every use.
diffstat:
textproc/xapian-omega/distinfo | 12 ++++++------
textproc/xapian-omega/patches/patch-Makefile.in | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diffs (62 lines):
diff -r 18e918e2df46 -r ade95d98dd28 textproc/xapian-omega/distinfo
--- a/textproc/xapian-omega/distinfo Fri Aug 02 21:28:53 2019 +0000
+++ b/textproc/xapian-omega/distinfo Fri Aug 02 21:29:11 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.29 2019/03/10 13:21:05 schmonz Exp $
+$NetBSD: distinfo,v 1.30 2019/08/02 21:29:11 schmonz Exp $
-SHA1 (xapian-omega-1.4.11.tar.xz) = c85d6bbd53b92143d24ee80757bd38bda31ee926
-RMD160 (xapian-omega-1.4.11.tar.xz) = 9952b6b5c3825bba6abead3c82c54f436ec292a4
-SHA512 (xapian-omega-1.4.11.tar.xz) = 135077e26dc0b0707d1d14c64eeb25db67374b1b7909e9f3e925b10e03b1557263339d2f84c5a82046a159e58a5301834e76e99843d66342666d5694f91ed4f3
-Size (xapian-omega-1.4.11.tar.xz) = 533596 bytes
-SHA1 (patch-Makefile.in) = eea809d9403820e86478d939a2dad4c67358ebf5
+SHA1 (xapian-omega-1.4.12.tar.xz) = 6f91fb536c50598597227038113aab893f421c42
+RMD160 (xapian-omega-1.4.12.tar.xz) = 54b7d52a38b094bb2ebb10578d6458959d6c4c47
+SHA512 (xapian-omega-1.4.12.tar.xz) = 2d2c48646f4f06fc4b2666e0901e4f73b2c5da93c4a8e8a5ea6d32e9076a2f18c15c14c7dd2ae2d421a501119ea19b52fe324ad98f9f0bfd6b80f4286721aa2e
+Size (xapian-omega-1.4.12.tar.xz) = 539324 bytes
+SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795
SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4
SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2
diff -r 18e918e2df46 -r ade95d98dd28 textproc/xapian-omega/patches/patch-Makefile.in
--- a/textproc/xapian-omega/patches/patch-Makefile.in Fri Aug 02 21:28:53 2019 +0000
+++ b/textproc/xapian-omega/patches/patch-Makefile.in Fri Aug 02 21:29:11 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-Makefile.in,v 1.1 2017/07/09 22:31:23 schmonz Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2019/08/02 21:29:11 schmonz Exp $
Call it "xapian-omega" and follow hier(7).
---- Makefile.in.orig 2017-04-24 02:19:50.000000000 +0000
+--- Makefile.in.orig 2019-07-24 03:34:14.000000000 +0000
+++ Makefile.in
@@ -92,7 +92,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
@@ -13,7 +13,7 @@
bin_PROGRAMS = omindex$(EXEEXT) scriptindex$(EXEEXT) \
omindex-list$(EXEEXT)
check_PROGRAMS = atomparsetest$(EXEEXT) csvesctest$(EXEEXT) \
-@@ -791,7 +791,7 @@ AM_CPPFLAGS = \
+@@ -805,7 +805,7 @@ AM_CPPFLAGS = \
-DCONFIGFILE_SYSTEM=\"$(sysconfdir)/omega.conf\" \
-DPKGLIBBINDIR=\"$(pkglibbindir)\"
@@ -21,8 +21,8 @@
+pkglibbindir = $(libexecdir)/cgi-bin
dist_pkglibbin_SCRIPTS = mhtml2html outlookmsg2html rfc822tohtml vcard2text
dist_bin_SCRIPTS = dbi2omega htdig2omega mbox2omega
- dist_check_SCRIPTS = omegatest
-@@ -804,7 +804,7 @@ TESTS = atomparsetest$(EXEEXT)\
+ dist_check_SCRIPTS = omegatest sourcetest
+@@ -819,7 +819,7 @@ TESTS = atomparsetest$(EXEEXT)\
urlenctest$(EXEEXT)\
utf8converttest$(EXEEXT)
@@ -31,7 +31,7 @@
dist_omegadata_DATA = htdig2omega.script mbox2omega.script
dist_sysconf_DATA = omega.conf
-@@ -1099,8 +1099,8 @@ md5test$(EXEEXT): $(md5test_OBJECTS) $(m
+@@ -1120,8 +1120,8 @@ md5test$(EXEEXT): $(md5test_OBJECTS) $(m
common/str.$(OBJEXT): common/$(am__dirstamp) \
common/$(DEPDIR)/$(am__dirstamp)
Home |
Main Index |
Thread Index |
Old Index