Summary: | app-misc/anki-2.1.43: version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gerion <gerion.entrup> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carlphilippreh, gentoo, ionen, jasmin+gentoo, leonard, me, opal, posting, proxy-maint, sam, sqn14, vicalcas, watermanpaint, wgh |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=869917 https://github.com/gentoo/gentoo/pull/31122 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
gerion
2021-04-12 01:53:30 UTC
it will need bazel to build now Anki upstream is at 2.1.49 as of 26 October 2021. Someone commented below that it will need bazel to build. Don't know how inconvenient that is, but i wanted to express why the bump is something that would be pretty nice just by giving examples to anki addons that don't seem to work (based on what the anki webpage tells us) in just some minor versions before. Sorting by ratings I found this in the top 10: https://ankiweb.net/shared/info/1436550454 https://ankiweb.net/shared/info/2494384865 https://ankiweb.net/shared/info/1136455830 https://ankiweb.net/shared/info/817108664 (In reply to vicalcas from comment #3) > Someone commented below that it will need bazel to build. Don't know how It is essentially a non-starter. The best we can do is an anki-bin. (In reply to Sam James from comment #4) > (In reply to vicalcas from comment #3) > > Someone commented below that it will need bazel to build. Don't know how > > It is essentially a non-starter. Apparently, it has been done for FreeBSD: https://www.freshports.org/games/anki# Though this seems to be a lot of effort. (In reply to Lucio Sauer from comment #5) > (In reply to Sam James from comment #4) > > (In reply to vicalcas from comment #3) > > > Someone commented below that it will need bazel to build. Don't know how > > > > It is essentially a non-starter. > > Apparently, it has been done for FreeBSD: > https://www.freshports.org/games/anki# > Though this seems to be a lot of effort. Interesting spot, thanks! It looks like Arch also made an updated source package, but they do use basel for it. I have successfully packaged Anki somewhere between 2.1.61 and 2.1.62 (unreleased): https://github.com/antecrescent/antecrescentoo/tree/main/app-misc/anki Some notes: - This depends on a lot of Yarn packages, so I wrote a corresponding mini eclass which should probably be generalized into a "node.eclass" of some sorts. I have yet to introduce this to the gentoo-dev mailing list. - The dependency dev-python/protobuf-python was also packaged by me, but has only received minimal testing as of now. - The package builds and runs successfully on a Python 3.11-only system and could thus probably fix 896566. (In reply to Lucio Sauer from comment #9) > I have successfully packaged Anki somewhere between 2.1.61 and 2.1.62 > [...] > - The dependency dev-python/protobuf-python was also packaged by me... I meant dev-python/mypy-protobuf. Are there any news? 2.1.65 is the actual version now. And I can see dev-util/bazel in portage now. (In reply to silver_ghost from comment #11) > Are there any news? 2.1.65 is the actual version now. I am waiting for a review of my pull request linked in this bug's header. It's a version bump to 2.1.65. In the mean time you could switch to app-misc/anki-bin in ::guru which is kept up-to-date. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9198bdf25bfcdf1dd878e39c202ecae74c6ed2 commit 3b9198bdf25bfcdf1dd878e39c202ecae74c6ed2 Author: Lucio Sauer <watermanpaint@posteo.net> AuthorDate: 2024-01-09 03:36:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-21 10:00:25 +0000 app-misc/anki: add 23.12.1 Closes: https://bugs.gentoo.org/914774 Closes: https://bugs.gentoo.org/911923 Closes: https://bugs.gentoo.org/782373 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> app-misc/anki/Manifest | 648 ++++++++++++++ app-misc/anki/anki-23.12.1.ebuild | 955 +++++++++++++++++++++ .../files/23.12.1/configure-offline-build.patch | 62 ++ .../anki/files/23.12.1/ninja-gentoo-setup.patch | 80 ++ .../anki/files/23.12.1/no-git-submodule-sync.patch | 67 ++ app-misc/anki/files/23.12.1/pseudo-venv.patch | 123 +++ .../anki/files/23.12.1/remove-formatter-dep.patch | 11 + app-misc/anki/files/23.12.1/remove-yarn-dep.patch | 68 ++ app-misc/anki/files/23.12.1/unbundle-sqlite.patch | 14 + .../anki/files/23.12.1/use-system-nextest.patch | 26 + app-misc/anki/metadata.xml | 13 + 11 files changed, 2067 insertions(+) |