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:   wiz
Date:           Tue Oct 27 12:06:04 UTC 2026

Modified Files:
        pkgsrc/textproc/hunspell: Makefile PLIST distinfo
        pkgsrc/textproc/hunspell/patches: patch-src_tools_Makefile.am
Removed Files:
        pkgsrc/textproc/hunspell/patches: patch-configure.ac
            patch-src_parsers_latexparser.cxx

Log Message:
hunspell: update to 1.7.6.

2026-10-26: Hunspell 1.7.6 release:
  - add, add_with_flags, add_with_affix and remove apply the dictionary's
    ICONV rules to the word, as spell does, so a caller that converted the
    word itself must stop doing so (#616)
  - A personal dictionary exclusion such as *afterwards also rejects the
    word when the dictionary has it only as an affixed form (#1155)
  - stem and analyze give st: stem fields again with COMPLEXPREFIXES
  - analyze lists every analysis of a compound word, where a rejected
    split of the word could hide the splits after it
  - The text and XML parsers check the character after a character
    entity such as à (#686)
  - The interactive mode shows the first digit of a two digit
    suggestion number (#158)
  - The -a pipe interface checks a line of any length in one piece
    (#220)
  - The hunspell tool takes -- as the end of the options, the -u2 sed
    script escapes the word and the suggestion, and a zipped ODF file
    whose name starts with - can be checked
  - The hunspell tool no longer searches the OpenOffice.org 2.x and 3
    folders or LibreOffice's user wordbook folder for dictionaries, and
    searches /Library/Spelling and ~/Library/Spelling only on macOS
  - On Windows, search the share\hunspell, share\myspell and
    share\myspell\dicts folders of the installation that holds
    hunspell.exe
  - New configure option --disable-tools to build and install only the
    library
  - A static-only build records that in the installed hunvisapi.h, so
    its users need not define HUNSPELL_STATIC
  - Install the Hungarian hunspell.5 in hu/man5
  - Use Mozilla's own FileMgr and csutil code in MOZILLA_CLIENT builds
  - A CMake build of the library, as an alternative to configure (see
    README.md)
  - New configure option --enable-werror, off by default
  - Man page: the fallback dictionary is en_US, the SYNOPSIS lists -u,
    -U, -u2, -u3, -P and --trace (#1159), and -a reads a file with the
    pipe protocol too
  - Build fixes: MinGW, the BSDs, macOS, makealias without gawk or GNU
    sed, readline and curses detection, and the release tarball ships
    the CMake files and all the test data
  - oss-fuzz and Coverity fixes and hardening


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/textproc/hunspell/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/hunspell/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/hunspell/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/textproc/hunspell/patches/patch-configure.ac
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/textproc/hunspell/patches/patch-src_parsers_latexparser.cxx
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am

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.49 pkgsrc/textproc/hunspell/Makefile:1.50
--- pkgsrc/textproc/hunspell/Makefile:1.49      Mon Oct  5 08:18:37 2026
+++ pkgsrc/textproc/hunspell/Makefile   Tue Oct 27 12:06:03 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2026/10/05 08:18:37 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2026/10/27 12:06:03 wiz Exp $
 
-DISTNAME=      hunspell-1.7.5
+DISTNAME=      hunspell-1.7.6
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hunspell/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -39,12 +39,12 @@ PLIST_SUBST+=               DISTNAME=${DISTNAME}
 REPLACE_PERL+= src/tools/ispellaff2myspell
 REPLACE_BASH+= tests/test.sh
 
-# as of 1.7.5:
-# TOTAL: 174
-# PASS:  160
+# as of 1.7.6
+# TOTAL: 180
+# PASS:  165
 # SKIP:  1
 # XFAIL: 0
-# FAIL:  13
+# FAIL:  14
 # XPASS: 0
 # ERROR: 0
 

Index: pkgsrc/textproc/hunspell/PLIST
diff -u pkgsrc/textproc/hunspell/PLIST:1.10 pkgsrc/textproc/hunspell/PLIST:1.11
--- pkgsrc/textproc/hunspell/PLIST:1.10 Wed Sep 30 09:10:08 2026
+++ pkgsrc/textproc/hunspell/PLIST      Tue Oct 27 12:06:03 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2026/09/30 09:10:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2026/10/27 12:06:03 wiz Exp $
 bin/affixcompress
 bin/chmorph
 bin/hunspell
@@ -20,6 +20,7 @@ include/hunspell/w_char.hxx
 lib/libhunspell-1.7.la
 lib/pkgconfig/hunspell.pc
 man/hu/man1/hunspell.1
+man/hu/man5/hunspell.5
 man/man1/hunspell.1
 man/man1/hunzip.1
 man/man1/hzip.1

Index: pkgsrc/textproc/hunspell/distinfo
diff -u pkgsrc/textproc/hunspell/distinfo:1.21 pkgsrc/textproc/hunspell/distinfo:1.22
--- pkgsrc/textproc/hunspell/distinfo:1.21      Mon Oct  5 08:06:11 2026
+++ pkgsrc/textproc/hunspell/distinfo   Tue Oct 27 12:06:03 2026
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.21 2026/10/05 08:06:11 wiz Exp $
+$NetBSD: distinfo,v 1.22 2026/10/27 12:06:03 wiz Exp $
 
-BLAKE2s (hunspell-1.7.5.tar.gz) = 10cc339199e8fad460d958bd4f974bd7397093a129be54ba6bb6d4355f94fb2c
-SHA512 (hunspell-1.7.5.tar.gz) = 0d9e81e432bd41ca7c751a2d2fa5d285816f3ffd128196fd53e4e72a4777720fe6e4b092483e39fe9a44a66b0afabbefa49446b2d38bf2e154421a64b8f363e4
-Size (hunspell-1.7.5.tar.gz) = 585328 bytes
-SHA1 (patch-configure.ac) = 9916f560fe6b3be4b999c9ba0a7639c84d3b6fcb
+BLAKE2s (hunspell-1.7.6.tar.gz) = 14b01257f017182d67e6cbdd351429c02c79233fe287764501975fd3db86d21b
+SHA512 (hunspell-1.7.6.tar.gz) = b078c65c9ba0dd0016e1cd36e8e185c8707ec5d979177b91c93dff2ec5190f5cceb09a678580b5098cece8bf7cee4fd09ae4a3500dfe3c95a0a0345511afc433
+Size (hunspell-1.7.6.tar.gz) = 595358 bytes
 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
+SHA1 (patch-src_tools_Makefile.am) = 662cdeaca69d0db126f8660e65e70afe7078190d

Index: pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am
diff -u pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am:1.3 pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am:1.4
--- pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am:1.3    Thu May  7 16:34:35 2026
+++ pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am        Tue Oct 27 12:06:04 2026
@@ -1,14 +1,14 @@
-$NetBSD: patch-src_tools_Makefile.am,v 1.3 2026/05/07 16:34:35 adam Exp $
+$NetBSD: patch-src_tools_Makefile.am,v 1.4 2026/10/27 12:06:04 wiz Exp $
 
---- src/tools/Makefile.am.orig 2026-05-05 07:19:07.000000000 +0000
+--- src/tools/Makefile.am.orig 2026-10-26 16:29:20.000000000 +0000
 +++ src/tools/Makefile.am
 @@ -1,4 +1,4 @@
 -bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip
 +bin_PROGRAMS=hunspell-analyze chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip
  
- AM_CPPFLAGS=-I${top_builddir}/src/hunspell -I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers  -DDATADIR=\"$(datadir)\" $(HUNSPELL_STATIC_DEFINE)
+ AM_CPPFLAGS=-I${top_builddir}/src/hunspell -I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers  -DHUNSPELL_DATADIR=\"$(datadir)\" $(HUNSPELL_STATIC_DEFINE)
  
-@@ -6,8 +6,8 @@ hzip_SOURCES=hzip.cxx
+@@ -6,8 +6,8 @@ hunzip_LDADD = ../hunspell/libhunspell-1.7.la
  hunzip_SOURCES=hunzip.cxx
  hunzip_LDADD = ../hunspell/libhunspell-1.7.la
  
@@ -19,7 +19,7 @@ $NetBSD: patch-src_tools_Makefile.am,v 1
  
  example_SOURCES=example.cxx
  example_LDADD = ../hunspell/libhunspell-1.7.la
-@@ -17,8 +17,8 @@ nodist_hunspell_SOURCES= ../../config.h
+@@ -17,8 +17,8 @@ hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libpa
  hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \
        ../hunspell/libhunspell-1.7.la @CURSESLIB@ @READLINELIB@
  



Home | Main Index | Thread Index | Old Index