diff --git a/srcpkgs/texstudio/patches/30-disable-auto-update.patch b/srcpkgs/texstudio/patches/30-disable-auto-update.patch index 78ad6e8896f..3b31cef469b 100644 --- a/srcpkgs/texstudio/patches/30-disable-auto-update.patch +++ b/srcpkgs/texstudio/patches/30-disable-auto-update.patch @@ -1,26 +1,31 @@ -#initially based on debian's patch: https://sources.debian.net/patches/texstudio/2.11.2+debian-1/ -#modification: in Settings menu: disable whole groupBox instead of all single elements +diff --git a/src/configdialog.ui b/src/configdialog.ui +index f08ca462f..ef8a83e91 100644 --- a/src/configdialog.ui +++ b/src/configdialog.ui -@@ -485,6 +485,9 @@ - - - -+ -+ false -+ - - Update - - +@@ -500,6 +500,9 @@ + + + ++ ++ false ++ + + Update + +diff --git a/src/configmanager.cpp b/src/configmanager.cpp +index a67f28cfa..80622ecea 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp -@@ -477,7 +477,7 @@ - registerOption("Thesaurus/Database", &thesaurus_database, "", &pseudoDialog->comboBoxThesaurusFileName); +@@ -508,10 +508,12 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent), + registerOption("Macros/RepositoryURL", &URLmacroRepository, "https://api.github.com/repos/texstudio-org/texstudio-macro/contents/", nullptr); //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/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays); registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime()); ++ */ + + //editor + registerOption("Editor/WordWrapMode", &editorConfig->wordwrap, 1, &pseudoDialog->comboBoxLineWrap); diff --git a/srcpkgs/texstudio/template b/srcpkgs/texstudio/template index 8cc39fc0946..1011e07cf18 100644 --- a/srcpkgs/texstudio/template +++ b/srcpkgs/texstudio/template @@ -1,6 +1,6 @@ # Template file for 'texstudio' pkgname=texstudio -version=4.4.1 +version=4.5.2 revision=1 build_style=qmake configure_args="USE_SYSTEM_HUNSPELL=y USE_SYSTEM_QUAZIP=y @@ -19,7 +19,7 @@ license="GPL-2.0-or-later" homepage="https://texstudio.org/" changelog="https://raw.githubusercontent.com/texstudio-org/texstudio/master/utilities/manual/CHANGELOG.txt" distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz" -checksum=83c46c971081c053a01a186b4a7fbb492d75bef4070ff8fa045311eda186562b +checksum=d43dd21a111aacf57e40b0ee27c94b9923f8fdbddec5bad919596abf9a03f3cf build_options="phonon poppler" desc_option_phonon="build with phonon (=media support for pdf preview)"