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:   bsiegert
Date:           Tue Oct 23 11:45:34 UTC 2018

Modified Files:
        pkgsrc/textproc/hunspell: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/textproc/hunspell/patches: patch-aa patch-ab patch-ac
Added Files:
        pkgsrc/textproc/hunspell/patches: patch-src_tools_Makefile.am
Removed Files:
        pkgsrc/textproc/hunspell/patches: patch-src_tools_Makefile.in
            patch-src_tools_hunspell.cxx

Log Message:
Update hunspell to 1.6.2.

1.6.2

Library changes: no. Same as 1.6.1.
Command line tool:
-   Added German translation
-   Fixed bug with wrong output encoding, not respecting system locale.

1.6.1

Library changes:
-   Performance improvements in suggest()
-   Fixes regressions for Hungarian related to compounding.
-   Fixes regressions for Korean related to ICONV.
Command line tool:
-   Added Tajik translation
-   Fix regarding serching of OOo dicts installed in user folder
Manpages:
-   Fix microsoft-cp1251 to cp1251. Dicts should not use the first.
-   Typos.

1.6.0

Changes in the library:
-   Performance improvement in ngsuggest(), suggestions should be faster.
-   Revert MAXWORDLEN to 100 as in 1.3.3 for performance reasons.
-   MAXWORDLEN can be set during build time with -D defines.
-   Fix crash when word with 102 consecutive X is spelled.
Changes in the command line tool:
-   -D shows all loaded dictionares insted of only the first.
-   -D properly lists all available dictionaries on Windows.

1.5.4

Fixes bug related to the Hungarian dictionary and the command COMPOUNDSYLLABLE

1.5.3

Remove a unneded #include header in the public hunspell.hxx

1.5.2

Fixes backward compatibility with 1.4 at API level. Now it should be complete.

1.5.1

-   Lot of stability fixes
-   Fixed compilation errors on various systems (Windows, FreeBSD)
-   Small performance improvement compared to 1.4.0
-   Added new API with C++ types (string, vector), yet full API backward compatibility with 1.4 is kept

1.4.1

Past begin() iterator decrement error

VS Debug build threw error on decrement past begin.

1.4.0

New release that strips out fixed length buffers from large parts of the library
Note: dictmgr.hxx header is dropped


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/textproc/hunspell/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/hunspell/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/hunspell/buildlink3.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/hunspell/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/hunspell/patches/patch-aa
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/hunspell/patches/patch-ab \
    pkgsrc/textproc/hunspell/patches/patch-ac
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.in \
    pkgsrc/textproc/hunspell/patches/patch-src_tools_hunspell.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.27 pkgsrc/textproc/hunspell/Makefile:1.28
--- pkgsrc/textproc/hunspell/Makefile:1.27      Fri Oct 19 17:57:42 2018
+++ pkgsrc/textproc/hunspell/Makefile   Tue Oct 23 11:45:34 2018
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.27 2018/10/19 17:57:42 bsiegert Exp $
+# $NetBSD: Makefile,v 1.28 2018/10/23 11:45:34 bsiegert Exp $
 
-DISTNAME=      hunspell-1.3.3
-PKGREVISION=   8
+DISTNAME=      hunspell-1.6.2
 CATEGORIES=    textproc
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=hunspell/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=hunspell/}
+GITHUB_PROJECT=        hunspell
+GITHUB_TAG=    v1.6.2
 
 MAINTAINER=    ahoka%NetBSD.org@localhost
-HOMEPAGE=      http://hunspell.sourceforge.net/
+HOMEPAGE=      https://hunspell.github.io/
 COMMENT=       Improved spellchecker
 LICENSE=       mpl-1.1 OR gnu-lgpl-v2.1 OR gnu-gpl-v2
 
-WRKSRC=                        ${WRKDIR}/${DISTNAME:C/-[0-9]+$//}
+#WRKSRC=                       ${WRKDIR}/${DISTNAME:C/-[0-9]+$//}
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
-USE_TOOLS+=            pkg-config perl:run
+USE_TOOLS+=            pkg-config perl:run autoreconf autoconf automake
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         c c++03
 
@@ -34,6 +35,10 @@ PLIST_SUBST+=                DISTNAME=${DISTNAME}
 
 REPLACE_PERL=  src/tools/ispellaff2myspell
 
+post-patch:
+       cd ${WRKSRC} && ${TOOLS_PATH.autoreconf} -v -i
+       
+
 .include "options.mk"
 
 .include "../../converters/libiconv/buildlink3.mk"

Index: pkgsrc/textproc/hunspell/PLIST
diff -u pkgsrc/textproc/hunspell/PLIST:1.7 pkgsrc/textproc/hunspell/PLIST:1.8
--- pkgsrc/textproc/hunspell/PLIST:1.7  Fri Oct 19 17:57:42 2018
+++ pkgsrc/textproc/hunspell/PLIST      Tue Oct 23 11:45:34 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2018/10/19 17:57:42 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/10/23 11:45:34 bsiegert Exp $
 bin/affixcompress
 bin/chmorph
 bin/hunspell
@@ -11,25 +11,14 @@ bin/ispellaff2myspell
 bin/makealias
 bin/wordforms
 bin/wordlist2hunspell
-include/hunspell/affentry.hxx
-include/hunspell/affixmgr.hxx
 include/hunspell/atypes.hxx
-include/hunspell/baseaffix.hxx
 include/hunspell/csutil.hxx
-include/hunspell/dictmgr.hxx
-include/hunspell/filemgr.hxx
-include/hunspell/hashmgr.hxx
 include/hunspell/htypes.hxx
 include/hunspell/hunspell.h
 include/hunspell/hunspell.hxx
 include/hunspell/hunvisapi.h
-include/hunspell/hunzip.hxx
-include/hunspell/langnum.hxx
-include/hunspell/phonet.hxx
-include/hunspell/replist.hxx
-include/hunspell/suggestmgr.hxx
 include/hunspell/w_char.hxx
-lib/libhunspell-1.3.la
+lib/libhunspell-1.6.la
 lib/pkgconfig/hunspell.pc
 man/hu/man1/hunspell.1
 man/man1/hunspell.1
@@ -37,5 +26,3 @@ man/man1/hunzip.1
 man/man1/hzip.1
 man/man3/hunspell.3
 man/man5/hunspell.5
-share/locale/hu/LC_MESSAGES/hunspell.mo
-share/locale/it/LC_MESSAGES/hunspell.mo

Index: pkgsrc/textproc/hunspell/buildlink3.mk
diff -u pkgsrc/textproc/hunspell/buildlink3.mk:1.4 pkgsrc/textproc/hunspell/buildlink3.mk:1.5
--- pkgsrc/textproc/hunspell/buildlink3.mk:1.4  Mon Feb 13 14:46:11 2012
+++ pkgsrc/textproc/hunspell/buildlink3.mk      Tue Oct 23 11:45:34 2018
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2012/02/13 14:46:11 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2018/10/23 11:45:34 bsiegert Exp $
 
 BUILDLINK_TREE+=       hunspell
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        hunspell
 HUNSPELL_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.hunspell+=       hunspell>=1.2.2
-BUILDLINK_ABI_DEPENDS.hunspell+=       hunspell>=1.3.2
+BUILDLINK_ABI_DEPENDS.hunspell+=       hunspell>=1.6.2
 BUILDLINK_PKGSRCDIR.hunspell?=         ../../textproc/hunspell
 .endif # HUNSPELL_BUILDLINK3_MK
 

Index: pkgsrc/textproc/hunspell/distinfo
diff -u pkgsrc/textproc/hunspell/distinfo:1.10 pkgsrc/textproc/hunspell/distinfo:1.11
--- pkgsrc/textproc/hunspell/distinfo:1.10      Fri Oct 19 17:57:42 2018
+++ pkgsrc/textproc/hunspell/distinfo   Tue Oct 23 11:45:34 2018
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.10 2018/10/19 17:57:42 bsiegert Exp $
+$NetBSD: distinfo,v 1.11 2018/10/23 11:45:34 bsiegert Exp $
 
-SHA1 (hunspell-1.3.3.tar.gz) = 219b20f305d6690f666ff3864a16e4674908a553
-RMD160 (hunspell-1.3.3.tar.gz) = 6e45fdf0c602f0694f414b0cb33de34a5bf95683
-SHA512 (hunspell-1.3.3.tar.gz) = 7599981d002a4a032c41c83f6287243a4942b0e25c408049a3ba86c16f63ce964800a3ac325ace0402b0d7256690c4a4151a66f19a8f58cc455af0498bb1af04
-Size (hunspell-1.3.3.tar.gz) = 986081 bytes
-SHA1 (patch-aa) = b03a51d88bd57786f4a0ac01a3b760b4d8ba385a
-SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0
-SHA1 (patch-ac) = 27cad6078b55bce7144f462ddebac9887392c93b
-SHA1 (patch-src_tools_Makefile.in) = f365394c00a52ade0267f7f6469e34dbcb5a2c2a
-SHA1 (patch-src_tools_hunspell.cxx) = c5fd2ec5c56ee62c1547fbbd69aee760c6002960
+SHA1 (hunspell-1.6.2.tar.gz) = 6572d1459deafd358b886d4482c179b715bc92e8
+RMD160 (hunspell-1.6.2.tar.gz) = f966f805bfbd4b69bb10e573cc271314a0411ef6
+SHA512 (hunspell-1.6.2.tar.gz) = a23127f1271da95ac06a1fb2f57b659485e959567b61da05b2bb350684003a0fb7e882b5e524c465fd890f79f513ed03174f38611989a1c09081147c47d6da11
+Size (hunspell-1.6.2.tar.gz) = 721165 bytes
+SHA1 (patch-aa) = 8c6102ddb2e449b6f1abc23f679e0f6f38bfd0b5
+SHA1 (patch-ab) = ee127b1d8f55ceefa807c2fa440885b4fa5d029c
+SHA1 (patch-ac) = c25cdfe80452cb4ca9850354c9fa8581c787c086
+SHA1 (patch-src_tools_Makefile.am) = 5a5bdd02f8acc64f0bd55c4d3ec11c2481bef851

Index: pkgsrc/textproc/hunspell/patches/patch-aa
diff -u pkgsrc/textproc/hunspell/patches/patch-aa:1.2 pkgsrc/textproc/hunspell/patches/patch-aa:1.3
--- pkgsrc/textproc/hunspell/patches/patch-aa:1.2       Mon Feb 13 14:42:59 2012
+++ pkgsrc/textproc/hunspell/patches/patch-aa   Tue Oct 23 11:45:34 2018
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.2 2012/02/13 14:42:59 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2018/10/23 11:45:34 bsiegert Exp $
 
---- src/hunspell/hunzip.hxx.orig       2010-04-15 11:22:09.000000000 +0000
+--- src/hunspell/hunzip.hxx.orig       2017-09-03 11:38:44.000000000 +0000
 +++ src/hunspell/hunzip.hxx
-@@ -4,6 +4,10 @@
- #ifndef _HUNZIP_HXX_
- #define _HUNZIP_HXX_
+@@ -41,6 +41,10 @@
+ #ifndef HUNZIP_HXX_
+ #define HUNZIP_HXX_
  
 +#ifdef __SUNPRO_CC
 +#include <iostream>

Index: pkgsrc/textproc/hunspell/patches/patch-ab
diff -u pkgsrc/textproc/hunspell/patches/patch-ab:1.1 pkgsrc/textproc/hunspell/patches/patch-ab:1.2
--- pkgsrc/textproc/hunspell/patches/patch-ab:1.1       Mon Jan 26 20:09:48 2009
+++ pkgsrc/textproc/hunspell/patches/patch-ab   Tue Oct 23 11:45:34 2018
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2009/01/26 20:09:48 sketch Exp $
+$NetBSD: patch-ab,v 1.2 2018/10/23 11:45:34 bsiegert Exp $
 
---- src/hunspell/phonet.cxx.orig       Mon Jan 26 19:59:48 2009
-+++ src/hunspell/phonet.cxx    Mon Jan 26 20:05:39 2009
-@@ -42,6 +42,15 @@
+--- src/hunspell/phonet.cxx.orig       2017-09-03 11:38:44.000000000 +0000
++++ src/hunspell/phonet.cxx
+@@ -35,6 +35,15 @@
  #include "csutil.hxx"
  #include "phonet.hxx"
  
@@ -15,6 +15,6 @@ $NetBSD: patch-ab,v 1.1 2009/01/26 20:09
 +using std::strstr;
 +#endif
 +
- void init_phonet_hash(phonetable & parms) 
-   {
-     int i, k;
+ void init_phonet_hash(phonetable& parms) {
+   for (int i = 0; i < HASHSIZE; i++) {
+     parms.hash[i] = -1;
Index: pkgsrc/textproc/hunspell/patches/patch-ac
diff -u pkgsrc/textproc/hunspell/patches/patch-ac:1.1 pkgsrc/textproc/hunspell/patches/patch-ac:1.2
--- pkgsrc/textproc/hunspell/patches/patch-ac:1.1       Tue Sep 22 09:16:51 2009
+++ pkgsrc/textproc/hunspell/patches/patch-ac   Tue Oct 23 11:45:34 2018
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1 2009/09/22 09:16:51 sketch Exp $
+$NetBSD: patch-ac,v 1.2 2018/10/23 11:45:34 bsiegert Exp $
 
---- src/hunspell/replist.cxx.orig      Sat Nov  1 14:09:51 2008
-+++ src/hunspell/replist.cxx   Tue Sep 22 10:12:37 2009
-@@ -14,6 +14,15 @@
+--- src/hunspell/replist.cxx.orig      2017-09-03 11:38:44.000000000 +0000
++++ src/hunspell/replist.cxx
+@@ -76,6 +76,15 @@
  #include "replist.hxx"
  #include "csutil.hxx"
  
@@ -16,5 +16,5 @@ $NetBSD: patch-ac,v 1.1 2009/09/22 09:16
 +#endif
 +
  RepList::RepList(int n) {
-     dat = (replentry **) malloc(sizeof(replentry *) * n);
-     if (dat == 0) size = 0; else size = n;
+   dat = (replentry**)malloc(sizeof(replentry*) * n);
+   if (dat == 0)

Added files:

Index: pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am
diff -u /dev/null pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am:1.1
--- /dev/null   Tue Oct 23 11:45:34 2018
+++ pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am        Tue Oct 23 11:45:34 2018
@@ -0,0 +1,32 @@
+$NetBSD: patch-src_tools_Makefile.am,v 1.1 2018/10/23 11:45:34 bsiegert Exp $
+
+--- src/tools/Makefile.am.orig 2017-09-03 11:38:44.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
+ 
+@@ -6,8 +6,8 @@ hzip_SOURCES=hzip.cxx
+ hunzip_SOURCES=hunzip.cxx
+ hunzip_LDADD = ../hunspell/libhunspell-1.6.la
+ 
+-munch_SOURCES=munch.cxx munch.h
+-unmunch_SOURCES=unmunch.cxx unmunch.h
++hunspell_munch_SOURCES=munch.cxx munch.h
++hunspell_unmunch_SOURCES=unmunch.cxx unmunch.h
+ 
+ example_SOURCES=example.cxx
+ example_LDADD = ../hunspell/libhunspell-1.6.la
+@@ -16,8 +16,8 @@ hunspell_SOURCES=hunspell.cxx
+ hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \
+       ../hunspell/libhunspell-1.6.la @CURSESLIB@ @READLINELIB@
+ 
+-analyze_SOURCES=analyze.cxx
+-analyze_LDADD = ../hunspell/libhunspell-1.6.la
++hunspell_analyze_SOURCES=analyze.cxx
++hunspell_analyze_LDADD = ../hunspell/libhunspell-1.6.la
+ 
+ bulkcheck_SOURCES=bulkcheck.cxx
+ bulkcheck_LDADD = ../hunspell/libhunspell-1.6.la



Home | Main Index | Thread Index | Old Index