[Dict-common-dev] New Hunspell/MySpell policy for lenny - Discussion

Rene Engelhard rene at debian.org
Wed Dec 20 16:25:18 CET 2006

Hash: SHA1

GNA. No, don't ask.... Miswrote both email adresses....

- ----- Forwarded message from Rene Engelhard <rene at debian.org> -----

From: Rene Engelhard <rene at debian.org>
To: pkg-mozilla-maintainers at lists.debian.org, mhatta at debian.org
Subject: New Hunspell/MySpell policy for lenny - Discussion
Reply-To: debian-openoffice at lists.debian.org,
	dictionaries-common-dev at lists.alioth.debian.org,
	pkg-mozilla-maintainers at lists.debian.org, roland at debian.org,
	mhatta at debian.org
User-Agent: Mutt/1.5.13 (2006-08-11)

GNA. The CCs broke...

- ----- Forwarded message from Rene Engelhard <rene at debian.org> -----

Date: Wed, 20 Dec 2006 15:28:18 +0100
From: Rene Engelhard <rene at debian.org>
To: debian-openoffice at lists.debian.org,
	dictionaries-common-dev at lists.alioth.debian.org
Subject: New Hunspell/MySpell policy for lenny - Discussion
User-Agent: Mutt/1.5.13 (2006-08-11)

[ CC'ing all apps/libraries deling with Myspell/Hunspell, not the
individual myspell-* packagers, that would bloat To/Cc: up unnecessarily ]


beginning with lenny I'd like to fix the MySpell/Hunspell mess (see
http://lists.debian.org/debian-release/2006/12/msg00142.html if you
don't know what I speak of) and fix the fact that even OpenOffice.orgs
thesauri and hyphenation patterns are currently in /usr/share/myspell/dicts...

I propose the following:

- - /usr/share/myspell (without dicts/(!) analogous to hspell and aspell)
  containing all MySpell dictionaries. Mozilla *s/Ice*s symlink needs to
  be changed to point to this unless they change to hunspell..

Question: Should we keep it still? Or not just remove it when all
MySpell-using apps/libs switched tu Hunspell (which then look
in /usr/share/hunspell, see below)

- - /usr/share/hunspell contains all Hunspell dictionaries, MySpell
  packages contain symlinks to the myspell dir there since Myspell
  dictionaries are 100% compatible with Hunspell. When the Mozilla*/Ice*
  in question uses hunspell the link should point here. enchant should
  rebuild with matching --with-myspell-dir.

In both cases the dictionaries should only be there in xx-YY (or xx, for
some cases where this currently also is necessary) form,
Mozilla doesn't regognize the _ and just shows them uselessly, where it
also shows the - ones and this mostly with a proper title (like
English/USA). OOo doesn't care about the name at all and if you would
want to keep the _ you could name the symlink (see next paragraph)

Question: Should Hunspell dicts and MySpell dicts for the same language
still conflict? Or should there only be a symlink from the hunspell to
the myspell directory if there only is myspell dictionary available?

- - The OOo info files now get into a new directory
  (/usr/share/openoffice/share/dict/ooo maybe which would probably not
  need much fiddling in OOo after all (OOo excpects the dicts/)
  The info files for OOo should now be installed here; in
  /usr/share/openoffice/share/dict/ooo/info or even in ooo itself since
  OOo only regognizes what is defined in dictionary.lst).
  MySpell and Hunspell dictionaries should have a symlink from here
  pointing to /usr/share/myspell or /usr/share/hunspell.
  OpenOffice.org Thesauri and Hyphenation patterns are installed into
  this location with their "normal" files and registered with the info
  file. Of course, update-openoffice-dicts needs to be changed for this.

  dictionary.lst there is a symlink to /etc/openoffice/dictionary.lst
  which stays the same.

Of course this plan needs appropriate conflicts/depends worked out for
preventing upgrades breaking and need some updates in the DSDT policy
and dictionaries-commons scripts and in the various affected packages
but it should be doable - with appropriate RC bugs and NMUing of
myspell packages if necessary.




- ----- End forwarded message -----

- ----- End forwarded message -----
Version: GnuPG v1.4.6 (GNU/Linux)


More information about the Dict-common-dev mailing list