From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Taiju HIGASHI <higashi@taiju.info>, 51950@debbugs.gnu.org
Subject: [bug#51950] [PATCH 1/1] gnu: Add emacs-ddskk-with-nicola
Date: Sun, 21 Nov 2021 09:54:47 +0100 [thread overview]
Message-ID: <5d06db0edae1c2ecb1fa94aed5aa17d65480f12c.camel@gmail.com> (raw)
In-Reply-To: <20211118140159.34749-2-higashi@taiju.info>
Am Donnerstag, den 18.11.2021, 23:01 +0900 schrieb Taiju HIGASHI:
> ---
> 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))
You don't need to patch the Makefile to set those variables, use
#:make-flags instead.
> + (delete 'check)))))))
Again, use #:tests? and provide a comment as to why you're setting it
to #f.
Cheers
next prev parent reply other threads:[~2021-11-21 8:56 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 [this message]
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=5d06db0edae1c2ecb1fa94aed5aa17d65480f12c.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=51950@debbugs.gnu.org \
--cc=higashi@taiju.info \
/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.