all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: How to add spell checking dictionaries to Icecat
Date: Sat, 16 Sep 2017 23:33:03 +0200	[thread overview]
Message-ID: <87377mjpm8.fsf@gnu.org> (raw)
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")

Hello,

ludo@gnu.org (Ludovic Courtès) 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’ve added French dictionaries for Hunspell roughly following Nixpkgs,
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=/home/ludo/.guix-profile/lib/aspell
DICPATH=/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=4db733e77d81cc7dee1a2939446290ba29a6a66e
  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=31daf8931b20c5e58d5d0941bbad09c820bd3285

Ludo’.

  reply	other threads:[~2017-09-16 21:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 23:03 How to add spell checking dictionaries to Icecat Maxim Cournoyer
2017-09-03 20:17 ` Ludovic Courtès
2017-09-03 20:50   ` ng0
2017-09-04  9:45     ` Ludovic Courtès
2017-09-16 21:33       ` Ludovic Courtès [this message]
2017-09-18 13:56         ` Ludovic Courtès
2017-09-19 23:38           ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87377mjpm8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.