GNU bug report logs -
#60767
[PATCH] gnu: Add emacs-liberime.
Previous Next
Reported by: Feng Shu <tumashu <at> 163.com>
Date: Fri, 13 Jan 2023 01:47: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 60767 in the body.
You can then email your comments to 60767 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#60767
; Package
guix-patches
.
(Fri, 13 Jan 2023 01:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Feng Shu <tumashu <at> 163.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 13 Jan 2023 01:47: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-liberime): New variable.
---
gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bd8675f63a..9ebbbca366 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31362,6 +31362,46 @@ REPL appropriate to the current major mode.")
"Rime is an Emacs input method built upon Rime input method engine.")
(license license:gpl3+)))
+(define-public emacs-liberime
+ (let ((commit "70ad2e6e1f0ff74fc8b9b5177b9aba645a18e546")
+ (revision "0"))
+ (package
+ (name "emacs-liberime")
+ (version (git-version "v0.0.6" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/merrickluo/liberime")
+ (commit commit)))
+ (sha256
+ (base32
+ "1y9a1khfyz262yarn7rd0hg5vxaz8j80mhad7mh01m6685nfw39b"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:include #~(cons "^src/liberime-core.so$" %default-include)
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'delete-files-and-patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (delete-file-recursively "emacs-module")
+ (emacs-substitute-variables "liberime.el"
+ ("liberime-module-file"
+ (string-append #$output "/src/liberime-core.so"))
+ ("liberime-shared-data-dir"
+ (search-input-directory inputs "share/rime-data")))))
+ (add-before 'install 'build-emacs-module
+ (lambda _
+ (invoke "make"))))))
+ (inputs (list librime rime-data))
+ (home-page "https://github.com/merrickluo/liberime")
+ (synopsis "Librime Emacs Lisp Binding")
+ (description
+ "Liberime is an Emacs dynamic module provide librime bindings.")
+ (license license:gpl3+))))
+
(define-public emacs-bison-mode
(package
(name "emacs-bison-mode")
--
2.30.2
--
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Fri, 13 Jan 2023 22:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Feng Shu <tumashu <at> 163.com>
:
bug acknowledged by developer.
(Fri, 13 Jan 2023 22:03:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 60767-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Feng Shu <tumashu <at> 163.com> writes:
> * gnu/packages/emacs-xyz.scm (emacs-liberime): New variable.
Applied with the following tweaks. Thank you.
> +(define-public emacs-liberime
> + (let ((commit "70ad2e6e1f0ff74fc8b9b5177b9aba645a18e546")
> + (revision "0"))
> + (package
> + (name "emacs-liberime")
> + (version (git-version "v0.0.6" revision commit))
"v" is not part of the version tag so I put it elsewher.
> + (synopsis "Librime Emacs Lisp Binding")
Binding -> binding.
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 11 Feb 2023 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 72 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.