[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:
>
>>http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3999
>>
>>            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
>DISTRIB_ID=ManjaroLinux
>DISTRIB_RELEASE=17.1.6
>DISTRIB_CODENAME=Hakoila
>DISTRIB_DESCRIPTION="Manjaro Linux"
>
>
>$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
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/claws-mail&id=08c232c39c98f5652a8b74db212b2138b053973a
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