From mboxrd@z Thu Jan  1 00:00:00 1970
From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Subject: Re: How to add spell checking dictionaries to Icecat
Date: Sat, 16 Sep 2017 23:33:03 +0200
Message-ID: <87377mjpm8.fsf@gnu.org>
References: <87pobef033.fsf@gmail.com> <87d177sfjk.fsf@gnu.org>
	<20170903205005.qdtswvafsbyma2ib@abyayala> <878thu6blq.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60768)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1dtKi3-00037R-AQ
	for help-guix@gnu.org; Sat, 16 Sep 2017 17:33:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1dtKi2-0003Gr-BI
	for help-guix@gnu.org; Sat, 16 Sep 2017 17:33:07 -0400
In-Reply-To: <878thu6blq.fsf@gnu.org> ("Ludovic
	\=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
	\=\?utf-8\?Q\?s\?\= message of "Mon, 04 Sep 2017 11:45:37 +0200")
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
	<mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-guix/>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
	<mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org
Sender: "Help-Guix" <help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: help-guix <help-guix@gnu.org>

Hello,

ludo@gnu.org (Ludovic Court=C3=A8s) skribis:

> Nixpkgs gets its dictionaries from <http://wordlist.sf.net>,
> <http://www.dicollecte.org>, and others sources:
>
>   https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries=
/hunspell/dictionaries.nix

I=E2=80=99ve added French dictionaries for Hunspell roughly following Nixpk=
gs,
as well as a search path definition, and that seems to work:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix environment --ad-hoc hunspell hunspell-dict-fr
substitute: updating list of substitutes from 'https://bayfront.guixsd.org'=
... 100.0%
substitute: updating list of substitutes from 'https://berlin.guixsd.org'..=
. 100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org=
'... 100.0%
The following derivations will be built:
   /gnu/store/aiaxqy3mp22zj8ahcxz07i0sh7vb1f63-profile.drv
   /gnu/store/w1w5abixsy6wnmxy3jy7h1pbklh8s2dr-fonts-dir.drv
   /gnu/store/qnhiqv0x07lrzxwbiia2gln0w0yf5cwb-ca-certificate-bundle.drv
   /gnu/store/c4cg870cgm84n1ywlr9rhsgjm250x0v6-info-dir.drv
   /gnu/store/z1jq048mpyjiqjm32glpkjkjr38kaqns-manual-database.drv
Creating manual page database for 1 packages... done in 0.040 s
[env]$ env|grep DIC
ASPELL_DICT_DIR=3D/home/ludo/.guix-profile/lib/aspell
DICPATH=3D/gnu/store/l54jaa80ghf5gn4p0l0vihbfhn4rfmqr-profile/share/hunspell
[env]$ echo "bonjor" | hunspell -d fr-classique
Hunspell 1.6.1
& bonjor 1 0: bonjour

--8<---------------cut here---------------end--------------->8---

See:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D4db733e77d81cc7de=
e1a2939446290ba29a6a66e
  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D31daf8931b20c5e58=
d5d0941bbad09c820bd3285

Ludo=E2=80=99.