Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated libtiff to 4.5.1 #7233

Merged
merged 2 commits into from
Jun 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Many of Pillow's features require external libraries:

* **libtiff** provides compressed TIFF functionality

* Pillow has been tested with libtiff versions **3.x** and **4.0-4.5**
* Pillow has been tested with libtiff versions **3.x** and **4.0-4.5.1**

* **libfreetype** provides type related services

Expand Down
12 changes: 9 additions & 3 deletions winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ def cmd_msbuild(
"libs": [r"output\release-static\{architecture}\lib\*.lib"],
},
"libtiff": {
"url": "https://download.osgeo.org/libtiff/tiff-4.5.0.tar.gz",
"filename": "tiff-4.5.0.tar.gz",
"dir": "tiff-4.5.0",
"url": "https://download.osgeo.org/libtiff/tiff-4.5.1.tar.gz",
"filename": "tiff-4.5.1.tar.gz",
"dir": "tiff-4.5.1",
"license": "LICENSE.md",
"patch": {
r"libtiff\tif_lzma.c": {
Expand All @@ -199,6 +199,12 @@ def cmd_msbuild(
# link against webp.lib
"#ifdef WEBP_SUPPORT": '#ifdef WEBP_SUPPORT\n#pragma comment(lib, "webp.lib")', # noqa: E501
},
r"test/CMakeLists.txt": {
radarhere marked this conversation as resolved.
Show resolved Hide resolved
"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": [
*cmds_cmake(
Expand Down