Package Details: anki 24.04.1-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: 157
Popularity: 6.89
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-04-28 10:07 (UTC)

Latest Comments

« First ‹ Previous 1 .. 23 24 25 26 27 28

ironborn commented on 2021-08-29 16:48 (UTC)

Wrong SHA256 checksum for https://github.com/ankitects/anki/archive/refs/tags/2.1.47.tar.gz. Should be e7cf87a11b7e3e6577a5d1e30d366546e8b161f8ae3e34e3dcd132ec99119103

cobaltspace commented on 2021-07-30 21:57 (UTC)

python-stringcase might be a new dependency.

AlexBocken commented on 2021-07-28 13:21 (UTC)

@cobaltspace thanks for the idea and detailed write-up! Definitely seems like a good idea which is easy to maintain. I've added it to the package.

cobaltspace commented on 2021-07-28 05:32 (UTC)

Update checking should probably be patched out.

no-update.patch:

--- a/qt/aqt/update.py
+++ b/qt/aqt/update.py
@@ -34,6 +34,8 @@
         }

     def run(self) -> None:
+        return
+
         if not self.config["updates"]:
             return
         d = self._data()

addition to PKGBUILD:

prepare() {
    cd "anki-$pkgver"

    patch -p1 < "$srcdir/no-update.patch"
}

also add no-update.patch to PKGBUILD's source array

AlexBocken commented on 2021-07-12 08:09 (UTC) (edited on 2021-07-12 13:22 (UTC) by AlexBocken)

@nagi12147 Thanks for the error reporting! Seems like community/bazel got updated. Anki still wants bazel 4.0.0 though.

Currently there is no bazel 4.0.0 package in the AUR but I'm thinking about maybe adding one. In the meantime you can download an appropriate bazel binary from the given URL.

(for x86_64 Linux: https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-linux-x86_64 )

mv it somewhere like /usr/local/bin/bazel (don't forget to chmod +xbeforehand) and the install process should work again.

Edit:

This package now uses AUR/bazel40-bin to compile since community/bazel has moved to 4.1.0 but anki requires 4.0.0 Thanks again to @nagi12147 for the error report.

nagi12147 commented on 2021-07-11 21:15 (UTC) (edited on 2021-07-11 21:16 (UTC) by nagi12147)

ERROR: The project you're trying to build requires Bazel 4.0.0 (specified in /home/julian/.cache/paru/clone/anki-release-source/src/anki-2.1.44/.bazelversion), but it wasn't found in /usr/bin.

Bazel binaries for all official releases can be downloaded from here:
  https://github.com/bazelbuild/bazel/releases

Please put the downloaded Bazel binary into this location:
  /usr/bin/bazel-4.0.0-linux-x86_64
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'anki-release-source-2.1.44-2':
error: packages failed to buid: anki-release-source-2.1.44-2