Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

128.3. hunspell-1.7.4

Spell checker and morphological analyser — the library LibreOffice, Firefox and enchant check through

1.7.4-1 · MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later · 0.5 SBU · 1.2 MiB, 32 files · 41_system, 265 of 1047 · ports/core/spelling/hunspell

Homepage: https://hunspell.github.io/

Why it is in KDOS. The comment above the 6 ports from aspell to enchant in script/phases/41_system/packages.d/spelling.txt:

Spell checking: the Aspell library and command with its English dictionary, Hunspell with its English dictionary and the MyThes thesaurus, and enchant over both. recoll's suggestions, mc's editor, weechat and profanity check through enchant; LibreOffice, Firefox, Thunderbird and the KDE applications read the Hunspell dictionary directly.

Depends on: gettext, ncurses, readline.

Required by (12): calibre, enchant, goldendict-ng, konqueror, libreoffice, lokalize, lyx, mythes, qt6-qtvirtualkeyboard, sonnet, sonnet-qt5, texstudio.

Sources: hunspell-1.7.4.tar.gz (1.1 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install hunspell'

build.sh:

./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--disable-static \
	--with-ui \
	--with-readline
make
make DESTDIR=$PKG install

Programs: affixcompress, analyze, chmorph, hunspell, hunzip, hzip, ispellaff2myspell, makealias, munch, unmunch, wordforms, wordlist2hunspell.

Libraries: libhunspell-1.7.so.

Directories: /usr/include/hunspell, /usr/share/licenses/hunspell.