Skip to content

Commit

Permalink
Update hunspell to 1.7.2
Browse files Browse the repository at this point in the history
Signed-off-by: “LiMinggang” <[email protected]>
  • Loading branch information
LiMinggang committed Dec 1, 2023
1 parent 474cafe commit 6d46881
Show file tree
Hide file tree
Showing 687 changed files with 87,209 additions and 25,965 deletions.
2,394 changes: 1,171 additions & 1,223 deletions spellchecker/hunspell/ABOUT-NLS

Large diffs are not rendered by default.

470 changes: 470 additions & 0 deletions spellchecker/hunspell/COPYING.MPL

Large diffs are not rendered by default.

320 changes: 159 additions & 161 deletions spellchecker/hunspell/INSTALL

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion spellchecker/hunspell/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pkgconfdir = $(libdir)/pkgconfig
pkgconf_DATA = hunspell.pc

EXTRA_DIST = license.myspell license.hunspell \
ChangeLog.O COPYING.LESSER hunspell.pc.in
ChangeLog.O COPYING.LESSER COPYING.MPL hunspell.pc.in
33 changes: 18 additions & 15 deletions spellchecker/hunspell/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.15 from Makefile.am.
# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2014 Free Software Foundation, Inc.
# Copyright (C) 1994-2017 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Expand Down Expand Up @@ -90,14 +90,16 @@ build_triplet = @build@
host_triplet = @host@
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
$(top_srcdir)/m4/visibility.m4 $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
$(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/visibility.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
Expand Down Expand Up @@ -276,6 +278,7 @@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GMSGFMT = @GMSGFMT@
GMSGFMT_015 = @GMSGFMT_015@
GREP = @GREP@
HAVE_CXX11 = @HAVE_CXX11@
HAVE_VISIBILITY = @HAVE_VISIBILITY@
HUNSPELL_VERSION_MAJOR = @HUNSPELL_VERSION_MAJOR@
HUNSPELL_VERSION_MINOR = @HUNSPELL_VERSION_MINOR@
Expand Down Expand Up @@ -390,7 +393,7 @@ SUBDIRS = po src man tests
pkgconfdir = $(libdir)/pkgconfig
pkgconf_DATA = hunspell.pc
EXTRA_DIST = license.myspell license.hunspell \
ChangeLog.O COPYING.LESSER hunspell.pc.in
ChangeLog.O COPYING.LESSER COPYING.MPL hunspell.pc.in

all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
Expand Down Expand Up @@ -648,7 +651,7 @@ distdir: $(DISTFILES)
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)

dist-bzip2: distdir
Expand All @@ -674,7 +677,7 @@ dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)

dist-zip: distdir
Expand All @@ -692,7 +695,7 @@ dist dist-all:
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
Expand All @@ -702,7 +705,7 @@ distcheck: dist
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
Expand Down
6 changes: 6 additions & 0 deletions spellchecker/hunspell/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2022-08-22: Hunspell 1.7.1 release:
- Merge chromium fix for #714 OOB string write in hunspell
- Merge firefox fix for #756 various issues parsing incomplete aff files
- Fix #492 crash with hunspell -l -r
- Merge in weblate translations

2018-11-12: Hunspell 1.7.0 release:

New features and bug fixes by L�szl� N�meth, supported by FSF.hu Foundation:
Expand Down
30 changes: 26 additions & 4 deletions spellchecker/hunspell/README
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ Main features of Hunspell command line tool, developed by László Németh:

See man hunspell, man 3 hunspell, man 5 hunspell for complete manual.

Translations: Hunspell has been translated into several languages already. If your language is missing or incomplete, please use [Weblate](https://hosted.weblate.org/engage/hunspell/) to help translate Hunspell.

<a href="https://hosted.weblate.org/engage/hunspell/">
<img src="https://hosted.weblate.org/widgets/hunspell/-/translations/horizontal-auto.svg" alt="Stanje prijevoda" />
</a>

# Dependencies

Build only dependencies:
Expand Down Expand Up @@ -95,7 +101,7 @@ For dictionary development, use the `--with-warnings` option of
configure.

For interactive user interface of Hunspell executable, use the
`--with-ui option`.
`--with-ui` option.

Optional developer packages:

Expand All @@ -115,7 +121,11 @@ dependencies are build with that.
brew install autoconf automake libtool gettext
brew link gettext --force

Then run autoreconf, configure, make. See above.
Then run:

autoreconf -vfi
./configure
make

# Compiling on Windows

Expand Down Expand Up @@ -297,15 +307,27 @@ Linking with Hunspell static library:
# or better, use pkg-config
g++ $(pkg-config --cflags --libs hunspell) example.cxx

# Installing Hunspell (vcpkg)

Alternatively, you can build and install hunspell using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install hunspell

The hunspell port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.

## Dictionaries

Hunspell (MySpell) dictionaries:

- https://wiki.documentfoundation.org/Language_support_of_LibreOffice
- http://cgit.freedesktop.org/libreoffice/dictionaries
- http://extensions.libreoffice.org
- http://extensions.openoffice.org
- http://wiki.services.openoffice.org/wiki/Dictionaries
- https://extensions.openoffice.org
- https://wiki.openoffice.org/wiki/Dictionaries

Aspell dictionaries (conversion: man 5 hunspell):

Expand Down
Loading

0 comments on commit 6d46881

Please sign in to comment.