unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75389] [PATCH 1/2] gnu: hunspell: Add Swiss German dictionary.
  2025-01-05 19:27 [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Gabriel Wicki
@ 2025-01-05 19:25 ` Gabriel Wicki
  2025-01-05 19:26 ` [bug#75389] [PATCH 2/2] gnu: hunspell: Add Austrian " Gabriel Wicki
  2025-01-07 17:04 ` bug#75389: [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Gabriel Wicki @ 2025-01-05 19:25 UTC (permalink / raw)
  To: 75389


* gnu/packages/hunspell.scm(hunspell-dict-de-ch): New variable.

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

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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#75389] [PATCH 2/2] gnu: hunspell: Add Austrian German dictionary.
  2025-01-05 19:27 [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Gabriel Wicki
  2025-01-05 19:25 ` [bug#75389] [PATCH 1/2] gnu: hunspell: Add Swiss German dictionary Gabriel Wicki
@ 2025-01-05 19:26 ` Gabriel Wicki
  2025-01-07 17:04 ` bug#75389: [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Gabriel Wicki @ 2025-01-05 19:26 UTC (permalink / raw)
  To: 75389


* gnu/packages/hunspell.scm (hunspell-dict-de-at): New variable.

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

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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries.
@ 2025-01-05 19:27 Gabriel Wicki
  2025-01-05 19:25 ` [bug#75389] [PATCH 1/2] gnu: hunspell: Add Swiss German dictionary Gabriel Wicki
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gabriel Wicki @ 2025-01-05 19:27 UTC (permalink / raw)
  To: 75389

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#75389: [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries.
  2025-01-05 19:27 [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Gabriel Wicki
  2025-01-05 19:25 ` [bug#75389] [PATCH 1/2] gnu: hunspell: Add Swiss German dictionary Gabriel Wicki
  2025-01-05 19:26 ` [bug#75389] [PATCH 2/2] gnu: hunspell: Add Austrian " Gabriel Wicki
@ 2025-01-07 17:04 ` Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2025-01-07 17:04 UTC (permalink / raw)
  To: Gabriel Wicki; +Cc: 75389-done

Gabriel Wicki <gabriel@erlikon.ch> skribis:

>   gnu: hunspell: Add Swiss German dictionary.
>   gnu: hunspell: Add Austrian German dictionary.

Applied, thanks!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-07 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-05 19:27 [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Gabriel Wicki
2025-01-05 19:25 ` [bug#75389] [PATCH 1/2] gnu: hunspell: Add Swiss German dictionary Gabriel Wicki
2025-01-05 19:26 ` [bug#75389] [PATCH 2/2] gnu: hunspell: Add Austrian " Gabriel Wicki
2025-01-07 17:04 ` bug#75389: [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).