1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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 <ludo@gnu.org>
This commit is contained in:
kanichos@yandex.ru
2020-01-01 13:28:28 +03:00
committed by Ludovic Courtès
parent 6a7c4636d4
commit 562b4e47cd

View File

@@ -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)