I have recently upgraded from app-dicts/aspell-da-0.50.2 to app-dicts/aspell-da-1.4.27 and it seems 1.4.27 has some problems with net-mail/evolution-1.4.5 (or perhaps with app-text/gnome-spell-1.0.5?). The Danish dictionary doesn't show up in the preferences with 1.4.27, but when I downgrade to 0.50.2 the dictionary is shown and spell checking works. I have tested aspell-da-1.4.27 both with stand-alone aspell and app-editors/emacs-21.3-r1 - works fine. Could this have something to do with the fact that 1.4.27 installs under the name 'dansk' while 0.50.2 install under 'da'? Reproducible: Always Steps to Reproduce: 1. emerge app-dicts/aspell-da 2. emerge net-mail/evolution 3. open evolution 4. go to Tools->Settings->Composer Preferences->Spell Checking 5. notice that 'Danish' is not listed 6. close evolution 7. downgrade to app-dicts/aspell-da-0.50.2 8. repeat steps 3 and 4 9. notice that 'Danish' is now listed Actual Results: Evolution is unable to use app-dicts/aspell-da-1.4.27. Expected Results: Evolution should be able to use app-dicts/aspell-da-1.4.27. app-dicts/aspell-da-0.50.2 app-dicts/aspell-en-0.51.0 app-text/gnome-spell-1.0.5 app-text/aspell-0.50.3 app-text/gtkspell-2.0.4
Martin, I'll need your help on this
The aspell-da-1.4.27 package seems severely broken. It's using a non-standard build system, it doesn't follow the guidelines from the aspell manual found on http://aspell.sf.net, it doesn't register any aliases, it doesn't constain a .multi dictionary... I could go on. Output from 'aspell dump dicts' with aspell-da-0.50.2: $ aspell dump dicts da en en_CA en_CA-w-accents en_GB en_GB-w-accents en_US en_US-w-accents Output from 'aspell dump dicts' with aspell-da-1.4.27: $ aspell dump dicts en en_CA en_CA-w-accents en_GB en_GB-w-accents en_US en_US-w-accents As you can see the Danish dictionary is not even listed when aspell-da-1.4.27 is installed. I suggest marking aspell-da-1.4.27 as ~ARCH until these problems are solved.
I have written the maintainer of the aspell packages on da.spelling.org and told him about the "non-stadardnes" of the aspell-da-1.4.27 package. I asked him if da.spelling.org would correct the problems. If they won't fix the problem, the fix below is quiet small, and having the dict's from da.spelling.org is a greater advantage than the disadvantage of having to use this fix. I don't see the "non-standard build system" as a problem, as long as it installs the correct files in the corret places. I agree that, it not containing a .alias and .multi file is a problem. But adding a file called da.multi containing the following line: add dansk to /usr/lib/aspell fixes the problem with 'aspell dump dicts' not showing the danish dict. Please notice that the file da.multi must NOT contain a "strip-accents true", since it will break all the special danish characters.
Created attachment 20603 [details, diff] Patch for aspell-da-1.4.27 to add da.multi The attached patch solves the issue with the missing da.multi - I still can't see why the package is not using the default buildsystem for aspell dictionaries, though.
There is more to this than meet the eyes... I have talked to the danish maintainer, Jacob Sparre Andersen (sparre@sslug.se), of da.speling.org and he points out that the files aspell-da-ver is for aspell-0.3* and the files new-aspell-da-ver is for aspell-0.5* So it seems we for one is using the wrong files! But switching to new-aspell-da-ver packages dosen't fix the problem, since these packages dosen't comply with the standards set up a aspell.sf.net. The reason for this is that Jacob is still using aspell-0.3* and thus have not tested the new-aspell packages. But we have agreed on, that we will together try to fix the new-aspell packages, so they comply with aspell.sf.net. But this might take a some days... so please have patience. But while this work is beeing done, I suggest this package is masked, or the above hack is used.
I would be happy to help with the packaging of the new aspell-da dict. Please drop me a mail if there is anything I can do.
Created attachment 20645 [details] Version of aspell-da that conforms to the aspell.sf.net standards. I have modified the new_aspell-da-1.4.29.tar.bz2 file found on da.speling.org so it conforms to the aspell standards. I have mailed it to Jacob, so he can change the ones found on da.speling.org He is also going to change the way they make the new_aspell packages, so the furture ones also conforms to the aspell standards. But in the meantime could you Hans test the tar.bz2 file, and see if it works with the aspell ebuild below. I have tested the above file with the following aspell-da-1.4.29.ebuild ASPELL_LANG="Danish" inherit aspell-dict LICENSE="GPL-2" And it works perfectly. So from my point of view, this bug can be closed as soon as Jacob updates the files at da.speling.org?
Looks great. As soon as the files on da.speling.org is updated and available as an ebuild this bug can be closed.
MArtin, thanks for the tarball. Henrik thanks for testing. 1.4.29 is in portage, using Martin's tarball. I trust that between Henrik and Martin, these fixes will reach upstream maintainers?