Search Criteria
Package Details: anki 24.06.3-2
Package Actions
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: | 6.00 |
First Submitted: | 2021-09-17 22:31 (UTC) |
Last Updated: | 2024-08-02 10:08 (UTC) |
Dependencies (30)
- python (python37AUR, python311AUR, python310AUR)
- python-beautifulsoup4
- python-certifi
- python-decorator
- python-distro
- python-flask-cors
- python-jsonschema
- python-markdown
- python-orjson (python-orjson-gitAUR)
- python-protobuf (python-protobuf-gitAUR)
- python-pyqt6-webengine
- python-pysocks
- python-requests
- python-send2trash
- python-waitress
- qt6-multimedia
- qt6-svg
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rust, rustup) (make)
- git (git-gitAUR, git-glAUR) (make)
- mold (mold-gitAUR) (make)
- Show 10 more dependencies...
Required by (2)
- kindle2anki-git
- subs2srs (optional)
Latest Comments
« First ‹ Previous 1 .. 25 26 27 28 29 30
Nocifer commented on 2021-09-19 15:20 (UTC) (edited on 2021-09-19 15:36 (UTC) by Nocifer)
@lolilolicon I came here to investigate Anki being orphaned and ended up reading your post on Anki's github page. I'll reply here so as to not spam their issue tracker with off-topic stuff:
IMHO Bazel is not a perfect build system for sure, but I don't see anything particularly hard about downloading the Anki sources, installing Bazel and its dependencies, and running "bazel build --config opt dist" as per the official documentation. That's also how the AUR package anki-release-source does it.
Granted, there are some quirks:
1) Building Anki apparently requires Bazel 4.0.0, so on Arch there is an issue with our Bazel package having already been updated to the apparently incompatible 4.2.0; but that's easily rectified either by downloading Bazel 4.0.0 manually or by installing the bazel40-bin package that has been newly created by the anki-release-source package maintainer.
2) Also, for some reason I can't seem to build Anki successfully because it fails to compile some Typescript module dependency. But this also happens when I try to install anki-release-source, and there aren't any complaints about build failures on its AUR page, which means it could be some misconfiguration on my end. EDIT: Actually scratch that, 5 minutes of investigating the issue was enough to find me a solution and after I fixed it, I managed to successfully build Anki with no issues at all.
On the other hand, 99% of distros carrying an old version of Anki does seem very suspicious about it being problematic to update. But I really can't believe it's due to Bazel being too hard to use.
lolilolicon commented on 2021-09-19 02:02 (UTC) (edited on 2021-09-19 02:06 (UTC) by lolilolicon)
I really hope this gets back into the official repos.
I've opened an issue "Is Anki too hard to build?" to start what seems to be a much-needed discussion.
Do the other anki packages in the AUR (anki-git, anki-release-source, etc.) work? Judging by the fact that anki got dropped from the repos, I suppose it ain't that simple?
I'm staying on anki 2.1.35-3 for as long as it still works. I haven't updated my system for weeks: Will my next -Syu necessitate an anki rebuild?
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
:addition to
PKGBUILD
:also add
no-update.patch
toPKGBUILD
'ssource
arrayAlexBocken 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 tochmod +x
beforehand) 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)
« First ‹ Previous 1 .. 25 26 27 28 29 30