pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New package for nuspell-3.0.0.
Module Name: pkgsrc-wip
Committed By: Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By: bsiegert
Date: Sun Feb 2 08:50:49 2020 +0000
Changeset: f2460298c54dbffd5cf46be7e744ee290a7a93f5
Added Files:
nuspell/DESCR
nuspell/Makefile
nuspell/PLIST
nuspell/distinfo
nuspell/patches/patch-src_nuspell_utils.cxx
nuspell/patches/patch-src_nuspell_utils.hxx
Log Message:
New package for nuspell-3.0.0.
Nuspell is a spell checker library and command-line program designed for
languages with rich morphology and complex word compounding. Nuspell is
a pure C++ re-implementation of Hunspell.
Main features of Nuspell spell checker:
- Full unicode support backed by ICU
- Backward compatibility with Hunspell dictionary file format
- Twofold affix stripping (for agglutinative languages, like Azeri,
Basque, Estonian, Finnish, Hungarian, Turkish, etc.)
- Support complex compounds (for example, Hungarian and German)
- Support language specific features (for example, special casing of
Azeri and Turkish dotted i, or German sharp s)
- Handle conditional affixes, circumfixes, fogemorphemes, forbidden
words, pseudoroots and homonyms.
- Free software. Licensed under GNU LGPL v3.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f2460298c54dbffd5cf46be7e744ee290a7a93f5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nuspell/DESCR | 16 ++++++++++++++++
nuspell/Makefile | 21 +++++++++++++++++++++
nuspell/PLIST | 14 ++++++++++++++
nuspell/distinfo | 8 ++++++++
nuspell/patches/patch-src_nuspell_utils.cxx | 16 ++++++++++++++++
nuspell/patches/patch-src_nuspell_utils.hxx | 13 +++++++++++++
6 files changed, 88 insertions(+)
diffs:
diff --git a/nuspell/DESCR b/nuspell/DESCR
new file mode 100644
index 0000000000..c77519084c
--- /dev/null
+++ b/nuspell/DESCR
@@ -0,0 +1,16 @@
+Nuspell is a spell checker library and command-line program designed for
+languages with rich morphology and complex word compounding. Nuspell is
+a pure C++ re-implementation of Hunspell.
+
+Main features of Nuspell spell checker:
+
+ - Full unicode support backed by ICU
+ - Backward compatibility with Hunspell dictionary file format
+ - Twofold affix stripping (for agglutinative languages, like Azeri,
+ Basque, Estonian, Finnish, Hungarian, Turkish, etc.)
+ - Support complex compounds (for example, Hungarian and German)
+ - Support language specific features (for example, special casing of
+ Azeri and Turkish dotted i, or German sharp s)
+ - Handle conditional affixes, circumfixes, fogemorphemes, forbidden
+ words, pseudoroots and homonyms.
+ - Free software. Licensed under GNU LGPL v3.
diff --git a/nuspell/Makefile b/nuspell/Makefile
new file mode 100644
index 0000000000..25d8dea949
--- /dev/null
+++ b/nuspell/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+GITHUB_TAG= v3.0.0
+DISTNAME= nuspell-3.0.0
+CATEGORIES= textproc wip
+MASTER_SITES= ${MASTER_SITE_GITHUB:=nuspell/}
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= https://nuspell.github.io/
+COMMENT= Free and Open Source C++ spell checking library
+LICENSE= gnu-lgpl-v3
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++17
+
+PKGCONFIG_OVERRIDE+= nuspell.pc.in
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nuspell/PLIST b/nuspell/PLIST
new file mode 100644
index 0000000000..b4f2a49d20
--- /dev/null
+++ b/nuspell/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+bin/nuspell
+include/nuspell/aff_data.hxx
+include/nuspell/dictionary.hxx
+include/nuspell/finder.hxx
+include/nuspell/structures.hxx
+include/nuspell/utils.hxx
+lib/cmake/nuspell/NuspellConfig.cmake
+lib/cmake/nuspell/NuspellConfigVersion.cmake
+lib/cmake/nuspell/NuspellTargets-noconfig.cmake
+lib/cmake/nuspell/NuspellTargets.cmake
+lib/libnuspell.a
+lib/pkgconfig/nuspell.pc
+share/doc/nuspell/README.md
diff --git a/nuspell/distinfo b/nuspell/distinfo
new file mode 100644
index 0000000000..e5cf59afe4
--- /dev/null
+++ b/nuspell/distinfo
@@ -0,0 +1,8 @@
+$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 (patch-src_nuspell_utils.hxx) = b5b4f5819cb98c6ec827f02f24755fd0a6de9edf
diff --git a/nuspell/patches/patch-src_nuspell_utils.cxx b/nuspell/patches/patch-src_nuspell_utils.cxx
new file mode 100644
index 0000000000..4e96a26a72
--- /dev/null
+++ b/nuspell/patches/patch-src_nuspell_utils.cxx
@@ -0,0 +1,16 @@
+$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
+
diff --git a/nuspell/patches/patch-src_nuspell_utils.hxx b/nuspell/patches/patch-src_nuspell_utils.hxx
new file mode 100644
index 0000000000..0f12f709b8
--- /dev/null
+++ b/nuspell/patches/patch-src_nuspell_utils.hxx
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/nuspell/utils.hxx.orig 2019-11-23 18:52:51.000000000 +0000
++++ src/nuspell/utils.hxx
+@@ -111,7 +111,7 @@ class Encoding_Converter {
+ };
+
+ //#if _POSIX_VERSION >= 200809L
+-#ifdef _POSIX_VERSION
++#if defined(_POSIX_VERSION) && !defined(__NetBSD__)
+ class Setlocale_To_C_In_Scope {
+ locale_t old_loc = nullptr;
+
Home |
Main Index |
Thread Index |
Old Index