diff --git a/texstudio-disable-update-check.patch b/texstudio-disable-update-check.patch new file mode 100644 index 0000000..6818706 --- /dev/null +++ b/texstudio-disable-update-check.patch @@ -0,0 +1,54 @@ +From 6855f6912aff21c5aec73777c504bfce9e62d37b Mon Sep 17 00:00:00 2001 +From: hannes +Date: Wed, 16 Dec 2015 20:34:51 +0100 +Subject: [PATCH] update_check + +--- + configdialog.ui | 10 ++++++++-- + configmanager.cpp | 2 +- + 2 files changed, 9 insertions(+), 3 deletions(-) + +diff --git a/configdialog.ui b/configdialog.ui +index 2e7e131..a8f69b1 100644 +--- a/configdialog.ui ++++ b/configdialog.ui +@@ -557,15 +557,21 @@ + 1 + + +- 7 ++ 7 + ++ ++ true ++ + + + + + + Automatically check every +- ++ ++ ++ false ++ + + + +diff --git a/configmanager.cpp b/configmanager.cpp +index e1ddbdb..443f4a7 100644 +--- a/configmanager.cpp ++++ b/configmanager.cpp +@@ -467,7 +467,7 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent), + registerOption("Thesaurus/Database", &thesaurus_database, "", &pseudoDialog->comboBoxThesaurusFileName); + + //updates +- registerOption("Update/AutoCheck", &autoUpdateCheck, true, &pseudoDialog->checkBoxAutoUpdateCheck); ++ registerOption("Update/AutoCheck", &autoUpdateCheck, false, &pseudoDialog->checkBoxAutoUpdateCheck); + registerOption("Update/UpdateLevel", &updateLevel, 0, &pseudoDialog->comboBoxUpdateLevel); + registerOption("Update/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays); + registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime()); +-- +2.5.0 + diff --git a/texstudio.spec b/texstudio.spec index 9ea6a07..714d061 100644 --- a/texstudio.spec +++ b/texstudio.spec @@ -14,6 +14,7 @@ Source1: texstudio.desktop Patch0: texstudio-use-system-hunspell-instead-of-bundled-one.patch Patch1: texstudio-use-system-qtsingleapplication-instead-of-bundled-on.patch Patch2: texstudio-debughelper-arm-fix.patch +Patch3: texstudio-disable-update-check.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt5-qtbase-devel @@ -50,6 +51,7 @@ so it keeps it look&feel. %patch0 -p1 -b .hunspell %patch1 -p1 -b .qtsingle %patch2 -p1 -b .arm +%patch3 -p1 -b .update_check rm -rf {hunspell,qtsingleapplication}