FreeFileSync/FreeFileSync-disable-in-app-updates.patch
Jannik Seiler fb30e03c2e Accepting request 999422 from home:seil0:branches:network
- Update to 11.23
  - Format local file times with no limits on time span
  - Deferred child item failure when traversing MTP folder
  - Fixed occasional wrong thumbnail orientation for MTP
  - Support additional image formats for MTP preview (e.g. CR2)
  - Fixed folder pair window being squashed after text size increase
  - Fixed wrong folder pair order when loading config (Linux)
  - Fixed some images being stretched on high-DPI monitors
  - Fixed config panel tab text being mirrored in RTL layout
  - Fixed parsing file times one second before Unix epoch (Gdrive, FTP)
- Changes from 11.22
  - Allow to change default log folder in global settings
  - Fixed sort order when items existing on one side only
  - Consider HOME environment variable for home path (Linux)
  - Fixed config selection using shift and arrow keys
  - Start comparison, then sync by only pressing Enter after startup
  - Fall back to default path when failing to save log file
  - Improved relative config path handling in portable mode
- Changes from 11.21
  - Support volume GUID as path: \\?\Volume{01234567-89ab-cdef-0123-456789abcdef} (Windows)
  - Avoid Two-Way conflict when changing folder name upper/lower-case
  - List hidden warning messages in options dialog
  - Fixed buffer overflow while receiving SFTP server banner
  - Create crash dumps even if FFS-internal crash handling doesn't kick in
  - Log time when error occured, not when it is reported
  - Swap sides: Require confirmation only after comparison
  - Updated translation files
- Changes from 11.20
  - Fixed broken icon scaling on high-DPI displays
  - Fixed user language set to English after update
- Drop obsolete FreeFileSync-build-with-gcc12.patch
- Drop obsolete FreeFileSync-build-with-wx3.1.5.patch
- Update FreeFileSync-disable-in-app-updates.patch for version 11.23
- Update FreeFileSync-icon-loader.patch for version 11.23
- Update FreeFileSync-resources.patch for version 11.23

OBS-URL: https://build.opensuse.org/request/show/999422
OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=56
2022-08-26 15:22:53 +00:00

48 lines
2.7 KiB
Diff

diff -Naur FreeFileSync_11.23_Source_orig/FreeFileSync/Source/ui/gui_generated.cpp FreeFileSync_11.23_Source/FreeFileSync/Source/ui/gui_generated.cpp
--- FreeFileSync_11.23_Source_orig/FreeFileSync/Source/ui/gui_generated.cpp 2022-07-23 15:18:28.000000000 +0200
+++ FreeFileSync_11.23_Source/FreeFileSync/Source/ui/gui_generated.cpp 2022-08-26 15:47:40.998770347 +0200
@@ -108,13 +108,14 @@
m_menuItemHelp = new wxMenuItem( m_menuHelp, wxID_HELP, wxString( _("&View help") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
m_menuHelp->Append( m_menuItemHelp );
- m_menuHelp->AppendSeparator();
+ // disable update/auto update actions for packaged version (they are only hidden, to not break any code and keep the patch small)
+ //m_menuHelp->AppendSeparator();
m_menuItemCheckVersionNow = new wxMenuItem( m_menuHelp, wxID_ANY, wxString( _("&Check for updates now") ), wxEmptyString, wxITEM_NORMAL );
- m_menuHelp->Append( m_menuItemCheckVersionNow );
+ //m_menuHelp->Append( m_menuItemCheckVersionNow );
m_menuItemCheckVersionAuto = new wxMenuItem( m_menuHelp, wxID_ANY, wxString( _("Check &automatically once a week") ), wxEmptyString, wxITEM_CHECK );
- m_menuHelp->Append( m_menuItemCheckVersionAuto );
+ //m_menuHelp->Append( m_menuItemCheckVersionAuto );
m_menuItemCheckVersionAuto->Check( true );
m_menuHelp->AppendSeparator();
diff -Naur FreeFileSync_11.23_Source_orig/FreeFileSync/Source/ui/main_dlg.cpp FreeFileSync_11.23_Source/FreeFileSync/Source/ui/main_dlg.cpp
--- FreeFileSync_11.23_Source_orig/FreeFileSync/Source/ui/main_dlg.cpp 2022-07-23 15:18:28.000000000 +0200
+++ FreeFileSync_11.23_Source/FreeFileSync/Source/ui/main_dlg.cpp 2022-08-26 15:48:40.582681036 +0200
@@ -928,7 +928,7 @@
updateGui();
//register regular check for update on next idle event
- Bind(wxEVT_IDLE, &MainDialog::onStartupUpdateCheck, this);
+ //Bind(wxEVT_IDLE, &MainDialog::onStartupUpdateCheck, this);
//asynchronous call to wxWindow::Layout(): fix superfluous frame on right and bottom when FFS is started in fullscreen mode
Bind(wxEVT_IDLE, &MainDialog::onLayoutWindowAsync, this);
diff -Naur FreeFileSync_11.23_Source_orig/FreeFileSync/Source/ui/version_check.cpp FreeFileSync_11.23_Source/FreeFileSync/Source/ui/version_check.cpp
--- FreeFileSync_11.23_Source_orig/FreeFileSync/Source/ui/version_check.cpp 2022-07-23 15:18:28.000000000 +0200
+++ FreeFileSync_11.23_Source/FreeFileSync/Source/ui/version_check.cpp 2022-08-26 15:49:30.950625085 +0200
@@ -77,7 +77,9 @@
return false;
const time_t now = std::time(nullptr);
- return std::abs(now - lastUpdateCheck) >= 7 * 24 * 3600; //check weekly
+ //return std::abs(now - lastUpdateCheck) >= 7 * 24 * 3600; //check weekly
+
+ return false;
}