Debian Patches

Status for freefilesync/13.3-2

Patch Description Author Forwarded Bugs Origin Last update
pkg-config.patch put pkg-config command into a variable When cross-compiling on debian, the build system dh set the name of the
pkg-config command name to use into PKG_CONFIG variable.
For armhf, it is PKG_CONFIG=arm-linux-gnueabihf-pkg-config
.
Since the pkg-config that is installed during cross-compiling is the one
of the build-arch (amd64), and not the one of the host-arch (armhf),
using `pkg-config` instead of `arm-linux-gnueabihf-pkg-config` would
prevent detection of the libraries.
.
freefilesync (11.23-1) UNRELEASED; urgency=medium
.
* Initial release. (Closes: #925512)
Fab Stz <fabstz-it@yahoo.fr> invalid self 2022-08-09
wx-config-version.patch Set wx-config version Useful when there are multiple versions of wx-config installed on the system Fab Stz <fabstz-it@yahoo.fr> yes Debian 2022-08-12
ffs_devuan.patch Main patch to compile on Debian & derivatives - Set the path to the resource dir on Debian
. remove the "arch" name from the produced executable name.
- update compilation flags:
- CPPFLAGS: required because it is set in debian/rules
- LDFLAGS: remove -s because stripping this is done in dh_strip. If we
kept it, the dbgsym packages would be almost empty.
- LDFLAGS: remove -no-pie because this would conflict with
DEB_BUILD_MAINT_OPTIONS set in debian/rules. The value hardening=+all
enables PIE, while -no-pie would conflit with that.
Fab Stz <fabstz-it@yahoo.fr> not-needed
remove_upstream_build_optimization.patch Remove upstream's `-O3` build optimization This permits to build with Debian's default optimization which are set through
buildflags.mk
.
With this, usually it will build with -O2.
.
Using this mechanism also permits to honor the DEB_BUILD_OPTIONS=noopt in
which case, optimization is set to -O0.
.
References:
- https://wiki.debian.org/HardeningWalkthrough
- https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
.
Fab Stz <fabstz-it@yahoo.fr> not-needed 2024-02-08
ffs_devuan_gtk3.patch Build with GTK3 instead of GTK2 - wxwidgets is built with gtk3, so we have to build with gtk3
- add the LDFLAGS for gtk+-3.0, otherwise, the build would fail with:
.
/usr/bin/ld: /tmp/cc6adrRa.ltrans115.ltrans.o: undefined reference to symbol 'gtk_css_provider_load_from_path'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgtk-3.so.0: error adding symbols: DSO missing from command line
.
"::gtk_css_provider_load_from_path" is called in
FreeFileSync/Source/application.cpp
FreeFileSync/Source/RealTimeSync/application.cpp
.
B Stack not-needed 2020-08-31
zlib-dep.patch Add missing ldflags & cxxflags of zlib - zlib's deflate() is used in zen/zlib_wrap.*
.
- update compilation flags:
- CXXFLAGS: add flags for zlib
- LDFLAGS: add flags for zlib
.
Since ffs calls the deflate function of zlib in zen/zlib_wrap.*, we have to
add -lz.
.
Otherwise build would fail this way:
/usr/bin/ld: /tmp/FreeFileSync_Make/ffs/src/../../zen/zlib_wrap.cpp.o: undefined reference to symbol 'deflate'
/usr/bin/ld: /lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
.
The RealTimeSunc binary doesn't use zen/zlib_wrap.*, so it is not required in
that case.
.
Required since 10.0
.
Fab Stz <fabstz-it@yahoo.fr> yes
reproducible-build.patch Permit reproducible builds by use of SOURCE_DATE_EPOCH Currently the code relies on __DATE__ and __TIME__ macros.
.
This prevents to have reproducible build because these values changes every
time we compile.
.
To achieve reproducible builds, make use of SOURCE_DATE_EPOCH as proposed
on https://reproducible-builds.org
.
See:
- https://reproducible-builds.org/docs/
- https://reproducible-builds.org/docs/source-date-epoch/
Fab Stz <fabstz-it@yahoo.fr> yes self 2022-08-11
ffs_dpkg_vendor_specific_about.patch patch to add vendor name in about screen Fab Stz <fabstz-it@yahoo.fr> not-needed
ffs_no_check_updates.patch Disable check for new versions bgstack15 not-needed 2022-05-24
ffs_sftp.patch Add values from missing constants taken from libssh2 The upstream author observed that some of the values he uses are not in the
libssh2 public headers. I don't know where he uses them from, but I had to
replace them here to get this to compile.
.
https://github.com/libssh2/libssh2/issues/90
.
Required since 10.9
B Stack yes 2021-02-02
ffs_traditional_view.patch restore a traditional view to FreeFileSync, and disable "welcomeShownVersion" About dialog bgstack15 yes 2023-09-13
ffs_icon_loader.patch Solve syntax issue when using libglib2 >= 2.67 Preprocessor output for `::g_object_ref(gicon); ` is:
::((typename std::remove_reference<decltype (gicon)>::type) (g_object_ref) (gicon));
Since commit https://gitlab.gnome.org/GNOME/glib/-/commit/5b2bee3f539056b42c802608f9f00cc9ddd64b79
that is shipped starting from 2.67.0, the macro g_object_ref changed and is
also defined when __cplusplus is defined in some circumstances.
.
Removing the scope resolution operator `::` permits the code to build.
There remains to check whether this is the correct fix.
.
See also: https://freefilesync.org/forum/viewtopic.php?t=8780
.
Required since 11.21
.
Fab Stz <fabstz-it@yahoo.fr> yes 2022-08-08
skip-missing-Animal.dat.patch Don't process the missing Animal.dat image Upstream doesn't ship the Animal.dat file in the sources. It is a picture
that is displayed in the "About" window.
.
Remove the display of that picture and resize the widgets so as to occupy
all the space freed by it.
.
Fab Stz <fabstz-it@yahoo.fr> not-needed 2024-02-06
fix-gtk3-kde-hang-and-dialog-size.patch Fix freeze with dialogs in KDE with gtk3 and dialog size With upstream's 12.1 version, there started to be a freeze when opening
some dialogs. Upstream author identified this might come from a given change
detailed in https://freefilesync.org/forum/viewtopic.php?t=10103
.
This patch should:
- fix the freeze/hang that appears in KDE+GTK3
- correctly size the dialogs (some text in dialogs used to be truncated)
.
In the AboutDlg there was twice the squence Show();Hide(); The 1st sequence
must be removed completely. Otherwise there is some display corruption of the
donation text and the Animal.dat picture. So only the last Show() must be kept.
.
More details in: https://freefilesync.org/forum/viewtopic.php?t=10103#p42387
.
Required since 12.1
.
Fab Stz <fabstz-it@yahoo.fr> yes upstream self 2024-02-06
libssh2_relax_dep.patch Allow one to build with older version of libssh2 Don't fail on missing constants when building with older versions of libssh2 Fab Stz <fabstz-it@yahoo.fr> not-needed self 2023-06-20
Disable_wxWidgets_uncaught_exception_handling.patch Disable wxWidgets uncaught exception handling wxWidgets' exception handling gets in the way of debugging by
handling uncaught exceptions, thous hiding their point of origin.
This causes the build to fail:
application.cpp:249:2: error: #error why is wxWidgets uncaught exception handling enabled!?
249 | #error why is wxWidgets uncaught exception handling enabled!?
| ^~~~~
compilation terminated due to -Wfatal-errors.
Jhonny Oliveira <jhonny.oliveira@gmail.com> not-needed upstream 2023-10-29
deactivate_google_drive_button.patch Deactivate Google Drive Upstream doesn't ship the client_id & client_secret that are required to
interact with Google's servers.
.
This results in failures like the one described here:
.
https://freefilesync.org/forum/viewtopic.php?t=11054
.
This patch:
- disables the Google Drive button in the UI
- displays the UI elements for sftp when opening the 'Cloud' dialog (instead
of those for Google Drive).
.
Required since 10.9
.
Applied since 13.3-2
.
Fab Stz <fabstz-it@yahoo.fr> not-needed self 2024-02-06
libcurl_improve_supported_error_codes.patch extend the versions of libcurl that can be used to build ffs .
Minimal version supported by this patch is libcurl >= 7.66
.
FreeFileSync makes an 'assert' that it supports all error codes of the curl
version that it links to. Since FreeFileSync code is shipped to build
with a specific version of curl, there is a hard coded assertion.
.
To avoid a build failure when curl is not in line with the one used upstream
we make conditional checks on the curl version to determine which assertion
should be made.
.
While this works fine to build with any old version of curl > 7.66, there
will be a build fairure as soon as a new error code appears in a newer version
of curl. In that case it is required to add it here.
.
Error codes can be found in the 'enum' named 'CURLcode' at
https://github.com/curl/curl/blob/master/include/curl/curl.h
.
Fab Stz <fabstz-it@yahoo.fr> yes multiple sources 2024-02-05

All known versions for source package 'freefilesync'

Links