Bug 394355 - missing package libvoikko
Summary: missing package libvoikko
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Alpha 0
Hardware: Other Other
: P3 - Medium : Enhancement with 76 votes (vote)
Target Milestone: ---
Assignee: Stanislav Brabec
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-25 12:09 UTC by Sami Vento
Modified: 2009-09-14 09:22 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Vento 2008-05-25 12:09:53 UTC
SHORT SUMMARY:

libvoikko is finnish spellchecking library. more info here:
http://voikko.sourceforge.net/

I have already built packages in build service:
http://download.opensuse.org/repositories/Office:/Voikko/

tmispell is ispell -compliant ispell-program. it also provides enchant-voikko -package, which adds voikko-support for enchant-compliant programs.


PROBLEM:
Because new enchant(1.4) has built in support for libvoikko, voikko maintainers stopped to maintain enchant-support in tmispell-package. I can't provide libvoikko-enchant-support for factory nor openSUSE-11.0.


SOLUTION:
Include libvoikko to factory(or better: 11.0) and build enchant with libvoikko-support.

This means:
- include malaga (libmalaga7, malaga)
  http://home.arcor.de/bjoern-beutel/malaga

- include suomi-malaga (malaga-suomi)
  Description of Finnish morphology written in Malaga.

- include libvoikko (libvoikko7)
  uses malaga and suomi-malaga to provide easy spellchecking interface.

- build enchant with libvoikko. 

I know, there is also other solutions but I think this is best because all the other main distributions already has libvoikko in official packages.
- ubuntu
- debian
- fedora
- mandriva


NOTES:
- tmispell provides libvoikko-support for all ispell-compliant programs.
- OpenOffice_org-voikko provides libvoikko -support for openoffice and it shoud be included also.
- there is also -devel -packages, which may be required in later
Comment 1 Stephan Kulow 2008-05-28 06:36:26 UTC
too late for 11.0
Comment 2 Stanislav Brabec 2008-05-28 09:44:56 UTC
enchant has a modular concept, so there is a low risk of adding new spelling backend in a separate subpackage even for 11.0.

We may want to support both Voikko (Finnish) and Zemberek (Turkish) in this way.

Hunspell (Hungarian) added two weeks ago will remain in the main package, as hunspell seems to be a new upstream for myspell.
Comment 3 Stephan Kulow 2008-05-28 11:48:07 UTC
understood. Thanks for the analysis, but at this point I only want to have fixes that are really urgent.
Comment 4 Sami Vento 2008-07-22 19:21:58 UTC
What's the bug status for 11.1?
Comment 5 Stanislav Brabec 2008-07-23 10:57:52 UTC
I plan to package both Voikko (Finnish) and Zemberek (Turkish) for 11.1.
Comment 6 Stanislav Brabec 2008-07-25 11:30:27 UTC
This package was updated:
malaga

These packages were created:
malaga-suomi
libvoikko

This package was enhanced with voikko support:
enchant

What else could be done?
Comment 7 Stanislav Brabec 2008-07-25 11:37:46 UTC
For zemberek, the situation is a bit more complicated:

Zemberek actually provides spell checking for following languages: Azeri, Turkmen, Turkish, Tatar

It consists from two parts:
client (depends only in dbus-1-glib)
server (java application)

I have created package enchant-zemberek. It requires zemberek-server, which is not yet part of our distribution yet.

What would you prefer about zemberek?

- Add full zemberek stack to openSUSE 11.1. Side effect: Installing GNOME in upper mentioned locale will trigger Java to install.

- Create only enchant-zemberek and let user to find and install zemberek from third party.

- Remove dependency on zemberek-server from enchant-zemberek. If third party zemberek will be installed, it will work, otherwise spell checking will use another backend.
Comment 8 Stephan Kulow 2008-08-01 09:43:44 UTC
I don't think having GNOME triggering java on locale provides is a problem. As long as the users have a way to disable this functionality by removing the package (i.e. no hard requires) this should be preferred.
Comment 9 Stanislav Brabec 2008-08-19 16:33:49 UTC
So the original bug report (voikko for Finnish) is fixed.

Aleš, could you help with packaging of zemberek java package for Azeri,
Turkmen, Turkish and Tatar?
Comment 10 Michal Vyskocil 2008-08-20 09:03:22 UTC
The build of  zemberek-server-0.7.1.tar.gz depends on:
 * dbus.jar - http://dbus.freedesktop.org/doc/dbus-java/
 * hexdump.jar - from libmatthew-java - http://www.matthew.ath.cx/projects/java/
 * mina.jar - http://www.jpackage.org/browser/rpm.php?jppversion=1.7&id=6001 - but this package needs a maven2 to build and we don't have a maven2 in SUSE :-(
 * slf4j.jar - http://www.jpackage.org/browser/rpm.php?jppversion=1.7&id=7895 - but needs maven2 too
 * unix.jar - from libmatthew-java
 * zemberek-cekirdek-2.1.jar and zemberek-tr-2.1.jar - from zemberek-1.2.tar.gz
 * libunix-java.so - from libmatthew-java

The mina.jar and slf4j.jar cannot be currently replaced by the rpm package, because it's hard to get a maven2 into the distribution and build them.

So if it's not a problem leave these two jars in the source archive and use them for build, it should be possible to create a package. The libmatthew-java doesn't have a special build dependencies, dbus-java depends only on libmatthew-java and  zemberek-1.2.tar.gz have only junit.jar included.
Comment 11 Sami Vento 2008-09-09 17:18:03 UTC
Sorry about late answer. I been vacation... :)

OpenOffice_org-voikko -package should be included. It provides voikko-support for OpenOffice.org. (I guess it still doesn't support enchant..)

I have already packaged OpenOffice_org-voikko-2.2, but there is 3.0 already available, so it should be used.. I will update my packages in couple days..
Comment 12 Sami Vento 2008-09-14 19:54:33 UTC
libvoikko
=========
I updated libvoikko1 from 1.7 to 2.0. Because it is still binary compatible with older versions, I didn't change package name from libvoikko1 to libvoikko2 (it still contains libvoikko.so.1 inside).
OpenOffice_org-voikko-3.0 requires libvoikko-2.0.

OpenOffice_org-voikko(!)
========================
Old version was 2.2 and it was for openoffice.org-2.x. New version is 3.0 and it is for openoffice.org-3.x. Because 11.1 will contain OpenOffice.org-3.x, we need OpenOffice_org-voikko-3.0. This is important package, because spellchecking is mostly needed in word processing..
Factory is broken atm but I managed to build it using 11.0 and ooo-unstable repo. I couldn't test it yet, because ooo didn't start from chroot.. I will test this later with working factory-installation..

mozvoikko
=========
There is also new package mozvoikko, which contains libvoikko spellchecking for mozilla firefox. not very important imho, but nice to have..
Comment 13 Stanislav Brabec 2008-09-17 15:18:36 UTC
Adding OpenOffice and MozillaFirefox maintainers to Cc:.
Comment 14 Sami Vento 2008-09-21 08:58:24 UTC
I don't know, if this is right place to inform but I can't get OpenOffice_org-voikko built for openSUSE-factory because OpenOffice_org-sdk is missing..
Comment 15 Petr Mladek 2008-09-22 12:07:37 UTC
Sami, could you please open another bug about problems to build OpenOffice_org-voikko in factory and assign it to me?

We did a huge OOo built split in factory. The new -devel files are supposed to replace the SDK. I am afraid that the are missing some helper tools. Also we might need to add some compat symlinks...
Comment 16 Michal Vyskocil 2009-09-14 09:22:59 UTC
(In reply to comment #9)
> So the original bug report (voikko for Finnish) is fixed.

So I marked this bug as FIXED and reassigned it back to sbrabec.

> 
> Aleš, could you help with packaging of zemberek java package for Azeri,
> Turkmen, Turkish and Tatar?

Unfortunately I don't have a time to do that. The current state is in home:mvyskocil:zemberek, so volunteers can reuse it.