enchant 1.4.0 breaks my mail/sylpheed2

Jeremy Messenger mezz7 at cox.net
Sat Jun 7 16:08:35 UTC 2008


On Sat, 07 Jun 2008 02:51:04 -0500, Oliver Lehmann <oliver at FreeBSD.org>  
wrote:

> Hi,
>
> my mail/sylpheed needs
>
>> compose.o(.text+0xbdb5): In function `compose_create':
>> : undefined reference to `new_aspell_config'
>> compose.o(.text+0xbdc0): In function `compose_create':
>> : undefined reference to `get_aspell_dict_info_list'
>> compose.o(.text+0xbdcb): In function `compose_create':
>> : undefined reference to `delete_aspell_config'
>> compose.o(.text+0xbdd3): In function `compose_create':
>> : undefined reference to `aspell_dict_info_list_elements'
>> compose.o(.text+0xbde4): In function `compose_create':
>> : undefined reference to `aspell_dict_info_enumeration_next'
>> compose.o(.text+0xbe23): In function `compose_create':
>> : undefined reference to `delete_aspell_dict_info_enumeration'
>
> adding -laspell to libdata/gtkspell-2.0.pc fixes it. Is this now a
> problem of the pkgconfig file or my sylpheed2?

I think it's a sylpheed2 bug, because if I understand gtkspell correct is  
that if backend change and it won't change gtkspell. The API of gtkspell  
hasn't change for about five years. The gtkspell has dropped aspell  
support and use enchant instead. The sylpheed2 should add aspell stuff in  
its configure if it uses direct to aspell function.

I have found a patch for sylpheed2 to use enchant instead in case if you  
want it.

http://lists.ibiblio.org/pipermail/sm-commit/2008-May/017108.html
http://dbg.download.sourcemage.org/grimoire/codex/stable-rc/mail/sylpheed/patch-gtkspell

Cheers,
Mezz

> I guess -laspell was included in the .pc file in gtkspell-2.0.11.
>
> When you check .11:
>
> gtkspell-2.0.pc.in:Libs: -L${libdir} -lgtkspell @SPELLER_LIB@
>
> while SPELLER_LIB could be:
>
> configure:  SPELLER_LIB="-laspell"
> configure:  SPELLER_LIB="-lpspell"
>
> When you check .13:
>
> gtkspell-2.0.pc.in:Libs.private: @SPELLER_LIB@
>
> configure:SPELLER_LIB=-lenchant
>
> and -lenchant does NOT include this functions - and it is "Libs.private"
> - for me this looks like incompatibility?
>
> please keep me CCed



-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-gnome mailing list