Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hunspell: look for mozilla-dicts #285

Merged
merged 1 commit into from Jan 30, 2018
Merged

hunspell: look for mozilla-dicts #285

merged 1 commit into from Jan 30, 2018

Conversation

mulander
Copy link
Contributor

On OpenBSD hunspell dictionaries are not packaged, instead users are expected
to install mozilla-dicts packages (like mozilla-dicts-pl) which results in hunspell
compatible dictionaries being installed under /usr/local/share/mozilla-dicts

example of dicts installed by mozilla-dicts-pl:
/usr/local/share/mozilla-dicts/pl.aff
/usr/local/share/mozilla-dicts/pl.dic

This change makes the hunspell dictionary provider look for the mozilla-dicts
sub-directory, effectively enabling spellchecking on OpenBSD.

tested on OpenBSD/amd64 -current

On OpenBSD hunspell dictionaries are not packaged, instead users are expected
to install `mozilla-dicts` packages (like `mozilla-dicts-pl`) which results in hunspell
compatible dictionaries being installed under `/usr/local/share/mozilla-dicts`

example of dicts installed by `mozilla-dicts-pl`:
`/usr/local/share/mozilla-dicts/pl.aff`
`/usr/local/share/mozilla-dicts/pl.dic`

This change makes the hunspell dictionary provider look for the mozilla-dicts
sub-directory, effectively enabling spellchecking on OpenBSD.

tested on OpenBSD/amd64 -current
bob-beck pushed a commit to openbsd/ports that referenced this pull request Jan 28, 2018
OK landry@

upstream hardcodes directories with dictionaries,
we rely on mozilla-dicts - including a patch
to look for dictionaries in that directory.

Patch submitted upstream as:
KDE/ghostwriter#285
@wereturtle wereturtle merged commit fa0c07c into KDE:master Jan 30, 2018
@wereturtle
Copy link
Collaborator

Thanks!

@mulander mulander deleted the mozilla-hunspell-dicts branch January 30, 2018 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants