fastports

libheif 1.21.2_2

graphics/libheif

ISO/IEC 23008-12:2017 HEIF file format de- and encoder

Category
graphics
Maintainer
makc@FreeBSD.org
WWW
https://github.com/strukturag/libheif
License
LGPL3+
USES
cmake:testing compiler:c++20-lang cpe gettext-runtime gnome localbase:ldflags pathfix pkgconfig sdl jpeg

Description

libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.

HEIF is a new image file format employing HEVC (h.265) image coding for the
best compression ratios currently possible.

libheif makes use of libde265 for the actual image decoding and x265 for
encoding. Alternative codecs for, e.g., AVC and JPEG can be provided as
plugins.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
1.21.2
2a7e351195 files touched
Jan Beich (jbeich)
graphics/libheif: unbreak after 17339df99b0c
libheif/plugins/encoder_svt.cc:850:37: error: assigning to 'PredStructure' from \
incompatible type 'int'
  850 | 	svt_config.pred_structure = 2; // RANDOM_ACCESS
      |                                     ^

Reported by:	Tatsuki Makino, mfechner
Regressed by:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/3b5e5e8d4dda
Obtained from:	upstream (open PR)
1.21.2
4b390bd6db files touched
Jan Beich (jbeich)
multimedia/svt-av1: update to 4.0.0
Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v4.0.0
Reported by:	GitLab (notify releases)
1.21.2
e2df165911 files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.21.2
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.20.2
               https://github.com/strukturag/libheif/releases/tag/v1.21.0
               https://github.com/strukturag/libheif/releases/tag/v1.21.2
1.20.1
21b2f47bee files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.20.1
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.20.0
               https://github.com/strukturag/libheif/releases/tag/v1.20.1
1.19.8
d6c9802a4a files touched
Po-Chuan Hsieh (sunpoet)
graphics/openjph: Update to 0.26.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/aous72/OpenJPH/releases
1.19.8
18ea9c7108 files touched
Baptiste Daroussin (bapt)
multimedia/ffmpeg: bump revision to chase lib version change
1.19.8
e6242cd11e files touched
Robert Clausecker (fuz)
*/*: bump PORTREVISION following lib/libx265.so soname change
Reported by:	vvd
1.19.8
4d835e846e files touched
Po-Chuan Hsieh (sunpoet)
graphics/openjph: Update to 0.25.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/aous72/OpenJPH/releases
1.19.8
49b2153e79 files touched
Po-Chuan Hsieh (sunpoet)
graphics/openjph: Update to 0.24.1
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/aous72/OpenJPH/releases
1.19.8
4a75e65503 files touched
Koichiro Iwao (meta)
*/*: Bump multimedia/openh264 consumers after dc94e01
net/freerdp{,3} have been already bumped in e447cd0, so not being bumped
again.

Bumped by the following one-liner:

  $ git grep -l libopenh264 | \
      grep '^.*/.*/Makefile$'| \
      xargs -t -n1 portedit bump-revision -i

Approved by:	portmgr (blanket)
1.19.8
64cbb40909 files touched
Jan Beich (jbeich)
multimedia/rav1e: update to 0.8.0
Changes:	https://github.com/xiph/rav1e/releases/tag/v0.8.0
Reported by:	GitHub (watch releases)
1.19.8
a65d1d21c0 files touched
Max Brazhnikov (makc)
graphics/libheif: update to 1.19.8
1.19.7
e87d8134a3 files touched
Charlie Li (vishwin)
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.

No functional or package changes.
1.19.7
65d9058e7c files touched
Max Brazhnikov (makc)
graphics/libheif: update to 1.19.7
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.19.6
               https://github.com/strukturag/libheif/releases/tag/v1.19.7
1.19.5
9253060fd1 files touched
Jan Beich (jbeich)
multimedia/svt-av1: update to 3.0.0
Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v3.0.0
Reported by:	/r/AV1
1.19.5
8843447582 files touched
Po-Chuan Hsieh (sunpoet)
graphics/openjph: Update to 0.21.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/aous72/OpenJPH/releases
1.19.5
65a4cd13c8 files touched
Max Brazhnikov (makc)
graphics/libheif: update to 1.19.5
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.19.4
               https://github.com/strukturag/libheif/releases/tag/v1.19.5
1.19.3
9c6fd40d48 files touched
Baptiste Daroussin (bapt)
graphics/libheif: chase upgrade of openjph
PR: 	282543
1.19.3
167ecf6119 files touched
Max Brazhnikov (makc)
graphics/libheif: update to 0.19.3
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.19.2
               https://github.com/strukturag/libheif/releases/tag/v1.19.3
1.19.1
b280ef6a26 files touched
Xin LI (delphij)
graphics/libheif: restore API compatibility.
PR:		ports/282675
Approved by:	maintainer (makc@)
1.19.1
61a70ba8b9 files touched
Max Brazhnikov (makc)
graphics/libheif: update to 1.19.1
Drop stale patch.
Add new options and enable them by default:
 - OPENH264 for AVC decoding,
 - OPENJPH for HT-J2K encoding.

Release notes: https://github.com/strukturag/libheif/releases/tag/v1.19.0
               https://github.com/strukturag/libheif/releases/tag/v1.19.1
1.18.2
90e15809d9 files touched
Robert Clausecker (fuz)
*/*: bump port revisions of dependents following x265 updates
PR:		281680
1.18.2
f67fb578ae files touched
Max Brazhnikov (makc)
graphics/libheif: update to 1.18.2
1.18.1
68e75b2e5c files touched
Max Brazhnikov (makc)
graphics/libheif: do not create compatibility link
Reported by:	sunpoet
1.18.1
7eac71bf19 files touched
Max Brazhnikov (makc)
graphics/libheif: update to 1.18.1
Release notes:
	https://github.com/strukturag/libheif/releases/tag/v1.18.0
	https://github.com/strukturag/libheif/releases/tag/v1.18.1
1.17.6
0f3f19c00c files touched
Jan Beich (jbeich)
multimedia/svt-av1: update to 2.0.0
Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v2.0.0
Reported by:	Repology, /r/AV1
1.17.6
d513c9a9ea files touched
Jan Beich (jbeich)
multimedia/rav1e: update to 0.7.0
Changes:	https://github.com/xiph/rav1e/releases/tag/v0.7.0
Reported by:	GitHub (watch releases)
1.17.6
68e951bfdd files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.17.6
Fixes following CVEs:
CVE-2023-49462
CVE-2023-49463

Changelog: https://github.com/strukturag/libheif/releases/tag/v1.17.6

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-49462
https://nvd.nist.gov/vuln/detail/CVE-2023-49463

PR:		275873
Reviewed by:	makc (maintainer)
Sponsored by:	Blinkinblox
1.17.4
10be66c9da files touched
Jan Beich (jbeich)
multimedia/x265: force rebuild consumers after 645419c8e465
$ ffmpeg
ld-elf.so.1: Shared object "libx265.so.192" not found, required by "libavcodec.so.60"

PR:		274526
Reported by:	vvd (on dev-commits-ports-main@ list)
Reported by:	Kevin Oberman (on multimedia@ list)
1.17.4
06b8dee07d files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.17.4
Changelog: https://github.com/strukturag/libheif/releases/tag/v1.17.4

PR:		275311
Reviewed by:	makc (maintainer)
Sponsored by:	Blinkinblox
1.17.3
c5d6c38ab5 files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.17.3
Changelog: https://github.com/strukturag/libheif/releases/tag/v1.17.3

PR:		274898
Reviewed by:	makc (maintainer)
Sponsored by:	Blinkinblox
1.17.1
5b0594f2a4 files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.17.1
- Replace libde265 with FFmpeg as HEVC decoder
- Enable JPEG and OpenJPEG 2000 support
- Disable Doxygen detection

While FFmpeg's default configuration can be a bit on the heavy side
it's also relatively easy to tailor it to fit your needs and if libheif
is needed you're likely to have other related ports depending on FFmpeg
installed. Support is relatively new so there may be bugs lurking.
Looking back libde265 has also been hit by several CVEs which is another
reason for the switch.

References:
https://www.opencve.io/cve?vendor=struktur&product=libde265

PR:		274546
Reviewed by:	makc (maintainer)
1.16.1
d377612f4a files touched
Jan Beich (jbeich)
devel/cargo-c: update to 0.9.27
- Rebuild consumers of consumers after SONAME change

Changes:	https://github.com/lu-zero/cargo-c/releases/tag/v0.9.27
Reported by:	GitHub (watch releases)
1.16.1
4fb0230f7f files touched
Jan Beich (jbeich)
multimedia/dav1d: update to 1.3.0
Changes:	https://code.videolan.org/videolan/dav1d/-/tags/1.3.0
Reported by:	Repology
1.16.1
6735ac880e files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.16.1
Changelog:
https://github.com/strukturag/libheif/releases/tag/v1.16.0
https://github.com/strukturag/libheif/releases/tag/v1.16.1

Approved by:	makc (implicit via private email)
1.15.2
4db69ff968 files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.15.2
Backport upstream commits be16fc6767c8b3a2f6e78efdc9d2b6f07e3e558a and
4fd25823d16ccbe082ad3be9b96656296284d9b4

Changelog: https://github.com/strukturag/libheif/releases/tag/v1.15.2
References:
https://github.com/strukturag/libheif/commit/be16fc6767c8b3a2f6e78efdc9d2b6f07e3e558a
https://github.com/strukturag/libheif/commit/4fd25823d16ccbe082ad3be9b96656296284d9b4

Approved by:	makc (implicit via private email)
1.15.1
e6884568dc files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.15.1
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.15.0
1.14.2
529157260b files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.14.2
Changes: https://github.com/strukturag/libheif/releases/tag/v1.14.2
1.14.1
9d0d2863a8 files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.14.1
- Enable svt-av1 encoder by default

Release notes: https://github.com/strukturag/libheif/releases/tag/v1.14.1
1.14.0
a2b734c4ee files touched
Jan Beich (jbeich)
graphics/libheif: rename SVT to SVTAV1 for consistency
- ffmpeg and libavif already use SVTAV1 option
- libheif doesn't support SVT-HEVC for *.heif
- SVTAV1 can be globally disabled via OPTIONS_UNSET

PR:		268102
Approved by:	makc (maintainer)
1.14.0
e6f884208f files touched
Max Brazhnikov (makc)
graphics/libheif: disable SVT option to fix dependent ports
Reported by:	bofh@
1.14.0
1482f46205 files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.14.0
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.14.0
1.13.0
3593a1ea44 files touched
Daniel Engberg (diizzy)
graphics/libheif: Use upstream release archive and backport bugfixes
- Use upstream release archive as recommended by Porters Handbook
  (USE_GITHUB section)
- Backport upstream commits a01baccaf40bafcabddba47846f5e914ca0724f6
  and d506bccdcecd7133ab12daa4ebcfbbb75d40641f

References:
https://github.com/strukturag/libheif/commit/a01baccaf40bafcabddba47846f5e914ca0724f6
https://github.com/strukturag/libheif/commit/d506bccdcecd7133ab12daa4ebcfbbb75d40641f

PR:		266346
Approved by:	portmgr (maintainer timeout, 2+ weeks)
1.13.0
fb16dfecae files touched
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.13.0
b7f05445c0 files touched
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
1.13.0
4d36e80495 files touched
Max Brazhnikov (makc)
graphics/libheif: Update to 1.13.0
Release notes: https://github.com/strukturag/libheif/releases/tag/v1.13.0
1.12.0-151
2442211664 files touched
Daniel Engberg (diizzy)
graphics/libheif: Update to 1.12.0-151
Update to latest upstream commit 64d9ab99ce7ea8876700c034b19bbc8dd773ae0b
as it contains various bug fixes that affects users and a compatibility fix
for dav1d 1.0.0

PR:		265781
Reviewed by:	makc (maintainer)
1.12.0-62
c17e10e09e files touched
Daniel Engberg (diizzy)
graphics/libheif: Clean up port
Adjust port to make it consistent again

Approved by:	portmgr (blanket)
Fixes:		6564fb037602976d7127bf70b0c640d87067dd4b
1.12.0-62
6564fb0376 files touched
Mateusz Piotrowski (0mp)
graphics/libheif: Install example binaries
The example binaries are very useful to end users. For example,
heif-convert is a popular tool to convert HEIF to JPG.

PR:		245387
Reported by:	Marián Černý <majo-bugs.freebsd.org@cerny.sk>
Approved by:	portmgr blanket (maintainer timeout)
1.12.0-62
3468f1957c files touched
Jan Beich (jbeich)
multimedia/dav1d: update to 1.0.0
Changes:	https://code.videolan.org/videolan/dav1d/-/releases/1.0.0
Reported by:	Repology

Load all commits →