===> The following configuration options are available for libavif-1.4.2:
LIBSHARPYUV=on: Colorspace conversion via libsharpyuv
LIBXML2=off: XML parser support via libxml2
MANPAGES=off: Install manpages (requires pandoc)
PIXBUF=on: GDK-PixBuf library support
====> Options available for the group AV1
AOM=on: AV1 encoding/decoding via libaom
DAV1D=on: AV1 decoding via libdav1d
GAV1=off: AV1 decoding via libgav1
RAV1E=off: AV1 encoding via librav1e
SVTAV1=off: AV1 encoding via SVT-AV1
===> Use 'make config' to modify these settings
graphics/libavif: Remove LIBYUV option
libavif requires libyuv, either libyuv port or the bundled one (a simplified
version).
However, graphics/libyuv is too old (1789) while the bundled one is 1880.
Therefore, we remove the LIBYUV option and use the bundled one for now.
from build log:
-- Checking for module 'libyuv'
-- Found libyuv, version 0.0.1789
-- libavif: libyuv (1789) found; libyuv-based fast paths enabled.
-- libavif: some libyuv optimizations require at least version 1813 to work.
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.
graphics/libavif: Fix build with non-default options
libavif uses round/roundf which is in the math library.
It builds fine with default options because libm is brought in via its
dependencies.
Therefore, we add it to LDFLAGS explicitly.
PR: 285403, 285405
Reported by: many
graphics/libavif: unbreak tests with LIBSHARPYUV=off after 36a733d8a533
91% tests passed, 1 tests failed out of 11
Total Test time (real) = 11.38 sec
The following tests FAILED:
9 - avifrgbtoyuvtest (Failed)
multimedia/aom: avoid leaking libjxl and vmaf via pkg-config
$ make stage-qa -C graphics/libavif
[...]
Error: /usr/local/lib/libavif.so.14.0.1 is linked to /usr/local/lib/libvmaf.so.1
from multimedia/vmaf but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libvmaf.so:multimedia/vmaf
Error: /usr/local/lib/libavif.so.14.0.1 is linked to
/usr/local/lib/libjxl.so.0.7 from graphics/libjxl but it is not declared as a
dependency
Warning: you need LIB_DEPENDS+=libjxl.so:graphics/libjxl
Reported by: Tatsuki Makino (on ports@ list), Jan Henrik Sylvester (private
mail)
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/gdk-pixbuf2: add trigger to run gdk-pixbuf-query-loaders
gdk-pixbuf2 uses a cache of its loadable modules, which is updated by
${RREFIX}/bin/gdk-pixbuf-query-loaders and stored in
${PREFIX}/lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders.
Remove the pre-existing @exec and @postexec commands in the ports
providing such modules, and add a trigger in graphics/gdk-pixbuf2
to do this automatically.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D34679
graphics/libavif: fix build with clang 14
Clang >= 14 warns that mixing declarations and code is incompatible with
standards before C99, even if you compile with -std=c99 or -std=gnu99.
Add `-Wno-declaration-after-statement` if it is supported, to silence
the warning.
PR: 262634
Approved by: jbeich (maintainer)
Obtained from: https://github.com/AOMediaCodec/libavif/pull/886
MFH: 2022Q1
graphics/libavif: unbreak build with Clang 13
In file included from
/wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from
/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:30:
In file included from /usr/local/include/glib-2.0/glib/galloca.h:32:
/usr/local/include/glib-2.0/glib/gtypes.h:458:24: error: identifier
'_GLIB_CHECKED_ADD_U32' is reserved because it starts with '_' followed by a
capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_ADD_U32 (guint32 *dest, guint32 a, guint32
b) {
^
/usr/local/include/glib-2.0/glib/gtypes.h:460:24: error: identifier
'_GLIB_CHECKED_MUL_U32' is reserved because it starts with '_' followed by a
capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_MUL_U32 (guint32 *dest, guint32 a, guint32
b) {
^
/usr/local/include/glib-2.0/glib/gtypes.h:462:24: error: identifier
'_GLIB_CHECKED_ADD_U64' is reserved because it starts with '_' followed by a
capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_ADD_U64 (guint64 *dest, guint64 a, guint64
b) {
^
(Only the first 15 lines of the commit message are shown above )
multimedia/svt-av1: update to 0.8.6
Rebuild consumers after `EbSvtAv1EncConfiguration` grew in size with
`recode_loop` added in the middle of the struct.
Changes: https://github.com/AOMediaCodec/SVT-AV1/releases/tag/v0.8.6
Reported by: GitHub (watch releases)
graphics/libavif: fix build on GCC architectures
Use newer GCC to avoid error caused by -Werror:
/wrkdirs/usr/ports/graphics/libavif/work/libavif-0.6.3/src/reformat.c:316:
warning: comparison is always false due to limited range of data type
MFH: 2020Q2 (fix build blanket)