Bug#473541: Make gnome-spell use Enchant instead of aspell

2008-05-10 Thread Harri Pitkänen
The problem with Finnish/Voikko is that once an instance of EnchantDict has 
been created from Voikko provider, it must be disposed before new one can be 
created. Since the inline spell checking in Evolution uses one instance and 
the spell checking dialog tries to create another without disposing the 
first, it will fail. To fix this, either libvoikko or Enchant Voikko provider 
must be improved to allow more than one simultaneous EnchantDict instance to 
be created.

So there is nothing wrong with this patch to gnome-spell, the issue is 
elsewhere. I do not see any regressions compared to the original gnome-spell 
(languages supported by Aspell seem to work as before). Working inline spell 
checking for Finnish is a nice improvement, even if the separate dialog could 
not (yet) be used with Finnish.

Harri



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#473541: Make gnome-spell use Enchant instead of aspell

2008-06-06 Thread Sven Arvidsson
> Please apply the following patch:
> http://www.abisource.com/%7Edom/gnome-spell-enchant.diff
> 
> To make gnome-spell work with libenchant instead of the legacy aspell. 
> Enchant is a program that supports multiple spell-checking libraries 
> like hunspell, and provides support also for some languages that are 
> not supportable by ispell/aspell/myspell/hunspell, via eg. Voikko 
> library (already in Debian) for Finnish.
> 
> The patch is already being used in eg. Fedora 9 
> (https://bugzilla.redhat.com/show_bug.cgi?id=426347), and most 
> importantly it would bring support for new languages in Evolution.
> 
> The patch works for me, though it needs running autotools to 
> pick up the new libenchant-dev dependency in configure.ac.


Evolution 2.23 doesn't use gnome-spell anymore[0]. It uses a wrapper for
Enchant[1] for all spell-checking needs. So once evolution 2.23 is
uploaded, gnome-spell can be removed from the archive.

Still, it would be nice to have gnome-spell use enchant for Lenny, has
anyone had a chance to review the patch yet?


0. http://bugzilla.gnome.org/show_bug.cgi?id=522153
1. http://www.go-evolution.org/New_Composer#News

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22


signature.asc
Description: This is a digitally signed message part


Bug#473541: Make gnome-spell use Enchant instead of aspell

2008-04-30 Thread Timo Jyrinki
Hi,

I made a fixed package available at:
http://mentors.debian.net/debian/pool/main/g/gnome-spell/gnome-spell_1.0.7-1.1.dsc

Someone interested in looking at it or sponsoring?

Some points:
- Two patches using dpatch added, otherwise not touched (ie. old
standards-version still etc.)
- The first patch is the upstream patch rediff:d
- The second patch is result of running aclocal/automake/autoconf to
pick up the changes

The fixed package works great for me, using Voikko via Enchant for
Finnish spell-checking etc.

-Timo



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#473541: Make gnome-spell use Enchant instead of aspell

2008-05-03 Thread Sven Arvidsson
Hi,

gnome-spell was never subscribed to
[EMAIL PROTECTED] so this bug report didn't
reach the maintainers. I have subscribed the package now.

I can't comment on the patch, but what you describe does sound like a
good idea.

On Mon, 2008-03-31 at 11:45 +0300, Timo Jyrinki wrote:
> Package: gnome-spell
> Version: 1.0.7-1
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> Please apply the following patch:
> http://www.abisource.com/%7Edom/gnome-spell-enchant.diff
> 
> To make gnome-spell work with libenchant instead of the legacy aspell. 
> Enchant is a program that supports multiple spell-checking libraries 
> like hunspell, and provides support also for some languages that are 
> not supportable by ispell/aspell/myspell/hunspell, via eg. Voikko 
> library (already in Debian) for Finnish.
> 
> The patch is already being used in eg. Fedora 9 
> (https://bugzilla.redhat.com/show_bug.cgi?id=426347), and most 
> importantly it would bring support for new languages in Evolution.
> 
> The patch works for me, though it needs running autotools to 
> pick up the new libenchant-dev dependency in configure.ac.
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages gnome-spell depends on:
> ii  aspell 0.60.5-2  GNU Aspell spell-checker
> ii  libart-2.0-2   2.3.20-1  Library of functions for 2D 
> graphi
> ii  libaspell150.60.5-2  GNU Aspell spell-checker runtime 
> l
> ii  libatk1.0-01.22.0-1  The ATK accessibility toolkit
> ii  libbonobo2-0   2.22.0-1  Bonobo CORBA interfaces library
> ii  libbonoboui2-0 2.22.0-1  The Bonobo UI library
> ii  libc6  2.7-9 GNU C Library: Shared libraries
> ii  libcairo2  1.4.14-1  The Cairo 2D vector graphics 
> libra
> ii  libfontconfig1 2.5.0-2   generic font configuration 
> library
> ii  libgconf2-42.22.0-1  GNOME configuration database 
> syste
> ii  libglade2-01:2.6.2-1 library to load .glade files at 
> ru
> ii  libglib2.0-0   2.16.1-2  The GLib library of C routines
> ii  libgnome-keyring0  2.22.0-2  GNOME keyring services library
> ii  libgnome2-02.20.1.1-1The GNOME 2 library - runtime 
> file
> ii  libgnomecanvas2-0  2.20.1.1-1A powerful object-oriented 
> display
> ii  libgnomeui-0   2.20.1.1-1The GNOME 2 libraries (User 
> Interf
> ii  libgnomevfs2-0 1:2.22.0-2GNOME Virtual File System 
> (runtime
> ii  libgtk2.0-02.12.9-2  The GTK+ graphical user 
> interface 
> ii  libice62:1.0.4-1 X11 Inter-Client Exchange library
> ii  liborbit2  1:2.14.12-0.1 libraries for ORBit2 - a CORBA 
> ORB
> ii  libpango1.0-0  1.20.0-1  Layout and rendering of 
> internatio
> ii  libpopt0   1.10-3lib for parsing cmdline 
> parameters
> ii  libsm6 2:1.0.3-1+b1  X11 Session Management library
> ii  libx11-6   2:1.0.3-7 X11 client-side library
> ii  libxcursor11:1.1.9-1 X cursor management library
> ii  libxext6   2:1.0.4-1 X11 miscellaneous extension 
> librar
> ii  libxi6 2:1.1.3-1 X11 Input extension library
> ii  libxinerama1   2:1.0.3-1 X11 Xinerama extension library
> ii  libxml22.6.31.dfsg-2 GNOME XML library
> ii  libxrandr2 2:1.2.2-1 X11 RandR extension library
> ii  libxrender11:0.9.4-1 X Rendering Extension client 
> libra
> ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
> 
> gnome-spell recommends no packages.
> 
> -- no debconf information
> 
> 
> 
-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22


signature.asc
Description: This is a digitally signed message part


Bug#473541: Make gnome-spell use Enchant instead of aspell

2008-05-04 Thread Harri Pitkänen
I built
 
http://mentors.debian.net/debian/pool/main/g/gnome-spell/gnome-spell_1.0.7-1.1.dsc

on amd64 and can confirm that it almost makes spell checking work for Finnish 
in Evolution using Enchant Voikko provider. I tried with very long texts and 
found no other problems except that spelling suggestions seem to work only 
through the context menu in message editor, not in the spell checking dialog 
that opens when you choose "Edit" -> "Check Spelling...". But this problem 
does not occur for English, so it may be a bug or missing functionality in 
libenchant-voikko and not in this patch. I'll try to investigate this 
further.

...

Now that I tried Hebrew with hspell provider, I found more problems. Some 
words seem to get underlined in the editor, but no spelling suggestions are 
available through the context menu and "Edit" -> "Check Spelling..." 
reports "No misspelled words found". I cannot actually read Hebrew so I'm not 
sure if the words that get underlined are real errors or not. But I do know 
that hspell should be capable of generating spelling suggestions (it does so 
in the experimental openoffice.org hspell extension I wrote a couple of 
months ago). Again, this could be a bug in Evolution or enchant hspell 
provider, but should probably be looked at by someone who actually knows 
Hebrew.

In any case, I'd like to see this patch get applied for lenny too, so I'll try 
to find out where the bugs are, at least for Finnish/Voikko.

Harri



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#473541: Make gnome-spell use Enchant instead of aspell

2008-03-31 Thread Timo Jyrinki
Package: gnome-spell
Version: 1.0.7-1
Severity: wishlist
Tags: patch

Hi,

Please apply the following patch:
http://www.abisource.com/%7Edom/gnome-spell-enchant.diff

To make gnome-spell work with libenchant instead of the legacy aspell. 
Enchant is a program that supports multiple spell-checking libraries 
like hunspell, and provides support also for some languages that are 
not supportable by ispell/aspell/myspell/hunspell, via eg. Voikko 
library (already in Debian) for Finnish.

The patch is already being used in eg. Fedora 9 
(https://bugzilla.redhat.com/show_bug.cgi?id=426347), and most 
importantly it would bring support for new languages in Evolution.

The patch works for me, though it needs running autotools to 
pick up the new libenchant-dev dependency in configure.ac.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-spell depends on:
ii  aspell 0.60.5-2  GNU Aspell spell-checker
ii  libart-2.0-2   2.3.20-1  Library of functions for 2D graphi
ii  libaspell150.60.5-2  GNU Aspell spell-checker runtime l
ii  libatk1.0-01.22.0-1  The ATK accessibility toolkit
ii  libbonobo2-0   2.22.0-1  Bonobo CORBA interfaces library
ii  libbonoboui2-0 2.22.0-1  The Bonobo UI library
ii  libc6  2.7-9 GNU C Library: Shared libraries
ii  libcairo2  1.4.14-1  The Cairo 2D vector graphics libra
ii  libfontconfig1 2.5.0-2   generic font configuration library
ii  libgconf2-42.22.0-1  GNOME configuration database syste
ii  libglade2-01:2.6.2-1 library to load .glade files at ru
ii  libglib2.0-0   2.16.1-2  The GLib library of C routines
ii  libgnome-keyring0  2.22.0-2  GNOME keyring services library
ii  libgnome2-02.20.1.1-1The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.20.1.1-1A powerful object-oriented display
ii  libgnomeui-0   2.20.1.1-1The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0 1:2.22.0-2GNOME Virtual File System (runtime
ii  libgtk2.0-02.12.9-2  The GTK+ graphical user interface 
ii  libice62:1.0.4-1 X11 Inter-Client Exchange library
ii  liborbit2  1:2.14.12-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0  1.20.0-1  Layout and rendering of internatio
ii  libpopt0   1.10-3lib for parsing cmdline parameters
ii  libsm6 2:1.0.3-1+b1  X11 Session Management library
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxcursor11:1.1.9-1 X cursor management library
ii  libxext6   2:1.0.4-1 X11 miscellaneous extension librar
ii  libxi6 2:1.1.3-1 X11 Input extension library
ii  libxinerama1   2:1.0.3-1 X11 Xinerama extension library
ii  libxml22.6.31.dfsg-2 GNOME XML library
ii  libxrandr2 2:1.2.2-1 X11 RandR extension library
ii  libxrender11:0.9.4-1 X Rendering Extension client libra
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

gnome-spell recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]