Package Details: anki-git r11208.b7cb0c0d0-1

Git Clone URL: https://aur.archlinux.org/anki-git.git (read-only, click to copy)
Package Base: anki-git
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: hhttps://apps.ankiweb.net/
Keywords: anki memorise memory study
Licenses: AGPL3
Conflicts: anki, anki-official-binary-bundle, anki20
Provides: anki
Submitter: degeberg
Maintainer: 1over137
Last Packager: 1over137
Votes: 25
Popularity: 0.000031
First Submitted: 2017-02-12 11:51 (UTC)
Last Updated: 2025-04-05 15:09 (UTC)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 Next › Last »

MartinX3 commented on 2020-12-07 17:21 (UTC)

@misc thank you a lot :D

I pushed an update, but sadly I can't test it correctly After several attempts it seem to loop or compile at this step (this time canceled earlier) [712 / 1,107] Building rust worker [for host]; 553s linux-sandbox

Or my laptop is too slow

misc commented on 2020-12-07 13:35 (UTC) (edited on 2020-12-07 22:03 (UTC) by misc)

New build instructions for 2.1.36:

build() {
    export CC=/usr/bin/clang
    export CXX=/usr/bin/clang++
    cd anki-$pkgver
    bazel build -c opt //pylib/anki:wheel
    bazel build -c opt //qt/aqt:wheel
}

package() {
    cd anki-$pkgver
    PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps bazel-bin/pylib/anki/anki-*.whl bazel-bin/qt/aqt/aqt-*.whl
}

Obviously they still could use a cleanup. The export is necessary with ccache as it otherwise fails trying to access outside bazel's sandbox. Note that bazel itself will write outside the srcdir into ~/.cache/bazel.

depends & co. also need to be updated as in Community's package + bazel.

e: @MartinX3, oof, no idea why it does that for you (you could try compiling without -c opt just to see if it works, but the binary will be considerably slower). However, it seems you did not update package() — the old pip install will fail.

prometheus commented on 2020-11-10 13:02 (UTC)

It fails to build.

==> Starting build()...
  -> Building UI
/home/[redacted]/.cache/yay/anki-git/PKGBUILD: line 34: ./tools/build_ui.sh: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error making: anki-git

MartinX3 commented on 2020-09-24 16:57 (UTC)

Seems like the developers of anki doesn't provide a way to generate their provided binary bundle. It's only possible to run anki directly from code, which makes it impossible (?) to write an installation routine.

MartinX3 commented on 2020-08-23 10:56 (UTC)

Broken

==> Beginne pkgver()... ==> Aktualisierte Version: anki-git r5005.13476503-1 ==> Beginne build()... -> Building UI /var/tmp/pamac-build-martin/anki-git/PKGBUILD: Zeile 34: ./tools/build_ui.sh: Datei oder Verzeichnis nicht gefunden ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

nikos commented on 2019-10-07 14:48 (UTC) (edited on 2019-10-10 09:39 (UTC) by nikos)

When I try to start Anki, I unfortunately get the following error: python3: relocation error: /usr/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol _ZN20QPlatformIntegration11screenAddedEP15QPlatformScreenb version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference Do you maybe have an idea how to fix it? Thank you very much!

EDIT: I fixed the problem. Removing the folder usr/lib/python3.7/site-packages/PyQt5/Qt solved it.

1over137 commented on 2019-02-13 12:19 (UTC) (edited on 2019-02-13 12:20 (UTC) by 1over137)

@misc Apparently this is reporting an error due to a module change for a workaround, add " from PyQt5.QtWebEngineWidgets import * " to the file /usr/share/anki/aqt/webview.py

Please leave a comment for any further errors

misc commented on 2019-02-10 19:31 (UTC) (edited on 2019-02-10 19:54 (UTC) by misc)

Unfortunately, pyqt5 kills support for the required QtWebEngine with today's 5.12.

e: Ah, it's "just" separated out into the new python-pyqtwebengine package. Inverted commas since it's still crashing with "'QWebEngineView' is not defined" for me.

1over137 commented on 2018-11-13 10:06 (UTC)

Updated it according to current Makefile. It should build now.

linkmauve commented on 2018-07-27 12:29 (UTC)

Hi, please pull this repository: https://git.linkmauve.fr/linkmauve/anki-git

I fixed all issues happening when installing Anki; it still doesn’t run though, because it requires Qt 5.9 and ArchLinux provides 5.11.