GNU bug report logs - #58570
[PATCH] gnu: Add skk-jisyo.

Previous Next

Package: guix-patches;

Reported by: ROCKTAKEY <rocktakey <at> gmail.com>

Date: Sun, 16 Oct 2022 18:46:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

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 58570 in the body.
You can then email your comments to 58570 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#58570; Package guix-patches. (Sun, 16 Oct 2022 18:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ROCKTAKEY <rocktakey <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 16 Oct 2022 18:46:01 GMT) Full text and rfc822 format available.

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

From: ROCKTAKEY <rocktakey <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: ROCKTAKEY <rocktakey <at> gmail.com>
Subject: [PATCH] gnu: Add skk-jisyo.
Date: Sun, 16 Oct 2022 18:01:47 +0900
* gnu/packages/dictionaries.scm (skk-jisyo): New variable.
---
 gnu/packages/dictionaries.scm | 39 +++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index fa9a78fe80..7024937672 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2018 Arun Isaac <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2019 Pierre Langlois <pierre.langlois <at> gmx.com>
 ;;; Copyright © 2020 Lu hux <luhux <at> outlook.com>
+;;; Copyright © 2022 ROCKTAKEY <rocktakey <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -429,3 +430,41 @@ (define-public sdcv
     (description "sdcv is simple text-based utility for work with dictionaries
 in StarDict's format.")
     (license license:gpl2+)))
+
+(define-public skk-jisyo
+  (let ((commit "38c81dbc74cdbdead843364023dea837f239a48c")
+        (revision "0"))
+    (package
+      (name "skk-jisyo")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/skk-dev/dict")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "121j73bgd7fvj7zvaidqvgzfdvimig3f0vsyfv4vndwfgskh2r7z"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan '(("./" "share/skk"
+                           #:include-regexp ("SKK-JISYO\\.*")
+                           #:exclude-regexp ("\\.gz$" "\\.md5$")
+                           #:exclude ("SKK-JISYO.pubdic+"
+                                      "SKK-JISYO.wrong.annotated"
+                                      "SKK-JISYO.wrong")))
+         #:phases (modify-phases %standard-phases
+                    (add-before 'install 'decompress
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        (map (lambda (arg)
+                               (invoke "gzip" "-v" "-d" arg))
+                             (find-files "." "SKK-JISYO\\..*\\.gz$"))
+                        (invoke "tar" "xvf" "zipcode.tar.gz"))))))
+      (home-page "https://skk-dev.github.io/dict/")
+      (synopsis "Jisyo (dictionary) files for the SKK Japanese-input software")
+      (description
+       "This package provides @file{SKK-JISYO.L}, the standard dictionary file
+for SKK Japanese input systems, and various dictionary files.
+@file{SKK-JISYO.L} can be used with @code{emacs-ddskk} or @code{uim} package.")
+      (license license:gpl2+))))

base-commit: d923cf1deac0b6762345d0d9e53822cbcb899365
-- 
2.37.3





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Tue, 18 Oct 2022 10:23:02 GMT) Full text and rfc822 format available.

Notification sent to ROCKTAKEY <rocktakey <at> gmail.com>:
bug acknowledged by developer. (Tue, 18 Oct 2022 10:23:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: ROCKTAKEY <rocktakey <at> gmail.com>
Cc: 58570-done <at> debbugs.gnu.org
Subject: Re: [bug#58570] [PATCH] gnu: Add skk-jisyo.
Date: Tue, 18 Oct 2022 11:21:20 +0100
[Message part 1 (text/plain, inline)]
ROCKTAKEY <rocktakey <at> gmail.com> writes:

> * gnu/packages/dictionaries.scm (skk-jisyo): New variable.
> ---
>  gnu/packages/dictionaries.scm | 39 +++++++++++++++++++++++++++++++++++
>  1 file changed, 39 insertions(+)

Thanks for the patch! Pushed to master as
c844489350570bae30442b6d264339029bee4f0f.

Chris
[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. (Tue, 15 Nov 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 217 days ago.

Previous Next


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