Port details on branch 2023Q3 |
- anki Flashcard trainer with spaced repetition
- 2.1.66 games =0 2.1.66Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2023-08-28 13:48:07
- Last Update: 2023-08-28 13:44:34
- Commit Hash: a546d1a
- Also Listed In: education python
- License: AGPLv3+
- WWW:
- https://apps.ankiweb.net/
- Description:
- Anki is a program designed to help you remember facts (such as words and
phrases in a foreign language) as easily, quickly and efficiently as possible.
To do this, it tracks how well you remember each fact, and uses that
information to optimally schedule review times. With a minimal amount
of effort, you can greatly increase the amount of material you remember,
making study more productive, and more fun.
While Anki can be used for studying anything, it also ships with special
features designed to make studying Japanese and English easier: integrated
dictionary lookups, missing kanji reports, and more. Sample decks are also
provided for Russian.
- ¦ ¦ ¦ ¦
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/games/anki/ && make install clean
- To add the package, run one of these commands:
- pkg install games/anki
- pkg install anki
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: anki
- Flavors: there is no flavor information for this port.
- NOT_FOR_ARCHS: armv6 armv7 i386 mips powerpc
- distinfo:
- TIMESTAMP = 1692871265
SHA256 (anki-yarn-cache-2.1.66.tar.gz) = 6f958646ba56bea273a94c220279ecd54fe702c02f068ebf470ce36548c4c633
SIZE (anki-yarn-cache-2.1.66.tar.gz) = 488270292
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- protoc : devel/protobuf
- rsync : net/rsync
- yarn : www/yarn
- py39-black>0 : devel/py-black@py39
- py39-mypy-protobuf>=1.21 : devel/py-mypy-protobuf@py39
- py39-wheel>0 : devel/py-wheel@py39
- rust>=1.70.0 : lang/rust
- pkgconf>=1.3.0_1 : devel/pkgconf
- update-desktop-database : devel/desktop-file-utils
- ninja : devel/ninja
- node : www/node18
- py39-qt6-pyqt>=6.4.2 : devel/py-qt6-pyqt@py39
- py39-sip>=6.7.7,1 : devel/py-sip@py39
- py39-qt6-webengine>=6.4.0 : www/py-qt6-webengine@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-qt6-pyqt>=6.4.2 : devel/py-qt6-pyqt@py39
- py39-qt6-webengine>=6.4.0 : www/py-qt6-webengine@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- lame : audio/lame
- py39-pyaudio>0 : audio/py-pyaudio@py39
- py39-sqlite3>0 : databases/py-sqlite3@py39
- py39-decorator>0 : devel/py-decorator@py39
- py39-jsonschema>0 : devel/py-jsonschema@py39
- py39-send2trash>0 : deskutils/py-send2trash@py39
- py39-distro>0 : sysutils/py-distro@py39
- py39-orjson>0 : devel/py-orjson@py39
- py39-markdown>0 : textproc/py-markdown@py39
- py39-beautifulsoup>0 : www/py-beautifulsoup@py39
- py39-requests>0 : www/py-requests@py39
- py39-Flask>0 : www/py-flask@py39
- py39-Flask-Cors>0 : www/py-flask-cors@py39
- py39-protobuf>=4.21 : devel/py-protobuf@py39
- py39-waitress>=2.0.0 : www/py-waitress@py39
- mpv : multimedia/mpv
- update-desktop-database : devel/desktop-file-utils
- py39-qt6-pyqt>=6.4.2 : devel/py-qt6-pyqt@py39
- py39-qt6-webengine>=6.4.0 : www/py-qt6-webengine@py39
- python3.9 : lang/python39
- Library dependencies:
-
- libzstd.so : archivers/zstd
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for anki-2.1.66:
====> Options available for the group PLAYER
MPLAYER=off: MPlayer media player support
MPV=on: mpv media player support
===> Use 'make config' to modify these settings
- Options name:
- games_anki
- USES:
- cargo desktop-file-utils ninja nodejs:build pyqt:6 python:3.9+ shebangfix ssl
- pkg-message:
- If upgrading from < 2.1.54:
- The V1 scheduler is no longer supported. If you have not yet updated to V2 or
V3, you will be prompted to update when you attempt to review cards in 2.1.50+.
- If upgrading from < 2.1.62:
- The 2.1.58 release fixes an issue in 2.1.57 that caused cards and deck
presets to be reset to the default ease, if you exported a .colpkg with
compatibility with older clients enabled, or used the downgrade and quit
option, then opened the collection again.
For the former issue, this occurred to the collection you were exporting
from, and not just the .colpkg file. If you were affected by this, running
the following in the debug console after updating should restore your cards
to the ease they were at when you last reviewed them, if they were not
reviewed after the problem occurred. Please make a backup before proceeding.
updated = 0
for cid, old, new in mw.col.db.all("select id, factor, (select factor from revlog where cid=cards.id order by id desc limit 1) as factor2 from cards where type=2"):
if new and old != new:
card = mw.col.get_card(cid)
card.factor = new
mw.col.update_card(card)
updated += 1
print("updated", updated)
It will print the number of updated cards. Instructions how to use the debug
console can be found here:
https://docs.ankiweb.net/misc.html#debug-console
- Master Sites:
|