libreoffice-bin doesn't install any dictionaries, and the only place they are available is in the install and langpack RPMs. It would be nice if these were included in the install. Reproducible: Always Steps to Reproduce:
Created attachment 260893 [details, diff] install dictionaries This is a quick hack I put together to install the dictionaries. Handling the langpack dictionaries could probably be better, like using find instead of a double loop, but it appears to work. My test: LINGUAS="ru uk fr sw_TZ zh_CN" emerge -av libreoffice-bin Installs dict-en, dict-fr, dict-ru
The problem as I see it: not all the included dictionaries use the correct language code, which makes this all a bit tricky. Also: if possible I think it would be better to use the system-wide myspell-dictionaries, but I'll still have to look into that...
Created attachment 261046 [details, diff] install dictionaries take 2 Uses find to get the dict files, and sed to check if we've already extracted them. I agree that integration with the system myspell dictionaries would be desirable. It could probably be done by linking the myspell dictionaries into the libreoffice extensions folder, then generating the necessary libreoffice extension manifest files. ln -s /usr/share/myspell/ /usr/lib64/libreoffice/share/extensions/dict-myspell generate /usr/share/myspell/META-INF/manifest.xml generate /usr/share/myspell/description.xml generate /usr/share/myspell/dictionaries.xcu The only caveat being that the dictionaries.xcu would need to be regenerated whenever myspell dictionaries are [un]installed.
Is there any progress with the issue?
This is in portage now (as a rev-bump), thanks a lot Matthew for the patch, great work! Closing.