Landry Breuil wrote, On 06/16/14 23:29:
Spellchecking was fixed_after_  5.5 was branched, so
you'll either have to:
- upgrade to -current to get seamonkey 2.26, which*should*  be fixed
- backport the fix, which consist in rebuilding the package adding
   --with-system-hunspell to CONFIGURE_ARGS.

After backporting the fix above to the 5.5 release ports, I experienced a hellacious build. First, I was running out of drive space on my SSD. Then the build was exhausting memory at the linking stage. So I set WRKOBJDIR and `ulimit -d unlimited` to get past that. However, the spell checker was still broken.

Finally, Google told me to use `--enable-system-hunspell` instead of `--with-system-hunspell`. I should have recognized the format just by looking at the other CONFIGURE_ARGS. Now I have a working spell checker! Thanks Landry and Stuart for your help.

The remainder of this email is just an FYI.

The Seamonkey build required 6.2 GB of disk space (not including build requirements) and 2300 MB of RAM at peak. Dang!

Also, during my troubleshooting phase, I found dictionaries scattered throughout the filesystem:

1. /usr/local/lib/seamonkey-2.23/dictionaries/
2. /usr/local/share/mozilla-dicts/
3. /usr/local/share/hunspell/ (symlinks to mozilla-dicts)

By default, Seamonkey uses the first one, which only contains the "en-US" dictionary. But as Stuart pointed out, you can manually choose a path using Mozilla/Seamonkey `spellchecker.dictionary_path` config.

On my system, LibreOffice automatically installed hunspell, which also installed the "en-GB" dictionary by default into the second path.

So if you wanted Mexican Spanish for example, you would have to install the "mozilla-dicts-es-MX" package and set spellchecker.dictionary_path = /usr/local/share/mozilla-dicts/ in `about:config`. Then set the language via Edit -> Preferences -> Appearance -> Spelling -> Language.

Thanks again Landry for maintaining these monstrous Mozilla ports.

Clint

P.S. there should be no spelling errors in this email!

Reply via email to