Package: freeimage / 3.18.0+ds2-1+deb10u1

Metadata

Package Version Patches format
freeimage 3.18.0+ds2-1+deb10u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Disable vendored dependencies.patch | (download)

Source/FreeImage.h | 9 8 + 1 - 0 !
Source/FreeImage/J2KHelper.cpp | 2 1 + 1 - 0 !
Source/FreeImage/PluginEXR.cpp | 20 10 + 10 - 0 !
Source/FreeImage/PluginG3.cpp | 9 5 + 4 - 0 !
Source/FreeImage/PluginJ2K.cpp | 2 1 + 1 - 0 !
Source/FreeImage/PluginJP2.cpp | 2 1 + 1 - 0 !
Source/FreeImage/PluginJPEG.cpp | 6 3 + 3 - 0 !
Source/FreeImage/PluginJXR.cpp | 2 1 + 1 - 0 !
Source/FreeImage/PluginPNG.cpp | 4 2 + 2 - 0 !
Source/FreeImage/PluginRAW.cpp | 2 1 + 1 - 0 !
Source/FreeImage/PluginTIFF.cpp | 4 2 + 2 - 0 !
Source/FreeImage/PluginWebP.cpp | 6 3 + 3 - 0 !
Source/FreeImage/ZLibInterface.cpp | 5 2 + 3 - 0 !
Source/Metadata/XTIFF.cpp | 80 39 + 41 - 0 !
genfipsrclist.sh | 7 1 + 6 - 0 !
gensrclist.sh | 9 2 + 7 - 0 !
16 files changed, 82 insertions(+), 87 deletions(-)

 disable vendored dependencies.

This commit disables usage of the embedded dependencies for building
FreeImage and FreeImagePlus. Functionalities which could not use the
packaged dependencies are delibarately disabled for security reasons.

This patch is based on Fedora's FreeImage-3.17.0_unbundle patch.

Use system dependencies.patch | (download)

Makefile.fip | 45 17 + 28 - 0 !
Makefile.gnu | 41 20 + 21 - 0 !
2 files changed, 37 insertions(+), 49 deletions(-)

 use system dependencies.

This commit patches the build system to use the packaged dependencies
for building FreeImage and FreeImagePlus. This patch also modifies some
targets in the corresponding Makefiles to help with the package build process.

Fix macro redefinition for 64 bit integer types.patch | (download)

Source/FreeImage.h | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix macro redefinition for 64-bit integer types.

Both FreeImage and LibRAW defines INT64 and UINT64 aliases in their respective
public headers via macros. This commit guards against macro redefinitions for
these types inside the FreeImage.h public header.

Fix compatibility with system libpng.patch | (download)

Source/FreeImage/PluginPNG.cpp | 29 23 + 6 - 0 !
1 file changed, 23 insertions(+), 6 deletions(-)

 fix compatibility with system libpng.

[Ghislain Antony Vaillant]
The PNG plugin of FreeImage makes use of optional features of libpng, which
are not enabled in Debian. This commit adds the necessary guards for FreeImage
to compile and run without these features.

[Tobias Frost]
Fix FTBFS with libpng 1.6.

Disable usage of HTML timestamps in doxygen.patch | (download)

Wrapper/FreeImagePlus/doc/FreeImagePlus.dox | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable usage of html timestamps in doxygen.

Improves package reproducibility.

Disable testing of JPEG transform.patch | (download)

TestAPI/testJPEG.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 disable testing of jpeg transform.

Reason: the JPEG transform features are disabled from the Debian build as a
result of the stripping of the vendored dependencies.

Disable testing of JXR MemIO.patch | (download)

TestAPI/MainTestSuite.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable testing of jxr memio.

Reason: The JXR MemIO test raises an assertion error, whose origin is unknown
and needs to be assessed with upstream. Meanwhile the failing test should be
temporarily disabled.

Fix encoding of fi header.patch | (download)

Source/FreeImage.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix encoding of fi header.


Enable substitution of pkg config.patch | (download)

Makefile.gnu | 9 6 + 3 - 0 !
1 file changed, 6 insertions(+), 3 deletions(-)

 enable substitution of pkg-config


CVE 2019 12211 13.patch | (download)

Source/FreeImage/PluginTIFF.cpp | 70 58 + 12 - 0 !
1 file changed, 58 insertions(+), 12 deletions(-)

---