summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bocken2024-04-01 00:01:49 +0200
committerAlexander Bocken2024-04-01 00:01:49 +0200
commitbe90d6d0efe7bc2427653e6c1f7182287de0a8d2 (patch)
tree63861c85a2486f4a685d836fb69945a1efdb0b4f
parent83a3cda7aa29893f23c61dbc157effce655aa317 (diff)
downloadaur-be90d6d0efe7bc2427653e6c1f7182287de0a8d2.tar.gz
bump to 24.04 and happy easter!
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD22
-rw-r--r--anki.changelog123
3 files changed, 137 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e80b1e806a60..5b0e1d2bd3d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = anki
pkgdesc = Helps you remember facts (like words/phrases in a foreign language) efficiently
- pkgver = 23.12.1
- pkgrel = 3
+ pkgver = 24.04
+ pkgrel = 1
url = https://apps.ankiweb.net/
changelog = anki.changelog
arch = x86_64
@@ -32,6 +32,7 @@ pkgbase = anki
depends = qt6-multimedia
depends = python-pyqt6-webengine>=6.2
depends = qt6-svg
+ depends = python-pip-system-certs
optdepends = lame: record sound
optdepends = mpv: play sound. prefered over mplayer
optdepends = mplayer: play sound
@@ -39,17 +40,17 @@ pkgbase = anki
conflicts = anki-bin
conflicts = anki-git
conflicts = anki-qt5
- source = anki-23.12.1.tar.gz::https://github.com/ankitects/anki/archive/refs/tags/23.12.1.tar.gz
- source = anki-core-i18n-fb301cc62da3b7a83b4ea266d9a2e70cfc1a8418.tar.gz::https://github.com/ankitects/anki-core-i18n/archive/fb301cc62da3b7a83b4ea266d9a2e70cfc1a8418.tar.gz
- source = anki-desktop-ftl-8c2191a7c797747cec767e3953bbbcc50acc5246.tar.gz::https://github.com/ankitects/anki-desktop-ftl/archive/8c2191a7c797747cec767e3953bbbcc50acc5246.tar.gz
+ source = anki-24.04.tar.gz::https://github.com/ankitects/anki/archive/refs/tags/24.04.tar.gz
+ source = anki-core-i18n-c74c15b7f82c0f184910e5b6f695b635e6d81faf.tar.gz::https://github.com/ankitects/anki-core-i18n/archive/c74c15b7f82c0f184910e5b6f695b635e6d81faf.tar.gz
+ source = anki-desktop-ftl-06ad12df7a2c8400cf64e9c7b986e9ee722e5b38.tar.gz::https://github.com/ankitects/anki-desktop-ftl/archive/06ad12df7a2c8400cf64e9c7b986e9ee722e5b38.tar.gz
source = disable-git-checks.patch
source = no-update.patch
source = strip-formatter-deps.patch
source = strip-type-checking-deps.patch
- sha256sums = 2da86351d03339f0baaa9371b3f2db80ac22d22b787086468f32a726b06a1552
- sha256sums = 3af5866ec4ec429465c63ac0484e3cacf6b0326ae30da07c715968d68c7e37d8
- sha256sums = d07dfb1453a131943dde29d1683746432b0d4af04534deeda5daf9bceb31a87a
- sha256sums = 94d8b6d6541ce0c00ab1ddc88d2f384a6535e9849891f30a02bb07bd60178086
+ sha256sums = 65cbaf6d3f5ad27cfba65de9a6d24af6782490acd10e7dfc9e2e49ab6ca26a96
+ sha256sums = 6f09e99fdda2b9e2e32a9aff30441a7e66ee5cef56a9bf46e0d6c4731ec55ba2
+ sha256sums = bcec6d806f09c3f13eb05394f619059d87e99a862e10f85256e210afd021d15a
+ sha256sums = 24302e7628c53dd25155fd2bb94947fa85b97e052fc5dc89fe272f4b3c6081ae
sha256sums = cc546f4e5af642af89f82be0375800c2721dd904c0a212cf46f6459495b75bff
sha256sums = 9858fefa254812980d252b29fc6f32bd19bb83ee7e5a96d72c707626ed5193a7
sha256sums = 198bc2ec14439e3ba41a03c4823f07df4b0c559c1dcbdaf678416ed12a720c2e
diff --git a/PKGBUILD b/PKGBUILD
index f147b02568c2..be44b129607e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,9 +9,9 @@
# anki -> git rev-parse --short=8 $pkgver
# ftl -> git submodule
declare -gA _tags=(
- [ftl_core]="fb301cc62da3b7a83b4ea266d9a2e70cfc1a8418"
- [ftl_desktop]="8c2191a7c797747cec767e3953bbbcc50acc5246"
- [anki]="1a1d4d54"
+ [ftl_core]="c74c15b7f82c0f184910e5b6f695b635e6d81faf"
+ [ftl_desktop]="06ad12df7a2c8400cf64e9c7b986e9ee722e5b38"
+ [anki]="baf18ef6"
)
declare -gA _caches=(
[yarn]="yarn-cache"
@@ -19,8 +19,8 @@ declare -gA _caches=(
)
pkgname=anki
-pkgver=23.12.1
-pkgrel=3
+pkgver=24.04
+pkgrel=1
pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently"
url="https://apps.ankiweb.net/"
license=('AGPL3')
@@ -49,6 +49,7 @@ depends=(
'qt6-multimedia' # recording voice
'python-pyqt6-webengine>=6.2'
'qt6-svg'
+ 'python-pip-system-certs'
)
makedepends=(
'rsync'
@@ -76,10 +77,10 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/ankitects/anki/archive/refs
"strip-formatter-deps.patch"
"strip-type-checking-deps.patch"
)
-sha256sums=('2da86351d03339f0baaa9371b3f2db80ac22d22b787086468f32a726b06a1552'
- '3af5866ec4ec429465c63ac0484e3cacf6b0326ae30da07c715968d68c7e37d8'
- 'd07dfb1453a131943dde29d1683746432b0d4af04534deeda5daf9bceb31a87a'
- '94d8b6d6541ce0c00ab1ddc88d2f384a6535e9849891f30a02bb07bd60178086'
+sha256sums=('65cbaf6d3f5ad27cfba65de9a6d24af6782490acd10e7dfc9e2e49ab6ca26a96'
+ '6f09e99fdda2b9e2e32a9aff30441a7e66ee5cef56a9bf46e0d6c4731ec55ba2'
+ 'bcec6d806f09c3f13eb05394f619059d87e99a862e10f85256e210afd021d15a'
+ '24302e7628c53dd25155fd2bb94947fa85b97e052fc5dc89fe272f4b3c6081ae'
'cc546f4e5af642af89f82be0375800c2721dd904c0a212cf46f6459495b75bff'
'9858fefa254812980d252b29fc6f32bd19bb83ee7e5a96d72c707626ed5193a7'
'198bc2ec14439e3ba41a03c4823f07df4b0c559c1dcbdaf678416ed12a720c2e'
@@ -109,12 +110,10 @@ prepare() {
pacman -Qo $(which cargo) | grep -q rustup && rustup update
# fetch rust packages
export CARGO_HOME="$srcdir/${_caches[cargo]}" # do not litter in ~
- rm -rf "$CARGO_HOME" # force remove to avoid stale files
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
# fetch node packages already in prepare()
export YARN_CACHE_FOLDER="$srcdir/${_caches[yarn]}" # do not litter in ~
- rm -rf "$YARN_CACHE_FOLDER" # force remove to avoid stale files
yarn install --immutable --modules-folder out/node_modules
ln -sf out/node_modules ./
@@ -145,6 +144,7 @@ build() {
# See https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/issues/20 and https://github.com/briansmith/ring/issues/1444
# export CFLAGS+=' -ffat-lto-objects'
# ./ninja wheels -v
+ export OFFLINE_BUILD=1 # do not download anything, disables git update checks
mold -run ./ninja wheels -v
}
diff --git a/anki.changelog b/anki.changelog
index 310d7a472343..6afd42a6bd88 100644
--- a/anki.changelog
+++ b/anki.changelog
@@ -1,10 +1,119 @@
-# 23.12.1-1
- * Revert Qt to 6.5 on Mac to fix crashes some users were experiencing.
- * Update FSRS to fix an overly aggressive outlier filter by @L-M-Sherlock in open-spaced-repetition/fsrs-rs#146
- * Fix incorrect retention estimates in deck options by @L-M-Sherlock in #2911
- * Improve description of stability in graphs by @user1823 in #2910
- * Fix I/O shortcuts conflicting with editor on mobile by @krmanik in #2916
- * Fix some bugs in notetype merging by @RumovZ in #2912
+# 24.04-1
+ * Update Qt to 6.6.2. On macOS, this should fix issues with Japanese input.
+ * Update FSRS & export benchmark API by @L-M-Sherlock in #3056
+ * Keep previous FSRS parameters if they get worse when optimizing by @abdnh in #2996
+ * The I/O editor better preserves images quality when zooming in, and supports two-finger pinch/drag on mobile platforms. By @krmanik in #3052
+ * Improved pan/zoom in image occlusions: middle mouse button, space, or ctrl/shift/alt with two fingers by @krmanik in #3080 and #3066
+ * Improvements/simplifications to FSRS optimal retention feature by @L-M-Sherlock in #3065 and #3072
+ * When updating all FSRS parameters at once, exclude suspended cards.
+ * Move most FSRS options into their own section of the deck options.
+ * Don't hide FSRS optimization section.
+ * Show a warning in the optimization section if all presets haven't been optimized for 30 days or longer.
+ * Show preset and original deck in card info by @abdnh in #3055
+ * Use system certificate store by @abdnh in #3050
+ * Ignore some extra chars in no-combining search by @abdnh in #2929
+ * Add "select all" shapes tool by @krmanik in #2981
+ * Maintain original IO cloze order in editing mode by @abdnh in #2987
+ * Fix occasional 'failed to fetch' message popping up.
+ * Fix pasted images failing to download from some sites.
+ * Add by creation date review sort order by @abdnh in #2957
+ * Add log-in button to preferences screen by @lucasscharenbroch in #2994
+ * Add support for offline builds by @knobix in #2963
+ * Add support for python logging by @cav71 in #2969
+ * Add View Files button to Check Media screen by @abdnh in #3006
+ * Allow > inside HTML attributes by @vaxr in #2918
+ * Americanize "synchronisation" by @hnvy in #2935
+ * Change default font in code editors by @abdnh in #2985
+ * Check required review count for FSRS after filtering by @abdnh in #3019
+ * clamp interval before fuzz_bounds by @L-M-Sherlock in #3024
+ * Clear out old FSRS progress as new operation starts
+ * Default to 'Bury Card' action consistently by @abdnh in #2950
+ * Do not reset original_due when card stays in filtered deck by @abdnh in #2988
+ * Don't urllib.unquote when using requests by @vaxr in #2943
+ * Fix 'ignore this update' not working.
+ * Fix processEvents() reentrancy bug in progress manager window handling by @kieranlblack in #3030
+ * Fix a 'protocol wrong type' message sometimes popping up.
+ * Fix circular import in legacy importer by @abdnh in #3007
+ * Fix code completion in Qt forms by @abdnh in #2993
+ * Fix corner rounding of alignment buttons in editor by @lucasscharenbroch in #2989
+ * Fix crash in Reviewer by @mjuhanne in #2945
+ * Fix deck names differing in case being duplicated in CSV import by @abdnh in #3008
+ * Fix error after notetype merge + downgrade.
+ * Fix flicker when hovering over deck list by @abdnh in #2958
+ * Fix Image field not hidden until user selects an image by @abdnh in #2960
+ * Fix importing of Mnemosyne due dates by @dae in #2936
+ * Fix inconsistent count in optimize/evaluate.
+ * Fix MathJax editor not opening when navigating into blocks by @abdnh in #2953
+ * Fix maybe_coalesce_note_undo_entry() by @abdnh in #2992
+ * Fix misaligned image occlusions in RTL languages by @abdnh in #3018
+ * Fix note id mix-up when resolving notetype conflicts by @RumovZ in #2940
+ * Fix notetype conflict resolution by @RumovZ in #2967
+ * Fix preset: search ignoring cards in filtered decks by @abdnh in #2997
+ * Fix progress manager window race condition by @kieranlblack in #3029
+ * Fix regex skipping over all src except the last by @vaxr in #3021
+ * Fix text input custom style wiping out base user style by @kieranlblack in #3031
+ * Fix title of Auto Advance section by @abdnh in #2949
+ * Fix toolbar button shifting on hover by @BlueGreenMagick in #2928
+ * Fix undo handling of group and some other IO tools by @abdnh in #2931
+ * Fix visual behavior of modal buttons in editor by @lucasscharenbroch in #3009
+ * Fix windows build issue by @qxo in #2947
+ * Fix/ignore revlogs before Forget entry by @L-M-Sherlock in #3002
+ * Flip indent/outdent buttons for RTL by @abdnh in #2930
+ * FSRS - Ignore revlogs before date while optimizing by @Luc-Mcgrady in #2922
+ * Honor NINJA_STATUS if already set by @knobix in #2984
+ * Improve appearance of resize handles in I/O by @krmanik in #2919
+ * Improve typing deck_due_tree() by @nix6839 in #3003
+ * Include details on what's missing when a NotFound error is triggered.
+ * Increase parent limits in custom study when 'limits start from top' is enabled by @RumovZ in #2971
+ * Initialize Browser.aspect_ratio earlier to fix AttributeError by @abdnh in #2924
+ * Make a deep copy in addcards/set_note by @lucasscharenbroch in #3013
+ * Make image occlusion's option buttons tabbable by @PLameiras in #2966
+ * Make sure editor note is saved before triggering buttons by @abdnh in #2995
+ * Make tags and tag suggestions able to be styled by add-ons by @glutanimate in #2941
+ * More precise percent of days studied by @user1823 in #2889
+ * Refactor text attribute button components by @lucasscharenbroch in #3012
+ * Shift the default network timeout back to 60 seconds.
+ * Show message if current FSRS parameters are optimal by @abdnh in #3014
+ * Show total review count when optimizing FSRS parameters by @abdnh in #3027
+ * Tweak type-in-answer filter hack by @lucasscharenbroch in #3010
+ * update FSRS to v0.2.0 by @L-M-Sherlock in #2977
+ * Use card.reps - 1 when calculating fuzz by @dae in #2933
+ * Use our translation of 'Discard' by @abdnh in #2920
+ * Containerize anki-sync-server by @jeankhawand in #3036
+ * Fix alert not appearing when FSRS parameters input is focused by @abdnh in #3053
+ * Adjust HTML editor / add-on config editor font by @abdnh in #3054
+ * Fix/set pretrain_only by fsrs_items by @L-M-Sherlock in #3051
+ * Use Card %d for IO template names by @BrayanDSO in #3049
+ * alert when the resp.weights is empty by @L-M-Sherlock in #3061
+ * When cards become due on the congrats screen, switch to overview, not back into study.
+ * Adding a note to the import options to indicate that leech and marked tags will be removed if disabled by @arbyste in #3067
+ * Fix full sync dialog failing to appear.
+ * Fix consolas not being used in editor.
+ * qt/aqt/init.py: Skip GL library workaround for FreeBSD by @knobix in #3071
+ * fix: cloze_numbers_in_string treating {{c0::}} as valid by @BrayanDSO in #3059
+ * Display deck names when deleting by @escribapetrus in #3058
+ * Rename "Forget" to "Reset" (#3078) by @vasll in #3088
+ * Reset original id when cloning notetypes by @RumovZ in #3089
+ * Use rmse in comparing parameters by @L-M-Sherlock in #3087
+ * Fix summary string for notes that failed to be imported by @RumovZ in #3092
+ * Disable ligatures in type-in highlighting by @abdnh in #3093
+ * Sync-server: add option to store hashed passwords by @laalsaas in #3083
+ * Refactor offline build process and add offline generation of Sphinx docs by @antecrescent in #3082
+ * Replace deprecated method chrono::NaiveDateTime::timestamp_millis by @ijqq in #3097
+ * Update optimal retention tooltip, and add a few extra translations.
+ * Possible workaround for sporadic toolbar height warning.
+ * "Full sync" -> "One-way sync".
+ * rename sm2 retention to historical retention by @L-M-Sherlock in #3101
+ * Use "importing-added" string in importing detail table by @snowtimeglass in #3104
+ * Fix mpv loadfile syntax change by @kelciour in #3105
+ * Improve timer interval display (#3096) by @AntoineQ1 in #3100
+ * Fix incorrect search results after preset used.
+# 23.12.1-3
+PKGBUILD:
+ * reintroduce mold as linker, appears to be more memory efficient on some machines. Otherwise does not compole on memory constrained machines (<= 8GB)
+# 23.12.1-2
+PKGBUILD:
+ * attempt to move away from mold as linker
# 23.12-1
FSRS: