[PATCH 0/2] Add Austrian and Swiss hunspell dictionaries.

  • Done
  • quality assurance status badge
Details
2 participants
  • Gabriel Wicki
  • Ludovic Courtès
Owner
unassigned
Submitted by
Gabriel Wicki
Severity
normal

Debbugs page

G
G
Gabriel Wicki wrote 5 days ago
(address . guix-patches@gnu.org)
87ttadrrcc.fsf@erlikon.ch
I realized the packages were missing and found that we already pull the correct sources to build them.

Thanks for merging in advance!



Gabriel Wicki (2):
gnu: hunspell: Add Swiss German dictionary.
gnu: hunspell: Add Austrian German dictionary.

gnu/packages/hunspell.scm | 66 +++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)


base-commit: 66df3296c4a8012c745c792cd95edfe2aad81031
--
2.46.0
G
G
Gabriel Wicki wrote 5 days ago
[PATCH 1/2] gnu: hunspell: Add Swiss German dictionary.
87r05hrr4p.fsf@erlikon.ch
* gnu/packages/hunspell.scm(hunspell-dict-de-ch): New variable.

Change-Id: Ib868e7efaa92e536229d45098ffd8f38a9441b83
---
gnu/packages/hunspell.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/hunspell.scm b/gnu/packages/hunspell.scm
index eed10b16bb..73092d6839 100644
--- a/gnu/packages/hunspell.scm
+++ b/gnu/packages/hunspell.scm
@@ -219,6 +219,39 @@ (define-public hunspell-dict-de
(home-page "https://www.j3e.de/ispell/igerman98/")
(license (list license:gpl2 license:gpl3))))
+(define-public hunspell-dict-de-ch
+ (package
+ (name "hunspell-dict-de-ch")
+ (version "20161207")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.j3e.de/ispell/igerman98/dict/"
+ "igerman98-" version ".tar.bz2"))
+ (sha256
+ (base32 "1a3055hp2bc4q4nlg3gmg0147p3a1zlfnc65xiv2v9pyql1nya8p"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags '("hunspell/de_CH.dic")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install ;no install target
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share/hunspell/")))
+ (install-file "hunspell/de_CH.aff" share)
+ (install-file "hunspell/de_CH.dic" share)
+ #t))))
+ #:tests? #f)) ; no tests
+ (native-inputs
+ (list hunspell ispell perl))
+ (synopsis "Hunspell dictionary for Swiss German (de_CH)")
+ (description "This package provides a dictionary for the Hunspell
+spell-checking library.")
+ (home-page "https://www.j3e.de/ispell/igerman98/")
+ (license (list license:gpl2 license:gpl3))))
+
(define-public hunspell-dict-hu
(let ((revision "2")
(major+minor "1.7"))
--
2.46.0
G
G
Gabriel Wicki wrote 5 days ago
[PATCH 2/2] gnu: hunspell: Add Austrian German dictionary.
(address . 75389@debbugs.gnu.org)
87o70lrr2h.fsf@erlikon.ch
* gnu/packages/hunspell.scm (hunspell-dict-de-at): New variable.

Change-Id: I34e8fd0b04443efa5e06fe54d6b57dff666c10a0
---
gnu/packages/hunspell.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/hunspell.scm b/gnu/packages/hunspell.scm
index 73092d6839..829cace139 100644
--- a/gnu/packages/hunspell.scm
+++ b/gnu/packages/hunspell.scm
@@ -219,6 +219,39 @@ (define-public hunspell-dict-de
(home-page "https://www.j3e.de/ispell/igerman98/")
(license (list license:gpl2 license:gpl3))))
+(define-public hunspell-dict-de-at
+ (package
+ (name "hunspell-dict-de-at")
+ (version "20161207")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.j3e.de/ispell/igerman98/dict/"
+ "igerman98-" version ".tar.bz2"))
+ (sha256
+ (base32 "1a3055hp2bc4q4nlg3gmg0147p3a1zlfnc65xiv2v9pyql1nya8p"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags '("hunspell/de_AT.dic")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install ;no install target
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share/hunspell/")))
+ (install-file "hunspell/de_AT.aff" share)
+ (install-file "hunspell/de_AT.dic" share)
+ #t))))
+ #:tests? #f)) ; no tests
+ (native-inputs
+ (list hunspell ispell perl))
+ (synopsis "Hunspell dictionary for Austrian German (de_AT)")
+ (description "This package provides a dictionary for the Hunspell
+spell-checking library.")
+ (home-page "https://www.j3e.de/ispell/igerman98/")
+ (license (list license:gpl2 license:gpl3))))
+
(define-public hunspell-dict-de-ch
(package
(name "hunspell-dict-de-ch")
--
2.46.0
L
L
Ludovic Courtès wrote 3 days ago
Re: [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries.
(name . Gabriel Wicki)(address . gabriel@erlikon.ch)(address . 75389-done@debbugs.gnu.org)
87cygy1rp6.fsf@gnu.org
Gabriel Wicki <gabriel@erlikon.ch> skribis:

Toggle quote (3 lines)
> gnu: hunspell: Add Swiss German dictionary.
> gnu: hunspell: Add Austrian German dictionary.

Applied, thanks!
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 75389@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75389
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch