GNU bug report logs -
#42230
[PATCH] gnu: Add emacs-rime.
Previous Next
Reported by: Peng Mei Yu <i <at> pengmeiyu.com>
Date: Mon, 6 Jul 2020 17:15:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
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 42230 in the body.
You can then email your comments to 42230 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#42230
; Package
guix-patches
.
(Mon, 06 Jul 2020 17:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peng Mei Yu <i <at> pengmeiyu.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 06 Jul 2020 17:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-rime): New variable.
---
gnu/packages/emacs-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a67fe06610..76c9056603 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -77,6 +77,7 @@
;;; Copyright © 2020 Ryan Desfosses <rdes <at> protonmail.com>
;;; Copyright © 2020 Eric Bavier <bavier <at> posteo.net>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith <at> outlook.com>
+;;; Copyright © 2020 Peng Mei Yu <i <at> pengmeiyu.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -122,6 +123,7 @@
#:use-module (gnu packages gtk)
#:use-module (gnu packages gnome)
#:use-module (gnu packages haskell-apps)
+ #:use-module (gnu packages ibus)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
@@ -23526,3 +23528,50 @@ easily. Four pre-set options are: @samp{shell}, @samp{terminal},
@samp{ansi-term}, and @samp{eshell}. You can also set your custom shell if
you use some other configuration.")
(license license:gpl3+))))
+
+(define-public emacs-rime
+ (package
+ (name "emacs-rime")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/DogLooksGood/emacs-rime.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08rzkiqwcl8j3i2yyibll5lcsj8720plzm9zfdgmxgkw7vhcyix5"))))
+ (build-system emacs-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-rime-data-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "rime.el")
+ (emacs-substitute-variables "rime.el"
+ ("rime-share-data-dir"
+ (string-append (assoc-ref inputs "rime-data")
+ "/share/rime-data")))
+ #t))
+ (add-before 'install 'build-emacs-module
+ (lambda _
+ (invoke "make" "lib")))
+ (add-after 'install 'install-emacs-module
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "librime-emacs.so"
+ (string-append (assoc-ref outputs "out")
+ "/share/emacs/site-lisp"))
+ #t)))))
+ (inputs
+ `(("librime" ,librime)
+ ("rime-data" ,rime-data)))
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-popup" ,emacs-popup)
+ ("emacs-posframe" ,emacs-posframe)))
+ (home-page "https://github.com/DogLooksGood/emacs-rime")
+ (synopsis "Rime input method in Emacs")
+ (description "@dfn{emacs-rime} is an Emacs internal input method built
+upon Rime input method engine.")
+ (license license:gpl3)))
--
2.27.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#42230
; Package
guix-patches
.
(Tue, 07 Jul 2020 12:21:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Peng Mei Yu via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-rime): New variable.
Thank you.
I changed the licence to gpl3+, slightly reworded the description (the
library itself is named "Rime", not "Emacs Rime"), and moved the package
out of the end of the emacs-xyz.scm file, since this location is more
likely to introduce merge conflicts. Eventually, I applied the patch.
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Tue, 07 Jul 2020 12:21:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peng Mei Yu <i <at> pengmeiyu.com>
:
bug acknowledged by developer.
(Tue, 07 Jul 2020 12:21:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 05 Aug 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 317 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.