me
/
guix
Archived
1
0
Fork 0

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>
master
kanichos@yandex.ru 2020-01-01 13:28:28 +03:00 committed by Ludovic Courtès
parent 6a7c4636d4
commit 562b4e47cd
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 0 deletions

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)