Package Details: anki 2.1.44-2

Git Clone URL: (read-only, click to copy)
Package Base: anki
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL:
Licenses: AGPL3
Submitter: demize
Maintainer: Sebastian209
Last Packager: Posi
Votes: 12
Popularity: 8.40
First Submitted: 2021-09-17 22:31
Last Updated: 2021-09-24 17:16

Required by (2)

Sources (9)

Latest Comments

1 2 Next › Last »

zerophase commented on 2021-10-06 09:38

I have rust installed from the Arch repo, and get this error while building.

lysergia commented on 2021-10-03 18:45

I needed rustup component add rustfmt in build() for compilation to succeed

AlexBocken commented on 2021-09-25 15:28

Maintainer of anki-release-source here. For anyone who has seen the Github issue @lolilolicon linked I think it's clear that building anki "correctly/cleanly" is extremely difficult.

I'm not sure if it's the right place to merge anki with anki-release-source. @dae (Anki developer) seems rather apathetic to our dilemma of wanting a correct/clean build. Because of that I think we cannot expect upstream to improve on this issue. I'm inclined to follow @dae's advice and just "get with the times" and accept bazels ugly build techniques, although only with gritting teeth.

Maybe someone will want to follow the path that the OpenBSD Maintainers took and put in the time to make bazel build nicely. For now, let's keep this package here for such a hypothetical person because it will definitely not be me. I will gladly improve anki-release-source and keep it up to date, but the prospect of large rewrites of patches for future updates will keep me from doing anything larger inside of bazels configs themselves.

If noone adopts this package in the coming weeks I think we can talk again about merging anki-release-source and anki.

lolilolicon commented on 2021-09-24 23:31

No need to merge so quickly.

This package might build anki in a different way than anki-release-source does, which requires a lot of pulling stuff off the Internet in the building process, including I believe the rust toolchain & Qt binaries, etc., which can be a problem for some users.

There is a proposal towards this end. Let's see how it goes.

tonkku107 commented on 2021-09-24 21:43

We should ask the current maintainer of anki-release-source to merge their PKGBUILD into this one as it is also technically a duplicate of this package.

Posi commented on 2021-09-24 17:20

Sorry for that, the sums are updated.

jose1711 commented on 2021-09-24 08:50

please update the sums

lolilolicon commented on 2021-09-24 06:35

This package right now isn't properly updated.

There're a few other Anki packages in AUR.

Try these out & report back if there's any issues.

RefSnow commented on 2021-09-24 05:59

The same error reported by @dechimp is occurring here.

Come to think of it, it is a little different:

==> Validating source files with sha256sums...
    anki ... Skipped
    ankitects-anki-core-i18n-aefd745.tar.gz ... FAILED
    ankitects-anki-desktop-ftl-51320cd.tar.gz ... Passed
    ankitects-anki-desktop-i18n-67b07d5.tar.gz ... Passed
    0001-Move-aqt_data-to-sys.prefix-share.patch ... Skipped
    0002-Remove-bad-build-steps-from-makefiles.patch ... Skipped ... Skipped
    0004-Disable-auto-updates.patch ... Skipped
    0005-Make-pyenv-target-just-create-venv.patch ... Skipped
==> ERROR: One or more files did not pass the validity check!
error: target not found: python-mypy-protobuf

mikefarmer01 commented on 2021-09-23 22:03

The checksum for ankitects-anki-core-i18n-aefd745.tar.gz is not correct.

Other checksums are either correct or skipped (for git and patches), which should be the right way to do things judging by a quick websearch of mine.

After correcting the checksum, I successfully built and installed Anki.