Skip to content

Commit d4ed4b6

Browse files
committed
libavif: update to 1.3.0.
## [1.3.0] - 2025-05-09 ### Added since 1.2.1 * Add grayscale conversions in avifImageRGBToYUV and avifImageYUVToRGB. * Add avifRGBFormatIsGray to check whether an avifRGBFormat is gray. ### Changed since 1.2.1 * Reject the conversion in avifenc from non-monochrome/monochrome to monochrome/non-monochrome when an ICC profile is present and not explicitly discarded. * Forbid encoding with AVIF_MATRIX_COEFFICIENTS_IDENTITY and AVIF_PIXEL_FORMAT_YUV400 to be AV1 spec compatible. * Do not go through RGB when reading/writing a grayscale PNG/JPG images in avifenc/avifdec * Ignore tmap items not present in `grpl` box * Assume any id is present in only one altr group as per spec. * avifpng.c: support ImageMagick app1 exif text data * avifjpeg.c: check for uint32_t overflow before add * Update googletest.cmd/LocalGTest.cmake: v1.16.0 * Update libjpeg.cmd/LocalJpeg.cmake: 3.1.0 * Update libsharpyuv: v1.5.0 * Update libxml2.cmd/LocalLibXml2.cmake: v2.14.0 * Update libyuv.cmd/LocalLibyuv.cmake: 4db2af62d (1909) * Update LocalRav1e.cmake: cargo-c v0.10.12 * Update zlibpng.cmd: libpng 1.6.47 * Fix wrong Exif orientation set in JPEG or PNG output by avifdec when the input AVIF file has an ImageRotation property with angle set to 1 or 3, has no ImageMirror property, and carries an Exif chunk. Note that Exif orientation is usually ignored in PNG files, so this mainly impacts JPEG files. * Encoder: fix ispe property for tmap with grid. * Decoder: check the ispe property of tmap items. * Allow lowercase GUIDs in XMP when reading JPEG files. * Update aom.cmd/LocalAom.cmake: v3.12.1 * Change avifenc to start in automatic tiling mode. * Always forward Unspecified (2) CICP color primaries, transfer characteristics, and matrix coefficients to the AV1 encoder. Rely on the 'colr' box instead. * Declare *RowBytes as size_t in avifImageRGBToYUV() * Check ftell returned value in avifjpeg.c * Add integer overflow checks to makeRoom. * LocalJpeg.cmake: Support multi-config generators.
1 parent 57c951e commit d4ed4b6

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

graphics/libavif/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.7 2025/04/24 14:14:28 wiz Exp $
1+
# $NetBSD: Makefile,v 1.8 2025/05/11 10:11:51 wiz Exp $
22

3-
DISTNAME= libavif-1.2.1
4-
PKGREVISION= 1
3+
DISTNAME= libavif-1.3.0
54
CATEGORIES= graphics
65
MASTER_SITES= ${MASTER_SITE_GITHUB:=AOMediaCodec/}
76
GITHUB_TAG= v${PKGVERSION_NOREV}

graphics/libavif/PLIST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.6 2025/03/30 15:33:20 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.7 2025/05/11 10:11:51 wiz Exp $
22
include/avif/avif.h
33
include/avif/avif_cxx.h
44
lib/cmake/libavif/libavif-config-noconfig.cmake
@@ -7,6 +7,6 @@ lib/cmake/libavif/libavif-config.cmake
77
lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-avif.so
88
lib/libavif.so
99
lib/libavif.so.16
10-
lib/libavif.so.16.2.1
10+
lib/libavif.so.16.3.0
1111
lib/pkgconfig/libavif.pc
1212
share/thumbnailers/avif.thumbnailer

graphics/libavif/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.5 2025/03/30 15:33:20 adam Exp $
1+
$NetBSD: distinfo,v 1.6 2025/05/11 10:11:51 wiz Exp $
22

3-
BLAKE2s (libavif-1.2.1.tar.gz) = c377e8e11f4510f7d83dce956251debc5755ba8cace596a4e5df1c6ce28dbc63
4-
SHA512 (libavif-1.2.1.tar.gz) = 13eb641a17c59d70c465995dca6f921e7a40867053b8d8f0792a68aeaf9dde029daacc77df2049ebb8235ae3b1a35651f5b38a37914bdafe3b8884c64822b1e8
5-
Size (libavif-1.2.1.tar.gz) = 13942041 bytes
3+
BLAKE2s (libavif-1.3.0.tar.gz) = f23815eb841fab9eebb24e484cbbde6153b36ab26934d993d2c77a023bedadb3
4+
SHA512 (libavif-1.3.0.tar.gz) = a411579c851b7c46ddbd93c3549295e0901d822c817f5378b2c75b6a4f16eba1dffdf611bd1789dedeba776e701690a7437f9caeb9eb6dc382fc64935949dbf4
5+
Size (libavif-1.3.0.tar.gz) = 14062497 bytes

0 commit comments

Comments
 (0)