Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2026 12:53:52 +0000
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 990ee581e635 - main - graphics/libheif: Update to 1.22.2
Message-ID:  <6a1adde0.225f9.2f4c4d84@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=990ee581e635f9c3bbdc5eb7d051571e6efec1b8

commit 990ee581e635f9c3bbdc5eb7d051571e6efec1b8
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-05-30 12:53:33 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-05-30 12:53:33 +0000

    graphics/libheif: Update to 1.22.2
    
    Release notes:  https://github.com/strukturag/libheif/releases/tag/v1.22.0
                    https://github.com/strukturag/libheif/releases/tag/v1.22.1
                    https://github.com/strukturag/libheif/releases/tag/v1.22.2
---
 graphics/libheif/Makefile                |  7 +------
 graphics/libheif/distinfo                | 10 +++-------
 graphics/libheif/files/patch-svt-av1-4.1 | 25 -------------------------
 graphics/libheif/pkg-plist               |  2 ++
 4 files changed, 6 insertions(+), 38 deletions(-)

diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile
index 0e566fa51ff4..6b0225d7dddf 100644
--- a/graphics/libheif/Makefile
+++ b/graphics/libheif/Makefile
@@ -1,13 +1,8 @@
 PORTNAME=	libheif
-DISTVERSION=	1.21.2
-PORTREVISION=	3
+DISTVERSION=	1.22.2
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/
 
-PATCH_SITES=	https://github.com/strukturag/${PORTNAME}/commit/
-PATCHFILES+=	61923302d12f.patch:-p1 # https://github.com/strukturag/libheif/pull/1680
-PATCHFILES+=	f9919e348689.patch:-p1 # https://github.com/strukturag/libheif/pull/1680
-
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	ISO/IEC 23008-12:2017 HEIF file format de- and encoder
 WWW=		https://github.com/strukturag/libheif
diff --git a/graphics/libheif/distinfo b/graphics/libheif/distinfo
index 48c0aea46dd7..a0b954d9705a 100644
--- a/graphics/libheif/distinfo
+++ b/graphics/libheif/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1769288759
-SHA256 (libheif-1.21.2.tar.gz) = 75f530b7154bc93e7ecf846edfc0416bf5f490612de8c45983c36385aa742b42
-SIZE (libheif-1.21.2.tar.gz) = 1859435
-SHA256 (61923302d12f.patch) = 1a45ec9118a0132650324f79f2163281da9072fad28d506a5771938300aa261d
-SIZE (61923302d12f.patch) = 991
-SHA256 (f9919e348689.patch) = ea5c62cf3cbd75faab729458d26899f7ed1b5dc8f48b71093c69c0c9a97c71eb
-SIZE (f9919e348689.patch) = 2340
+TIMESTAMP = 1780140012
+SHA256 (libheif-1.22.2.tar.gz) = eea48e4841f83fbe51d029337ffd2d14512d0203015dad40b90213d872958af3
+SIZE (libheif-1.22.2.tar.gz) = 2049684
diff --git a/graphics/libheif/files/patch-svt-av1-4.1 b/graphics/libheif/files/patch-svt-av1-4.1
deleted file mode 100644
index 62f15cbe3e51..000000000000
--- a/graphics/libheif/files/patch-svt-av1-4.1
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/strukturag/libheif/pull/1680#issuecomment-4117142244
-
---- libheif/plugins/encoder_svt.cc.orig	2026-01-16 08:03:07 UTC
-+++ libheif/plugins/encoder_svt.cc
-@@ -838,7 +838,19 @@ static heif_error svt_start_sequence_encoding_intern(v
-     // svt_config.force_key_frames = true; TODO: this does not seem to work (see all [1])
- 
- #if 1
--#if SVT_AV1_CHECK_VERSION(4, 0, 0)
-+#if SVT_AV1_CHECK_VERSION(4, 1, 0)
-+    switch (options->gop_structure) {
-+      case heif_sequence_gop_structure_intra_only:
-+        //svt_config.pred_structure = PredStructure::LOW_DELAY;
-+        break;
-+      case heif_sequence_gop_structure_lowdelay:
-+        //svt_config.pred_structure = PredStructure::LOW_DELAY;
-+        break;
-+      case heif_sequence_gop_structure_unrestricted:
-+        svt_config.pred_structure = PredStructure::RANDOM_ACCESS;
-+        break;
-+    }
-+#elif SVT_AV1_CHECK_VERSION(4, 0, 0)
-     switch (options->gop_structure) {
-       case heif_sequence_gop_structure_intra_only:
-         //svt_config.pred_structure = 1; // LOW_DELAY
diff --git a/graphics/libheif/pkg-plist b/graphics/libheif/pkg-plist
index 099dc7f787a2..92a937552353 100644
--- a/graphics/libheif/pkg-plist
+++ b/graphics/libheif/pkg-plist
@@ -7,6 +7,7 @@ include/libheif/heif.h
 include/libheif/heif_aux_images.h
 include/libheif/heif_brands.h
 include/libheif/heif_color.h
+include/libheif/heif_components.h
 include/libheif/heif_context.h
 include/libheif/heif_cxx.h
 include/libheif/heif_decoding.h
@@ -18,6 +19,7 @@ include/libheif/heif_image_handle.h
 include/libheif/heif_items.h
 include/libheif/heif_library.h
 include/libheif/heif_metadata.h
+include/libheif/heif_omaf.h
 include/libheif/heif_plugin.h
 include/libheif/heif_properties.h
 include/libheif/heif_regions.h


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1adde0.225f9.2f4c4d84>