Subject: bug#52014: closed ([PATCH] gnu: Add ibus-theme-tools.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 21 Nov 2021 09:06:02 +0000

Your bug report

#52014: [PATCH] gnu: Add ibus-theme-tools.

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

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

Subject: [PATCH] gnu: Add ibus-theme-tools.
From: "Songlin Jiang" <[email-masked]>
To: "52014-done" <[email-masked]>
Date: Sun, 21 Nov 2021 17:05:05 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Close the thread.

Subject: [PATCH] gnu: Add ibus-theme-tools.
From: "Songlin Jiang" <[email-masked]>
To: "guix-patches" <[email-masked]>
Date: Sun, 21 Nov 2021 14:44:04 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ibus.scm (ibus-theme-tools): New variable
---
 gnu/packages/ibus.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 48a2445c7d..76dcf386b5 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2018, 2019, 2020, 2021 Peng Mei Yu <[email-masked]>
 ;;; Copyright © 2020 kanichos <[email-masked]>
 ;;; Copyright © 2020 Vincent Legoll <[email-masked]>
+;;; Copyright © 2021 Songlin Jiang <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +32,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix build-system python)
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages anthy)
@@ -51,6 +53,7 @@
   #:use-module (gnu packages logging)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-web)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages textutils)
@@ -771,3 +774,33 @@ hanja dictionary and small hangul character classification.")
     (description
      "ibus-hangul is a Korean input method engine for IBus.")
     (license gpl2+)))
+
+(define-public ibus-theme-tools
+  (package
+    (name "ibus-theme-tools")
+    (version "4.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/openSUSE/IBus-Theme-Tools")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0i8vwnikwd1bfpv4xlgzc51gn6s18q58nqhvcdiyjzcmy3z344c2"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'check))))
+    (propagated-inputs
+     `(("python-tinycss2" ,python-tinycss2)
+       ("python-pygobject" ,python-pygobject)))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)))
+    (home-page "https://github.com/openSUSE/IBus-Theme-Tools")
+    (synopsis "Tool for IBus Themes")
+    (description "IBus Theme Tools can generate the IBus GTK or
+GNOME Shell theme from existing themes.")
+    (license gpl3+)))
--
2.31.1