Red Hat Bugzilla – Bug 426347
Unify Dictionaries: point gnome-spell to enchant instead of aspell
Last modified: 2008-05-21 07:11:17 EDT
Description of problem:
Trying to unify our set of dictionaries, so that all desktop components agree on
spell suggestions. http://fedoraproject.org/wiki/Releases/FeatureDictionary
So OOo uses hunspell, firefox3 also uses hunspell now so we can share those
dictionaries. gedit and libsexy (as used by xchat) uses enchant, which defaults
to using hunspell dictionaries if it can find them so they can share too.
gnome-spell (as used by evolution) uses aspell, but attached is the same patch
as used by JDS etc to point gnome-spell at enchant which will then use hunspell
dictionaries if available or aspell if not.
Created attachment 290143 [details]
patch to use enchant
Looks good to me.
Fixed in gnome-spell-1.0.8-2.fc9.
(btw, I'm hoping to move GtkHTML over to enchant in the near future.)
I consider this bug only partially solved. Remaining problem is that not all
dictionaries are recognized due to hardcoded list of languages available. E.g.
this leads to https://bugzilla.redhat.com/show_bug.cgi?id=442539
There is a patch on http://bugzilla.abisource.com/show_bug.cgi?id=11001 to have
languages list got from enchant. Maybe it can be incorporated as a more proper
GnomeSpell will likely be dropped from Fedora 10. The latest development
releases of GtkHtml and Evolution no longer use it.
So that's about Fedora 10 and latest GtkHTML and Evolution. What about Fedora 9?
Can someone possibly review the patch referenced above? 'FeatureDictionary' is
marked complete in 100% - and that's not actually true according to GnomeSpell
not using hunspell for all languages supported. So IMHO this bug should be
reopened (or better fixed properly).
Any response? It's really annoying to have everything underlined in red, and I
guess "The latest development
releases of GtkHtml and Evolution no longer use it." is no explanation for
Fedora 9 potential users.
The GnomeSpell patch looks very similar to what I did in GtkHtml. Uses
iso-codes to match Enchant's language codes against standard translated language
It's too late to get this in prior to Fedora 9, but I can push an update to the
Testing repo if you're willing it test it.
Reopening in the meantime.
I'd be glad to.
Patch applied to gnome-spell-1.0.8-5.fc9.
Piotr, can you please test this package? You can grab it from here:
Works great for me, thanks!
gnome-spell-1.0.8-5.fc9 has been submitted as an update for Fedora 9
gnome-spell-1.0.8-5.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gnome-spell'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-3773
*** Bug 442539 has been marked as a duplicate of this bug. ***
*** Bug 447464 has been marked as a duplicate of this bug. ***
gnome-spell-1.0.8-5.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.