[ooo-build] How to set location of dictionary files

Caolán McNamara caolanm at redhat.com
Thu Jul 23 03:36:39 PDT 2009


On Thu, 2009-07-23 at 12:11 +0200, Petr Mladek wrote:
> On Thursday 23 July 2009, espinosa_cz wrote:
> > > I have just enabled it for the Go-oo linux build, so the following
> > > OOo-3.1.1 version will search the hunspell/myspell, thesaurus, and hyphen
> > > dictionaries in the following directories:
> > >
> > > 	/usr/share/hunspell
> > >         /usr/share/hyphen
> > >         /usr/share/mythes
> >
> > That sounds promising.
> >
> > Did you pick those directories by yourself?
> 
> No, they were defined in the OOo configure as default values. I am not sure 
> who defined them.

I think I did, or maybe rene did.

> > Was there any discussion with
> > freedesktop.org/LSB/myspell/hunspell/Mozilla teams
> > about the naming and structure? I know, symbolic links can help a lot
> > here, but it sound you are laying down a new linux filesytem standard here.
> 
> I am afraid that it wasn't. As I said, it was implemented by the Sun 
> developers. I think that you could ask in the bug if you report it.

I'm pretty sure I implemented a chunk of the current OOo-side of the use
"external dictionary" stuff, mostly because I had a problem I wanted to
solve, so I solved it. I did not get into a ludicrous gathering of the
twelve tribes of free software to discuss the location of the dir, just
picked the first directory that the standalone hunspell searches as the
default for hunspell dicts (of course previously it used myspell as its
first dir to search which is why Fedora and some other stick them there
instead, ah well) and made up some reasonably similar ones for the
thesaurus and hyphenators.

Personally, I wouldn't waste any upstream developers time on any bugs
wrt. complaints about the default dirs or configurable search paths
without a provided implementation.

C.



More information about the ooo-build mailing list