Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242312 - Openoffice 3 does not include dictionaries
Summary: Openoffice 3 does not include dictionaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 08:25 UTC by mikopp
Modified: 2009-06-10 15:06 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikopp 2008-10-16 08:25:41 UTC
In installed openoffice 3. I have linguas en, de, en_GB. It does download the two lang packs for en_GB and de but I do not have spell checking and dictionaries for either of the 3 languages installed.

So spell checking does not work and one can see that the language does not have a dictionary attached to it in the options. Unfortunately I also can't find an English or UK English dictionary extension at the openoffice extension site.

Reproducible: Always
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2008-10-16 15:41:44 UTC

*** This bug has been marked as a duplicate of bug 141260 ***
Comment 2 Adam Carheden 2008-10-16 17:13:49 UTC
This bug is NOT a duplicate of 141260. 141260 refers to OpenOffice-2.x, this bug refers to OpenOffice-3.x. Yes, I know it's a masked package, but:
- 2.4.1 is broken (see but #228927) on some systems
- 2.4.0 supposedly works, but has been removed from the tree
- The post-install reports:
 *  openoffice-bin does not provide integration with system spell
 *  dictionaries. Please install them manually through the Extensions
 *  Manager (Tools > Extensions Manager) or use the source based
 *  package instead.

...so installing the myspell packages as noted in 141260 does not work.  But, as the original poster said, I can't find any English language dictionary extensions for OpenOffice-3. 

Please consider addressing this bug by telling us where to get the dictionary extension in the post-install message, or at least replying with info on where to get the English dictionary extensions here.
Comment 3 Matt Savigear 2008-10-17 19:12:26 UTC
Comment #2 is correct. I'm trying to figure out how to reopen this bug...
Comment 4 Thomas Sachau gentoo-dev 2008-10-17 19:28:04 UTC
From #gentoo-bugs:
<msavigear> Tommy[D]: According the docs, oo3 doesn't work with myspell, that's
only the 2.x series. You now need extansions but they (en en_GB) don't seem to
be in the build, and aren't on the oo website.
Comment 5 Adam Carheden 2008-10-17 20:43:45 UTC
(In reply to comment #4)
> From #gentoo-bugs:
> <msavigear> Tommy[D]: According the docs, oo3 doesn't work with myspell, that's
> only the 2.x series. You now need extansions but they (en en_GB) don't seem to
> be in the build, and aren't on the oo website.
> 

FYI, I ended up making it work installing another dictionary extension and replacing it's .dic and .aff files with the en_US ones from the myspell-en package. It's a hack, but for those who come across this message, it'll work until ooo gets around to fixing their spelling mess.

Comment 6 John Baxter 2008-10-19 17:20:01 UTC
OOo_3.0.0_LinuxIntel_install_en-US.tar.gz does contain the following RPMs.

OOO300_m9_native_packed-1_en-US.9358/RPMS/openoffice.org3-dict-fr-3.0.0-9358.i586.rpm
OOO300_m9_native_packed-1_en-US.9358/RPMS/openoffice.org3-dict-es-3.0.0-9358.i586.rpm
OOO300_m9_native_packed-1_en-US.9358/RPMS/openoffice.org3-dict-en-3.0.0-9358.i586.rpm

They do not appear to be installed by the ebuild. To manually install them:
1) extract the RPM of choice from the tarball
2) extract the dictionary tarball from the RPM
3) from OpenOffice, perform the Extension Manager installation
Comment 7 John Baxter 2008-10-19 17:23:21 UTC
(In reply to comment #6)
> OOo_3.0.0_LinuxIntel_install_en-US.tar.gz does contain the following RPMs.
> 
> OOO300_m9_native_packed-1_en-US.9358/RPMS/openoffice.org3-dict-fr-3.0.0-9358.i586.rpm
> OOO300_m9_native_packed-1_en-US.9358/RPMS/openoffice.org3-dict-es-3.0.0-9358.i586.rpm
> OOO300_m9_native_packed-1_en-US.9358/RPMS/openoffice.org3-dict-en-3.0.0-9358.i586.rpm
> 
> They do not appear to be installed by the ebuild. To manually install them:
> 1) extract the RPM of choice from the tarball
> 2) extract the dictionary tarball from the RPM
> 3) from OpenOffice, perform the Extension Manager installation
> 

I left out a step... 
2.5) extract the .oxt file from the tarball
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-19 18:26:37 UTC
The ebuild now installs the dictionaries for english, french and spanish (in /usr/lib/openoffice/share/extension/install), though you still have to manually add those through the extensions manager afterwards. I've also added another post-install message to clarify this.

Besides that: Nothing we can do here, if you want proper spell-integration with the system, consider using the source-based build.
Comment 9 Jan Schubert 2008-10-19 18:29:37 UTC
May I ask why there is Spanish and French but no German?
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-19 18:40:07 UTC
(In reply to comment #9)
> May I ask why there is Spanish and French but no German?
> 

Because, english, spanish and french are the only ones which are provided in the Sun packages (which we are using for openoffice-bin), something which is out of our control. Besides that: You can easily get other languages (including german) from Suns extensions site (as stated in post-install):

http://extensions.services.openoffice.org/project/dict-de
Comment 11 Adam Carheden 2008-10-20 15:34:39 UTC
Awesome. Works for me. Except there was no version bump. Possibly that's not required for masked packages though.

Also, anyone know why Gentoo, even though it's free, has better support that M$ and Redhat combined? :)
Comment 12 Evan 2008-10-25 18:20:06 UTC
(In reply to comment #11)
> Awesome. Works for me. 

Works for me, too. I must have missed the post-install blurb, but thanks for fixing this so quickly!
Comment 13 Eric Toombs 2008-12-01 00:39:25 UTC
(In reply to comment #4)
> From #gentoo-bugs:
> <msavigear> Tommy[D]: According the docs, oo3 doesn't work with myspell, that's
> only the 2.x series. You now need extansions but they (en en_GB) don't seem to
> be in the build, and aren't on the oo website.
> 

That's not true. Openoffice 3.0 does work with myspell, but the dictionary directory has changed. Openoffice used to search /usr/lib/openoffice/share/dict/ooo for the dictionaries, but openoffice 3 searches /usr/lib/openoffice/basis3.0/share/dict/ooo (I checked file accesses using strace). I just added a symlink inside basis3.0/share linking to share/dict and it fixed everything. The myspell ebuilds work fine now.

$ sudo ln -s ../../share/dict /usr/lib/openoffice/basis3.0/share

If extensions are now the official means to add dictionaries to openoffice, then the myspell ebuilds probably still need to be updated to use this new installation method, but the symlink does provide a nice intermediary fix.

What do you think?

Eric Toombs
Comment 14 Jeremy Ebler 2009-01-28 18:42:27 UTC
(In reply to comment #13)
> $ sudo ln -s ../../share/dict /usr/lib/openoffice/basis3.0/share
> 
> If extensions are now the official means to add dictionaries to openoffice,
> then the myspell ebuilds probably still need to be updated to use this new
> installation method, but the symlink does provide a nice intermediary fix.
> 

The symlink added the myspell dictionaries to openoffice-bin. As far as I can see, this has no drawbacks to the end user. I also added the dictionary extension from /usr/lib/openoffice/share/extension/install. Having both, the myspell dictionaries and the extension dictionaries, even for the same language does not appear to cause any bad side effects.

I can't see any reason why this symlink should not be added to the openoffice-bin ebuild.