GNU bug report logs -
#51668
[PATCH] gnu: Add fcitx5-rime.
Previous Next
Reported by: dan <igaryhe <at> gmail.com>
Date: Sun, 7 Nov 2021 16:54:02 UTC
Severity: normal
Tags: patch
Done: zimoun <zimon.toutoune <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
---
gnu/packages/fcitx5.scm | 41 ++++++++++++++++++++++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index 737f47f20f..4391bbeadd 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -47,7 +47,8 @@ (define-module (gnu packages fcitx5)
#:use-module (gnu packages web)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
- #:use-module (gnu packages xorg))
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages ibus))
(define-public xcb-imdkit
(package
@@ -453,3 +454,41 @@ (define (install-theme-variant variant target)
@item DeepPurple
@end itemize\n")
(license license:asl2.0)))
+
+(define-public fcitx5-rime
+ (package
+ (name "fcitx5-rime")
+ (version "5.0.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fcitx/fcitx5-rime")
+ (commit version)))
+ (sha256
+ (base32
+ "17fi36m70d8gwwyragms4rl7xjx4k7g5ixs8rcj8r2ph1ak9ymhy"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f
+ #:configure-flags
+ (list (string-append "-DRIME_DATA_DIR="
+ (assoc-ref %build-inputs "rime-data")
+ "/share/rime-data"))))
+ (inputs
+ `(("gettext", gettext-minimal)
+ ("fcitx5", fcitx5)
+ ("librime", librime)
+ ("rime-data", rime-data)))
+ (native-inputs
+ `(("extra-cmake-modules", extra-cmake-modules)
+ ("pkg-config", pkg-config)))
+ (home-page "https://github.com/fcitx/fcitx5-rime")
+ (synopsis "Rime Input Method Engine for fcitx5")
+ (description "@dfn{fcitx5-rime} provides the Rime input method engine for
++fcitx5. Rime is a lightweight, extensible input method engine supporting
++various input schemas including glyph-based input methods, romanization-based
++input methods as well as those for Chinese dialects. It has the ability to
++compose phrases and sentences intelligently and provide very accurate
++traditional Chinese output.")
+ (license license:lgpl2.1+)))
--
2.33.1.windows.1
This bug report was last modified 3 years and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.