Skip to content

Commit 0805f2a

Browse files
authored
Merge pull request #6295 from radarhere/openjpeg
2 parents c4325c8 + 8158396 commit 0805f2a

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

depends/install_openjpeg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# install openjpeg
33

4-
archive=openjpeg-2.4.0
4+
archive=openjpeg-2.5.0
55

66
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/main/$archive.tar.gz
77

docs/installation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ Many of Pillow's features require external libraries:
181181

182182
* **openjpeg** provides JPEG 2000 functionality.
183183

184-
* Pillow has been tested with openjpeg **2.0.0**, **2.1.0**, **2.3.1** and **2.4.0**.
184+
* Pillow has been tested with openjpeg **2.0.0**, **2.1.0**, **2.3.1**,
185+
**2.4.0** and **2.5.0**.
185186
* Pillow does **not** support the earlier **1.5** series which ships
186187
with Debian Jessie.
187188

winbuild/build_prepare.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,15 +246,15 @@ def cmd_msbuild(
246246
"libs": [r"Lib\MS\*.lib"],
247247
},
248248
"openjpeg": {
249-
"url": "https://github.com/uclouvain/openjpeg/archive/v2.4.0.tar.gz",
250-
"filename": "openjpeg-2.4.0.tar.gz",
251-
"dir": "openjpeg-2.4.0",
249+
"url": "https://github.com/uclouvain/openjpeg/archive/v2.5.0.tar.gz",
250+
"filename": "openjpeg-2.5.0.tar.gz",
251+
"dir": "openjpeg-2.5.0",
252252
"build": [
253253
cmd_cmake(("-DBUILD_THIRDPARTY:BOOL=OFF", "-DBUILD_SHARED_LIBS:BOOL=OFF")),
254254
cmd_nmake(target="clean"),
255255
cmd_nmake(target="openjp2"),
256-
cmd_mkdir(r"{inc_dir}\openjpeg-2.4.0"),
257-
cmd_copy(r"src\lib\openjp2\*.h", r"{inc_dir}\openjpeg-2.4.0"),
256+
cmd_mkdir(r"{inc_dir}\openjpeg-2.5.0"),
257+
cmd_copy(r"src\lib\openjp2\*.h", r"{inc_dir}\openjpeg-2.5.0"),
258258
],
259259
"libs": [r"bin\*.lib"],
260260
},

0 commit comments

Comments
 (0)