fix: anki anki-qt5

This commit is contained in:
madomado
2023-11-08 20:50:29 +08:00
parent c818739d46
commit 21eec4e6e8
4 changed files with 2 additions and 36 deletions
-17
View File
@@ -1,17 +0,0 @@
diff -uNr anki-2.1.55.old/qt/aqt/profiles.py anki-2.1.55/qt/aqt/profiles.py
--- anki-2.1.55.old/qt/aqt/profiles.py 2023-01-02 18:35:44.574467892 +0800
+++ anki-2.1.55/qt/aqt/profiles.py 2023-01-02 18:34:00.412033736 +0800
@@ -77,11 +77,11 @@
metaConf = dict(
ver=0,
- updates=True,
+ updates=False,
created=int_time(),
id=random.randrange(0, 2**63),
lastMsg=-1,
- suppressUpdate=False,
+ suppressUpdate=True,
firstRun=True,
defaultLang=None,
)
+1 -1
View File
@@ -11,7 +11,7 @@ Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt5-sip
ExclusiveArch: x86_64
Conflicts: anki
Patch0: 0001-No-update.patch
#Patch0: 0001-No-update.patch
Patch1: 0001-Force-qt5.patch
%description
-17
View File
@@ -1,17 +0,0 @@
diff -uNr anki-2.1.55.old/qt/aqt/profiles.py anki-2.1.55/qt/aqt/profiles.py
--- anki-2.1.55.old/qt/aqt/profiles.py 2023-01-02 18:35:44.574467892 +0800
+++ anki-2.1.55/qt/aqt/profiles.py 2023-01-02 18:34:00.412033736 +0800
@@ -77,11 +77,11 @@
metaConf = dict(
ver=0,
- updates=True,
+ updates=False,
created=int_time(),
id=random.randrange(0, 2**63),
lastMsg=-1,
- suppressUpdate=False,
+ suppressUpdate=True,
firstRun=True,
defaultLang=None,
)
+1 -1
View File
@@ -12,7 +12,7 @@ Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-h
Recommends: mpv
Obsoletes: anki <= 2.1.15
Conflicts: anki-qt5
Patch0: 0001-No-update.patch
#Patch0: 0001-No-update.patch
%description
Anki is a program designed to help you remember facts (such as words and