Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: third_party/hunspell/README

Issue 2544793003: [spellcheck] Updated Hunspell to 1.5.4 (Closed)
Patch Set: Updated patch with encoding change Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/hunspell/BUILD.gn ('k') | third_party/hunspell/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hunspell/README
diff --git a/third_party/hunspell/README b/third_party/hunspell/README
index ee34e264ba107d0629660a2acc21e2aa2133ba94..0085ba58ca77c8de18ba0122b4df4f2fb3033260 100644
--- a/third_party/hunspell/README
+++ b/third_party/hunspell/README
@@ -30,12 +30,14 @@ Main features of Hunspell spell checker and morphological analyzer:
- Free software (LGPL, GPL, MPL tri-license)
-Compiling on Unix/Linux
------------------------
+Compiling on Unix/Linux and others
+----------------------------------
+autoreconf -vfi
./configure
make
-make install
+make install #if neccesary prefix with sudo
+ldconfig #not needed on windows, on linux sudo may be needed
For dictionary development, use the --with-warnings option of configure.
@@ -43,59 +45,48 @@ For interactive user interface of Hunspell executable, use the --with-ui option.
The developer packages you need to compile Hunspell's interface:
-glibc-devel
+autoconf automake autopoint libtool g++
optional developer packages:
-ncurses (need for --with-ui)
+ncurses (need for --with-ui), eg. libncursesw5 for UTF-8
readline (for fancy input line editing,
configure parameter: --with-readline)
locale and gettext (but you can also use the
--with-included-gettext configure parameter)
-Hunspell distribution uses new Autoconf (2.59) and Automake (1.9).
-
Compiling on Windows
--------------------
-1. Compiling with Windows SDK
+1. Compiling with Visual Studio
+
+Download the free Visual Studio Community Edition of Microsoft, open the
+file hunspell/src/win_api/Hunspell.sln. Select the appropirate build (Debug,
+Release, Win32, x64) and press Build.
+
+2. Compiling with Mingw64 and MSYS2
+
+Download Msys2, update everything and install the following packages:
-Download the free Windows SDK of Microsoft, open a command prompt
-window and cd into hunspell/src/win_api. Use the following command
-to compile hunspell:
+pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-libtool
-vcbuild
+Open Mingw-w64 Win64 prompt and compile the same way as on Linux, see above.
-2. Compiling in Cygwin environment
+3. Compiling in Cygwin environment
Download and install Cygwin environment for Windows with the following
extra packages:
make
+automake
+autoconf
gcc-g++ development package
-mingw development package (for cygwin.dll free native Windows compilation)
ncurses, readline (for user interface)
iconv (character conversion)
-2.1. Cygwin1.dll dependent compiling
-
-Open a Cygwin shell, cd into the hunspell root directory:
-
-./configure
-make
-make install
-
-For dictionary development, use the --with-warnings option of configure.
-
-For interactive user interface of Hunspell executable, use the --with-ui option.
-
-readline configure parameter: --with-readline (for fancy input line editing)
-
-1.2. Cygwin1.dll free compiling
-
-Open a Cygwin shell, cd into the hunspell/src/win_api and
+3.1. Cygwin1.dll dependent compiling
-make -f Makefile.cygwin
+Same as on Linux.
Testing
-------
@@ -118,11 +109,11 @@ Documentation
-------------
features and dictionary format:
-man 4 hunspell
+man 5 hunspell
man hunspell
hunspell -h
-http://hunspell.sourceforge.net
+http://hunspell.github.io/
Usage
-----
@@ -169,11 +160,14 @@ Dictionaries
------------
Myspell & Hunspell dictionaries:
+http://extensions.libreoffice.org
+http://cgit.freedesktop.org/libreoffice/dictionaries
+http://extensions.openoffice.org
http://wiki.services.openoffice.org/wiki/Dictionaries
Aspell dictionaries (need some conversion):
ftp://ftp.gnu.org/gnu/aspell/dict
-Conversion steps: see relevant feature request at http://hunspell.sf.net.
+Conversion steps: see relevant feature request at http://hunspell.github.io/ .
László Németh
-nemeth at OOo
+nemeth at numbertext org
« no previous file with comments | « third_party/hunspell/BUILD.gn ('k') | third_party/hunspell/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698