diff options
| author | Kurome <hunt31999@gmail.com> | 2025-06-12 20:52:57 +0900 |
|---|---|---|
| committer | 宋文武 <iyzsong@member.fsf.org> | 2025-06-15 09:09:06 +0800 |
| commit | 2cef4893e929e42b6ca6eecbe857a6c320a1f8bc (patch) | |
| tree | bda724d1f1abc23769fb6f28569ab089de13b1ac /gnu/packages/ibus.scm | |
| parent | 514e7ac18a406cab6ad76efd615e2754d62ce238 (diff) | |
gnu: Add ibus-skk.
* gnu/packages/ibus.scm (ibus-skk): New variable.
Closes: #551
Change-Id: Ib79dc08359811b53299aabe1ad943e21b373f2cb
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/ibus.scm')
| -rw-r--r-- | gnu/packages/ibus.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 3d9506c63b3..0eba354ddbb 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | ;;; Copyright © 2023 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com> | 14 | ;;; Copyright © 2023 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com> |
| 15 | ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> | 15 | ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> |
| 16 | ;;; Copyright © 2024 Charles <charles@charje.net> | 16 | ;;; Copyright © 2024 Charles <charles@charje.net> |
| 17 | ;;; Copyright © 2025 Kurome <hunt31999@gmail.com> | ||
| 17 | ;;; | 18 | ;;; |
| 18 | ;;; This file is part of GNU Guix. | 19 | ;;; This file is part of GNU Guix. |
| 19 | ;;; | 20 | ;;; |
| @@ -54,6 +55,7 @@ | |||
| 54 | #:use-module (gnu packages databases) | 55 | #:use-module (gnu packages databases) |
| 55 | #:use-module (gnu packages datastructures) | 56 | #:use-module (gnu packages datastructures) |
| 56 | #:use-module (gnu packages dbm) | 57 | #:use-module (gnu packages dbm) |
| 58 | #:use-module (gnu packages dictionaries) | ||
| 57 | #:use-module (gnu packages docbook) | 59 | #:use-module (gnu packages docbook) |
| 58 | #:use-module (gnu packages freedesktop) | 60 | #:use-module (gnu packages freedesktop) |
| 59 | #:use-module (gnu packages gettext) | 61 | #:use-module (gnu packages gettext) |
| @@ -506,6 +508,42 @@ Japanese language input in most graphical applications.") | |||
| 506 | (home-page "https://github.com/fujiwarat/ibus-anthy") | 508 | (home-page "https://github.com/fujiwarat/ibus-anthy") |
| 507 | (license gpl2+))) | 509 | (license gpl2+))) |
| 508 | 510 | ||
| 511 | (define-public ibus-skk | ||
| 512 | (package | ||
| 513 | (name "ibus-skk") | ||
| 514 | (version "1.4.3") | ||
| 515 | (source | ||
| 516 | (origin | ||
| 517 | (method url-fetch) | ||
| 518 | (uri (string-append | ||
| 519 | "https://github.com/ueno/ibus-skk/releases/download/ibus-skk-" | ||
| 520 | version "/ibus-skk-" version ".tar.xz")) | ||
| 521 | (sha256 | ||
| 522 | (base32 "0pb5766njjsv0cfikm0j5sq0kv07sd5mlxj1c06k5y6p1ffvsqb6")))) | ||
| 523 | (build-system gnu-build-system) | ||
| 524 | (arguments | ||
| 525 | (list | ||
| 526 | #:tests? #f ;no tests | ||
| 527 | #:phases | ||
| 528 | #~(modify-phases %standard-phases | ||
| 529 | (add-after 'unpack 'patch-skk-jisyo | ||
| 530 | (lambda _ | ||
| 531 | (substitute* "src/preferences.vala" | ||
| 532 | (("/usr/share/skk/SKK-JISYO.L") | ||
| 533 | (string-append #$(this-package-input "skk-jisyo") | ||
| 534 | "/share/skk/SKK-JISYO.L")))))))) | ||
| 535 | (inputs | ||
| 536 | (list gtk+ ibus libgee libskk skk-jisyo)) | ||
| 537 | (native-inputs | ||
| 538 | (list intltool pkg-config vala)) | ||
| 539 | (synopsis "Japanese input method SKK engine for IBus") | ||
| 540 | (description | ||
| 541 | "ibus-skk is an implementation of the SKK (Simple Kana-Kanji) input method | ||
| 542 | on the IBus input method framework. Note that SKK works quite differently from | ||
| 543 | other Japanese input methods.") | ||
| 544 | (home-page "https://github.com/ueno/ibus-skk") | ||
| 545 | (license gpl2+))) | ||
| 546 | |||
| 509 | (define-public librime | 547 | (define-public librime |
| 510 | (package | 548 | (package |
| 511 | (name "librime") | 549 | (name "librime") |
