[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: ibus-rime: Record the right file name in "rime.xml".
From: |
guix-commits |
Subject: |
03/06: gnu: ibus-rime: Record the right file name in "rime.xml". |
Date: |
Mon, 6 Jan 2020 10:32:16 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 562b4e47cdc7621c5eda10869be061d8cc2e82d9
Author: address@hidden <address@hidden>
AuthorDate: Wed Jan 1 13:28:28 2020 +0300
gnu: ibus-rime: Record the right file name in "rime.xml".
* gnu/packages/ibus.scm (ibus-rime)[arguments]: Add 'fix-file-names' phase.
Co-authored-by: Ludovic Courtès <address@hidden>
---
gnu/packages/ibus.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 70e10ea..512a1ff 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -669,6 +669,13 @@ Method Engine.")
(assoc-ref inputs "rime-data")
"/share/rime-data\"\n")))
#t))
+ (add-after 'unpack 'fix-file-names
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; IBus uses the component file rime.xml to start the Rime
+ ;; engine. It must be patched with appropriate file names.
+ (substitute* "rime.xml"
+ (("/usr") (assoc-ref outputs "out")))
+ #t))
(delete 'configure))))
(inputs
`(("gdk-pixbuf" ,gdk-pixbuf)
- branch master updated (3a695c0 -> 8346043), guix-commits, 2020/01/06
- 03/06: gnu: ibus-rime: Record the right file name in "rime.xml".,
guix-commits <=
- 04/06: gnu: gnome-characters: Wrap program to provide the necessary Typelib files., guix-commits, 2020/01/06
- 06/06: activation: Check whether /proc/sys/kernel/modprobe exists., guix-commits, 2020/01/06
- 01/06: gnu: guix: Ensure the bootstrap binary tarballs aren't GC'd., guix-commits, 2020/01/06
- 05/06: gnu: python-py3status: Fix patch of file path, guix-commits, 2020/01/06
- 02/06: Adjust module autoloads., guix-commits, 2020/01/06