pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hunspell



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 30 09:10:08 UTC 2026

Modified Files:
        pkgsrc/textproc/hunspell: Makefile PLIST distinfo
Added Files:
        pkgsrc/textproc/hunspell/patches: patch-src_hunspell_hunzip.hxx
            patch-src_hunspell_phonet.cxx patch-src_hunspell_replist.cxx
Removed Files:
        pkgsrc/textproc/hunspell/patches: patch-aa patch-ab patch-ac

Log Message:
hunspell: updated to 1.7.4

1.7.4
- New --trace option, and Hunspell::set_trace_callback in the library,
  to report how each word was accepted or rejected, for dictionary
  developers
- Add version macros in hunversion.h, and
  Hunspell_get_library_version / Hunspell::get_library_version
- Search $XDG_DATA_HOME/hunspell (default ~/.local/share/hunspell)
  and the hunspell folder of each $XDG_DATA_DIRS entry for
  dictionaries, and %APPDATA%\hunspell on Windows
- Search LibreOffice's dictionary folders, recursively, on Windows and
  POSIX
- New --no-default-personal option to leave out ~/.hunspell_<dict>
- Fix morphological analysis of compound words whose parts carry
  affixes
- CHECKCOMPOUNDPATTERN conditions match flags from continuation
  classes
- Much faster ICONV handling with a trie (ssvb), and shorter ICONV/REP
  keys are retried when the longest is anchored
- Lower memory use when loading dictionaries (rvandermeulen)
- Unicode 16.0 character tables
- Affix and compound fixes
- Suggestion fixes
- Morphology fixes
- Command line fixes
- Man page corrections and additions
- oss-fuzz fixes and hardening, and a new morphfuzzer
- Require C++14
- Build fixes: MSVC, abi-check
- Merge in weblate translations, new: Irish, Venetian


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/textproc/hunspell/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/hunspell/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/hunspell/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/textproc/hunspell/patches/patch-aa
cvs rdiff -u -r1.3 -r0 pkgsrc/textproc/hunspell/patches/patch-ab \
    pkgsrc/textproc/hunspell/patches/patch-ac
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/hunspell/patches/patch-src_hunspell_hunzip.hxx \
    pkgsrc/textproc/hunspell/patches/patch-src_hunspell_phonet.cxx \
    pkgsrc/textproc/hunspell/patches/patch-src_hunspell_replist.cxx

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

Modified files:

Index: pkgsrc/textproc/hunspell/Makefile
diff -u pkgsrc/textproc/hunspell/Makefile:1.46 pkgsrc/textproc/hunspell/Makefile:1.47
--- pkgsrc/textproc/hunspell/Makefile:1.46      Thu May  7 16:34:35 2026
+++ pkgsrc/textproc/hunspell/Makefile   Wed Sep 30 09:10:08 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2026/05/07 16:34:35 adam Exp $
+# $NetBSD: Makefile,v 1.47 2026/09/30 09:10:08 adam Exp $
 
-DISTNAME=      hunspell-1.7.3
+DISTNAME=      hunspell-1.7.4
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hunspell/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -18,6 +18,7 @@ USE_LANGUAGES=                c c++
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-ui
 PKGCONFIG_OVERRIDE+=   hunspell.pc.in
+TEST_TARGET=           check
 
 GCC_REQD+=             7
 FAKE_NCURSES=          yes

Index: pkgsrc/textproc/hunspell/PLIST
diff -u pkgsrc/textproc/hunspell/PLIST:1.9 pkgsrc/textproc/hunspell/PLIST:1.10
--- pkgsrc/textproc/hunspell/PLIST:1.9  Fri Nov 16 13:02:20 2018
+++ pkgsrc/textproc/hunspell/PLIST      Wed Sep 30 09:10:08 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/11/16 13:02:20 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/09/30 09:10:08 adam Exp $
 bin/affixcompress
 bin/chmorph
 bin/hunspell
@@ -14,6 +14,7 @@ bin/wordlist2hunspell
 include/hunspell/atypes.hxx
 include/hunspell/hunspell.h
 include/hunspell/hunspell.hxx
+include/hunspell/hunversion.h
 include/hunspell/hunvisapi.h
 include/hunspell/w_char.hxx
 lib/libhunspell-1.7.la

Index: pkgsrc/textproc/hunspell/distinfo
diff -u pkgsrc/textproc/hunspell/distinfo:1.19 pkgsrc/textproc/hunspell/distinfo:1.20
--- pkgsrc/textproc/hunspell/distinfo:1.19      Thu May  7 16:34:35 2026
+++ pkgsrc/textproc/hunspell/distinfo   Wed Sep 30 09:10:08 2026
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.19 2026/05/07 16:34:35 adam Exp $
+$NetBSD: distinfo,v 1.20 2026/09/30 09:10:08 adam Exp $
 
-BLAKE2s (hunspell-1.7.3.tar.gz) = b83173b9ea6ab62c11e4da75bce7ec2ef9e65d3f849d0b50e1504ef725e0e55a
-SHA512 (hunspell-1.7.3.tar.gz) = f279ae2c7cd71edc2a1a5977e27426205d58f6520011dfdce702073e4ca6ab439b4618dde4482cdb5b8176650d7b97c1275038b6c749134251094a59ef5a919a
-Size (hunspell-1.7.3.tar.gz) = 1036511 bytes
-SHA1 (patch-aa) = 75bc2e099acf2bf3b1caba75b616ef38ee851b70
-SHA1 (patch-ab) = 489e8e4f978ff531322a445612f836c2d90e4e64
-SHA1 (patch-ac) = 869175eceeaba245ddda65ce6043eb243c6dd039
+BLAKE2s (hunspell-1.7.4.tar.gz) = debf1ad7a12f79125ced73c751a3c05e94b5793146d140541e828c8583989455
+SHA512 (hunspell-1.7.4.tar.gz) = 70b90d93419e9c99c94c0825b077aa5b46dadc16831ced54b46cf0898b3102d8374e237b9a63ab8ee4b47f2db40222af15e4def7626aa3945450128885ce261d
+Size (hunspell-1.7.4.tar.gz) = 583618 bytes
 SHA1 (patch-configure.ac) = 9916f560fe6b3be4b999c9ba0a7639c84d3b6fcb
+SHA1 (patch-src_hunspell_hunzip.hxx) = 75bc2e099acf2bf3b1caba75b616ef38ee851b70
+SHA1 (patch-src_hunspell_phonet.cxx) = 489e8e4f978ff531322a445612f836c2d90e4e64
+SHA1 (patch-src_hunspell_replist.cxx) = 9775f9f944ec533b91b4a4856e1ece7877ec7f7b
 SHA1 (patch-src_parsers_latexparser.cxx) = 0107d2b015cb85de3d535524be4429f68692dc20
 SHA1 (patch-src_tools_Makefile.am) = 4781ab63ffdd92236145918bb8800711a12b6dd0

Added files:

Index: pkgsrc/textproc/hunspell/patches/patch-src_hunspell_hunzip.hxx
diff -u /dev/null pkgsrc/textproc/hunspell/patches/patch-src_hunspell_hunzip.hxx:1.1
--- /dev/null   Wed Sep 30 09:10:08 2026
+++ pkgsrc/textproc/hunspell/patches/patch-src_hunspell_hunzip.hxx      Wed Sep 30 09:10:08 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_hunspell_hunzip.hxx,v 1.1 2026/09/30 09:10:08 adam Exp $
+
+--- src/hunspell/hunzip.hxx.orig       2022-12-29 20:10:49.000000000 +0000
++++ src/hunspell/hunzip.hxx
+@@ -41,6 +41,10 @@
+ #ifndef HUNZIP_HXX_
+ #define HUNZIP_HXX_
+ 
++#ifdef __SUNPRO_CC
++#include <iostream>
++#endif
++
+ #include "hunvisapi.h"
+ 
+ #include <cstdio>
Index: pkgsrc/textproc/hunspell/patches/patch-src_hunspell_phonet.cxx
diff -u /dev/null pkgsrc/textproc/hunspell/patches/patch-src_hunspell_phonet.cxx:1.1
--- /dev/null   Wed Sep 30 09:10:08 2026
+++ pkgsrc/textproc/hunspell/patches/patch-src_hunspell_phonet.cxx      Wed Sep 30 09:10:08 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_hunspell_phonet.cxx,v 1.1 2026/09/30 09:10:08 adam Exp $
+
+--- src/hunspell/phonet.cxx.orig       2022-12-29 20:10:49.000000000 +0000
++++ src/hunspell/phonet.cxx
+@@ -35,6 +35,15 @@
+ #include "csutil.hxx"
+ #include "phonet.hxx"
+ 
++#ifdef __SUNPRO_CC
++using std::isalpha;
++using std::isdigit;
++using std::strchr;
++using std::strcpy;
++using std::strlen;
++using std::strstr;
++#endif
++
+ void init_phonet_hash(phonetable& parms) {
+   memset(parms.hash, 0xff, HASHSIZE * sizeof(int));
+ 
Index: pkgsrc/textproc/hunspell/patches/patch-src_hunspell_replist.cxx
diff -u /dev/null pkgsrc/textproc/hunspell/patches/patch-src_hunspell_replist.cxx:1.1
--- /dev/null   Wed Sep 30 09:10:08 2026
+++ pkgsrc/textproc/hunspell/patches/patch-src_hunspell_replist.cxx     Wed Sep 30 09:10:08 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_hunspell_replist.cxx,v 1.1 2026/09/30 09:10:08 adam Exp $
+
+--- src/hunspell/replist.cxx.orig      2026-09-27 15:18:58.000000000 +0000
++++ src/hunspell/replist.cxx
+@@ -76,6 +76,15 @@
+ #include "replist.hxx"
+ #include "csutil.hxx"
+ 
++#ifdef __SUNPRO_CC
++using std::free;
++using std::malloc;
++using std::strcmp;
++using std::strcpy;
++using std::strlen;
++using std::strncmp;
++#endif
++
+ RepList::RepList(int n) {
+   dat.reserve(std::min(n, 16384));
+   can_use_trie = true;



Home | Main Index | Thread Index | Old Index