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.
===> The following configuration options are available for libheif-1.23.6:
EXAMPLES=on: Build and/or install examples
JPEG=on: JPEG decoding/encoding
OPENJPEG=on: JPEG 2000 decoding/encoding via OpenJPEG
OPENJPH=on: HT-J2K encoding via OpenJPH
====> AV1 encoders/decoders
AOM=on: AV1 encoding/decoding via libaom
DAV1D=on: AV1 decoding via dav1e
SVTAV1=on: AV1 encoding via SVT-AV1
RAV1E=off: AV1 encoding via Rav1e
====> AVC encoders/decoders
OPENH264=on: AVC decoding via OpenH264
X264=on: AVC encoding via x264
====> HEVC encoders/decoders
FFMPEG=on: HEVC decoding via FFmpeg
LIBDE265=off: HEVC decoding via libde265
X265=on: HEVC encoding via x265
===> Use 'make config' to modify these settings
*/*: 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)
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.
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)
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)
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)
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)
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.
(Only the first 15 lines of the commit message are shown above )
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)
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)
graphics/libheif: Update to latest commit as of 2022-02-09
- Update to latest upstream commit
(0082fea96ee70a20c8906a0373bedec0c01777bc) as it contains various bug
fixes that affects users
- Disable RAV1E by default, this avoids libheif to pull in Rust and is
also more inline with how other distributions packages libheif
- Do some rearrangement of Makefile to make it follow Porters Handbook
more closely
PR: 261842
Reviewed by: makc
Approved by: Sebastian Steinmetz (maintainer timeout, 2+ weeks)
graphics/libheif: Pass maintainership
Due to multiple timeouts (245387 and this PR) pass maintainership to makc
as requested
PR: 261842
Approved by: Sebastian Steinmetz (maintainer timeout, 2+ weeks)
graphics/libheif: fix build with clang 13
With clang 13, building this port results in a number of "variable set
but not used" warnings. These have been fixed by upstream in the mean
time.
PR: 258814
Reported by: Evgeniy Khramtsov <evgeniy@khramtsov.org>
Approved by: maintainer timeout (2 weeks)
Obtained
from: https://github.com/strukturag/libheif/commit/7976e1858a857e33200cd33d01689fd040de6d3d
MFH: 2021Q4
For well over 10 years portmgr@ have been promising to remove the
ridiculous need to bump PORTREVISION of depending ports, whenever a
dependency is updated, but here we still are...
Bump PORTREVISION for the 9 users of x265 now that it has been
upgraded from 3.2 to 3.4.
graphics/libheif: Update to 1.6.2
From ChangeLog: https://github.com/strukturag/libheif/releases/tag/v1.6.2
* support for HEIX images (10, 12 bit and chroma 4:2:2)
* security limits for maximum image sizes have been increased
* gdk pixbuf loader fixes
While here, fix pkg-descr portlint warning.
PR: 246921
Submitted by: ltning-freebsd@anduin.net
Reviewed by: freebsd@sebastiansteinmetz.ch (maintainer)
graphics/libheif: Disable building of Go example
Disable building of Go example code to avoid adding build dependency on go and
gmake.
PR: 242083
Submitted by: Sebastian Steinmetz <freebsd@sebastiansteinmetz.ch> (maintainer)
Reported by: gja822@narod.ru
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Fix build on gcc-based architectures:
configure: error: *** A compiler with support for C++11 language features is
required.
Approved by: portmgr (tier-2 blanket)
graphics/libheif: Correct license, OPTIONize, add jpeg support
Most of this is non-functional change pulling various features out into
options. Part of that is correctly labeling the examples as GPL3+. In a
later revision, they are relicensed to MIT, but not in this version of the
port.
Functional changes including adding a JPEG option and enabling it by
default. libheif is the only utility we ship that can understand .heic
images and converting photos to the more portable jpeg is a reasonable thing
to enable by default.
Approved by: maintainer timeout
Differential Revision: https://reviews.freebsd.org/D18802
New port: graphics/libheif
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.
WWW: https://github.com/strukturag/libheif
PR: 230767
Submitted by: Sebastian Steinmetz <freebsd-2018@sebastiansteinmetz.ch>