On Tue, Dec 09, 2014 at 10:37:42PM -0500, Brian Nelson wrote:
> Agustin Martin <[email protected]> writes:
> 
> [...]
> > I see two approaches to this problem.
> >
> > 1) Make sure data files are also searched for under dict-dir. This requires
> >    a number of changes in aspell code to handle 3 search dirs instead of 2.
> >    I have been doing some changes for this, but this is probably more for
> >    upstream.
> >
> > 2) Partially revert the changes, keep independent multiarch lib-dir, but
> >    join data-dir and dict-dir into /usr/lib/aspell. This is a far simpler
> >    change, but will also need testing.
> >
> >    This has another advantage. Noticed that aspell dicts building directly
> >    from aspell dict sources will install dat files under data-dir and dicts
> >    stuff under dict-dir, currently different locations. 
> >
> >    I think is better to keep all (but autogenerated) stuff for a given dict
> >    together.
> >
> > Brian, what do you think? 
> 
> Either solution is fine with me.  It's probably a bit nicer to not have
> to maintain a source code patch, so I'd lean toward #2 as well.

Agreed, I also prefer #2. 

Also, the way to handle one more path in #1 sounds me a bit ugly. If it is the
way, this is something I'd expect to be done more cleanly at upstream
side, with something like an array of strings.

> I'll test out the patch tomorrow.

¿Could you have a look at this change? 

Also note that, as commented above, current jessie status has a potential
problem for aspell dictionaries that build directly from aspell dict
sources. They will install data files under data-dir, that has been changed
to be under /usr/share. When we change it back, above dicts built against
jessie aspell will not work with fixed aspell.

Last time I looked at this there was no aspell dict putting things in a
separate data-dir, but since there is a 'reproducible build' campaign, some
of these dicts might be rebuilt and place things where it will not be found
once this bug is fixed.

I'd like to mail all aspell dict maintainers with this info, asking them to
wait until fixed aspell is uploaded. I have been rather busy lately, but
hope to find time for this.

Also, if your tests are OK, I'd consider uploading fixed aspell to sid
before jessie is released. This way, newly built dicts will not be affected.

Regards,

-- 
Agustin


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

Reply via email to