Re: Re: implementing aspell hash generation at install time

Agustin Martin <agustin.martin-a/[email protected]> Wed, 11 Jan 2006 12:51:34 +0100
Newsgroups gmane.linux.debian.devel.dictionary
Message-ID <[email protected]>
On Sat, Jan 07, 2006 at 01:55:25PM +0200, Martin-=C9ric Racine wrote:
> pe, 2006-01-06 kello 14:54 +0200, Martin-=C9ric Racine kirjoitti:
>=20
> > I'm the maintainer of rus-ispell and ispell-et, from which are genera=
ted
> > corresponding aspell dictionaries.  I have recently upgraded my packa=
ges
> > to Provides aspell6a dictionaries with build-time hash generation.
> >=20
> > I would now like precise step-by-step instructions on how to convert =
to
> > install-time hash generation to Provides aspell dictionaries. =20
>=20
> I'd also mention that I already read Brian Nelson's post in #318816. Th=
e
> part that remains unclear to me are steps 7 and 8, more precisely how t=
o
> generate the CWL file from ispell dictionaries.=20

You just need to use the wordlist you used to build the hash, but pass
it through prezip and gzip, getting the output whatever.cwl.gz (cwl stand=
s
for compressed wordlist) and install in the right place,

man aspell-autobuildhash

will help you (with .hash occurrences changed to .rws, I just noticed tha=
t
was not updated)

>From espa-nol package (currently building aspell-es), $(ISOLANG).wl is th=
e
wordlist

prezip $(ISOLANG).wl
gzip $(ISOLANG).cwl

will give you $(ISOLANG).cwl.gz

--=20
Agustin