pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/libavif



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Feb 26 08:42:03 UTC 2025

Modified Files:
        pkgsrc/graphics/libavif: Makefile PLIST distinfo

Log Message:
libavif: updated to 1.2.0

1.2.0

Added since 1.1.1
* Turn on the gain map API. Remove the AVIF_ENABLE_EXPERIMENTAL_GAIN_MAP CMake
  flag.
* Allow YCgCo_Re and YCgCo_Ro encoding/decoding and update the enum values to
  the latest CICP specification. Remove the AVIF_ENABLE_EXPERIMENTAL_YCGCO_R
  CMake flag.
* Add the properties and numProperties fields to avifImage. They are filled by
  the avifDecoder instance with the properties unrecognized by libavif. They are
  written by the avifEncoder.
* Add avif(Un)SignedFraction structs and avifDoubleTo(Un)SignedFraction
  utility functions.
* Add 'avifgainmaputil' command line tool to installed apps.
* Add avifCropRectRequiresUpsampling().
* Add experimental support for PixelInformationProperty syntax from HEIF 3rd Ed.
  Amd2 behind the compilation flag AVIF_ENABLE_EXPERIMENTAL_EXTENDED_PIXI.
* Add experimental Sample Transform recipe
  BIT_DEPTH_EXTENSION_12B_8B_OVERLAP_4B.

Changed since 1.1.1
* avifenc: Allow large images to be encoded.
* Fix empty CMAKE_CXX_FLAGS_RELEASE if -DAVIF_CODEC_AOM=LOCAL -DAVIF_LIBYUV=OFF
  is specified. https://github.com/AOMediaCodec/libavif/issues/2365.
* Rename AVIF_ENABLE_EXPERIMENTAL_METAV1 to AVIF_ENABLE_EXPERIMENTAL_MINI and
  update the experimental reduced header feature to the latest specification
  draft. Rename AVIF_HEADER_REDUCED to AVIF_HEADER_MINI.
* Update the experimental Sample Transform feature behind the
  AVIF_ENABLE_EXPERIMENTAL_SAMPLE_TRANSFORM CMake flag to the latest
  specification draft.
* Ignore gain maps with unsupported metadata. Handle gain maps with
  writer_version > 0 correctly.
* Simplify gain map API: remove the enableParsingGainMapMetadata setting, now
  gain map metadata is always parsed if present and if this feature is compiled
  in. Replace enableDecodingGainMap and ignoreColorAndAlpha with a bit field to
  choose image content to decode. Remove gainMapPresent: users can check if
  decoder->image->gainMap != NULL instead. Remove avifGainMapMetadata and
  avifGainMapMetadataDouble structs.
* Write an empty HandlerBox name field instead of "libavif" (saves 7 bytes).
* Check for FileTypeBox precedence in avifParse().
* Do not write an alternative group with the same ID as an item.
* Update aom.cmd/LocalAom.cmake: v3.12.0. The new codec-specific option tune=iq
  (image quality) is added in libaom v3.12.0.
* Update parseAV2SequenceHeader() and avm.cmd: research-v9.0.0
* Update dav1d.cmd/dav1d_android.sh/LocalDav1d.cmake: 1.5.1
* Update libjpeg.cmd/LocalJpeg.cmake: v3.0.4
* Update libxml2.cmd/LocalLibXml2.cmake: v2.13.5
* Update libyuv.cmd: ccdf87034 (1903)
* Update svt.cmd/svt.sh/LocalSvt.cmake to v3.0.0. When available, use
  EbSvtAv1EncConfiguration::lossless and ::level_of_parallelism in libavif.
* Remove AVIF_ENABLE_GTEST CMake option. It's now implied by
  AVIF_GTEST=LOCAL/SYSTEM.
* Deprecate `avifEncoder`'s `minQuantizer`, `maxQuantizer`, `minQuantizerAlpha`,
  and `maxQuantizerAlpha` fields. `quality` and `qualityAlpha` should be used
  instead. Deprecate `avifenc`'s `--min`, `--max`, `--minalpha` and `--maxalpha`
  flags. `-q` or `--qcolor` and `--qalpha` should be used instead.
* For dependencies, the deprecated way of setting AVIF_LOCAL_* to ON is
  removed. Dependency options can now only be set to OFF/LOCAL/SYSTEM.
* Change the default quality for alpha to be the same as the quality for color.
* Allow decoding subsampled images with odd Clean Aperture dimensions or offsets.
* Deprecate avifCropRectConvertCleanApertureBox() and
  avifCleanApertureBoxConvertCropRect(). Replace them with
  avifCropRectFromCleanApertureBox() and avifCleanApertureBoxFromCropRect().
* Write descriptive properties before transformative properties.
* Reject non-essential transformative properties.
* Treat avifenc --stdin as a regular positional file path argument.
* Update man pages based on avifenc/dec's --help message.
* android_jni: Support 16kb page size
* android_jni: Set threads to 2 instead of CPU count
* Fix overflows when dealing with alpha during YUV/RGB conversions and in
  avifRGBImageAllocatePixels().
* Make avifEncoder.headerFormat a flag combination for future features.
* Rename AVIF_HEADER_FULL to AVIF_HEADER_DEFAULT. Deprecate AVIF_HEADER_FULL.
* Fix decoding image sequences with non video tracks (such as audio or subtitles).
* Fix type checking of auxiliary tracks: previously any auxiliary track was
  assumed to be alpha, even if it was a different type. If the aux type is absent,
  it is assumed to be alpha.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/libavif/Makefile \
    pkgsrc/graphics/libavif/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/libavif/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libavif/Makefile
diff -u pkgsrc/graphics/libavif/Makefile:1.4 pkgsrc/graphics/libavif/Makefile:1.5
--- pkgsrc/graphics/libavif/Makefile:1.4        Thu Oct 31 07:32:57 2024
+++ pkgsrc/graphics/libavif/Makefile    Wed Feb 26 08:42:03 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2024/10/31 07:32:57 pho Exp $
+# $NetBSD: Makefile,v 1.5 2025/02/26 08:42:03 adam Exp $
 
-DISTNAME=      libavif-1.1.1
-PKGREVISION=   1
+DISTNAME=      libavif-1.2.0
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=AOMediaCodec/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -12,7 +11,7 @@ COMMENT=      AV1 image file format library
 LICENSE=       2-clause-bsd
 
 USE_CC_FEATURES=       c99
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c
 USE_TOOLS+=            pkg-config
 
 CMAKE_CONFIGURE_ARGS+= -DAVIF_BUILD_GDK_PIXBUF=ON
Index: pkgsrc/graphics/libavif/PLIST
diff -u pkgsrc/graphics/libavif/PLIST:1.4 pkgsrc/graphics/libavif/PLIST:1.5
--- pkgsrc/graphics/libavif/PLIST:1.4   Thu Oct 31 07:32:57 2024
+++ pkgsrc/graphics/libavif/PLIST       Wed Feb 26 08:42:03 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2024/10/31 07:32:57 pho Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/02/26 08:42:03 adam Exp $
 include/avif/avif.h
 include/avif/avif_cxx.h
 lib/cmake/libavif/libavif-config-noconfig.cmake
@@ -7,6 +7,6 @@ lib/cmake/libavif/libavif-config.cmake
 lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-avif.so
 lib/libavif.so
 lib/libavif.so.16
-lib/libavif.so.16.1.1
+lib/libavif.so.16.2.0
 lib/pkgconfig/libavif.pc
 share/thumbnailers/avif.thumbnailer

Index: pkgsrc/graphics/libavif/distinfo
diff -u pkgsrc/graphics/libavif/distinfo:1.3 pkgsrc/graphics/libavif/distinfo:1.4
--- pkgsrc/graphics/libavif/distinfo:1.3        Wed Jul 31 07:05:38 2024
+++ pkgsrc/graphics/libavif/distinfo    Wed Feb 26 08:42:03 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2024/07/31 07:05:38 adam Exp $
+$NetBSD: distinfo,v 1.4 2025/02/26 08:42:03 adam Exp $
 
-BLAKE2s (libavif-1.1.1.tar.gz) = 9f945612ef2e4c1f0278fa25edd730a3e618b889a8d6fcfd27a2e6298a349eb4
-SHA512 (libavif-1.1.1.tar.gz) = ba72b8d02b098f361643a073361fccafd22eaac14e46dd06378d5e7acd9853538c5d166473e1de0b020de62dac25be83e42bd57ba51f675d11e2ddf155fbfa21
-Size (libavif-1.1.1.tar.gz) = 13644189 bytes
+BLAKE2s (libavif-1.2.0.tar.gz) = 96eb3362d57c407c5348a4ae664eb459e36f8505a3a210551aa8a71e2336b14a
+SHA512 (libavif-1.2.0.tar.gz) = f88eda1c699910a20e63a0aa0bcf782fb67b477c4d99aa88723628a53b0d849f35f73ff6a2e8bb53e170dc77662bde4a5c5c38b655f5adcfb73ddcf7ec264805
+Size (libavif-1.2.0.tar.gz) = 13939380 bytes



Home | Main Index | Thread Index | Old Index