GNU bug report logs -
#36087
[PATCH 0/9] Add further Aspell dictionaries.
Previous Next
Reported by: Jens Mølgaard <jens <at> zete.tk>
Date: Tue, 4 Jun 2019 10:32:02 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 36087 in the body.
You can then email your comments to 36087 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Tue, 04 Jun 2019 10:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jens Mølgaard <jens <at> zete.tk>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 04 Jun 2019 10:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Guix,
I have added some additional Aspell dictionaries. I wasn't sure whether
to separated them out or not, as they're not quite stand-alone packages,
so I'll send them as a patch series - squish them together in one commit
if that makes more sense.
In case I or someone else wants to add them in the future, some older
dictionaries such as Icelandic and Norwegian Bokmål contain non-utf8
filenames and will fail to build. Ludovic suggested adding glibc-locales
as input and a pre-unpack phase to do (setlocale LC_ALL
"en_US.iso88591").
--
Jens Mølgaard
Jens M (9):
gnu: Add Arabic Aspell dictionary.
gnu: Add Belarusian Aspell dictionary.
gnu: Add Danish Aspell dictionary.
gnu: Add Finnish Aspell dictionary.
gnu: Add Hindi Aspell dictionary.
gnu: Add Maori Aspell dictionary.
gnu: Add Norwegian Nynorsk Aspell Dictionary.
gnu: Add Portuguese Aspell Dictionary.
gnu: Add Ukrainian Aspell Dictionary.
gnu/packages/aspell.scm | 69 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-Add-Arabic-Aspell-dictionary.patch (text/x-patch, inline)]
From da6f5d561ee39755cc21125799ed3ce8106b7d52 Mon Sep 17 00:00:00 2001
From: Jens Mølgaard <jens <at> zete.tk>
Date: Sat, 1 Jun 2019 21:29:30 +1200
Subject: [PATCH 1/9] gnu: Add Arabic Aspell dictionary.
---
gnu/packages/aspell.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index dd006e8184..86b843a976 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2016 Christopher Andersson <christopher <at> 8bits.nu>
;;; Copyright © 2016 Theodoros Foradis <theodoros <at> foradis.org>
;;; Copyright © 2016, 2017, 2019 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2019 Jens Mølgaard <jens <at> zete.tk>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -131,6 +132,14 @@ dictionaries, including personal ones.")
(home-page "http://aspell.net/")))
+(define-public aspell-dict-ar
+ (aspell-dictionary "ar" "Arabic"
+ #:version "1.2-0"
+ #:prefix "aspell6-"
+ #:sha256
+ (base32
+ "1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4")))
+
(define-public aspell-dict-ca
(aspell-dictionary "ca" "Catalan"
#:version "2.1.5-1"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:11:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0002-gnu-Add-Belarusian-Aspell-dictionary.patch (text/x-patch, inline)]
From 0cd8896c584cb40b4cdbfd11bd774c8ba4e336fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 20:54:17 +1200
Subject: [PATCH 2/9] gnu: Add Belarusian Aspell dictionary.
---
gnu/packages/aspell.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 86b843a976..99ceac9b07 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -140,6 +140,14 @@ dictionaries, including personal ones.")
(base32
"1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4")))
+(define-public aspell-dict-be
+ (aspell-dictionary "be" "Belarusian"
+ #:version "0.01"
+ #:prefix "aspell5-"
+ #:sha256
+ (base32
+ "1svls9p7rsfi3hs0afh0cssj006qb4v1ik2yzqgj8hm10c6as2sm")))
+
(define-public aspell-dict-ca
(aspell-dictionary "ca" "Catalan"
#:version "2.1.5-1"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:12:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0003-gnu-Add-Danish-Aspell-dictionary.patch (text/x-patch, inline)]
From 4ce38f3700a92b9cd5f9a8702c844170d4e897fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 20:56:54 +1200
Subject: [PATCH 3/9] gnu: Add Danish Aspell dictionary.
---
gnu/packages/aspell.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 99ceac9b07..940ccd989c 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -162,6 +162,14 @@ dictionaries, including personal ones.")
(base32
"01p92qj66cqb346gk7hjfynaap5sbcn85xz07kjfdq623ghr8v5s")))
+(define-public aspell-dict-da
+ (aspell-dictionary "da" "Danish"
+ #:version "1.4.42-1"
+ #:prefix "aspell5-"
+ #:sha256
+ (base32
+ "1hfkmiyhgrx5lgrb2mffjbdn1hivrm73wcg7x0iid74p2yb0fjpp")))
+
(define-public aspell-dict-el
(aspell-dictionary "el" "Greek"
#:version "0.08-0"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:13:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0004-gnu-Add-Finnish-Aspell-dictionary.patch (text/x-patch, inline)]
From c2be688e9c13ed6b38adb22f12dfd3341fd8a190 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 20:58:02 +1200
Subject: [PATCH 4/9] gnu: Add Finnish Aspell dictionary.
---
gnu/packages/aspell.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 940ccd989c..e00d96a019 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -199,6 +199,14 @@ dictionaries, including personal ones.")
(base32
"1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd")))
+(define-public aspell-dict-fi
+ (aspell-dictionary "fi" "Finnish"
+ #:version "0.7-0"
+ #:prefix "aspell6-"
+ #:sha256
+ (base32
+ "07d5s08ba4dd89cmwy9icc01i6fjdykxlb9ravmhdrhi8mxz1mzq")))
+
(define-public aspell-dict-fr
(aspell-dictionary "fr" "French"
#:version "0.50-3"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:14:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0005-gnu-Add-Hindi-Aspell-dictionary.patch (text/x-patch, inline)]
From 33b4dc56fc1438ce81034d4a985887021637153b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 20:58:51 +1200
Subject: [PATCH 5/9] gnu: Add Hindi Aspell dictionary.
---
gnu/packages/aspell.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index e00d96a019..cd7d0324f3 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -229,6 +229,14 @@ dictionaries, including personal ones.")
(base32
"13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn")))
+(define-public aspell-dict-hi
+ (aspell-dictionary "hi" "Hindi"
+ #:version "0.02-0"
+ #:prefix "aspell6-"
+ #:sha256
+ (base32
+ "0drs374qz4419zx1lf2k281ydxf2750jk5ailafj1x0ncz27h1ys")))
+
(define-public aspell-dict-it
(let ((version "2.4-20070901-0")
(sha256
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:15:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0006-gnu-Add-Maori-Aspell-dictionary.patch (text/x-patch, inline)]
From fd89cf7d30c71db8ec608c46d882eff3e78ab3a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 20:59:30 +1200
Subject: [PATCH 6/9] gnu: Add Maori Aspell dictionary.
---
gnu/packages/aspell.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index cd7d0324f3..f51422ee07 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -258,6 +258,13 @@ dictionaries, including personal ones.")
(home-page
"http://linguistico.sourceforge.net/pages/dizionario_italiano.html"))))
+(define-public aspell-dict-mi
+ (aspell-dictionary "mi" "Maori"
+ #:version "0.50-0"
+ #:sha256
+ (base32
+ "12bxplpd348yx8d2q8qvahi9dlp7qf28qmanzhziwc7np8rixvmy")))
+
(define-public aspell-dict-nl
(aspell-dictionary "nl" "Dutch"
#:version "0.50-2"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:17:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0007-gnu-Add-Norwegian-Nynorsk-Aspell-dictionary.patch (text/x-patch, inline)]
From dbac24a3ce189275d74f5cfc081c4a30e7197fb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 21:00:46 +1200
Subject: [PATCH 7/9] gnu: Add Norwegian Nynorsk Aspell dictionary.
---
gnu/packages/aspell.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index f51422ee07..dde2a6379b 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -273,6 +273,13 @@ dictionaries, including personal ones.")
(base32
"0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4")))
+(define-public aspell-dict-nn
+ (aspell-dictionary "nn" "Norwegian Nynorsk"
+ #:version "0.50.1-1"
+ #:sha256
+ (base32
+ "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc")))
+
(define-public aspell-dict-pt-br
(aspell-dictionary "pt-br" "Brazilian Portuguese"
#:version "20090702-0"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:17:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0008-gnu-Add-Portuguese-Portugal-Aspell-dictionary.patch (text/x-patch, inline)]
From 577b159f9cbc7031f9cbb6772632391af4f576c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 21:01:35 +1200
Subject: [PATCH 8/9] gnu: Add Portuguese Portugal Aspell dictionary.
---
gnu/packages/aspell.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index dde2a6379b..945a53e3cd 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -288,6 +288,14 @@ dictionaries, including personal ones.")
(base32
"1y09lx9zf2rnp55r16b2vgj953l3538z1vaqgflg9mdvm555bz3p")))
+(define-public aspell-dict-pt-pt
+ (aspell-dictionary "pt-pt" "Portuguese"
+ #:version "20070510-0"
+ #:prefix "aspell6-"
+ #:sha256
+ (base32
+ "1mnr994cwlag6shy8865ky99lymysiln07mbldcncahg90dagdxq")))
+
(define-public aspell-dict-ru
(aspell-dictionary "ru" "Russian"
#:version "0.99f7-1"
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Wed, 05 Jun 2019 09:17:04 GMT)
Full text and
rfc822 format available.
Message #32 received at 36087 <at> debbugs.gnu.org (full text, mbox):
[0009-gnu-Add-Ukrainian-Aspell-dictionary.patch (text/x-patch, inline)]
From 84a938ffce4ccdbe44c3497fd5c6f6830322a772 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Wed, 5 Jun 2019 21:02:36 +1200
Subject: [PATCH 9/9] gnu: Add Ukrainian Aspell dictionary.
---
gnu/packages/aspell.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 945a53e3cd..1bbe57a4ef 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -311,6 +311,13 @@ dictionaries, including personal ones.")
(base32
"02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v")))
+(define-public aspell-dict-uk
+ (aspell-dictionary "uk" "Ukrainian"
+ #:version "1.4.0-0"
+ #:sha256
+ (base32
+ "137i4njvnslab6l4s291s11xijr5jsy75lbdph32f9y183lagy9m")))
+
;;;
;;; Hunspell packages made from the Aspell word lists.
--
2.21.0
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Wed, 05 Jun 2019 15:13:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jens Mølgaard <jens <at> zete.tk>
:
bug acknowledged by developer.
(Wed, 05 Jun 2019 15:13:01 GMT)
Full text and
rfc822 format available.
Message #37 received at 36087-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Jens Mølgaard <jens <at> zete.tk> skribis:
> I have added some additional Aspell dictionaries. I wasn't sure whether
> to separated them out or not, as they're not quite stand-alone packages,
> so I'll send them as a patch series - squish them together in one commit
> if that makes more sense.
I’ve applied them all and adjusted the commit log to follow our
conventions. Thanks!
There’s a minor issue: the URL computed for the pt-pt dictionary is
incorrect, because the URL should read “pt_PT” and not “pt-pt”. It
turns out that the tarball was found on the tarballs.nixos.org
content-addressed mirror, so it builds flawlessly. However, it’d be
nice to adjust ‘aspell-dictionary’ so that it can compute the right
upstream URL for edge cases like this one.
Would you like to give it a try?
> In case I or someone else wants to add them in the future, some older
> dictionaries such as Icelandic and Norwegian Bokmål contain non-utf8
> filenames and will fail to build. Ludovic suggested adding glibc-locales
> as input and a pre-unpack phase to do (setlocale LC_ALL
> "en_US.iso88591").
Future work! :-)
Thanks,
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36087
; Package
guix-patches
.
(Thu, 06 Jun 2019 00:27:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 36087-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sure! I'll have a look...
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hello,
>
> Jens Mølgaard <jens <at> zete.tk> skribis:
>
>> I have added some additional Aspell dictionaries. I wasn't sure whether
>> to separated them out or not, as they're not quite stand-alone packages,
>> so I'll send them as a patch series - squish them together in one commit
>> if that makes more sense.
>
> I’ve applied them all and adjusted the commit log to follow our
> conventions. Thanks!
>
> There’s a minor issue: the URL computed for the pt-pt dictionary is
> incorrect, because the URL should read “pt_PT” and not “pt-pt”. It
> turns out that the tarball was found on the tarballs.nixos.org
> content-addressed mirror, so it builds flawlessly. However, it’d be
> nice to adjust ‘aspell-dictionary’ so that it can compute the right
> upstream URL for edge cases like this one.
>
> Would you like to give it a try?
>
>> In case I or someone else wants to add them in the future, some older
>> dictionaries such as Icelandic and Norwegian Bokmål contain non-utf8
>> filenames and will fail to build. Ludovic suggested adding glibc-locales
>> as input and a pre-unpack phase to do (setlocale LC_ALL
>> "en_US.iso88591").
>
> Future work! :-)
>
> Thanks,
> Ludo’.
--
Jens Ole Mølgaard || +64 20 4153 6959
2/388 Devonport Road, 3112 Tauranga, New Zealand
PGP: 2A44 75B4 93FB 02D8 --> keybase.io/jensm#show-public
Website: jens.zete.tk
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 04 Jul 2019 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 296 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.