FS#59401 - [hunspell-en_US] Need alias for en_US itself since dictionary is named en_US-large nowadays
Attached to Project:
Arch Linux
Opened by Oscar (Titan-C) - Friday, 20 July 2018, 14:16 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 12 August 2018, 18:17 GMT
Opened by Oscar (Titan-C) - Friday, 20 July 2018, 14:16 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 12 August 2018, 18:17 GMT
|
Details
Description:
Started receiving the message "Can't open affix or dictionary files for dictionary named "en_US"" with recent update. Additional info: * hunspell-en_US 2018.04.16-1 Steps to reproduce: Update dictionary to current version. And have "en_US" as locale. Since dictionary can't be found hunspell does not work. Proposed solution: change variable in PKGBUILD to en_US_aliases="en_PH en_US" Would prepare the patch myself but I don't know how. |
This task depends upon
ln -s /usr/share/hunspell/en_US-large.dic usr/share/hunspell/en_US.dic
ln -s /usr/share/hunspell/en_US-large.aff /usr/share/hunspell/en_US.aff
the same error is present for hunspell-en_CA
NOTE that this causes spellcheck to break for me in libreoffice-fresh with en_US-based locale (LANG=en_US.utf8).
HTH.
Clemmitt
I installed hunspell-en 2018.04.16-2 and all four hunspell-en_XX dependencies from testing, then tested by editing documents in LibreOffice Fresh. Spellcheck again works as expected. Thank you!
NOTE: If anyone hacked in soft links from /usr/share/hunspell/en_US.{dic,aff} -> /usr/share/hunspell/en_US-large.{dic,aff} they'll need to be rm'ed before installing the new packages. Obviously :)
Clemmitt
Would be nice as a wish list item if the dependant packages supplied the symlinks so installing all four was not required.
Very simple:
$ sudo rm -i /usr/share/hunspell/en_US.dic /usr/share/hunspell/en_US.aff
HTH
Clemmitt