I'm unable to build Freefilesync 11.26 on Ubuntu Jammy (22.04) due to the fact that only wx 3.0 is available.
This is the first error I got:
ui/main_dlg.cpp: In member function ‘void fff::MainDialog::onCfgGridContext(zen::GridContextMenuEvent&)’:
ui/main_dlg.cpp:3623:20: error: ‘class wxBitmap’ has no member named ‘SetScaleFactor’; did you mean ‘GetScaleFactor’?
3623 | bmpColorPicker.SetScaleFactor(getDisplayScaleFactor());
| ^~~~~~~~~~~~~~
| GetScaleFactor
compilation terminated due to -Wfatal-errors.
ui/main_dlg.cpp: In lambda function:
ui/main_dlg.cpp:3636:16: error: ‘class wxColourData’ has no member named ‘SetChooseAlpha’
3636 | colCfg.SetChooseAlpha(false);
| ^~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
ui/main_dlg.cpp: In lambda function:
ui/main_dlg.cpp:3655:18: error: ‘wxEVT_COLOUR_CHANGED’ was not declared in this scope; did you mean ‘wxEVT_SYS_COLOUR_CHANGED’?
3655 | dlg.Bind(wxEVT_COLOUR_CHANGED, [&](wxColourDialogEvent& event2)
| ^~~~~~~~~~~~~~~~~~~~
| wxEVT_SYS_COLOUR_CHANGED
compilation terminated due to -Wfatal-errors.
You can find the full set of patches I'm using on Freefilesyncversion 11.25 here: https://launchpad.net/~xtradeb/+archive/ubuntu/apps/+sourcefiles/freefilesync/11.25-1~xtradeb1/freefilesync_11.25-1~xtradeb1.debian.tar.xz . To be more specific: ffs_no_wx311.patch and revert_zenju_aggressive_upstreamisms.patch, I think.
Thank you!
Jhonny Oliveira
https://xtradeb.net