[Users] [Bug 3999] New: No spell checker

Ralf Mardorf silver.bullet at zoho.com
Wed Mar 28 18:28:42 CEST 2018

On Wed, 28 Mar 2018 06:49:11 -0700, sylpheed at 911networks.com wrote:
>On Wed, 28 Mar 2018 10:16:24 +0000
>noreply at thewildbeast.co.uk wrote:
>>            Bug ID: 3999
>>           Summary: No spell checker
>>    Classification: Unclassified
>>           Product: Claws Mail
>>           Version: GIT
>>          Hardware: PC
>>                OS: Linux
>>            Status: NEW
>>          Severity: major
>>          Priority: P3
>>         Component: UI/Compose Window/Spell Checker
>>          Assignee: users at lists.claws-mail.org
>>          Reporter: info.mardorf at rocketmail.com
>>In January upstream moved /usr/bin/enchant and the libraries to
>>enchant-2, hence spell checking doesn't work anymore, when building
>>claws against the current release of enchant.
>>Several distros, not only rolling releases already migrated to the
>>latest release of enchant.
>>[rocketmouse at archlinux ~]$ claws-mail -v
>>Claws Mail version 3.16.0git97
>>[rocketmouse at archlinux ~]$ enchant-2 -v
>>@(#) International Ispell Version 3.1.20 (but really Enchant 2.2.3)  
>Somehow spellchecking works here:
>$ cat /etc/lsb-release
>$claws-mail -v
>Claws Mail version 3.16.0
>$enchant-2 -v
>@(#) International Ispell Version 3.1.20 (but really Enchant 2.2.3)
>It could a git version problem

Distro's not only build claws-mail patched to work with enchant-2,
they patch several packages. The bug report explicitly mentions "when
building claws against the current release of enchant" and "Version:
GIT". Of course, copying a distro's patch from official packages
seemingly isn't rocket science, but that's not the point. The reason for
this ticket is to get the upstream source code being compatible with
enchant and enchant-2.

I'm not a coder, so I can't comment on the configure.ac hint, IIUC some
distros patch gtkaspell.c with

enchant_dict_add(gtkaspell->gtkaspeller->speller, gtkaspell->theword, strlen(gtkaspell->theword));

For Arch Linux see
for Debian and Ubuntu flavours or derivatives, see
https://sources.debian.org/src/claws-mail/3.16.0-1/src/gtk/gtkaspell.c/ .

More information about the Users mailing list