texstudio: update to 4.5.2.

This commit is contained in:
Piraty 2023-05-01 20:09:27 +02:00
parent d8aba84eed
commit f8f49a9663
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
2 changed files with 24 additions and 19 deletions

View File

@ -1,26 +1,31 @@
#initially based on debian's patch: https://sources.debian.net/patches/texstudio/2.11.2+debian-1/ diff --git a/src/configdialog.ui b/src/configdialog.ui
#modification: in Settings menu: disable whole groupBox instead of all single elements index f08ca462f..ef8a83e91 100644
--- a/src/configdialog.ui --- a/src/configdialog.ui
+++ b/src/configdialog.ui +++ b/src/configdialog.ui
@@ -485,6 +485,9 @@ @@ -500,6 +500,9 @@
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_Update"> <widget class="QGroupBox" name="groupBox_Update">
+ <property name="enabled"> + <property name="enabled">
+ <bool>false</bool> + <bool>false</bool>
+ </property> + </property>
<property name="title"> <property name="title">
<string>Update</string> <string>Update</string>
</property> </property>
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index a67f28cfa..80622ecea 100644
--- a/src/configmanager.cpp --- a/src/configmanager.cpp
+++ b/src/configmanager.cpp +++ b/src/configmanager.cpp
@@ -477,7 +477,7 @@ @@ -508,10 +508,12 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent),
registerOption("Thesaurus/Database", &thesaurus_database, "<dic not found>", &pseudoDialog->comboBoxThesaurusFileName); registerOption("Macros/RepositoryURL", &URLmacroRepository, "https://api.github.com/repos/texstudio-org/texstudio-macro/contents/", nullptr);
//updates //updates
- registerOption("Update/AutoCheck", &autoUpdateCheck, true, &pseudoDialog->checkBoxAutoUpdateCheck); + /*
+ registerOption("Update/AutoCheck", &autoUpdateCheck, false, &pseudoDialog->checkBoxAutoUpdateCheck); registerOption("Update/AutoCheck", &autoUpdateCheck, true, &pseudoDialog->checkBoxAutoUpdateCheck);
registerOption("Update/UpdateLevel", &updateLevel, 0, &pseudoDialog->comboBoxUpdateLevel); registerOption("Update/UpdateLevel", &updateLevel, 0, &pseudoDialog->comboBoxUpdateLevel);
registerOption("Update/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays); registerOption("Update/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays);
registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime()); registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime());
+ */
//editor
registerOption("Editor/WordWrapMode", &editorConfig->wordwrap, 1, &pseudoDialog->comboBoxLineWrap);

View File

@ -1,6 +1,6 @@
# Template file for 'texstudio' # Template file for 'texstudio'
pkgname=texstudio pkgname=texstudio
version=4.4.1 version=4.5.2
revision=1 revision=1
build_style=qmake build_style=qmake
configure_args="USE_SYSTEM_HUNSPELL=y USE_SYSTEM_QUAZIP=y configure_args="USE_SYSTEM_HUNSPELL=y USE_SYSTEM_QUAZIP=y
@ -19,7 +19,7 @@ license="GPL-2.0-or-later"
homepage="https://texstudio.org/" homepage="https://texstudio.org/"
changelog="https://raw.githubusercontent.com/texstudio-org/texstudio/master/utilities/manual/CHANGELOG.txt" changelog="https://raw.githubusercontent.com/texstudio-org/texstudio/master/utilities/manual/CHANGELOG.txt"
distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz" distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz"
checksum=83c46c971081c053a01a186b4a7fbb492d75bef4070ff8fa045311eda186562b checksum=d43dd21a111aacf57e40b0ee27c94b9923f8fdbddec5bad919596abf9a03f3cf
build_options="phonon poppler" build_options="phonon poppler"
desc_option_phonon="build with phonon (=media support for pdf preview)" desc_option_phonon="build with phonon (=media support for pdf preview)"