Skip to content

Commit 9d0b942

Browse files
committed
v0.9.0 on libheif 1.14.0 with fixes #
1 parent 3fb674a commit 9d0b942

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ _# Changelog
22

33
All notable changes to this project will be documented in this file.
44

5-
## [0.9.0 - 2022-12-0x]
5+
## [0.9.0 - 2022-12-15]
66

77
### Added
88

99
### Changed
1010

11-
- `libheif` updated to `1.14.1` version. Minimum supported version to build from source is `1.13.0`
11+
- Minimum supported version of `libheif` to build from source is `1.13.0`
1212
- Minimum required `Pillow` version increased from `6.2.0` to `8.3.0`, `getxmp` is used from Pillow now. #55
1313
- `options()` was reworked. Added new `DECODE_THREADS` option. #57
1414

LICENSES_bundled.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Binary wheels combine several license-compatible libraries. Here they are listed
55
Name: libheif
66
License: LGPLv3
77
Files: libheif.[dylib|so|dll]
8-
For details, see https://github.com/strukturag/libheif/tree/v1.14.1/COPYING
9-
Source code: https://github.com/strukturag/libheif/tree/v1.14.1
8+
For details, see https://github.com/strukturag/libheif/tree/v1.14.0/COPYING
9+
Source code: https://github.com/strukturag/libheif/tree/v1.14.0
1010

1111
Name: libde265
1212
License: LGPLv3

libheif/linux_build_libs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
LIBX265_URL = "https://bitbucket.org/multicoreware/x265_git/get/0b75c44c10e605fe9e9ebed58f04a46271131827.tar.gz"
1616
LIBAOM_URL = "https://aomedia.googlesource.com/aom/+archive/v3.5.0.tar.gz"
1717
LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.9/libde265-1.0.9.tar.gz"
18-
LIBHEIF_URL = "https://github.com/strukturag/libheif/archive/7caa01dd150b6c96f33d35bff2eab8a32b8edf2b.tar.gz"
18+
LIBHEIF_URL = "https://github.com/strukturag/libheif/archive/03fb8f092248bd4f76fad5399f4e3a9d3db4dba2.tar.gz"
1919

2020

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

libheif/windows/mingw-w64-libheif/PKGBUILD

Lines changed: 3 additions & 3 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=7caa01dd150b6c96f33d35bff2eab8a32b8edf2b
7+
pkgver=03fb8f092248bd4f76fad5399f4e3a9d3db4dba2
88
pkgrel=1
99
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
1010
arch=('any')
@@ -20,8 +20,8 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2020
"${MINGW_PACKAGE_PREFIX}-aom"
2121
"${MINGW_PACKAGE_PREFIX}-libde265"
2222
"${MINGW_PACKAGE_PREFIX}-x265")
23-
source=("https://github.com/strukturag/libheif/archive/7caa01dd150b6c96f33d35bff2eab8a32b8edf2b.tar.gz")
24-
sha256sums=('ee52028a16624ee82cd4cf393ab3d565179da4a3e893644dd3a25fd8b91ff108')
23+
source=("https://github.com/strukturag/libheif/archive/03fb8f092248bd4f76fad5399f4e3a9d3db4dba2.tar.gz")
24+
sha256sums=('decbea102e051e928073363621d7df822b6a2a68d60a3965a62e734daa731cf9')
2525

2626
prepare() {
2727
cd "${srcdir}/${_realname}-${pkgver}"

pi-heif/LICENSES_bundled.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Binary wheels combine several license-compatible libraries. Here they are listed
55
Name: libheif
66
License: LGPLv3
77
Files: libheif.[dylib|so|dll]
8-
For details, see https://github.com/strukturag/libheif/tree/v1.14.1/COPYING
9-
Source code: https://github.com/strukturag/libheif/tree/v1.14.1
8+
For details, see https://github.com/strukturag/libheif/tree/v1.14.0/COPYING
9+
Source code: https://github.com/strukturag/libheif/tree/v1.14.0
1010

1111
Name: libde265
1212
License: LGPLv3

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

Lines changed: 3 additions & 3 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=7caa01dd150b6c96f33d35bff2eab8a32b8edf2b
7+
pkgver=03fb8f092248bd4f76fad5399f4e3a9d3db4dba2
88
pkgrel=1
99
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
1010
arch=('any')
@@ -18,8 +18,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
1818
"${MINGW_PACKAGE_PREFIX}-cc")
1919
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2020
"${MINGW_PACKAGE_PREFIX}-libde265")
21-
source=("https://github.com/strukturag/libheif/archive/7caa01dd150b6c96f33d35bff2eab8a32b8edf2b.tar.gz")
22-
sha256sums=('ee52028a16624ee82cd4cf393ab3d565179da4a3e893644dd3a25fd8b91ff108')
21+
source=("https://github.com/strukturag/libheif/archive/03fb8f092248bd4f76fad5399f4e3a9d3db4dba2.tar.gz")
22+
sha256sums=('decbea102e051e928073363621d7df822b6a2a68d60a3965a62e734daa731cf9')
2323

2424
prepare() {
2525
cd "${srcdir}/${_realname}-${pkgver}"

tests/basic_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_full_build():
108108
assert info["decoders"]["AV1"]
109109
assert info["encoders"]["AV1"]
110110
assert info["encoders"]["HEVC"]
111-
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.14.1")
111+
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.14.0")
112112
if expected_version:
113113
assert info["version"]["libheif"] == expected_version
114114

@@ -119,6 +119,6 @@ def test_light_build():
119119
assert not info["decoders"]["AV1"]
120120
assert not info["encoders"]["AV1"]
121121
assert not info["encoders"]["HEVC"]
122-
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.14.1")
122+
expected_version = os.getenv("EXP_PH_LIBHEIF_VERSION", "1.14.0")
123123
if expected_version:
124124
assert info["version"]["libheif"] == expected_version

tests/options_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def test_decode_threads():
8787
start_time_two_threads = perf_counter()
8888
open_heif(test_image, convert_hdr_to_8bit=False).load()
8989
total_time_two_threads = perf_counter() - start_time_two_threads
90-
# decoding in two threads should be faster at least by 15%
91-
assert total_time_one_thread > total_time_two_threads * 1.15
90+
# decoding in two threads should be faster at least by 8%
91+
assert total_time_one_thread > total_time_two_threads * 1.08
9292
finally:
9393
options.DECODE_THREADS = 4
9494

0 commit comments

Comments
 (0)