GNU bug report logs -
#38849
Fix IBus-Rime
Previous Next
Reported by: kanichos <at> yandex.ru
Date: Wed, 1 Jan 2020 17:24:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#38849: Fix IBus-Rime
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 38849 <at> debbugs.gnu.org.
--
38849: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38849
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello,
kanichos <at> yandex.ru skribis:
> 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))
I made the following changes:
1. Move the explanation as a comment in the code.
2. Write “file name” instead of “path”, for consistency.
3. Write a commit log that follows the project’s conventions.
Committed now, thank you!
Ludo’.
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 5 years and 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.