From: Taiju HIGASHI <higashi@taiju.info>
To: 51950@debbugs.gnu.org
Cc: Taiju HIGASHI <higashi@taiju.info>
Subject: [bug#51950] [PATCH 1/1] gnu: Add emacs-ddskk-with-nicola
Date: Thu, 18 Nov 2021 23:01:59 +0900 [thread overview]
Message-ID: <20211118140159.34749-2-higashi@taiju.info> (raw)
In-Reply-To: <20211118140159.34749-1-higashi@taiju.info>
---
gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e141c390d8..0ca2bbc066 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28635,6 +28635,35 @@ (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
+ (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)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("PREFIX = NONE")
+ (string-append "PREFIX = " out))
+ (("LISPDIR = NONE")
+ (string-append "LISPDIR = " out "/share/emacs/site-lisp"))))
+ (make-file-writable "NICOLA-DDSKK-CFG")
+ (emacs-substitute-sexps "NICOLA-DDSKK-CFG"
+ ("setq NICOLA-DDSKK_PREFIX" ""))
+ #t))
+ (delete 'check)))))))
+
(define-public emacs-objed
(package
(name "emacs-objed")
--
2.33.1
next prev parent reply other threads:[~2021-11-18 15:46 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 ` Taiju HIGASHI [this message]
2021-11-18 15:17 ` [bug#51950] [PATCH 1/1] gnu: Add emacs-ddskk-with-nicola 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 ` [bug#51950] [PATCH v3] " Taiju HIGASHI
2021-11-22 3:18 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211118140159.34749-2-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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.