emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#29079: closed ([PATCH] gnu: Add hunspell-en-US.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#29079: closed ([PATCH] gnu: Add hunspell-en-US.)
Date: Fri, 10 Nov 2017 17:01:01 +0000

Your message dated Fri, 10 Nov 2017 12:00:18 -0500
with message-id <address@hidden>
and subject line Re: [bug#29079] [PATCH] gnu: Add hunspell-en-US.
has caused the debbugs.gnu.org bug report #29079,
regarding [PATCH] gnu: Add hunspell-en-US.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
29079: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29079
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add hunspell-en-US. Date: Tue, 31 Oct 2017 10:47:50 -0400
* gnu/packages/dictionaries.scm (hunspell-en-US): New variable.
---
 gnu/packages/dictionaries.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 062c29b66..0cc7df394 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Sou Bunnbu <address@hidden>
+;;; Copyright © 2017 Kei Kebreau <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -252,3 +253,39 @@ translator powered by Google Translate (default), Bing 
Translator,
 Yandex.Translate and Apertium.  It gives you easy access to one of these
 translation engines from your terminal.")
     (license public-domain)))
+
+(define-public hunspell-en-US
+  (package
+    (name "hunspell-en-US")
+    (version "2017.01.22")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://launchpad.net/hunspell-en_US/trunk/";
+                                  version "/+download/hunspell-en_US-" version
+                                  ".zip"))
+              (sha256
+               (base32
+                "0svc3m09vz7q37481a0lrf6j2raw65zqg6lazic06s7f1vc6h92i"))))
+    (build-system trivial-build-system)
+    (arguments
+     '(#:builder (begin
+                   (use-modules (guix build utils))
+
+                   (let* ((dict (assoc-ref %build-inputs "source"))
+                          (out (assoc-ref %outputs "out"))
+                          (share (string-append out "/share/hunspell"))
+                          (unzip (string-append
+                                  (assoc-ref %build-inputs "unzip")
+                                  "/bin/unzip")))
+                     (mkdir-p share)
+                     (zero? (system* unzip dict "-d" share))))
+       #:modules ((guix build utils))))
+    (native-inputs
+     `(("source" ,source)
+       ("unzip" ,unzip)))
+    (home-page "http://wordlist.aspell.net/";)
+    (synopsis "American English dictionary for use with hunspell")
+    (description
+     "This is an American English dictionary for use with the hunspell spell
+checker.")
+    (license (non-copyleft "file://README_en_US.txt"))))
-- 
2.14.3




--- End Message ---
--- Begin Message --- Subject: Re: [bug#29079] [PATCH] gnu: Add hunspell-en-US. Date: Fri, 10 Nov 2017 12:00:18 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
address@hidden (Ludovic Courtès) writes:

> Kei Kebreau <address@hidden> skribis:
>
>> From c143bad02ebcb7d94ad6e2582b6831c5d107e2a8 Mon Sep 17 00:00:00 2001
>> From: Kei Kebreau <address@hidden>
>> Date: Thu, 9 Nov 2017 17:49:02 -0500
>> Subject: [PATCH] gnu: Fix hunspell-dict-en-* dictionary installation.
>>
>> * gnu/packages/aspell.scm (aspell-word-list)[arguments]: Install the .dic 
>> file
>> for all hunspell dictionaries.
>
> Perfect, thanks!
>
> Ludo’.

Pushed as d4d7d70912642be18d93c9ce6470f8650097b5e5 to master!

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]