all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72948]
@ 2024-09-02  2:54 Charles via Guix-patches via
  2024-09-02  2:54 ` [bug#72947] [PATCH 1/2] gnu: Update fcitx5 to version 5.1.9 Charles via Guix-patches via
  2024-09-02  2:54 ` [bug#72946] [PATCH 2/2] gnu: Add fcitx5-chewing Charles via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Charles via Guix-patches via @ 2024-09-02  2:54 UTC (permalink / raw)
  To: 72948


fcitx5-chewing requires at least version fcitx5 version 5.1.9.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#72947] [PATCH 1/2] gnu: Update fcitx5 to version 5.1.9.
  2024-09-02  2:54 [bug#72948] Charles via Guix-patches via
@ 2024-09-02  2:54 ` Charles via Guix-patches via
  2024-09-03 18:21   ` bug#72947: " jgart via Guix-patches via
  2024-09-02  2:54 ` [bug#72946] [PATCH 2/2] gnu: Add fcitx5-chewing Charles via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Charles via Guix-patches via @ 2024-09-02  2:54 UTC (permalink / raw)
  To: 72947; +Cc: Charles

* gnu/packages/fcitx5.scm (fcitx5): Update version, hash, and inputs.

The additional zstd input is needed because the upstream release compression
method has changed.

Change-Id: I0e7b230d0c86637be3a6b81202221d68af16934d
---
 gnu/packages/fcitx5.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index c45913f09c..4ad7fa98ca 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -89,15 +89,15 @@ (define-public xcb-imdkit
 (define-public fcitx5
   (package
     (name "fcitx5")
-    (version "5.1.7")
+    (version "5.1.9")
     (source
      (origin
        (method url-fetch)
        (uri (string-append
              "https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-"
-             version "_dict.tar.xz"))
+             version "_dict.tar.zst"))
        (sha256
-        (base32 "1wnky24a8jy4nwairzbb00j0rnn8qr2105va3kpymnvh0cyh0rwa"))))
+        (base32 "1r6wyxxghl673q8wmp9519s1gwg8w18mrjg3zkg9qyln3hccyhvs"))))
     (arguments
      (list #:configure-flags #~(list "-DUSE_SYSTEMD=OFF")))
     (build-system cmake-build-system)
@@ -128,7 +128,9 @@ (define-public fcitx5
        ("xcb-util-wm" ,xcb-util-wm)
        ("xkeyboard-config" ,xkeyboard-config)))
     (native-inputs
-     (list extra-cmake-modules pkg-config))
+     (list extra-cmake-modules
+           zstd
+           pkg-config))
     (native-search-paths
      (list (search-path-specification
             (variable "FCITX_ADDON_DIRS")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#72946] [PATCH 2/2] gnu: Add fcitx5-chewing.
  2024-09-02  2:54 [bug#72948] Charles via Guix-patches via
  2024-09-02  2:54 ` [bug#72947] [PATCH 1/2] gnu: Update fcitx5 to version 5.1.9 Charles via Guix-patches via
@ 2024-09-02  2:54 ` Charles via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Charles via Guix-patches via @ 2024-09-02  2:54 UTC (permalink / raw)
  To: 72946; +Cc: Charles

* 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 <dom@dominicm.dev>
 ;;; Copyright © 2022 dan <i@dan.games>
 ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Charles Jackson <charles@charje.net>
 ;;;
 ;;; 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#72947: [PATCH 1/2] gnu: Update fcitx5 to version 5.1.9.
  2024-09-02  2:54 ` [bug#72947] [PATCH 1/2] gnu: Update fcitx5 to version 5.1.9 Charles via Guix-patches via
@ 2024-09-03 18:21   ` jgart via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2024-09-03 18:21 UTC (permalink / raw)
  To: 72947-done; +Cc: Charles


thanks!
-- 
all the best,
jgart




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-03 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02  2:54 [bug#72948] Charles via Guix-patches via
2024-09-02  2:54 ` [bug#72947] [PATCH 1/2] gnu: Update fcitx5 to version 5.1.9 Charles via Guix-patches via
2024-09-03 18:21   ` bug#72947: " jgart via Guix-patches via
2024-09-02  2:54 ` [bug#72946] [PATCH 2/2] gnu: Add fcitx5-chewing Charles via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.