all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#65728] [PATCH] gnu: ibus: Disable registry cache.
@ 2023-09-04 10:24 iyzsong--- via Guix-patches via
  2023-09-06  0:58 ` bug#65728: " Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-09-04 10:24 UTC (permalink / raw)
  To: 65728; +Cc: 宋文武, Zhu Zihao, 宋文武

From: 宋文武 <iyzsong@member.fsf.org>

Fixes <https://issues.guix.gnu.org/22707>.

* gnu/packages/ibus.scm (ibus)[arguments]: Add 'disable-registry-cache' phase.
---
 gnu/packages/ibus.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index f9ef44a6d9..62323ece6f 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -241,6 +241,12 @@ (define-public ibus
                  #$flags))
        ((#:phases phases '%standard-phases)
         #~(modify-phases #$phases
+            (add-after 'unpack 'disable-registry-cache
+              ;; IBus registry cache depends on mtime, which doesn't work on
+              ;; Guix.
+              (lambda _
+                (substitute* "bus/main.c"
+                  (("ibus_init") "g_cache = \"none\"; ibus_init"))))
             (replace 'wrap-with-additional-paths
               (lambda* (#:key outputs #:allow-other-keys)
                 ;; Make sure 'ibus-setup' and 'ibus-daemon' runs with the

base-commit: c72bc0bb71a7315241c174636f96faee46a6dfa8
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65728: [PATCH] gnu: ibus: Disable registry cache.
  2023-09-04 10:24 [bug#65728] [PATCH] gnu: ibus: Disable registry cache iyzsong--- via Guix-patches via
@ 2023-09-06  0:58 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-09-06  0:58 UTC (permalink / raw)
  To: iyzsong; +Cc: 宋文武, 65728-done, Zhu Zihao

iyzsong@envs.net writes:

> From: 宋文武 <iyzsong@member.fsf.org>
>
> Fixes <https://issues.guix.gnu.org/22707>.
>
> * gnu/packages/ibus.scm (ibus)[arguments]: Add 'disable-registry-cache' phase.
> ---
>  gnu/packages/ibus.scm | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
> index f9ef44a6d9..62323ece6f 100644
> --- a/gnu/packages/ibus.scm
> +++ b/gnu/packages/ibus.scm
> @@ -241,6 +241,12 @@ (define-public ibus
>                   #$flags))
>         ((#:phases phases '%standard-phases)
>          #~(modify-phases #$phases
> +            (add-after 'unpack 'disable-registry-cache
> +              ;; IBus registry cache depends on mtime, which doesn't work on
> +              ;; Guix.
> +              (lambda _
> +                (substitute* "bus/main.c"
> +                  (("ibus_init") "g_cache = \"none\"; ibus_init"))))
>              (replace 'wrap-with-additional-paths
>                (lambda* (#:key outputs #:allow-other-keys)
>                  ;; Make sure 'ibus-setup' and 'ibus-daemon' runs with the
>
> base-commit: c72bc0bb71a7315241c174636f96faee46a6dfa8

Thanks, installed!

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-06  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 10:24 [bug#65728] [PATCH] gnu: ibus: Disable registry cache iyzsong--- via Guix-patches via
2023-09-06  0:58 ` bug#65728: " Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.