3 Commits
Author SHA1 Message Date
Leon Anavi fb5c40cf69 python3-pillow-heif: Upgrade 1.5.0 -> 1.8.0
Upgrade to release 1.8.0:

- Reading of entity groups: entity_groups key in info dictionary,
  tells which images form a stereo pair in spatial photos.
- Decoding of embedded thumbnails: HeifImage.get_thumbnail method
  and draft in the Pillow plugin, Image.thumbnail() uses them
  instead of decoding the full image.
- Minimum required libheif version is 1.23.4.
- libheif was updated from the 1.23.3 to 1.23.4 version.
- libde265 was updated from the 1.1.2 to 1.1.3 version.
- Segmentation fault when opening a file whose metadata item type
  is not valid UTF-8.
- Pillow plugin: load() of a multi-frame image reloaded the frame
  data on every call, discarding in-place changes and failing after
  thumbnail().
- A depth image of an item type that libheif cannot decode made the
  whole file unreadable with libheif 1.23.4, such depth images are
  now skipped.
- Type checkers treated the names imported from pillow_heif as
  private since the py.typed marker was added in 1.7.0:
  Pyright/Pylance and mypy --strict reported them as not exported,
  Pyright/Pylance autocompletion did not offer them.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-24 21:56:18 -07:00
Khem Raj 6f59e8f707 python3-pillow-heif: add python3-wheel-native to DEPENDS
Fixes
ERROR Unmet dependencies (checked against ... recipe-sysroot-native/usr/bin/nativepython3):
	wheel
		wanted: any
		found: not installed

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-16 16:32:09 -07:00
Khem Raj 1f046fc340 python3-pillow-heif: upgrade 1.1.1 -> 1.5.0
Upstream changes (release notes):
 * 1.2.0: dropped Python 3.9; PREFERRED_DECODER must be a valid decoder.
 * 1.3.0: pixel-aspect-ratio (pasp) read/write; free-threaded (no-GIL)
   Python support; fix integer overflow in the encode path leading to a
   heap OOB read (CVE-2026-28231).
 * 1.4.0: track newer bundled libheif/libde265/libx265 (not used here -
   the recipe builds against the system libraries); minimum libheif
   raised to 1.19.0.
 * 1.5.0: grid (tiled) image encoding via options.GRID_TILE_SIZE /
   tile_size, info["tiling"] read-back, and PH_LIBHEIF_CMAKE_ARGS.

Refresh 0001-setup.py-support-cross-compiling.patch for 1.5.0: setup.py
context shifted, so the patch applied with fuzz and failed the patch-fuzz
QA check. Regenerated against 1.5.0 (same STAGING_INCDIR/STAGING_LIBDIR
changes).

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-01 11:57:29 -07:00