Subject: bug#72946: closed (Closing)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 20 Oct 2024 00:12:02 +0000

Your bug report

#72946: [PATCH 2/2] gnu: Add fcitx5-chewing.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
72946: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72946
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Closing
From: Charles <[email-masked]>
To: [email-masked]
Date: Sat, 19 Oct 2024 19:10:29 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

I'm closing this issue in favor of https://issues.guix.gnu.org/73549
-- 
Charles <[email-masked]>

Subject: [PATCH 2/2] gnu: Add fcitx5-chewing.
From: Charles <[email-masked]>
To: [email-masked]
Cc: Charles <[email-masked]>
Date: Sun, 1 Sep 2024 21:54:12 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/fcitx5.scm (fcitx5-chewing): New variable.

Change-Id: Ib14bccae792bf1d56bedc5e7297d8cc9c3c59ebc
---
 gnu/packages/fcitx5.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index 4ad7fa98ca..b38812b539 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2022 Dominic Martinez <[email-masked]>
 ;;; Copyright © 2022 dan <[email-masked]>
 ;;; Copyright © 2024 Zheng Junjie <[email-masked]>
+;;; Copyright © 2024 Charles Jackson <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -41,6 +42,7 @@ (define-module (gnu packages fcitx5)
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages iso-codes)
   #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages language)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
@@ -589,3 +591,29 @@ (define-public fcitx5-rime
 and sentences intelligently and provide very accurate traditional Chinese
 output.")
     (license license:lgpl2.1+)))
+
+(define-public fcitx5-chewing
+  (package
+    (name "fcitx5-chewing")
+    (version "5.1.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/fcitx/fcitx5-chewing")
+                    (commit version)))
+              (sha256
+               (base32 "011psyvvcbrw062zw807lm33n827qza7mqaagf8zb0cz3hh1qwm9"))
+              (file-name (git-file-name name version))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f)) ;; tests fail
+    (inputs (list libchewing))
+    (native-inputs
+     (list extra-cmake-modules
+           pkg-config
+           gettext-minimal
+           fcitx5))
+    (home-page "https://github.com/fcitx/fcitx5-chewing")
+    (synopsis "Chewing Wrapper for Fcitx")
+    (description "This provides libchewing input method support for fcitx5.")
+    (license license:gpl2+)))
-- 
2.45.2