Skip to content

Commit

Permalink
updated libheif to 1.17.4
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Nov 21, 2023
1 parent a2efbb6 commit 0bec61f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ All notable changes to this project will be documented in this file.

### Changed

- Libheif updated from `1.16.2` to `1.17.3` version. #166
- Libheif updated from `1.16.2` to `1.17.4` 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 `1.17.3` requires minimum `cmake>=3.16.3` dropped Debian `10 armv7` wheels. #160
- 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)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion libheif/linux_build_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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.3/libheif-1.17.3.tar.gz"
LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.17.4/libheif-1.17.4.tar.gz"


def download_file(url: str, out_path: str) -> bool:
Expand Down
4 changes: 2 additions & 2 deletions libheif/macos/libheif.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.3/libheif-1.17.3.tar.gz"
sha256 "8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea"
url "https://github.com/strukturag/libheif/releases/download/v1.17.4/libheif-1.17.4.tar.gz"
sha256 "3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838"
license "LGPL-3.0-only"
# Set current revision from what it was taken plus 10
revision 10
Expand Down
4 changes: 2 additions & 2 deletions libheif/windows/mingw-w64-libheif/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
_realname=libheif
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.17.3
pkgver=1.17.4
pkgrel=1
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
arch=('any')
Expand All @@ -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=('8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea')
sha256sums=('3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838')

build() {
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}
Expand Down
4 changes: 2 additions & 2 deletions pi-heif/libheif/macos/libheif.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.3/libheif-1.17.3.tar.gz"
sha256 "8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea"
url "https://github.com/strukturag/libheif/releases/download/v1.17.4/libheif-1.17.4.tar.gz"
sha256 "3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838"
license "LGPL-3.0-only"
# Set current revision from what it was taken plus 10
revision 10
Expand Down
4 changes: 2 additions & 2 deletions pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
_realname=libheif
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.17.3
pkgver=1.17.4
pkgrel=1
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
arch=('any')
Expand All @@ -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=('8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea')
sha256sums=('3619c092992eb5ccaf7795cbdc8ac70f96ab0f20fc5681fcef6ff5fec027a838')

build() {
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}
Expand Down
6 changes: 3 additions & 3 deletions tests/basic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def test_libheif_info():
for key in ("HEIF", "AVIF"):
assert key in info
assert pillow_heif.libheif_version() in (
"1.14.0",
"1.14.1",
"1.14.2",
"1.15.1",
Expand All @@ -25,6 +24,7 @@ def test_libheif_info():
"1.16.2",
"1.17.1",
"1.17.3",
"1.17.4",
)


Expand Down Expand Up @@ -110,7 +110,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.3")
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.4")
if expected_version:
assert info["libheif"] == expected_version

Expand All @@ -120,6 +120,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.3")
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.4")
if expected_version:
assert info["libheif"] == expected_version

0 comments on commit 0bec61f

Please sign in to comment.