On Wed, May 25, 2005 at 09:33:32PM +0200, Agustin Martin wrote:

> What is currently in
> 
> http://dict-common.alioth.debian.org/aspell-autobuildhash
> 
> is pretty old. It tried to keep different aspell variants coexisting. Do not
> try to test it, I wrote something newer and will put it there ASAP, for a
> single aspell version each time, much closer to the ispell implementation,
> but simpler.

Hi, Brian

I have put a more recent version of everything there. While still very
experimental, seems to work. Includes a dictionaries-common package with
aspell-autobuildhash and my ispell-gl package (giving aspell-gl-minimos)
adapted for aspell-autobuildhash. I think that is a good example, since it
uses affix compression, but the code should also work with a plain wordlist.

Version numbers are smaller than current ones in unstable. aspell-gl-minimos
experimental package will not work with unstable dictionaries-common
(although I hope at least installation does not fail noisily), only with the
experimental dictionaries-common with aspell-autobuildhash support.

For the first tests aspell do not need anything special, but if this becomes
more solid, code like

if [ "$1" = "configure" ] ; then
    if [ -x /usr/sbin/aspell-autobuildhash ]; then
        aspell-autobuildhash
    fi
fi

should be added to aspell.postinst, as well as a compat string to file
/usr/share/aspell/aspell.compat. The format for that string is something
like

0.60_c1

where the substring before "_" will be added to /usr/lib/aspell- to know the
datadir, and everything after will represent possible incompatibilities
between 0.60 versions (not desirable, but who knows). If something in the
string is changed dicts will be autorebuilt.

Comments are welcome,

Cheers,

-- 
Agustin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to