pkgsrc-WIP-changes archive

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

nuspell: update to 4.0.0.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Sat Oct 31 20:44:57 2020 +0100
Changeset:	6ce55ebea9d195d0f1d69232a1910547092e6560

Modified Files:
	TODO
	nuspell/Makefile
	nuspell/PLIST
	nuspell/distinfo

Log Message:
nuspell: update to 4.0.0.

- Fix lifetime issue (segmentation fault) in ngram-based suggestions. Fixes #84.
- Fix internal usage of `std::codecvt` in edge case in function `to_wide()` and
  `to_narrow()`
- Fix not propagating recursion depth in spell_break(), which caused hangup.
  Fixes #85.
- Fix overwriting of PDB files when compiling with Visual Studio. This prevented
  debugging nuspell.dll. Fixes #86.
- Fix output of CLI tool to be more compatible to ispell and hunspell.

- Boost is no longer a dependency of the library at all. It is still a
  dependency of the CLI tool. Closes #79. Fixes #71.
- Use `std::string_view` in the public API instead of `const std::string&`. Also
  use it internally at various places.
- Build as shared library by default. Building as static is still possible via
  the CMake's variable `BUILD_SHARED_LIBS`.
- The public API is annotated with dll-export/visibility attributes, and also
  some private functions are annotated needed for testing. This reduces the file
  size. Closes #65.
- Use Unicode text segmentation by default in the CLI tool. Simple segmentation
  on white-space is still available via CLI option.

- Delete deprecated functions in the class Finder.
- Drop under-designed and undocumented feature in the CLI tool about personal
  dictionaries.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6ce55ebea9d195d0f1d69232a1910547092e6560

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 TODO             | 1 -
 nuspell/Makefile | 2 +-
 nuspell/PLIST    | 3 ++-
 nuspell/distinfo | 8 ++++----
 4 files changed, 7 insertions(+), 7 deletions(-)

diffs:
diff --git a/TODO b/TODO
index 52eddfa327..e501ac1ac3 100644
--- a/TODO
+++ b/TODO
@@ -92,7 +92,6 @@ Suggested package updates
 	o mythtv-0.28.0
 	o nautilus-open-terminal-0.19
 	o neovim-0.4.0
-	o nuspell-4.0.0
 	o ogmrip-1.0.0
 	o omega-1.2.10
 	o openblas-0.3.9
diff --git a/nuspell/Makefile b/nuspell/Makefile
index 4d9829593e..188ac1d746 100644
--- a/nuspell/Makefile
+++ b/nuspell/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	nuspell-3.1.2
+DISTNAME=	nuspell-4.0.0
 CATEGORIES=	textproc wip
 MASTER_SITES=	${MASTER_SITE_GITHUB:=nuspell/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
diff --git a/nuspell/PLIST b/nuspell/PLIST
index f4dfa46bce..e9c5733d11 100644
--- a/nuspell/PLIST
+++ b/nuspell/PLIST
@@ -3,13 +3,14 @@ bin/nuspell
 include/nuspell/aff_data.hxx
 include/nuspell/dictionary.hxx
 include/nuspell/finder.hxx
+include/nuspell/nuspell_export.h
 include/nuspell/structures.hxx
 lib/cmake/nuspell/NuspellConfig.cmake
 lib/cmake/nuspell/NuspellConfigVersion.cmake
 lib/cmake/nuspell/NuspellTargets-release.cmake
 lib/cmake/nuspell/NuspellTargets.cmake
 lib/libnuspell.${RUBY_DLEXT}
-lib/libnuspell.so.3
+lib/libnuspell.so.4
 lib/libnuspell.so.${PKGVERSION}
 lib/pkgconfig/nuspell.pc
 man/man1/nuspell.1
diff --git a/nuspell/distinfo b/nuspell/distinfo
index 4f551bf869..4279eaf713 100644
--- a/nuspell/distinfo
+++ b/nuspell/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (nuspell-3.1.2.tar.gz) = b6ff194a0a501ff3f6d964c39cb4d084c58b1bea
-RMD160 (nuspell-3.1.2.tar.gz) = b0bf7d83ee00cb01c61c9064bf6e7419c6252a11
-SHA512 (nuspell-3.1.2.tar.gz) = ed5206cb9ffa7e4ec6843988a75627d4ae7d5170444b6e7bd3496c1bf61c25412c4e68864800f2ad238d014b4e50d25282f367de2900f8a230f3ecc9ae5772be
-Size (nuspell-3.1.2.tar.gz) = 379029 bytes
+SHA1 (nuspell-4.0.0.tar.gz) = 9af0bf72188113bebb7c3025ff1f1f63bc29e0d2
+RMD160 (nuspell-4.0.0.tar.gz) = c62244513a6dfeeb50693b6e115c831ef11276e4
+SHA512 (nuspell-4.0.0.tar.gz) = 2b08e30c4ac91a243c74f21eaf4a8d55d8b1c834e0f293fea76a9f02660f2ee89fe4d4071b1b9ed97b8c1db80b0645c71f8746738d97fc3ae779a65dc1583d3b
+Size (nuspell-4.0.0.tar.gz) = 379136 bytes


Home | Main Index | Thread Index | Old Index