GNU bug report logs - #77940
[PATCH] gnu: Add fcitx5-skk.

Previous Next

Package: guix-patches;

Reported by: Kurome <hunt31999 <at> gmail.com>

Date: Sun, 20 Apr 2025 12:54:02 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kurome <hunt31999 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Kurome <hunt31999 <at> gmail.com>
Subject: [PATCH] gnu: Add fcitx5-skk.
Date: Sun, 20 Apr 2025 21:51:48 +0900
* gnu/packages/fcitx5.scm: Add (gnu packages dictionaries).
(fcitx5-skk): New variable.

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

diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index 99812b7556..ea7a5f5919 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -34,6 +34,7 @@ (define-module (gnu packages fcitx5)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages datastructures)
+  #:use-module (gnu packages dictionaries)
   #:use-module (gnu packages enchant)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
@@ -371,6 +372,42 @@ (define-public fcitx5-anthy
 the Anthy input method.")
     (license license:gpl2+)))
 
+(define-public fcitx5-skk
+  (package
+    (name "fcitx5-skk")
+    (version "5.1.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fcitx/fcitx5-skk")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "109fx80iaa896652lwhfdr8x9h4vmw6pc9fwns3cwp610p9x21yn"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f      ; no tests
+           #:configure-flags
+           #~(list (string-append "-DSKK_DEFAULT_PATH="
+                                  #$(this-package-input "skk-jisyo")
+                                  "/share/skk/SKK-JISYO.L"))))
+    (inputs
+     (list libskk
+           fcitx5
+           fcitx5-qt
+           qtbase
+           skk-jisyo
+           gobject-introspection))
+    (native-inputs
+     (list extra-cmake-modules pkg-config gettext-minimal))
+    (home-page "https://github.com/fcitx/fcitx5-skk")
+    (synopsis "Input method engine for Fcitx5, which uses libskk as its backend")
+    (description
+     "fcitx5-skk is an input method engine for Fcitx5, which uses libskk as its
+backend.")
+    (license license:gpl3+)))
+
 (define-public fcitx5-chewing
   (package
     (name "fcitx5-chewing")
-- 
2.49.0





This bug report was last modified 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.