all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: iyzsong@envs.net
Cc: 宋文武 <iyzsong@member.fsf.org>,
	65728-done@debbugs.gnu.org, "Zhu Zihao" <all_but_last@163.com>
Subject: bug#65728: [PATCH] gnu: ibus: Disable registry cache.
Date: Tue, 05 Sep 2023 20:58:53 -0400	[thread overview]
Message-ID: <87wmx4dsmq.fsf@gmail.com> (raw)
In-Reply-To: <22876547edd70bd6fbc7e6808a6931c7648552e1.1693823061.git.iyzsong@member.fsf.org> (iyzsong@envs.net's message of "Mon, 4 Sep 2023 18:24:26 +0800")

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




      reply	other threads:[~2023-09-06  1:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmx4dsmq.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=65728-done@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.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 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.