Thanks @E3LDDfrK, added that. I'd love some help getting a working .desktop file if anyone happens to know why the one I posted earlier is crashing
Search Criteria
Package Details: katrain 1.14.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/katrain.git (read-only, click to copy) |
---|---|
Package Base: | katrain |
Description: | A tool for analyzing and playing go with AI feedback from KataGo. |
Upstream URL: | https://github.com/sanderland/katrain |
Keywords: | ai baduk go |
Licenses: | MIT |
Submitter: | algebro |
Maintainer: | None |
Last Packager: | algebro |
Votes: | 9 |
Popularity: | 0.007412 |
First Submitted: | 2020-08-06 13:58 (UTC) |
Last Updated: | 2023-07-12 20:26 (UTC) |
Dependencies (15)
- cython (cython-gitAUR, cython0AUR)
- libzip (libzip-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-certifi
- python-chardet
- python-docutils
- python-idna
- python-kivy
- python-kivymdAUR (python-kivymd-gitAUR)
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- python-pillow (python-pillow-gitAUR)
- python-pygame (python-pygame-gitAUR)
- python-pygments
- python-requests
- python-urllib3
Required by (0)
Sources (1)
algebro commented on 2021-07-13 13:50 (UTC)
E3LDDfrK commented on 2021-07-12 20:46 (UTC)
I think libzip is a dependency.
algebro commented on 2021-06-10 00:54 (UTC)
@bjeanes I've actually been trying to get it to work, but it just crashes shortly after launching it with the following .desktop file:
[Desktop Entry]
Name=katrain
GenericName=SGF Editor (Go)
Comment=A GUI frontend for KataGo
Exec=/usr/bin/katrain %U
Type=Application
Categories=Game;
MimeTime=application/x-go-sgf;
Any idea what I'm doing wrong there? I don't have a ton of experience writing .desktop files
bjeanes commented on 2021-06-09 23:26 (UTC)
Any chance this could include a .desktop
file for convenience?
E3LDDfrK commented on 2021-02-28 04:27 (UTC)
@algebro Yes, it downloads the model now. Thanks for the help.
algebro commented on 2021-02-23 19:31 (UTC)
Ah I see. Were you able to get the alternate katago versions installed with 1.7.6 and the steps I posted earlier?
E3LDDfrK commented on 2021-02-20 17:13 (UTC)
@algebro Because the same release used to have the 1.7.2 files only. The dev said on discord he expected people to install the package from pypi.
algebro commented on 2021-02-18 19:27 (UTC)
@E3LDDfrK,
Thanks for the note about 1.7.6, GitHub didn't notify me about the release for some reason. Using 1.7.6, if I click "Download KataGoVersions" (even though it says 0 versions found), it downloads 4 different versions, including the Eigen CPU builds. Afterwards you can set it.
E3LDDfrK commented on 2021-02-14 02:43 (UTC) (edited on 2021-02-14 12:21 (UTC) by E3LDDfrK)
How to download the eigen/cpu version?
I tried to follow the instructions on the website https://github.com/sanderland/katrain#kata But it only says "0 available katago versions found".
edit: "Download Models" button seems to work. But "Download KataGo versions" doesn't.
edit2: The author just made the v.1.7.6 files available on the latest github release.
algebro commented on 2020-12-19 01:05 (UTC)
Will update this to 1.7 as soon as python-kivy 2.0.0 is available in the community arch repo, as katrain 1.7 won't run without it.
Pinned Comments
algebro commented on 2024-12-07 15:40 (UTC) (edited on 2024-12-07 15:45 (UTC) by algebro)
I'm afraid I'm going to have to orphan this package as the upstream maintainer has made katrain exceedingly difficult to package in a way that aligns with AUR best practices (at least, it's beyond my skill/ability to do so). Using pip to install packages within a pkgbuild is not the "proper" way to do it, but the setuptools workflow has been removed making pip the only method of installation AFAICT.
For now it looks like installing directly from upstream using pip and/or poetry is probably the best way to go until someone with more knowledge of how to package build systems like this is able to take over.
algebro commented on 2023-04-14 14:40 (UTC)
Just an update on kivymd, it looks like the katrain maintainer started work on bumping the kivymd version to 1.x but the branch has been idle since September. It would be a big help to the project to contribute if anyone has the skills or interest!
For now, the workaround unfortunately is to manually downgrade to python-kivymd 0.104.2/0.104.1.