GNU bug report logs - #75389
[PATCH 0/2] Add Austrian and Swiss hunspell dictionaries.

Previous Next

Package: guix-patches;

Reported by: Gabriel Wicki <gabriel <at> erlikon.ch>

Date: Sun, 5 Jan 2025 19:32:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75389 in the body.
You can then email your comments to 75389 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75389; Package guix-patches. (Sun, 05 Jan 2025 19:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gabriel Wicki <gabriel <at> erlikon.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 05 Jan 2025 19:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Wicki <gabriel <at> erlikon.ch>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Add Austrian and Swiss hunspell dictionaries.
Date: Sun, 5 Jan 2025 20:27:44 +0100
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





Information forwarded to guix-patches <at> gnu.org:
bug#75389; Package guix-patches. (Sun, 05 Jan 2025 19:36:01 GMT) Full text and rfc822 format available.

Message #8 received at 75389 <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Wicki <gabriel <at> erlikon.ch>
To: 75389 <at> debbugs.gnu.org.
Subject: [PATCH 1/2] gnu: hunspell: Add Swiss German dictionary.
Date: Sun, 5 Jan 2025 20:25:33 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#75389; Package guix-patches. (Sun, 05 Jan 2025 19:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 75389 <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Wicki <gabriel <at> erlikon.ch>
To: 75389 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: hunspell: Add Austrian German dictionary.
Date: Sun, 5 Jan 2025 20:26:17 +0100
* 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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 07 Jan 2025 17:05:02 GMT) Full text and rfc822 format available.

Notification sent to Gabriel Wicki <gabriel <at> erlikon.ch>:
bug acknowledged by developer. (Tue, 07 Jan 2025 17:05:02 GMT) Full text and rfc822 format available.

Message #16 received at 75389-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Gabriel Wicki <gabriel <at> erlikon.ch>
Cc: 75389-done <at> debbugs.gnu.org
Subject: Re: [bug#75389] [PATCH 0/2] Add Austrian and Swiss hunspell
 dictionaries.
Date: Tue, 07 Jan 2025 18:04:05 +0100
Gabriel Wicki <gabriel <at> erlikon.ch> skribis:

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

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Feb 2025 12:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.