Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc Update to 1.4.16. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa654216610b
branches:  trunk
changeset: 434074:fa654216610b
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jun 10 17:54:29 2020 +0000

description:
Update to 1.4.16. From the changelog:

API:

* MSet::snippet(): The snippet now includes trailing punctuation which carries
  meaning or gives useful context.  See
  https://github.com/xapian/xapian/pull/180, reported by Robert Stepanek.

* MSet::snippet(): Fix segfault generating snippet from default-constructed
  MSet.  This probably isn't something you'd typically do, but it shouldn't
  crash.  Found during extended testing of #803 (which only affected git
  master) which was reported by Robert Stepanek.

* Remove trailing full stop from exception messages.  We conventionally don't
  include one, but a few cases didn't follow that convention.

testsuite:

* Replace direct use of ftime() which gives deprecation warnings with recent
  mingw.  Reported by srinivasyadav22.

matcher:

* Fix segfault in rare cases in the query optimiser.  We keep a pointer to the
  most recent posting list to use as a hint for opening the next posting list,
  but the existing mechanism to take ownership of this hint had a flaw.  We now
  invalidate the hint in situations where it might be indirectly deleted which
  is safe, but somewhat conservative.

* Improve the optimisation of an always-matching OP_VALUE_GE to also take
  effect when the value slot's lower bound is equal to the limit of the
  OP_VALUE_GE.  Patch from boda sadalla.

glass backend:

* Report the correct errno value if commit() fails.  We were potentially
  reporting ENOENT from an unlink() call cleaning up a temporary file prior to
  throwing the exception instead.

documentation:

* Fix missing menus in API documentation.  Newer doxygen generates .js files
  which we also need to distribute and install.  Reported by sec^nd on #xapian.

* Note OP_FILTER ignored subquery bug fixed in 1.4.15 as present in 1.4.14 and
  older.

portability:

* Use our own autoconf cache variable namespace (xo_cv_ prefix instead of
  ac_cv_) to avoid colliding with standard autoconf macro use if config.site or
  a shared config.cache is used.  The former case caused a build failure for
  the OpenBSD port with 1.4.15, reported by Lucas R.

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

Bindings:

* Remove code to support SVN snapshots since we stopped using SVN more than 5
  years ago.

* Ignore overloads for logical ops, *, /.  These were already ignored for
  several languages, and aren't actually usefully wrapped for any of the other
  languages.

CSharp:

* Work around mono terminfo parsing bug in more cases.  With this, "make",
  "make check", "make install" and "make uninstall" all work on Ubuntu 18.10.
  Patch from Dipanshu Garg, fixes https://github.com/xapian/xapian/pull/287 and
  #801.

Lua:

* Allow passing a Lua function as a MatchSpy.  This was supposed to be
  supported already, but the typemaps weren't set up.

* On platforms where sizeof(long) is 4, SWIG was wrapping Xapian::BAD_VALUENO
  as a negative constant in Lua, which was then rejected by a check which
  disallows passing negative values for unsigned C++ types.  We now direct SWIG
  to handle Xapian::valueno as double (which is what numbers in Lua usually
  actually are) which gives us an unsigned constant, and also eliminates the
  negative value check.

* Correct documentation - get_description() is wrapped as tostring() in Lua,
  not str() as we previously claimed.

* Add test coverage for passing Lua function for a Stopper.

Perl:

* Resolve the remaining issues and remove the "experimental" marker:

  + Add search_xapian_compat() function which sets up aliases in the
    Search::Xapian namespace to aid writing code which uses either
    Search::Xapian or this module.

  + Allow passing Perl sub for simpler Xapian functor classes.  This fills in a
    missing feature compared to Search::Xapian.  See #523.

  + Remove useless PerlStopper class which was an incomplete copy of the
    apparently non-functional Search::Xapian::PerlStopper.  We now support
    passing a Perl sub for a Stopper object.

  + Adjust some method names to match Search::Xapian.  Iterators now support
    inc() (and dec() where the C++ class supports operator--) like
    Search::Xapian, rather than increment() and prev().  Reported by Eric Wong
    in #523.

  + Drop undocumented and unexpected extra equals() method.

  + Provide compatibility with ENQ_ASCENDING, etc constants.  SWIG wraps these
    as $Xapian::Enquire::ASCENDING, which better matches the C++ API, but
    Search::Xapian wraps this as Search::Xapian::ENQ_ASCENDING, etc so provide
    those too for compatibility.  Reported by Eric Wong in #523.

  + Drop stringification and int conversion overloads.  These seem more
    confusing than helpful, and overloading stringification works badly
    with SWIG-generated bindings.

  + Document remaining known differences from Search::Xapian.

* Update recently tested versions in README.

* Improve documentation.

* Fix t/02pod.t to look for files in right directory.

Ruby:

* Don't print iterator sizes to stdout.  This was some debugging accidentally
  left in as part of a change in 1.4.12.  Patch from Dan Callaghan.

diffstat:

 textproc/csharp-xapian/Makefile   |   3 +--
 textproc/p5-Xapian/PLIST          |   3 +--
 textproc/xapian/Makefile.common   |   4 ++--
 textproc/xapian/PLIST             |   6 +++++-
 textproc/xapian/distinfo          |  10 +++++-----
 textproc/xapian/distinfo-bindings |  10 +++++-----
 6 files changed, 19 insertions(+), 17 deletions(-)

diffs (112 lines):

diff -r fd921159bd39 -r fa654216610b textproc/csharp-xapian/Makefile
--- a/textproc/csharp-xapian/Makefile   Wed Jun 10 17:44:28 2020 +0000
+++ b/textproc/csharp-xapian/Makefile   Wed Jun 10 17:54:29 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2020/06/02 08:24:50 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/06/10 17:54:30 schmonz Exp $
 
 PKGNAME=               csharp-${PKGNAME_MODULE}
-PKGREVISION=           2
 COMMENT=               C\# bindings for Xapian search engine
 HOMEPAGE=              https://xapian.org/docs/bindings/csharp/
 
diff -r fd921159bd39 -r fa654216610b textproc/p5-Xapian/PLIST
--- a/textproc/p5-Xapian/PLIST  Wed Jun 10 17:44:28 2020 +0000
+++ b/textproc/p5-Xapian/PLIST  Wed Jun 10 17:54:29 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/09/10 10:30:06 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/06/10 17:54:30 schmonz Exp $
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/AssertionError.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/BM25Weight.pm
@@ -27,7 +27,6 @@
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/MultiValueSorter.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/NetworkError.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/NetworkTimeoutError.pm
-${PERL5_SUB_INSTALLVENDORLIB}/Xapian/PerlStopper.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/PositionIterator.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/PostingIterator.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Query.pm
diff -r fd921159bd39 -r fa654216610b textproc/xapian/Makefile.common
--- a/textproc/xapian/Makefile.common   Wed Jun 10 17:44:28 2020 +0000
+++ b/textproc/xapian/Makefile.common   Wed Jun 10 17:54:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2020/02/25 17:55:30 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.12 2020/06/10 17:54:29 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.15
+VERSION=               1.4.16
 CATEGORIES=            textproc
 MASTER_SITES=          http://oligarchy.co.uk/xapian/${VERSION}/
 EXTRACT_SUFX=          .tar.xz
diff -r fd921159bd39 -r fa654216610b textproc/xapian/PLIST
--- a/textproc/xapian/PLIST     Wed Jun 10 17:44:28 2020 +0000
+++ b/textproc/xapian/PLIST     Wed Jun 10 17:54:29 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2020/02/25 17:55:30 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.18 2020/06/10 17:54:29 schmonz Exp $
 bin/copydatabase
 bin/quest
 bin/simpleexpand
@@ -350,6 +350,7 @@
 share/doc/xapian-core/apidoc/html/document_8h.html
 share/doc/xapian-core/apidoc/html/doxygen.css
 share/doc/xapian-core/apidoc/html/doxygen.png
+share/doc/xapian-core/apidoc/html/dynsections.js
 share/doc/xapian-core/apidoc/html/enquire_8h.html
 share/doc/xapian-core/apidoc/html/error_8h.html
 share/doc/xapian-core/apidoc/html/errorhandler_8h.html
@@ -444,8 +445,11 @@
 share/doc/xapian-core/apidoc/html/inherit_graph_8.png
 share/doc/xapian-core/apidoc/html/inherit_graph_9.png
 share/doc/xapian-core/apidoc/html/inherits.html
+share/doc/xapian-core/apidoc/html/jquery.js
 share/doc/xapian-core/apidoc/html/keymaker_8h.html
 share/doc/xapian-core/apidoc/html/matchspy_8h.html
+share/doc/xapian-core/apidoc/html/menu.js
+share/doc/xapian-core/apidoc/html/menudata.js
 share/doc/xapian-core/apidoc/html/mset_8h.html
 share/doc/xapian-core/apidoc/html/namespaceXapian.html
 share/doc/xapian-core/apidoc/html/namespaceXapian_1_1Auto.html
diff -r fd921159bd39 -r fa654216610b textproc/xapian/distinfo
--- a/textproc/xapian/distinfo  Wed Jun 10 17:44:28 2020 +0000
+++ b/textproc/xapian/distinfo  Wed Jun 10 17:54:29 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.39 2020/02/25 17:55:30 schmonz Exp $
+$NetBSD: distinfo,v 1.40 2020/06/10 17:54:29 schmonz Exp $
 
-SHA1 (xapian-core-1.4.15.tar.xz) = ad352d25fe85355b9a4b59e9f5cd33c207893861
-RMD160 (xapian-core-1.4.15.tar.xz) = 065ff86a68c1c0fd8cae619c7a313a9611b45c02
-SHA512 (xapian-core-1.4.15.tar.xz) = f28209acae12a42a345382668f7f7da7a2ce5a08362d0e2af63c9f94cb2adca95366499a7afa0bd9008fbfcca4fd1f2c9221e594fc2a2c740f5899e9f03ecad3
-Size (xapian-core-1.4.15.tar.xz) = 2988752 bytes
+SHA1 (xapian-core-1.4.16.tar.xz) = 9575ac9f208ae58b2a74d3417e2362873ba454f4
+RMD160 (xapian-core-1.4.16.tar.xz) = e93160ce02c8ce50c2fb97709c907e56c595415c
+SHA512 (xapian-core-1.4.16.tar.xz) = 3d319ab672485e840019ee28b54b1c59bbd535c1802874f58593fb999681c19bff3e776dc19ab5d5bd97734bf01f1408f36ae49e21ca9706ca187db49f8a18a6
+Size (xapian-core-1.4.16.tar.xz) = 3041132 bytes
 SHA1 (patch-common_errno__to__string.cc) = 222b640aa1cdacb6f9ada78671ef414b4ca11e26
 SHA1 (patch-common_safesyssocket.h) = 032d441853914d510bc285bb682a98c4ee264d52
 SHA1 (patch-xapian-config.in) = 470d1de7f04b8b8817abbcf56b5b71a36948de97
diff -r fd921159bd39 -r fa654216610b textproc/xapian/distinfo-bindings
--- a/textproc/xapian/distinfo-bindings Wed Jun 10 17:44:28 2020 +0000
+++ b/textproc/xapian/distinfo-bindings Wed Jun 10 17:54:29 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo-bindings,v 1.17 2020/02/25 17:55:30 schmonz Exp $
+$NetBSD: distinfo-bindings,v 1.18 2020/06/10 17:54:29 schmonz Exp $
 
-SHA1 (xapian-bindings-1.4.15.tar.xz) = 04626b5eda40ad1b3f4f2c60c344ce1fca5fff53
-RMD160 (xapian-bindings-1.4.15.tar.xz) = f5c0827821d19c062fd7e5fe77e9a6b11462cbec
-SHA512 (xapian-bindings-1.4.15.tar.xz) = dec8a0431c9070fc70d79b67bddc2e0adb10ef5366c4b9d7a135365ea6c6680d2e7682dbfd60c29eca51da48eaa0715509e30b13d5482d5a38bfd0d0156c43f9
-Size (xapian-bindings-1.4.15.tar.xz) = 1132248 bytes
+SHA1 (xapian-bindings-1.4.16.tar.xz) = 3c20815f65cc8dc4e3c8a17bd7d3941502e07a95
+RMD160 (xapian-bindings-1.4.16.tar.xz) = a79bec38150bdce4af306f4290aad077a7986364
+SHA512 (xapian-bindings-1.4.16.tar.xz) = afdc4379c8dc8381813eefcaf761ea560a23ba6718a54c61874c0d29786b9f49dd548ed3854fee38689c273acebb4637833b8cf5c75d0c2ed05df83384e59113
+Size (xapian-bindings-1.4.16.tar.xz) = 1133900 bytes
 SHA1 (patch-configure) = d1c3edf1efcd105aef23bf9245650971f8df6ced
 SHA1 (patch-lua_Makefile.in) = 7f1c5077f0d46dfdf33c2b65f144bb08d5031330
 SHA1 (patch-perl_Makefile.in) = 993b137b319d7d28c2b3a70d2e46e1a38d380578



Home | Main Index | Thread Index | Old Index