Update libtiff to 4.7.1 (#9222)

This commit is contained in:
Hugo van Kemenade 2025-10-04 10:59:35 +03:00 committed by GitHub
commit 8324b49394
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View File

@ -104,7 +104,7 @@ JPEGTURBO_VERSION=3.1.2
OPENJPEG_VERSION=2.5.4 OPENJPEG_VERSION=2.5.4
XZ_VERSION=5.8.1 XZ_VERSION=5.8.1
ZSTD_VERSION=1.5.7 ZSTD_VERSION=1.5.7
TIFF_VERSION=4.7.0 TIFF_VERSION=4.7.1
LCMS2_VERSION=2.17 LCMS2_VERSION=2.17
ZLIB_NG_VERSION=2.2.5 ZLIB_NG_VERSION=2.2.5
LIBWEBP_VERSION=1.6.0 LIBWEBP_VERSION=1.6.0

View File

@ -44,7 +44,7 @@ Many of Pillow's features require external libraries:
* **libtiff** provides compressed TIFF functionality * **libtiff** provides compressed TIFF functionality
* Pillow has been tested with libtiff versions **4.0-4.7.0** * Pillow has been tested with libtiff versions **4.0-4.7.1**
* **libfreetype** provides type related services * **libfreetype** provides type related services

View File

@ -124,7 +124,7 @@ V = {
"LIBPNG": "1.6.50", "LIBPNG": "1.6.50",
"LIBWEBP": "1.6.0", "LIBWEBP": "1.6.0",
"OPENJPEG": "2.5.4", "OPENJPEG": "2.5.4",
"TIFF": "4.7.0", "TIFF": "4.7.1",
"XZ": "5.8.1", "XZ": "5.8.1",
"ZLIBNG": "2.2.5", "ZLIBNG": "2.2.5",
} }
@ -228,12 +228,6 @@ DEPS: dict[str, dict[str, Any]] = {
# link against libwebp.lib # link against libwebp.lib
"#ifdef WEBP_SUPPORT": '#ifdef WEBP_SUPPORT\n#pragma comment(lib, "libwebp.lib")', # noqa: E501 "#ifdef WEBP_SUPPORT": '#ifdef WEBP_SUPPORT\n#pragma comment(lib, "libwebp.lib")', # noqa: E501
}, },
r"test\CMakeLists.txt": {
"add_executable(test_write_read_tags ../placeholder.h)": "",
"target_sources(test_write_read_tags PRIVATE test_write_read_tags.c)": "", # noqa: E501
"target_link_libraries(test_write_read_tags PRIVATE tiff)": "",
"list(APPEND simple_tests test_write_read_tags)": "",
},
}, },
"build": [ "build": [
*cmds_cmake( *cmds_cmake(
@ -241,7 +235,6 @@ DEPS: dict[str, dict[str, Any]] = {
"-DBUILD_SHARED_LIBS:BOOL=OFF", "-DBUILD_SHARED_LIBS:BOOL=OFF",
"-DWebP_LIBRARY=libwebp", "-DWebP_LIBRARY=libwebp",
'-DCMAKE_C_FLAGS="-nologo -DLZMA_API_STATIC"', '-DCMAKE_C_FLAGS="-nologo -DLZMA_API_STATIC"',
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
) )
], ],
"headers": [r"libtiff\tiff*.h"], "headers": [r"libtiff\tiff*.h"],