Summary: | aspell-0.50.3 not working with opera-7.50 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | adr <adr> |
Component: | Current packages | Assignee: | Heinrich Wendel (RETIRED) <lanius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1723542c42148b2fe4af9f7ad1e382b30d4b7fd7 |
Priority: | High | ||
Version: | 2004.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.opera.com/support/tutorials/opera/spellcheck/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | opera-7.50-spellcheck.patch |
Description
adr
2004-05-16 01:14:15 UTC
hmm... i found this file: /opt/opera/lib/opera/7.50-20040511.5/spellcheck.so ????! Kind regards. what version of aspell worked for you? Hi, thanks. Opera using aspell is a new feature, so this is the first try. Seems to me that aspell is working correctly (in the KDE editors), and that Opera must be the problem. Maybe it can't find aspell, or it is platform specific. There are no settings that can't be changed from within Opera or the ini-files... at least I can't find them, and the Opera URL says that everything should work automatically.... Kind regards. P.S. I tried to change /opt/opera/share/opera/ini/spellcheck.ini too, and even copied it to the opera and opera/mail dirs in my home-directory. The default language is "en" but I need "nl". Tried some different encodings too. My language file for Opera is "ou721_480nl.lng" (latest, but old version) if that could be of any influence. Did you set the "Spell Check Engine"? I think this is not set by default. I have got this in my /opt/opera/share/opera/ini/spellcheck.ini and it worked fine for me. I think it _should_ do with aspell-nl similar... --------------/opt/opera/share/opera/ini/spellcheck.ini-------------- [Spell Check] Spell Check Engine=/opt/opera/lib/opera/7.50-20040511.5/spellcheck.so Default Language=de Default Encoding=iso8859-15 works with opera-7.50-r1 now, to change the language emerge app-text/aspell-language and edit /opt/opera/share/opera/ini/spellcheck.ini The little things in life... :) It's working now! Danke sch The little things in life... :) It's working now! Danke schön Boris. (checked in German) One small bug left: the default "iso8859-1" must be "iso-8859-1" or it won't check words with accents. For iso-8859-15 and others the same thing. Hmm... please skip my last comment. It will only give a text box, saying that spellcheck is done, but text won't be checked at all. This little bug remains. Words with Hmm... please skip my last comment. It will only give a text box, saying that spellcheck is done, but text won't be checked at all. This little bug remains. Words with ö, ë, é etc. are selected partly, and are considered to be misspelled always. (In the KDE-editors it's working correctly.) /me is confused, what's working and what is not working? OK, here is an example. Try to spell check this German sentence in both Opera and in any other editor using aspell-de: "Die B OK, here is an example. Try to spell check this German sentence in both Opera and in any other editor using aspell-de: "Die Bücher werden gelezen." (I don't think there are English words containing composed characters...) Only the word "gelezen" is misspelled (must be "gelesen"). This will be detected, and the entire word will be highlighted in both Opera and for instance KWrite. That's correct. Opera however, will highlight the last part of the common word Bücher ("cher") aswell. Spell checking will fail on any other word containing diacritical signs. I tried this with aspell-en and aspell-nl too, and with different encoding settings for spellcheck.ini and my Opera mail compose setting (iso8859-1, iso8859-15 or utf-8). Created attachment 32072 [details, diff]
opera-7.50-spellcheck.patch
This is a slightly Offtopic, but I would find it nice to use the USE-Flag
"spell" in the ebuild, because opera runs fine without it and not everyone
wants to install aspell. (like me on my box at work).
I made a patch that adds the USE-Flag "spell" to the ebuild, perhaps you can
apply it.
Nice idea. I'm just a simple Gentoo user, but would it be possible to expand this to include the downloading of the latest language file(s) [ http://www.opera.com/download/languagefiles/ ] for Opera and the right dictionaries for aspell at the same time? :-) Maybe via the "LANG='xx' emerge opera" mechanism or another USE flag. reopening, will take a look at it on friday spell use flag is added, the other one is a bit more complicated, if you can come up with a patch reopen this bug or open a new one Hi, Just found another solution for the Path bug, here: http://list.opera.com/pipermail/opera-linux/2004-June/007907.html <snip> Below is what I have added in my /usr/bin/opera script (the OPERA_BINARYDIR should not be needed but I have had problems when it was not included - I will look into that) Add it at the bottom of the script, just before the opera binary is started. LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${OPERA_BINARYDIR}":/opt/aspell/lib export LD_LIBRARY_PATH </snip> I don't know which fix is preferable... Both the implemented and this solution works. The implemented one looks easier. Will post on the Character bug, when I find something... Regards. |