5 Commits
Author SHA1 Message Date
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
Leon Anavi a920c43339 python3-pillow-heif: Upgrade 0.22.0 -> 1.1.1
Upgrade to release 1.1.1:

- libheif was updated from the 1.20.1 to 1.20.2 version.
- macOS: Wheels now support older macOS versions like Catalina
  (x86_64 CPU) or Ventura (ARM CPU)

1.0.0 changelog:

- Support for YCbCr AUX images.
- AVIF support was dropped, as the new upcoming Pillow has
  native AVIF support.
- libde265 was updated from the 1.0.15 to 1.0.16 version.
- Removed deprecated PyPy 3.9 wheels & added PyPy 3.11 wheels.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-21 00:39:00 -08:00
Yoann Congal 48ada00ee1 python3-pillow-heif: remove native&nativesdk
Through the dependecy of libheif, enabling native&nativesdk for
python3-pillow-heif means enabling it for the whole codec ecosystem
(e.g. x265, ffmpeg, ...) which might be hard to do. So, disable the
native&nativesdk variants that never built in the first place.

Fixes these warnings from AB[0]:
WARNING: Nothing PROVIDES 'nativesdk-libheif' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing PROVIDES 'libheif-native' (but virtual:native:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow-heif-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow-heif' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'python3-pillow-heif-native' (but virtual:native:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'python3-pillow-heif-dev-native' (but virtual:native:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings

Cc: Leon Anavi <leon.anavi@konsulko.com>
Cc: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-25 17:12:11 -07:00
Leon Anavi 44222d0e84 python3-pillow-heif: Move to meta-multimedia
Move from meta-python to meta-multimedia which depends on layer
meta-python. This way the recipe will reside in the layer where
its main dependency libheif is.

This work was sponsored by GOVCERT.LU.

Suggested-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-22 17:39:10 -07:00