diff options
author | B Stack <bgstack15@gmail.com> | 2019-01-30 15:42:32 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-01-30 15:42:32 -0500 |
commit | 8f72976db1311f5de6d4916f4db0058346e0f727 (patch) | |
tree | 47b224ccd882ec12a932ad77732704ea082eed65 /freefilesync/debian/patches/no_check_updates.patch | |
parent | add palemoon dpkg for devuan (diff) | |
download | stackrpms-8f72976db1311f5de6d4916f4db0058346e0f727.tar.gz stackrpms-8f72976db1311f5de6d4916f4db0058346e0f727.tar.bz2 stackrpms-8f72976db1311f5de6d4916f4db0058346e0f727.zip |
add freefilesync dpkg rough draft
Diffstat (limited to 'freefilesync/debian/patches/no_check_updates.patch')
-rw-r--r-- | freefilesync/debian/patches/no_check_updates.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/freefilesync/debian/patches/no_check_updates.patch b/freefilesync/debian/patches/no_check_updates.patch new file mode 100644 index 0000000..99f0c8f --- /dev/null +++ b/freefilesync/debian/patches/no_check_updates.patch @@ -0,0 +1,57 @@ +diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/ui/main_dlg.cpp 10.3-2/FreeFileSync/Source/ui/main_dlg.cpp +--- 10.3-0/FreeFileSync/Source/ui/main_dlg.cpp 2018-08-07 05:03:34.000000000 -0400 ++++ 10.3-2/FreeFileSync/Source/ui/main_dlg.cpp 2018-08-08 18:50:50.455078387 -0400 +@@ -5004,7 +5004,7 @@ + globalCfg_.gui.lastUpdateCheck = 0; //reset to GlobalSettings.xml default value! + + m_menuItemCheckVersionAuto->Check(updateCheckActive(globalCfg_.gui.lastUpdateCheck)); +- ++ /* + if (shouldRunAutomaticUpdateCheck(globalCfg_.gui.lastUpdateCheck)) + { + flashStatusInformation(_("Searching for program updates...")); +@@ -5012,6 +5012,7 @@ + automaticUpdateCheckEval(this, globalCfg_.gui.lastUpdateCheck, globalCfg_.gui.lastOnlineVersion, + automaticUpdateCheckRunAsync(automaticUpdateCheckPrepare().get()).get()); + } ++ */ + } + + +@@ -5019,7 +5020,7 @@ + { + //execute just once per startup! + Disconnect(wxEVT_IDLE, wxIdleEventHandler(MainDialog::OnRegularUpdateCheck), nullptr, this); +- ++ /* + if (shouldRunAutomaticUpdateCheck(globalCfg_.gui.lastUpdateCheck)) + { + flashStatusInformation(_("Searching for program updates...")); +@@ -5033,6 +5034,7 @@ + resultAsync.get()); //run on main thread: + }); + } ++ */ + } + + +diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/ui/version_check_impl.h 10.3-2/FreeFileSync/Source/ui/version_check_impl.h +--- 10.3-0/FreeFileSync/Source/ui/version_check_impl.h 2018-08-07 05:03:34.000000000 -0400 ++++ 10.3-2/FreeFileSync/Source/ui/version_check_impl.h 2018-08-08 18:50:50.458078415 -0400 +@@ -14,7 +14,7 @@ + + namespace fff + { +-inline ++ + time_t getVersionCheckInactiveId() + { + //use current version to calculate a changing number for the inactive state near UTC begin, in order to always check for updates after installing a new version +@@ -38,7 +38,6 @@ + } + + +-inline + time_t getVersionCheckCurrentTime() + { + return std::time(nullptr); |