unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: dan <igaryhe@gmail.com>
To: 51668@debbugs.gnu.org
Subject: [bug#51668] [PATCH] gnu: Add fcitx5-rime.
Date: Sun,  7 Nov 2021 23:44:29 +0800	[thread overview]
Message-ID: <20211107154429.1163-1-igaryhe@gmail.com> (raw)

---
 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





             reply	other threads:[~2021-11-07 17:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 15:44 dan [this message]
2021-11-08  1:54 ` [bug#51668] [PATCH] gnu: Add fcitx5-rime dan
2021-11-08  8:49   ` bug#51668: " zimoun
     [not found] ` <handler.51668.B.163630402220241.ack@debbugs.gnu.org>
2021-11-08  1:56   ` [bug#51668] Acknowledgement ([PATCH] gnu: Add fcitx5-rime.) dan
2021-11-10 17:45 ` [bug#51668] [PATCH] gnu: Add fcitx5-rime dan

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211107154429.1163-1-igaryhe@gmail.com \
    --to=igaryhe@gmail.com \
    --cc=51668@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).