Re: Honoring ‘ASPELL_CONF’ in li baspell

Kevin Atkinson <[email protected]> Sun, 26 Mar 2017 12:57:48 -0400 (EDT)
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-501593419-1490547469=:2667
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable


Hi,

It would be better to change the compiled in defaults.  I believe
the --enable-dict-dir configure option should change the default for dict=
-dir.

Kevin

On Sun, 26 Mar 2017, Ludovic Court=C3=A8s wrote:

> Hello!
>
> GNU=C2=A0Guix does not follow the file system hierarchy standard (FHS) =
and
> thus does not have a =E2=80=9Cstandard location=E2=80=9D where dictiona=
ries can be
> looked for.
>
> When using the =E2=80=98aspell=E2=80=99 command-line tool, that=E2=80=99=
s not a problem: users
> can simply do
>
>  export ASPELL_CONF=3D"dict-dir $HOME/.guix-profile/lib/aspell"
>
> and then =E2=80=98aspell=E2=80=99 will look for dictionaries in this pl=
ace.
>
> However, libaspell does not honor =E2=80=98ASPELL_CONF=E2=80=99, and th=
us libraries such
> as Enchant that link against libaspell think there are no dictionaries
> around because they=E2=80=99re not looking in the right place:
>
>  https://bugs.gnu.org/25836
>
> To work around this, I considered patching our =E2=80=98aspell=E2=80=99=
 package in Guix
> such that libaspell would always honor =E2=80=98ASPELL_CONF=E2=80=99.  =
I tried this
> naive patch:
>
>
--8323329-501593419-1490547469=:2667
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aspell-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/aspell-devel

--8323329-501593419-1490547469=:2667--