From e209fcbfb3750ec3e2605afbaf62c03aaa5a5431 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Sun, 12 Apr 2020 23:28:41 +0200 Subject: [PATCH] nuspell: update to 3.1.0. - Add so called hidden homonym feature. This feature enables words in mixed case in the dictionary to be accepted when met in uppercase in the input text. Also enables uppercase word to get lowercase suffix, and the whole derived word be accepted in all uppercase in some input text. - Improve suggestions to handle words in various casing. - Add new complex method for giving suggestions based on ngram similarity of the wrong word with the words in the dictionary. --- nuspell/Makefile | 4 ++-- nuspell/distinfo | 9 ++++----- nuspell/patches/patch-src_nuspell_utils.cxx | 16 ---------------- 3 files changed, 6 insertions(+), 23 deletions(-) delete mode 100644 nuspell/patches/patch-src_nuspell_utils.cxx diff --git a/nuspell/Makefile b/nuspell/Makefile index 35566dda20..1e8aa6ef52 100644 --- a/nuspell/Makefile +++ b/nuspell/Makefile @@ -1,9 +1,9 @@ # $NetBSD$ -GITHUB_TAG= v3.0.0 -DISTNAME= nuspell-3.0.0 +DISTNAME= nuspell-3.1.0 CATEGORIES= textproc wip MASTER_SITES= ${MASTER_SITE_GITHUB:=nuspell/} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= bsiegert@NetBSD.org HOMEPAGE= https://nuspell.github.io/ diff --git a/nuspell/distinfo b/nuspell/distinfo index e5cf59afe4..c21668fbee 100644 --- a/nuspell/distinfo +++ b/nuspell/distinfo @@ -1,8 +1,7 @@ $NetBSD$ -SHA1 (nuspell-3.0.0.tar.gz) = 65e8427b3e12dc53c5222c28607342b0ff5317c6 -RMD160 (nuspell-3.0.0.tar.gz) = 0ee980f14b82a0a19cf78d87e65ec519153b01e4 -SHA512 (nuspell-3.0.0.tar.gz) = d9cd7dd276e2bca43dec3abaf11c5206695949b9fda8c9b86f2772cc7e8fa95bf17c685a2ef9ca87fe3c4f0b55f2fcb435bc21c187355f5e3fa35dcafab2c8c2 -Size (nuspell-3.0.0.tar.gz) = 403043 bytes -SHA1 (patch-src_nuspell_utils.cxx) = 4537567092ef580a9ab22801fdfbde218ea8af92 +SHA1 (nuspell-3.1.0.tar.gz) = 1ab32d19d60b936c04e789562c333cfbafdfd2de +RMD160 (nuspell-3.1.0.tar.gz) = 71c061e71ae5387bacdd4d90425863fc816fb6ee +SHA512 (nuspell-3.1.0.tar.gz) = a9bedfd6e2d77fd34d249cf7aa1fcb6bde5bced26f02f8a2dd860416a61488c9b7016a0df6015052fcccb272b342e6205db601107f46efa44c9d78ce261a826c +Size (nuspell-3.1.0.tar.gz) = 407196 bytes SHA1 (patch-src_nuspell_utils.hxx) = b5b4f5819cb98c6ec827f02f24755fd0a6de9edf diff --git a/nuspell/patches/patch-src_nuspell_utils.cxx b/nuspell/patches/patch-src_nuspell_utils.cxx deleted file mode 100644 index 4e96a26a72..0000000000 --- a/nuspell/patches/patch-src_nuspell_utils.cxx +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD$ - ---- src/nuspell/utils.cxx.orig 2019-11-23 18:52:51.000000000 +0000 -+++ src/nuspell/utils.cxx -@@ -32,9 +32,9 @@ - #endif - - #if !defined(U_WCHAR_IS_UTF32) && !defined(U_WCHAR_IS_UTF16) && \ -- !defined(__FreeBSD__) -+ !defined(__FreeBSD__) && !defined(__NetBSD__) - #error "Platform has poor Unicode support. wchar_t must be Unicode." --#elif defined(__STDC_MB_MIGHT_NEQ_WC__) && !defined(__FreeBSD__) -+#elif defined(__STDC_MB_MIGHT_NEQ_WC__) && !defined(__FreeBSD__) && !defined(__NetBSD__) - #error "Platform has non-ASCII narrow string literals." - #endif -