From 8f72976db1311f5de6d4916f4db0058346e0f727 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 30 Jan 2019 15:42:32 -0500 Subject: add freefilesync dpkg rough draft --- freefilesync/debian/patches/no_check_updates.patch | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 freefilesync/debian/patches/no_check_updates.patch (limited to 'freefilesync/debian/patches/no_check_updates.patch') 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); -- cgit