spell checker doesn't work

Bug #846431 reported by Fran Diéguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTranslator
New
Undecided
Unassigned

Bug Description

In oneiric Gtranslator addon for spell checking doesn't work.
I have tested it with Galician hunspell-gl-es installed, but I can't get it to work

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gtranslator 2.90.5-2
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
Architecture: amd64
Date: Sat Sep 10 16:03:23 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
SourcePackage: gtranslator
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fran Diéguez (frandieguez) wrote :
Revision history for this message
Fran Diéguez (frandieguez) wrote :

I tried to compile gtranslator from source but raises this warning

------------------------------------------------------------------
-- gtranslator compilation options

gtranslator version : 2.90.5

debug friendly build : yes
compilation flags : -g -O2 -ggdb -DDEBUG
compilation warnings : -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
GObject Introspection : yes
------------------------------------------------------------------

Building open-tran plugin: .............................YES
Building dictionary plugin: ............................YES
Building spell support: ................................NO
        Requires gtkspell >= 100

----------------------------------------

I tried installing libgtkspell3-dev and libgtkspell-dev but both fails to activate spell gtranslator plugin.

Revision history for this message
Fran Diéguez (frandieguez) wrote :

Ok, I made some changes in gtranslator configure.ac file and now I have gtranslator with gtkspell support.

The main problem gtranslator had is that:

 - For one hand gtranslator was searching for gtkspell version 100 (I think that doesn't exists) but, anyway, this version is dependent on gtk2.
 - Due gtranslator is compiled with gtk3 if you use gtkspell gtk2-based version raises an seg fault, gtk2 and gtk3 can not be used at the same time in the same program.

So I attach one patch that solves this an gets check spelling support into gtranslator

affects: gtranslator (Ubuntu) → gtranslator
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.