unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "宋文武 via Bug reports for GNU Guix" <bug-guix@gnu.org>
To: 65533-done@debbugs.gnu.org
Cc: 宋文武 <iyzsong@member.fsf.org>, 65506-done@debbugs.gnu.org
Subject: bug#65506: [bug#65533] [PATCH] gnu: anki: Fix preferences error.
Date: Mon, 28 Aug 2023 18:54:49 +0800	[thread overview]
Message-ID: <877cpfphc6.fsf@envs.net> (raw)
In-Reply-To: <0fffd709734d941c668f52f1f5ceb3aa368bdb34.1692967772.git.iyzsong@member.fsf.org> (iyzsong@envs.net's message of "Fri, 25 Aug 2023 20:49:50 +0800")

>
> * gnu/packages/education.scm (anki)[source]: Add snippet.
> ---
>  gnu/packages/education.scm | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
> index bb307cf7ab..21c8a60c0b 100644
> --- a/gnu/packages/education.scm
> +++ b/gnu/packages/education.scm
> @@ -737,6 +737,13 @@ (define-public anki
>                             version "-source.tgz"))
>         (sha256
>          (base32 "1gfr51rnllkyzli73p4r51h5ypzfa3m7lic3m3rzpywmqwrxs07k"))
> +       (modules '((guix build utils)))
> +       ;; #65506 Fix preferences error.
> +       (snippet '(substitute* "aqt/preferences.py"
> +                   (("qc\\['collapseTime']/60\\.0" x)
> +                    (format #f "int(~a)" x))
> +                   (("qc\\['timeLim']/60\\.0" x)
> +                    (format #f "int(~a)" x))))
>         (patches (search-patches "anki-mpv-args.patch"))))
>      (build-system gnu-build-system)
>      (arguments
>
> base-commit: 1c916c167b7eb1f2f8af2cf621aa1512b00b1033


Pushed now, closing.




  reply	other threads:[~2023-08-28 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 16:32 bug#65506: Anki: Preferences Dialog Broken Christopher Howard
2023-08-25 12:49 ` bug#65506: [PATCH] gnu: anki: Fix preferences error iyzsong--- via Bug reports for GNU Guix
2023-08-28 10:54   ` 宋文武 via Bug reports for GNU Guix [this message]
2023-08-25 12:52 ` bug#65506: Anki: Preferences Dialog Broken 宋文武 via Bug reports for GNU Guix

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=877cpfphc6.fsf@envs.net \
    --to=bug-guix@gnu.org \
    --cc=65506-done@debbugs.gnu.org \
    --cc=65533-done@debbugs.gnu.org \
    --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 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).