[Dict-common-dev] openoffice.org: dictionary.lst is gone

Agustin Martin agmartin at debian.org
Sat Dec 20 19:12:35 UTC 2008


On Sat, Dec 20, 2008 at 12:11:44AM +0100, Rene Engelhard wrote:
> OpenOffice.org 3.0.0 removed the need for a dictionary.lst (but still
> honoured it but since 3.0.1 rc1 it does not do even that anymore.). We now
> can specify the paths of the dicts separately (and that even distinct
> for dicts, hyph patters and thesauri)
> 
> Fortunately the naming scheme for the dictionaries didn't change, so the
> packages' contents don't need to change - except that
>  - .info-myspell is obsolete
>  - the packages do not need to carll update-openoffice-dicts anymore
>  - update-openoffice-dicts is not needed anymore
> 
> I think we should do the transition asap for squeeze and remove
> dictionary.lst.

If possible, I would like squeeze hunspell dicts to work in lenny ooo
without manual intervention. For that reason I am for keeping the calls, in
case the dictionary is used from lenny. I would change the dictionaries.lst
header to explain that is left there *only* for backwards compatibility of
the dictionary. May be put the obsolete stuff in an special place in the
policy document.

Regarding .info files, I have sent to the FSF emacs repo some changes to the
ispell interface to work better with hunspell. I would like current .info
file (probably renamed) to become more like those for aspell .., with info
for emacs, helping prepare a list of available hunspell dictionaries with
the right language mapping (e.g., american ->en_US). I did not yet ellaborate
that too much, but I will try a bit more when I have time.

lenny hunspell does not output a version string in piped mode, so will not
benefit from that, but will work for lenny+1 (works with current version in
experimental)

> I propose the following diff, which - if you have no objections - will
> upload to experimental together with OOo 3.0.1 and together to sid with it.
> 
> http://people.debian.org/~rene/openoffice.org/dictionary-lst-gone.diff

Be careful, that .diff contains a lot of changes in the lisp code, result of
applying the dpatches during the build process. Make sure you run
'fakeroot debian/rules clean' afterwards (is not automatically done), so
patches are unapplied. gitk is your friend.

I will not have much free time these days, will be back to this when
possible. I will then look really at the code instead of just a quick look
at the .diff. Since lenny is taking longer than expected, we have time.

Best wishes,

-- 
Agustin




More information about the Dict-common-dev mailing list