Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No spell checking in libreoffice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
AndrewAmmerlaan
Apprentice
Apprentice


Joined: 25 Jun 2014
Posts: 162
Location: Lent

PostPosted: Fri Nov 08, 2019 12:04 pm    Post subject: No spell checking in libreoffice Reply with quote

Libreoffice can't seem to find the Dutch dictionary for spell checking, it does find the English one. Other application (e.g. Kate, Kile, Firefox, Thunderbird etc) do have both spell-check languages.

This is in my make.conf:
Code:

L10N="en en-US en-GB nl nl-NL en-NL"


eix shows me that both hunspell/myspell dictionaries are in fact installed:
Code:

andrew-gentoo-pc andrew # eix -I hunspell
[I] app-text/hunspell
Available versions:  1.6.2-r1(0/1.6) (~)1.7.0(0/1.7) 1.7.0-r1(0/1.7) {ncurses nls readline static-libs L10N="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id is it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"}
Installed versions:  1.7.0-r1(0/1.7)(19:17:06 08/09/19)(ncurses nls readline -static-libs L10N="en nl -af -bg -ca -cs -cy -da -de -de-1901 -el -eo -es -et -fo -fr -ga -gl -he -hr -hu -ia -id -is -it -kk -km -ku -lt -lv -mi -mk -ms -nb -nn-pl -pt -pt-BR -ro -ru -sk -sl -sq -sv -sw -tn -uk -zu")
Homepage:            https://github.com/hunspell
Description:         Hunspell spell checker - an improved replacement for myspell in OOo


Code:

andrew-gentoo-pc andrew # eix -I myspell
[I] app-dicts/myspell-en
Available versions:  20170101 (~)20181101 (~)20190101 (~)20190101-r1 {L10N="en en-AU en-CA en-GB en-US en-ZA"}
Installed versions:  20190101-r1(12:35:30 15/07/19)(L10N="en en-GB en-US -en-AU -en-CA -en-ZA")
Homepage:            https://extensions.libreoffice.org/extensions/english-dictionaries
Description:         English dictionaries for myspell/hunspell

[I] app-dicts/myspell-nl
Available versions:  2.10g-r1
Installed versions:  2.10g-r1(09:18:37 15/10/18)
Homepage:            https://www.opentaal.org
Description:         Dutch dictionaries for myspell/hunspell

Found 2 matches


Code:
andrew-gentoo-pc andrew # eix -I libreoffice
[I] app-office/libreoffice
Available versions:  6.2.8.2 (~)6.3.3.2 **6.3.9999*l **9999*l {accessibility bluetooth +branding coinmp +cups dbus debug eds firebird googledrive gstreamer +gtk gtk2 java kde ldap +mariadb odk pdfimport postgres test ELIBC="FreeBSD" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 python3_5 python3_6 python3_7" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7"}
Installed versions:  6.3.3.2(14:39:57 31/10/19)(branding cups dbus googledrive gstreamer gtk java kde ldap mariadb pdfimport -accessibility -bluetooth -coinmp -debug -eds -firebird -gtk2 -odk -postgres -test ELIBC="-FreeBSD" LIBREOFFICE_EXTENSIONS="nlpsolver wiki-publisher -scripting-beanshell -scripting-javascript" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 -python3_7" PYTHON_TARGETS="python3_6 -python2_7 -python3_5 -python3_7")
Homepage:            https://www.libreoffice.org
Description:         A full office productivity suite

[I] app-office/libreoffice-l10n
Available versions:  6.2.8.2^s (~)6.3.3.2^s {offlinehelp L10N="af am ar as ast be bg bn bn-IN bo br brx bs ca ca-valencia cs cy da de dgo dz el en en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja ka kk km kmr-Latn kn ko kok ks lb lo lt lv mai mk ml mn mni mr my nb ne nl nn nr nso oc om or pa pl pt pt-BR ro ru rw sa sat sd si sid sk sl sq sr sr-Latn ss st sv sw-TZ ta te tg th tn tr ts tt ug uk uz ve vi xh zh-CN zh-TW zu"}
Installed versions:  6.3.3.2^s(12:44:23 08/11/19)(-offlinehelp L10N="en en-GB nl -af -am -ar -as -ast -be -bg -bn -bn-IN -bo -br -brx -bs -ca -ca-valencia -cs -cy -da -de -dgo -dz -el -en-ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -gug -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kmr-Latn -kn -ko -kok -ks -lb -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nn -nr -nso -oc -om -or -pa -pl -pt -pt-BR -ro -ru -rw -sa -sat -sd -si -sid -sk -sl -sq -sr -sr-Latn -ss -st -sv -sw-TZ -ta -te -tg -th -tn -tr -ts -tt -ug -uk -uz -ve -vi -xh -zh-CN -zh-TW -zu")
Homepage:            https://www.libreoffice.org
Description:         Translations for the Libreoffice suite

Found 2 matches


However, libreoffice only shows the English spell checking dictionaries as available. I can change the language of the whole application to Dutch, but that does not give me the spelling checking. I know I could download the extension from the libreoffice website, but it seems to me like this should work as well, yet for some reason it doesn't. Does anyone have any idea what I'm doing wrong here?
_________________
OS: Gentoo KDE x86_64 (~amd64, 5.3.9-gentoo)
MB: MSI Z370-A PRO
CPU: Intel Core i7-8700K
GPU: NVIDIA GTX 1060 6GB & Intel UHD Graphics 630
SSD: Samsung 970 Pro 512GB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
pa4wdh
Guru
Guru


Joined: 16 Dec 2005
Posts: 353

PostPosted: Fri Nov 08, 2019 12:37 pm    Post subject: Reply with quote

I've had exactly the same problem, my topic about it is here:
https://forums.gentoo.org/viewtopic-t-1102750.html

I hope it helps your as much as it helped me.
_________________
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

Free as in Freedom is not limited to software only:
Music: http://www.jamendo.com
Recipes: http://www.opensourcefood.com
Back to top
View user's profile Send private message
AndrewAmmerlaan
Apprentice
Apprentice


Joined: 25 Jun 2014
Posts: 162
Location: Lent

PostPosted: Fri Nov 08, 2019 5:31 pm    Post subject: Reply with quote

Thank you so much, this was indeed very helpful :D

I have added some symlinks, and it's all working fine now:
Code:

andrew-gentoo-pc andrew # ln -s /usr/share/hunspell/nl.dic /usr/share/hunspell/nl_NL.dic
andrew-gentoo-pc andrew # ln -s /usr/share/hunspell/nl.aff /usr/share/hunspell/nl_NL.aff
andrew-gentoo-pc andrew # ln /usr/share/myspell/nl.aff /usr/share/myspell/nl_NL.aff
andrew-gentoo-pc andrew # ln /usr/share/myspell/nl.dic /usr/share/myspell/nl_NL.dic
andrew-gentoo-pc andrew # ln /usr/share/myspell/th_nl_v2.dat /usr/share/myspell/th_nl_NL_v2.dat
andrew-gentoo-pc andrew # ln /usr/share/myspell/th_nl_v2.idx /usr/share/myspell/th_nl_NL_v2.idx


It seems like the fix to this bug report is the cause of this, should I add a comment there that this breaks libreoffice's dictionary detection, or has this already been done elsewhere?
_________________
OS: Gentoo KDE x86_64 (~amd64, 5.3.9-gentoo)
MB: MSI Z370-A PRO
CPU: Intel Core i7-8700K
GPU: NVIDIA GTX 1060 6GB & Intel UHD Graphics 630
SSD: Samsung 970 Pro 512GB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14972

PostPosted: Sat Nov 09, 2019 1:01 am    Post subject: Reply with quote

I suggest searching bugs.gentoo.org for a report about the specific breakage (not the linked report that caused it). If none is found, write one. Mention in it that the bug cited here is likely the cause. Describe what you want the ebuild to do differently to avoid the problem.
Back to top
View user's profile Send private message
AndrewAmmerlaan
Apprentice
Apprentice


Joined: 25 Jun 2014
Posts: 162
Location: Lent

PostPosted: Sat Nov 09, 2019 11:26 am    Post subject: Reply with quote

Hu wrote:
I suggest searching bugs.gentoo.org for a report about the specific breakage (not the linked report that caused it). If none is found, write one. Mention in it that the bug cited here is likely the cause. Describe what you want the ebuild to do differently to avoid the problem.


I was unable to find a existing bug report on this, so I have reported it here: https://bugs.gentoo.org/699660
_________________
OS: Gentoo KDE x86_64 (~amd64, 5.3.9-gentoo)
MB: MSI Z370-A PRO
CPU: Intel Core i7-8700K
GPU: NVIDIA GTX 1060 6GB & Intel UHD Graphics 630
SSD: Samsung 970 Pro 512GB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum