BlueManCZ / edgets

Gentoo overlay that brings you the newest versions of modern software.
12 stars 8 forks source link

app-misc/anki-bin: Add binary version of Anki #2

Closed goduck777 closed 3 years ago

goduck777 commented 3 years ago

Add an ebuild for the binary version of Anki app: https://apps.ankiweb.net/

BlueManCZ commented 3 years ago

Thank you for your contribution! :octocat:

BlueManCZ commented 3 years ago

Could you please test it after my latest edit? I don't have systemd, so I can't do it myself.

goduck777 commented 3 years ago

@BlueManCZ It works well. Thanks for the update.

I was not aware that it depends on systemd. What error did you get?

BlueManCZ commented 3 years ago

Thanks for the test. I got this error at runtime:

Traceback (most recent call last):
  File "runanki.py", line 3, in <module>
  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 20, in <module>
  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/qt.py", line 18, in <module>
ImportError: libsystemd.so.0: cannot open shared object file: No such file or directory
[17176] Failed to execute script runanki
goduck777 commented 3 years ago

Can you please try this patch on your system?

https://gist.github.com/goduck777/c1d7ecb333fa9b0d6dc6b40b16318d9a

BlueManCZ commented 3 years ago

It indeed works fine with your suggested update.

goduck777 commented 3 years ago

Glad to know that 😄