diff mbox series

[meta-python,23/38] python3-pillow: upgrade 10.3.0 -> 10.4.0

Message ID 1721034151-540-23-git-send-email-wangmy@fujitsu.com
State Accepted
Headers show
Series [meta-oe,01/38] botan: upgrade 3.4.0 -> 3.5.0 | expand

Commit Message

Mingyu Wang (Fujitsu) July 15, 2024, 9:02 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

0001-support-cross-compiling.patch
refreshed for 10.4.0

Changelog:
===========
- Raise FileNotFoundError if show_file() path does not exist
- Improved reading 16-bit TGA images with colour
- Deprecate non-image ImageCms modes
- Fixed processing multiple JPEG EXIF markers
- Do not preserve EXIFIFD tag by default when saving TIFF images
- Added ImageFont.load_default_imagefont()
- Added Image.WARN_POSSIBLE_FORMATS
- Remove zero-byte end padding when parsing any XMP data
- Do not detect Ultra HDR images as MPO
- Raise SyntaxError specific to JP2
- Do not use first frame duration for other frames when saving APNG images
- Consider I;16 pixel size when using a 1 mode mask
- When saving multiple PNG frames, convert to mode rather than raw mode
- Added byte support to FreeTypeFont
- Allow float center for rotate operations
- Do not read layers immediately when opening PSD images
- Restore original thread state
- Read IM and TIFF images as RGB, rather than RGBX
- Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED
- Clarify ImageDraw2 error message when size is missing
- Support unpacking more rawmodes to RGBA palettes
- Removed support for Qt 5
- Improve ImageFont.freetype support for XDG directories on Linux
- Improved consistency of XMP handling
- Use pkg-config to help find libwebp and raqm
- Accept 't' suffix for libtiff version #8126,
- Deprecate ImageDraw.getdraw hints parameter
- Added ImageDraw circle()
- Add mypy target to Makefile
- Added more modes to Image.MODES
- Deprecate BGR;15, BGR;16 and BGR;24 modes
- Fix ImagingAccess for I;16N on big-endian
- Support reading P mode TIFF images with padding
- Deprecate support for libtiff < 4
- Corrected ImageShow UnixViewer command
- Use functools.cached_property in ImageStat
- Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER
- Support reading CMYK JPEG2000 images

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python3-pillow/0001-support-cross-compiling.patch | 11 ++++-------
 ...hon3-pillow_10.3.0.bb => python3-pillow_10.4.0.bb} |  2 +-
 2 files changed, 5 insertions(+), 8 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_10.3.0.bb => python3-pillow_10.4.0.bb} (96%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch
index e4ba35b88..220c4edc3 100644
--- a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch
+++ b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch
@@ -1,4 +1,4 @@ 
-From cd09b6f68aa49c72e9a9bb0765e8c666238a7b7e Mon Sep 17 00:00:00 2001
+From 5b28d19d6513cc3eb3105d3f917df352283f3c5e Mon Sep 17 00:00:00 2001
 From: Leon Anavi <leon.anavi@konsulko.com>
 Date: Mon, 11 Jan 2021 13:25:12 +0000
 Subject: [PATCH] support cross compiling
@@ -12,10 +12,10 @@  Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/setup.py b/setup.py
-index cbc2641c..302bc6e7 100755
+index 0abfaaddc..557420a6b 100644
 --- a/setup.py
 +++ b/setup.py
-@@ -123,7 +123,7 @@ _LIB_IMAGING = (
+@@ -129,7 +129,7 @@ _LIB_IMAGING = (
      "codec_fd",
  )
  
@@ -24,7 +24,7 @@  index cbc2641c..302bc6e7 100755
  
  
  class DependencyException(Exception):
-@@ -408,12 +408,12 @@ class pil_build_ext(build_ext):
+@@ -508,12 +508,12 @@ class pil_build_ext(build_ext):
                      _add_directory(library_dirs, match.group(1))
  
          # include, rpath, if set as environment variables:
@@ -39,6 +39,3 @@  index cbc2641c..302bc6e7 100755
              if k in os.environ:
                  for d in os.environ[k].split(os.path.pathsep):
                      _add_directory(library_dirs, d)
--- 
-2.17.1
-
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.3.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb
similarity index 96%
rename from meta-python/recipes-devtools/python/python3-pillow_10.3.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb
index debf48815..71159ba50 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_10.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb
@@ -9,7 +9,7 @@  SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https
            file://0001-support-cross-compiling.patch \
            file://run-ptest \
            "
-SRCREV = "5c89d88eee199ba53f64581ea39b6a1bc52feb1a"
+SRCREV = "9b4fae77178e827ab17118fbc89c739ffd6a0fab"
 
 inherit python_setuptools_build_meta ptest