From: kanichos@yandex.ru
To: 38849@debbugs.gnu.org
Subject: [bug#38849] Fix IBus-Rime
Date: Wed, 01 Jan 2020 13:28:28 +0300 [thread overview]
Message-ID: <9931577874508@vla1-74bb1214b343.qloud-c.yandex.net> (raw)
IBus uses the component file rime.xml to start the Rime engine. It must be patched with appropriate paths.
---
gnu/packages/ibus.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 42a8d5db32..7daefde021 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -668,6 +668,10 @@ Method Engine.")
(assoc-ref inputs "rime-data")
"/share/rime-data\"\n")))
#t))
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "rime.xml"
+ (("/usr") (assoc-ref outputs "out"))) #t))
(delete 'configure))))
(inputs
`(("gdk-pixbuf" ,gdk-pixbuf)
--
2.23.0
next reply other threads:[~2020-01-01 17:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-01 10:28 kanichos [this message]
2020-01-06 14:26 ` bug#38849: Fix IBus-Rime Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9931577874508@vla1-74bb1214b343.qloud-c.yandex.net \
--to=kanichos@yandex.ru \
--cc=38849@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).