Skip to content

Commit 58e7c2e

Browse files
authored
updated libheif to 1.17.5 (#175)
* updated libheif to 1.17.4 Signed-off-by: Alexander Piskun <[email protected]> * updated libheif, libde265 (again) Signed-off-by: Alexander Piskun <[email protected]> --------- Signed-off-by: Alexander Piskun <[email protected]>
1 parent a2efbb6 commit 58e7c2e

File tree

7 files changed

+17
-16
lines changed

7 files changed

+17
-16
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ All notable changes to this project will be documented in this file.
1111

1212
### Changed
1313

14-
- Libheif updated from `1.16.2` to `1.17.3` version. #166
14+
- Libheif updated from `1.16.2` to `1.17.5` version. #166 #175
1515
- `NCLX` color profile - was reworked, updated docs, see PR for more info. #171
1616
- Minimum supported Pillow version raised to `9.2.0`.
1717
- Linux: When building from source, `libheif` and other libraries are no longer try built automatically. #158
18-
- Pi-Heif: As last libheif version `1.17.3` requires minimum `cmake>=3.16.3` dropped Debian `10 armv7` wheels. #160
19-
- libde265 updated from `1.0.12` to `1.0.13`. [changelog](https://github.com/strukturag/libde265/releases/tag/v1.0.13)
18+
- Pi-Heif: As last libheif version requires minimum `cmake>=3.16.3` dropped Debian `10 armv7` wheels. #160
19+
- libde265 updated from `1.0.12` to `1.0.14`. [changelog](https://github.com/strukturag/libde265/releases/tag/v1.0.13)
2020

2121
### Fixed
2222

libheif/linux_build_libs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
LIBX265_URL = "https://bitbucket.org/multicoreware/x265_git/get/0b75c44c10e605fe9e9ebed58f04a46271131827.tar.gz"
1515
LIBAOM_URL = "https://aomedia.googlesource.com/aom/+archive/v3.6.1.tar.gz"
16-
LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.13/libde265-1.0.13.tar.gz"
17-
LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.17.3/libheif-1.17.3.tar.gz"
16+
LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.14/libde265-1.0.14.tar.gz"
17+
LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz"
1818

1919

2020
def download_file(url: str, out_path: str) -> bool:

libheif/macos/libheif.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
class Libheif < Formula
44
desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
55
homepage "https://www.libde265.org/"
6-
url "https://github.com/strukturag/libheif/releases/download/v1.17.3/libheif-1.17.3.tar.gz"
7-
sha256 "8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea"
6+
url "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz"
7+
sha256 "38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b"
88
license "LGPL-3.0-only"
99
# Set current revision from what it was taken plus 10
1010
revision 10

libheif/windows/mingw-w64-libheif/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
_realname=libheif
55
pkgbase=mingw-w64-${_realname}
66
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
7-
pkgver=1.17.3
7+
pkgver=1.17.5
88
pkgrel=1
99
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
1010
arch=('any')
@@ -20,7 +20,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2020
"${MINGW_PACKAGE_PREFIX}-libde265"
2121
"${MINGW_PACKAGE_PREFIX}-x265")
2222
source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz")
23-
sha256sums=('8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea')
23+
sha256sums=('38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b')
2424

2525
build() {
2626
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}

pi-heif/libheif/macos/libheif.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
class Libheif < Formula
44
desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
55
homepage "https://www.libde265.org/"
6-
url "https://github.com/strukturag/libheif/releases/download/v1.17.3/libheif-1.17.3.tar.gz"
7-
sha256 "8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea"
6+
url "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz"
7+
sha256 "38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b"
88
license "LGPL-3.0-only"
99
# Set current revision from what it was taken plus 10
1010
revision 10

pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
_realname=libheif
55
pkgbase=mingw-w64-${_realname}
66
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
7-
pkgver=1.17.3
7+
pkgver=1.17.5
88
pkgrel=1
99
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
1010
arch=('any')
@@ -18,7 +18,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
1818
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
1919
"${MINGW_PACKAGE_PREFIX}-libde265")
2020
source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz")
21-
sha256sums=('8d5b6292e7931324f81f871f250ecbb9f874aa3c66b4f6f35ceb0bf3163b53ea')
21+
sha256sums=('38ab01938ef419dbebb98346dc0b1c8bb503a0449ea61a0e409a988786c2af5b')
2222

2323
build() {
2424
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}

tests/basic_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def test_libheif_info():
1616
for key in ("HEIF", "AVIF"):
1717
assert key in info
1818
assert pillow_heif.libheif_version() in (
19-
"1.14.0",
2019
"1.14.1",
2120
"1.14.2",
2221
"1.15.1",
@@ -25,6 +24,8 @@ def test_libheif_info():
2524
"1.16.2",
2625
"1.17.1",
2726
"1.17.3",
27+
"1.17.4",
28+
"1.17.5",
2829
)
2930

3031

@@ -110,7 +111,7 @@ def test_full_build():
110111
info = pillow_heif.libheif_info()
111112
assert info["AVIF"]
112113
assert info["HEIF"]
113-
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.3")
114+
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.5")
114115
if expected_version:
115116
assert info["libheif"] == expected_version
116117

@@ -120,6 +121,6 @@ def test_light_build():
120121
info = pillow_heif.libheif_info()
121122
assert not info["AVIF"]
122123
assert not info["HEIF"]
123-
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.3")
124+
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.17.5")
124125
if expected_version:
125126
assert info["libheif"] == expected_version

0 commit comments

Comments
 (0)