GNU bug report logs -
#65533
[PATCH] gnu: anki: Fix preferences error.
Previous Next
Reported by: iyzsong <at> envs.net
Date: Fri, 25 Aug 2023 12:51:01 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65533 in the body.
You can then email your comments to 65533 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#65533
; Package
guix-patches
.
(Fri, 25 Aug 2023 12:51:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
iyzsong <at> envs.net
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 25 Aug 2023 12:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: 宋文武 <iyzsong <at> member.fsf.org>
Fixes <https://issues.guix.gnu.org/65506>.
* 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
--
2.41.0
Reply sent
to
宋文武 <iyzsong <at> envs.net>
:
You have taken responsibility.
(Mon, 28 Aug 2023 10:55:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
iyzsong <at> envs.net
:
bug acknowledged by developer.
(Mon, 28 Aug 2023 10:55:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 65533-done <at> debbugs.gnu.org (full text, mbox):
>
> * 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 25 Sep 2023 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.