I have checked with three main distros(Manjaro, Opensuse & Ubuntu) for their hunspell implementation, all three distros use hunspell/ dir and some(Manjaro & Opensuse) also have symlink to myspell/. https://paste.opensuse.org/93749122
Symlink approach will cause clutter while listing/using dicts using hunspell or nuspell, it shows duplicate entries. I am proposing just to shift default dict location from myspell/ to hunspell/ (like Ubuntu), because myspell in an deprecated package.
I feel the next steps should be:
@tagoh suggested good to check if any packages that require hunspell contain the string "myspell" (eg strings /usr/bin/some-hunspell-consumer | grep myspell).
strings /usr/bin/some-hunspell-consumer | grep myspell
Another reason to avoid a symlink is that rpm cannot replace a dir with a symlink https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement so we can't easily replace an existing myspell dir with a symlink to a hunspell dir IIUC without some scriptlets.
Obviously the various hunspell-foo packages will need changing and in addition:
enchant needs to change from --with-myspell-dir=/usr/share/myspell to --with-myspell-dir=/usr/share/hunspell
firefox from ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries to ln -s %{_datadir}/hunspell %{buildroot}%{mozappdir}/dictionaries
libreoffice from --with-external-dict-dir=/app/share/myspell to --with-external-dict-dir=/app/share/hunspell
I don't have any objections to the move FWIW, is this something we want to do for rawhide (F36) ?
Yes that is the general idea, though it does involve a lot of dictionary packages.
test repo with few change packages https://copr.fedorainfracloud.org/coprs/vishalvvr/hunspell
initial draft https://fedoraproject.org/wiki/Changes/Hunspell_Dictionary_dir_change_from_myspell_to_hunspell
Discuss further about this Change in its own ticket now https://pagure.io/i18n/issue/152
Metadata Update from @pnemade: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/i18n/i18n/issues/142
Please continue any further discussion there.