Package Details: anki 24.06.3-2

Git Clone URL: https://aur.archlinux.org/anki.git (read-only, click to copy)
Package Base: anki
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://apps.ankiweb.net/
Keywords: anki languages learning vocabulary
Licenses: AGPL3
Conflicts: anki-bin, anki-git, anki-qt5
Submitter: demize
Maintainer: AlexBocken
Last Packager: AlexBocken
Votes: 173
Popularity: 5.88
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-08-02 10:08 (UTC)

Required by (2)

Sources (7)

Latest Comments

« First ‹ Previous 1 .. 23 24 25 26 27 28 29 30 Next › Last »

AlexBocken commented on 2021-09-25 15:28 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

Sorry for that, the sums are updated.

jose1711 commented on 2021-09-24 08:50 (UTC)

please update the sums

lolilolicon commented on 2021-09-24 06:35 (UTC) (edited on 2021-09-24 06:37 (UTC) by lolilolicon)

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 (UTC) (edited on 2021-09-24 06:01 (UTC) by RefSnow)

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
    0003-Compile-.py-s-before-building-wheel.patch ... 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

bauermi86944 commented on 2021-09-23 22:03 (UTC)

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.

mattalxndr commented on 2021-09-23 21:43 (UTC)

Oh man, I was working through this update (problem with git config and cargo), pre- checksum change. Finally expected it work and it didn't because I'd downloaded the new, broken PKGBUILD by accident. Thought I was going crazy.

tonkku107 commented on 2021-09-23 21:18 (UTC)

Looks like the new maintainer just changed the version numbers and didn't touch any of the build instructions or even try to build it before releasing...