unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39818] [PATCH] gnu: Add emacs-ddskk.
@ 2020-02-28  0:44 Masaya Tojo
  2020-02-29 19:35 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Masaya Tojo @ 2020-02-28  0:44 UTC (permalink / raw)
  To: 39818

[-- Attachment #1: Type: text/plain, Size: 1594 bytes --]

Hello.
* gnu/packages/emacs-xyz.scm (emacs-ddskk): New variable.

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a9b36dd882..116786d0d6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -60,6 +60,7 @@
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
;;; Copyright © 2020 Evan Straw <evan.straw99@gmail.com>
+;;; Copyright © 2020 Masaya Tojo <masaya@tojo.tokyo>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21667,3 +21668,26 @@ EXIF, XMP and IPTC.")
generate random passwords and insert them into the current buffer.  It also
supports generation of phonetic and numeric passwords.")
     (license license:artistic2.0)))
+
+(define emacs-ddskk
+  (package
+    (name "emacs-ddskk")
+    (version "17.0.50")
+    (home-page "https://github.com/skk-dev/ddskk")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit "b7bf6fa0e0fbb562c27a887283627a8781de0a34")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1ysn73yysaxpm93y9d4g2hmnd7qhh6lv93wgkrdw1cx11xl1g7yk"))))
+    (build-system emacs-build-system)
+    (inputs `(("inetutils" ,inetutils)))
+    (synopsis "Simple Kana to Kanji conversion program")
+    (description "Daredevil SKK is a version of SKK (Simple Kana to Kanji
+ conversion program, an input method of Japanese) maintained by the SKK
+ development team at http://openlab.jp/skk.")
+    (license license:gpl2+)))

[-- Attachment #2: Type: text/html, Size: 2991 bytes --]

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

* [bug#39818] [PATCH] gnu: Add emacs-ddskk.
  2020-02-28  0:44 [bug#39818] [PATCH] gnu: Add emacs-ddskk Masaya Tojo
@ 2020-02-29 19:35 ` Nicolas Goaziou
       [not found]   ` <mail.5e5d995c.1c97.70ed96d75f632e87@storage.wm.amazon.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2020-02-29 19:35 UTC (permalink / raw)
  To: Masaya Tojo; +Cc: 39818

Hello,

Masaya Tojo <masaya@tojo.tokyo> writes:

> * gnu/packages/emacs-xyz.scm (emacs-ddskk): New variable.

Thank you!

> +(define emacs-ddskk

Wouldn't it be emacs-skk, since one need to (require 'skk)?

> +  (package
> +    (name "emacs-ddskk")
> +    (version "17.0.50")

Is it an unstable version? Latest release seems to be 16.3. If so, if
there is a strong reason to use it instead, we should give it in
a comment.

> +    (home-page "https://github.com/skk-dev/ddskk")

This should be at the end of the package definition, right above
`synopsis'.

> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url home-page)
> +             (commit "b7bf6fa0e0fbb562c27a887283627a8781de0a34")))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32
> +         "1ysn73yysaxpm93y9d4g2hmnd7qhh6lv93wgkrdw1cx11xl1g7yk"))))
> +    (build-system emacs-build-system)
> +    (inputs `(("inetutils" ,inetutils)))
> +    (synopsis "Simple Kana to Kanji conversion program")
> +    (description "Daredevil SKK is a version of SKK (Simple Kana to Kanji
> + conversion program, an input method of Japanese) 

is a version of @acronym{SKK, Simple Kana to Kanji} conversion program,
an input method of Japanese.

> + maintained by the SKK development team at http://openlab.jp/skk.")

We may want to drop that part, not very useful in the package
description. However, if you keep it, it should be
@url{http://openlab.jp/skk}.

BTW, I cannot apply your patch. Could you send an updated revision with
the changes suggested above?

Regards,

-- 
Nicolas Goaziou

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

* [bug#39818] [PATCH] gnu: Add emacs-ddskk.
       [not found]     ` <010001709d9f1515-a80e6286-86e1-4d06-84e8-038105e92a9d-000000@email.amazonses.com>
@ 2020-03-03  8:05       ` Nicolas Goaziou
       [not found]         ` <20200305231315.05b00017@tojo.tokyo>
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2020-03-03  8:05 UTC (permalink / raw)
  To: Masaya Tojo; +Cc: 39818@debbugs.gnu.org

Hello,

Masaya Tojo <masaya@tojo.tokyo> writes:

> I tried to build 16.3 version but it fail. The cause is that
> skk-lookup.el needs an external file and that skk-xemacs.el needs be
> xemacs. There ware fixed at 17.0.50 version. 
>
> After 17.x is released, I will apply all your suggestions and send
> patch again.

Another option is to re-send the package with the commit you chose,
along with a comment explaining why (e.g., exactly what you wrote
above), and update it later when 17.x is released.

WDYT?

Regards,

-- 
Nicolas Goaziou

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

* bug#39818: [PATCH] gnu: Add emacs-ddskk.
       [not found]           ` <01000170ab0b4eb9-d3e8120a-d15a-480e-80b7-f5de68f7301d-000000@email.amazonses.com>
@ 2020-03-05 18:26             ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-03-05 18:26 UTC (permalink / raw)
  To: Masaya Tojo; +Cc: 39818-done

Hello,

Masaya Tojo <masaya@tojo.tokyo> writes:

> I resend new revision.

Thank you!

I applied your patch as 5d0f33c2ab9aa0cdc51a35525e895a603eac78ea, with
the following changes:

- I used a top-level `version' and `code-name' variables instead of
  using release commit.
- I specified that the input method was on Emacs in description.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-03-05 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-28  0:44 [bug#39818] [PATCH] gnu: Add emacs-ddskk Masaya Tojo
2020-02-29 19:35 ` Nicolas Goaziou
     [not found]   ` <mail.5e5d995c.1c97.70ed96d75f632e87@storage.wm.amazon.com>
     [not found]     ` <010001709d9f1515-a80e6286-86e1-4d06-84e8-038105e92a9d-000000@email.amazonses.com>
2020-03-03  8:05       ` Nicolas Goaziou
     [not found]         ` <20200305231315.05b00017@tojo.tokyo>
     [not found]           ` <01000170ab0b4eb9-d3e8120a-d15a-480e-80b7-f5de68f7301d-000000@email.amazonses.com>
2020-03-05 18:26             ` bug#39818: " Nicolas Goaziou

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).