Package Details: anki-bin 25.02-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: MIT, Apache-2.0, BSD-3-Clause, CC-BY-4.0, 0BSD, GPL-3.0-or-later, AGPL-3.0-or-later
Conflicts: anki
Provides: anki
Submitter: Grafcube
Maintainer: escape0707 (Flammkuchen)
Last Packager: Flammkuchen
Votes: 138
Popularity: 7.47
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2025-02-13 01:33 (UTC)

Latest Comments

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

Rumpelstilzchen commented on 2021-11-08 16:45 (UTC) (edited on 2021-11-08 16:46 (UTC) by Rumpelstilzchen)

@kuklinistvan :-)

kuklinistvan commented on 2021-11-08 15:17 (UTC)

@Rumpelstilzchen, thanks for the updated patch!

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.