unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Taiju HIGASHI <higashi@taiju.info>
To: 51950@debbugs.gnu.org
Cc: Taiju HIGASHI <higashi@taiju.info>
Subject: [bug#51950] [PATCH v3] gnu: Add emacs-ddskk-with-nicola
Date: Mon, 22 Nov 2021 12:16:27 +0900	[thread overview]
Message-ID: <20211122031627.45911-1-higashi@taiju.info> (raw)
In-Reply-To: <20211118140159.34749-2-higashi@taiju.info>

---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d3338d45bd..de0e94c7ee 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28631,6 +28631,33 @@ (define-public emacs-ddskk
 conversion program}, a Japanese input method on Emacs.")
       (license license:gpl2+))))
 
+(define-public emacs-ddskk-with-nicola
+  (package
+    (inherit emacs-ddskk)
+    (name "emacs-ddskk-with-nicola")
+    (synopsis "Simple Kana to Kanji conversion program (with NICOLA)")
+    (propagated-inputs
+     `(("emacs-ddskk" ,emacs-ddskk)))
+    (arguments
+     `(#:make-flags
+       (let ((out (assoc-ref %outputs "out")))
+         (list (string-append "PREFIX=" out)
+               (string-append "LISPDIR=" out "/share/emacs/site-lisp")))
+       #:tests? #f                      ; no test
+       ,@(substitute-keyword-arguments (package-arguments emacs-ddskk)
+           ((#:phases phases)
+            `(modify-phases ,phases
+               (add-after 'unpack 'chdir
+                 (lambda _
+                   (chdir "nicola")
+                   #t))
+               (replace 'configure
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (make-file-writable "NICOLA-DDSKK-CFG")
+                   (emacs-substitute-sexps "NICOLA-DDSKK-CFG"
+                     ("setq NICOLA-DDSKK_PREFIX" ""))
+                   #t)))))))))
+
 (define-public emacs-objed
   (package
     (name "emacs-objed")
-- 
2.33.1





  parent reply	other threads:[~2021-11-22  3:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 14:01 [bug#51949] [PATCH 0/1] gnu: Add the emacs-ddskk-with-nicola Taiju HIGASHI
2021-11-18 14:01 ` [bug#51950] [PATCH 1/1] gnu: Add emacs-ddskk-with-nicola Taiju HIGASHI
2021-11-18 15:17   ` Taiju HIGASHI
2021-11-21  8:54   ` Liliana Marie Prikler
2021-11-22  2:58   ` [bug#51950] [PATCH v2] " Taiju HIGASHI
2021-11-22  3:05     ` Taiju HIGASHI
2021-11-22 20:37     ` bug#51950: " Liliana Marie Prikler
2021-11-25  7:45       ` [bug#51950] " Taiju HIGASHI
2021-11-22  3:16   ` Taiju HIGASHI [this message]
2021-11-22  3:18     ` [bug#51950] [PATCH v3] " Taiju HIGASHI
2021-11-18 15:22 ` bug#51949: [PATCH 0/1] gnu: Add the emacs-ddskk-with-nicola Taiju HIGASHI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211122031627.45911-1-higashi@taiju.info \
    --to=higashi@taiju.info \
    --cc=51950@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).