Subject: bug#77940: closed (Re: [bug#77940] [PATCH] gnu: Add fcitx5-skk.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 26 Apr 2025 12:10:03 +0000

Your bug report

#77940: [PATCH] gnu: Add fcitx5-skk.

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

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

Subject: Re: [bug#77940] [PATCH] gnu: Add fcitx5-skk.
From: Z572 <[email-masked]>
To: Kurome <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Sat, 26 Apr 2025 20:09:19 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Kurome <[email-masked]> writes:

> * 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")
move gobject-introspection to native-inputs.

pushed, closing.

Subject: [PATCH] gnu: Add fcitx5-skk.
From: Kurome <[email-masked]>
To: [email-masked]
Cc: Kurome <[email-masked]>
Date: Sun, 20 Apr 2025 21:51:48 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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