Message ID | tencent_3118E14037C49D3E409819D7@qq.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#52012] gnu: Add gnome-shell-extension-customize-ibus. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Hi, I've applied this patch with the following changes. Am Sonntag, den 21.11.2021, 14:10 +0800 schrieb Songlin Jiang: > * gnu/packages/gnome-xyz.scm (gnome-shell-extension-customize-ibus): > New variable Added missing period. > + > +(define-public gnome-shell-extension-customize-ibus Moved to the extensions, which unfortunately enough aren't currently ordered alphabetically. > + (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) Changed to gnu-build-system. > + (arguments > + '(#:install-plan > + '(("_build" " > share/gnome-shell/extensions/customize-ibus@hollowman.ml")) Added #:make-flags and #:tests? (with comment as to the "missing" test phase). > + #:phases > + (modify-phases %standard-phases > + (add-before 'install 'compile-everything > + (lambda _ > + (with-directory-excursion "." > + (invoke "make" > + "_build" > + "VERSION=78")) > + #t))))) Dropped in favor of simply deleting bootstrap and configure. > + (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") Added missing period. Thanks
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+)))