guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#52012] [PATCH] gnu: Add gnome-shell-extension-customize-ibus.


From: Songlin Jiang
Subject: [bug#52012] [PATCH] gnu: Add gnome-shell-extension-customize-ibus.
Date: Sun, 21 Nov 2021 14:10:32 +0800

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-customize-ibus): New 
variable
---
 gnu/packages/gnome-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 6d8d02fb9c..51a746e143 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Ellis Kenyo <me@elken.dev>
 ;;; Copyright © 2020 Stefan Reichör <stefan@xsteve.at>
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Songlin Jiang <hollowman@hollowman.ml>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -990,3 +991,38 @@ palette.")
 outputs notifications to STDOUT in order to allow the user to process
 notifications any way they prefer.")
       (license license:expat))))
+
+(define-public gnome-shell-extension-customize-ibus
+  (package
+    (name "gnome-shell-extension-customize-ibus")
+    (version "78")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/openSUSE/Customize-IBus.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1hnnsjriq7xaakk8biwz55mn077lnm9nsmi4wz5zk7clgxmasvq9"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan
+       '(("_build" "share/gnome-shell/extensions/customize-ibus@hollowman.ml"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'compile-everything
+           (lambda _
+             (with-directory-excursion "."
+               (invoke "make"
+                       "_build"
+                       "VERSION=78"))
+             #t)))))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")))
+    (home-page "https://github.com/openSUSE/Customize-IBus";)
+    (synopsis "GNOME Shell Extension for IBus Customization")
+    (description "Customize IBus provides full customization of appearance,
+behavior, system tray and input source indicator for IBus")
+    (license license:gpl3+)))
-- 
2.31.1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]