From d87c949a1b2f477a009c0c35ce5747190a393026 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Tue, 21 Nov 2023 23:19:58 +0300 Subject: [PATCH] updated libheif, libde265 (again) Signed-off-by: Alexander Piskun --- .github/workflows/analysis-coverage.yml | 1 - CHANGELOG.md | 4 ++-- libheif/linux_build_libs.py | 4 ++-- libheif/macos/libheif.rb | 4 ++-- libheif/windows/mingw-w64-libheif/PKGBUILD | 4 ++-- pi-heif/libheif/macos/libheif.rb | 4 ++-- pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD | 4 ++-- tests/basic_test.py | 5 +++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/analysis-coverage.yml b/.github/workflows/analysis-coverage.yml index 38be5761..785a9aeb 100644 --- a/.github/workflows/analysis-coverage.yml +++ b/.github/workflows/analysis-coverage.yml @@ -135,7 +135,6 @@ jobs: - name: Install from source run: | - brew update && brew upgrade libheif python3 -m pip -v install ".[dev]" - name: LibHeif info diff --git a/CHANGELOG.md b/CHANGELOG.md index d54a2312..477d4e18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,12 +11,12 @@ All notable changes to this project will be documented in this file. ### Changed -- Libheif updated from `1.16.2` to `1.17.4` version. #166 #175 +- Libheif updated from `1.16.2` to `1.17.5` version. #166 #175 - `NCLX` color profile - was reworked, updated docs, see PR for more info. #171 - Minimum supported Pillow version raised to `9.2.0`. - Linux: When building from source, `libheif` and other libraries are no longer try built automatically. #158 - Pi-Heif: As last libheif version requires minimum `cmake>=3.16.3` dropped Debian `10 armv7` wheels. #160 -- libde265 updated from `1.0.12` to `1.0.13`. [changelog](https://github.com/strukturag/libde265/releases/tag/v1.0.13) +- libde265 updated from `1.0.12` to `1.0.14`. [changelog](https://github.com/strukturag/libde265/releases/tag/v1.0.13) ### Fixed diff --git a/libheif/linux_build_libs.py b/libheif/linux_build_libs.py index fffe61f7..d1ac23f5 100644 --- a/libheif/linux_build_libs.py +++ b/libheif/linux_build_libs.py @@ -13,8 +13,8 @@ LIBX265_URL = "https://bitbucket.org/multicoreware/x265_git/get/0b75c44c10e605fe9e9ebed58f04a46271131827.tar.gz" LIBAOM_URL = "https://aomedia.googlesource.com/aom/+archive/v3.6.1.tar.gz" -LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.13/libde265-1.0.13.tar.gz" -LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.17.4/libheif-1.17.4.tar.gz" +LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.14/libde265-1.0.14.tar.gz" +LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz" def download_file(url: str, out_path: str) -> bool: diff --git a/libheif/macos/libheif.rb b/libheif/macos/libheif.rb index 3ac87821..861f9a5a 100644 --- a/libheif/macos/libheif.rb +++ b/libheif/macos/libheif.rb @@ -3,8 +3,8 @@ class Libheif < Formula desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" homepage "https://www.libde265.org/" - url "https://github.com/strukturag/libheif/releases/download/v1.17.4/libheif-1.17.4.tar.gz" - sha256 "3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838" + url "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz" + sha256 "38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b" license "LGPL-3.0-only" # Set current revision from what it was taken plus 10 revision 10 diff --git a/libheif/windows/mingw-w64-libheif/PKGBUILD b/libheif/windows/mingw-w64-libheif/PKGBUILD index c6f211f3..455520f4 100644 --- a/libheif/windows/mingw-w64-libheif/PKGBUILD +++ b/libheif/windows/mingw-w64-libheif/PKGBUILD @@ -4,7 +4,7 @@ _realname=libheif pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=1.17.4 +pkgver=1.17.5 pkgrel=1 pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)" arch=('any') @@ -20,7 +20,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-libde265" "${MINGW_PACKAGE_PREFIX}-x265") source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz") -sha256sums=('3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838') +sha256sums=('38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b') build() { mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM} diff --git a/pi-heif/libheif/macos/libheif.rb b/pi-heif/libheif/macos/libheif.rb index aaa1b80d..cb0cb479 100644 --- a/pi-heif/libheif/macos/libheif.rb +++ b/pi-heif/libheif/macos/libheif.rb @@ -3,8 +3,8 @@ class Libheif < Formula desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" homepage "https://www.libde265.org/" - url "https://github.com/strukturag/libheif/releases/download/v1.17.4/libheif-1.17.4.tar.gz" - sha256 "3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838" + url "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz" + sha256 "38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b" license "LGPL-3.0-only" # Set current revision from what it was taken plus 10 revision 10 diff --git a/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD b/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD index 32375fa3..56ee2a27 100644 --- a/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD +++ b/pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD @@ -4,7 +4,7 @@ _realname=libheif pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=1.17.4 +pkgver=1.17.5 pkgrel=1 pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)" arch=('any') @@ -18,7 +18,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-libde265") source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz") -sha256sums=('3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838') +sha256sums=('38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b') build() { mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM} diff --git a/tests/basic_test.py b/tests/basic_test.py index 9cd89727..2ac30b9e 100644 --- a/tests/basic_test.py +++ b/tests/basic_test.py @@ -25,6 +25,7 @@ def test_libheif_info(): "1.17.1", "1.17.3", "1.17.4", + "1.17.5", ) @@ -110,7 +111,7 @@ def test_full_build(): info = pillow_heif.libheif_info() assert info["AVIF"] assert info["HEIF"] - expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.4") + expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.5") if expected_version: assert info["libheif"] == expected_version @@ -120,6 +121,6 @@ def test_light_build(): info = pillow_heif.libheif_info() assert not info["AVIF"] assert not info["HEIF"] - expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.4") + expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.5") if expected_version: assert info["libheif"] == expected_version