Package Details: anki-bin 24.06.3-1

Git Clone URL: https://aur.archlinux.org/anki-bin.git (read-only, click to copy)
Package Base: anki-bin
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently. Installed with wheel.
Upstream URL: https://apps.ankiweb.net/
Keywords: anki anki-bin
Licenses: AGPL3
Conflicts: anki
Provides: anki
Submitter: Grafcube
Maintainer: escape0707 (Flammkuchen)
Last Packager: Flammkuchen
Votes: 113
Popularity: 3.07
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2024-07-03 12:54 (UTC)

Latest Comments

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

Rumpelstilzchen commented on 2021-10-27 08:13 (UTC)

Some changes have been made to install.sh in version 2.1.49. Here is an updated version of install_sh.patch:

--- install.sh.orig 2020-12-10 06:36:44.000000000 +0100
+++ install.sh  2020-12-30 14:54:50.834734784 +0100
@@ -15,7 +15,7 @@
 mkdir -p "$PREFIX"/share/anki
 cp -av * "$PREFIX"/share/anki/
 mkdir -p "$PREFIX"/bin
-ln -sf "$PREFIX"/share/anki/bin/Anki "$PREFIX"/bin/anki
+ln -sf /usr/share/anki/bin/Anki "$PREFIX"/bin/anki
 # fix a previous packaging issue where we created this as a file
 (test -f "$PREFIX"/share/applications && rm "$PREFIX"/share/applications)||true
 mkdir -p "$PREFIX"/share/pixmaps
@@ -26,9 +26,4 @@
 mv anki.desktop "$PREFIX"/share/applications/;\
 mv anki.1 "$PREFIX"/share/man/man1/)

-xdg-mime install anki.xml --novendor
-xdg-mime default anki.desktop application/x-colpkg
-xdg-mime default anki.desktop application/x-apkg
-xdg-mime default anki.desktop application/x-ankiaddon
-
 echo "Install complete. Type 'anki' to run."

escape0707 commented on 2021-10-11 17:08 (UTC) (edited on 2021-11-08 15:31 (UTC) by escape0707)

Because this package use bundled Python and Qt5.

If you are searching for a package more suitable for anki-bin, maybe give a look at this PKGBUILD I wrote? If you think it’s useful then I could upload it to AUR, too.

Edit: anki-bin is published now.

thiagowfx commented on 2021-10-11 16:02 (UTC)

Is there any reason why this package isn't named simply anki-bin, following AUR conventions?

AKLex commented on 2021-10-09 18:55 (UTC)

I found out the reasons for this error: I set xonsh as default shell. It is not set var LANG.

AKLex commented on 2021-09-29 17:22 (UTC) (edited on 2021-09-29 19:57 (UTC) by AKLex)

  1. Thank you, I learned how to do it
  2. uname -a
Linux 5.14.7-arch1-1 #1 SMP PREEMPT +0000
  1. localectl
System locale: LANG=ru_RU.UTF-8
VC Keymap: /var/.../dvorak.map
X11 layout: n/a
  1. locale -a
C
POSIX
en_US.utf-8
ru_RU.utf-8
  1. import sys; print sys.getfilesystemencoding()
utf-8
  1. grep -v '#' /etc/locale.gen
en_US.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
  1. env | grep LANG is empty...
  2. set /etc/environment
ANKI_WAYLAND=1 anki
LANG=ru_RU.UTF-8

error fixed! Thanks!

escape0707 commented on 2021-09-28 23:22 (UTC) (edited on 2021-09-28 23:25 (UTC) by escape0707)

What are the results if you followed this thread and the one it links to?

Please, do correctly use Markdown syntax for codes this time. You can learn the details from the helping text above the edit panel.

It could be better if you edit your previous comment to utilize it, too.

AKLex commented on 2021-09-28 19:22 (UTC) (edited on 2021-09-29 17:12 (UTC) by AKLex)

locale.conf

LANG=ru_RU.UTF-8

anki need EN locale? I must add next?

export LC_CTYPE=en_US.UTF-8 anki

escape0707 commented on 2021-09-27 07:36 (UTC) (edited on 2021-09-28 23:31 (UTC) by escape0707)

@AKLex

Exception: Anki requires a UTF-8 locale.

This could be the cause.

AKLex commented on 2021-09-27 06:41 (UTC)

how to fix error on start anki on wayland:

Traceback (most recent call last): File "aqt/init.py", line 30, in <module> UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "runanki.py", line 3, in <module> File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "/home/dae/venv/lib/python3.8/site-packages/PyInstaller-4.0.dev0+g2886519-py3.8.egg/PyInstaller/loader/pyimod03_importers.py", line 625, in exec_module File "aqt/init.py", line 32, in <module> Exception: Anki requires a UTF-8 locale. [1973] Failed to execute script runanki

Nocifer commented on 2021-09-23 22:00 (UTC)

That's 32,63MB on my system.