From nobody Tue Jul 23 20:31:30 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WT81v124qz5QMgm; Tue, 23 Jul 2024 20:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WT81v0M96z4JdN; Tue, 23 Jul 2024 20:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721766691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TaDOVGZs7ue74fWqzyEc+1I/ENuWZVQhdYz6zc7Jemw=; b=yDJdn4aoXQmHi5h5Kv7jjhxyt4bSlmal8B44HqQGDJwG1jx+X/qngcDEP1pPDRwu3YACRX cMLGItVwxbTVttv3WPTEW776clYA23OrE1Vogc+6GrzGuWE13fRUMvHJIJLDN1L/uJFAgE BEBJnQ3gPDmiVGV9o4XSE2aeVVtO9vVvsXEJbluAcjiJqWrqbeLB2Ncs2c6dQh9y6ddmdf HQ1eYTV15wAhK9m2KIMT9dACUdOnES+vmglKvEGcSbnKETz+x6/abHQC8jZStULVMETcmv Rho+66prjVNe9rCNF/c4L03XmtaJoJ6Ot0RhWtSXRaNoY71WkWx1kxnp9CHlIg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721766691; a=rsa-sha256; cv=none; b=KSbBw1h9eUOK3sDJWUw0lGvk1+2Y1zccZ7EBtG+BRYyq3ySPE6ivLZ71ISzmTT07Iy4G4y 9n+LwMbEwHEGpLrx/mKfgdHHsqJPcvU3Xxf7U0wCw/B0BAvYx6bBHxUyxcr7IDmMSp2BKN 83ZqJM6M6pRqdYXYV2GSAcCldZ9fgp7EcmPEy54y6rQ3KOGJ79XdFSfs4IYHHI3FdygOHo C4ntqJQNsvbDygAiU+ZOFqD6co8dnKy+2DcGuT7P9MvqMAbqnuCHuziVQCaS+M1/WO2ieJ ElE3DSaaYUV8C7GYuf02noHrRrf6zE2onSV7xzzM6f5WeYxd0JyeTcFuXYgJMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721766691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TaDOVGZs7ue74fWqzyEc+1I/ENuWZVQhdYz6zc7Jemw=; b=Eytih+fOTppiAdZK8yjTrC0nrArEZ3sHjaB0HpmgBQ0/gkgFmMLSTZwUOVko5XcuvsNfax AF4b6js74WQBNaGMp7rLQVFc1FF8EXyG0mX+xDU14Gkr8Zr24+bHnUbxrGOWokW3m1paAg jGW4isd3DOJVSoffjRj8nZSJjZ9fnXUMiQgzFrojgs+MsUq85YZuFQlBTw7Uk7uYpm5U6Q CbgN0rGsAucyVmqxPYb1E1C1L8AlbfdXpL4E4Lvyy1qux9jANbo6zhKttnm3yFOqgOGa+I cbzasdGOU/AgpSHcC7R2ei3ObtVf0jCWuaW3RL1YQHtGlNKxF3KLo0ymhkyb1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WT81t74Rkzk57; Tue, 23 Jul 2024 20:31:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46NKVUo7052380; Tue, 23 Jul 2024 20:31:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46NKVUDx052377; Tue, 23 Jul 2024 20:31:30 GMT (envelope-from git) Date: Tue, 23 Jul 2024 20:31:30 GMT Message-Id: <202407232031.46NKVUDx052377@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Max Brazhnikov Subject: git: 7eac71bf192a - main - graphics/libheif: update to 1.18.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: makc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7eac71bf192a0d4540eb0ac3630ceb744ac0462e Auto-Submitted: auto-generated The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=7eac71bf192a0d4540eb0ac3630ceb744ac0462e commit 7eac71bf192a0d4540eb0ac3630ceb744ac0462e Author: Max Brazhnikov AuthorDate: 2024-07-23 20:28:15 +0000 Commit: Max Brazhnikov CommitDate: 2024-07-23 20:31:09 +0000 graphics/libheif: update to 1.18.1 Release notes: https://github.com/strukturag/libheif/releases/tag/v1.18.0 https://github.com/strukturag/libheif/releases/tag/v1.18.1 --- graphics/libheif/Makefile | 6 +++--- graphics/libheif/distinfo | 6 +++--- .../files/patch-libheif_plugins_encoder__svt.cc | 24 ---------------------- graphics/libheif/pkg-plist | 5 +++-- 4 files changed, 9 insertions(+), 32 deletions(-) diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile index d38a297862cf..4cb4723a5a1c 100644 --- a/graphics/libheif/Makefile +++ b/graphics/libheif/Makefile @@ -1,6 +1,5 @@ PORTNAME= libheif -DISTVERSION= 1.17.6 -PORTREVISION= 2 +DISTVERSION= 1.18.1 CATEGORIES= graphics MASTER_SITES= https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/ @@ -43,7 +42,8 @@ AOM_CMAKE_BOOL= WITH_AOM_ENCODER WITH_AOM_DECODER DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= WITH_DAV1D -EXAMPLES_LIB_DEPENDS= libpng16.so:graphics/png +EXAMPLES_LIB_DEPENDS= libpng16.so:graphics/png \ + libtiff.so:graphics/tiff EXAMPLES_CMAKE_BOOL= WITH_EXAMPLES EXAMPLE_IMPLIES= JPEG diff --git a/graphics/libheif/distinfo b/graphics/libheif/distinfo index 123ae9bcf3d7..ba5dac8cf792 100644 --- a/graphics/libheif/distinfo +++ b/graphics/libheif/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1703123477 -SHA256 (libheif-1.17.6.tar.gz) = 8390baf4913eda0a183e132cec62b875fb2ef507ced5ddddc98dfd2f17780aee -SIZE (libheif-1.17.6.tar.gz) = 1433302 +TIMESTAMP = 1721761068 +SHA256 (libheif-1.18.1.tar.gz) = 8702564b0f288707ea72b260b3bf4ba9bf7abfa7dac01353def3a86acd6bbb76 +SIZE (libheif-1.18.1.tar.gz) = 1524386 diff --git a/graphics/libheif/files/patch-libheif_plugins_encoder__svt.cc b/graphics/libheif/files/patch-libheif_plugins_encoder__svt.cc deleted file mode 100644 index a91ed507cccd..000000000000 --- a/graphics/libheif/files/patch-libheif_plugins_encoder__svt.cc +++ /dev/null @@ -1,24 +0,0 @@ -libheif/plugins/encoder_svt.cc:654:34: error: assigning to 'EbColorPrimaries' from incompatible type 'uint8_t' (aka 'unsigned char') - svt_config.color_primaries = static_cast(nclx->color_primaries); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libheif/plugins/encoder_svt.cc:655:43: error: assigning to 'EbTransferCharacteristics' from incompatible type 'uint8_t' (aka 'unsigned char') - svt_config.transfer_characteristics = static_cast(nclx->transfer_characteristics); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libheif/plugins/encoder_svt.cc:656:38: error: assigning to 'EbMatrixCoefficients' from incompatible type 'uint8_t' (aka 'unsigned char') - svt_config.matrix_coefficients = static_cast(nclx->matrix_coefficients); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libheif/plugins/encoder_svt.cc:657:30: error: assigning to 'EbColorRange' from incompatible type 'int' - svt_config.color_range = nclx->full_range_flag ? 1 : 0; - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ---- libheif/plugins/encoder_svt.cc.orig 2023-12-20 10:31:30 UTC -+++ libheif/plugins/encoder_svt.cc -@@ -645,7 +645,7 @@ struct heif_error svt_encode_image(void* encoder_raw, - - if (nclx) { - svt_config.color_description_present_flag = true; --#if SVT_AV1_VERSION_MAJOR == 1 -+#if SVT_AV1_VERSION_MAJOR >= 1 - svt_config.color_primaries = static_cast(nclx->color_primaries); - svt_config.transfer_characteristics = static_cast(nclx->transfer_characteristics); - svt_config.matrix_coefficients = static_cast(nclx->matrix_coefficients); diff --git a/graphics/libheif/pkg-plist b/graphics/libheif/pkg-plist index 4259bad19db2..c7bf3204831a 100644 --- a/graphics/libheif/pkg-plist +++ b/graphics/libheif/pkg-plist @@ -1,9 +1,10 @@ -%%PORTEXAMPLES%%bin/heif-convert +%%PORTEXAMPLES%%bin/heif-dec %%PORTEXAMPLES%%bin/heif-enc %%PORTEXAMPLES%%bin/heif-info %%PORTEXAMPLES%%bin/heif-thumbnailer include/libheif/heif.h include/libheif/heif_cxx.h +include/libheif/heif_items.h include/libheif/heif_plugin.h include/libheif/heif_properties.h include/libheif/heif_regions.h @@ -21,7 +22,7 @@ lib/libheif.so.%%LIB_VER%% %%RAV1E%%lib/libheif/libheif-rav1e.so %%SVTAV1%%lib/libheif/libheif-svtenc.so libdata/pkgconfig/libheif.pc -%%PORTEXAMPLES%%share/man/man1/heif-convert.1.gz +%%PORTEXAMPLES%%share/man/man1/heif-dec.1.gz %%PORTEXAMPLES%%share/man/man1/heif-enc.1.gz %%PORTEXAMPLES%%share/man/man1/heif-info.1.gz %%PORTEXAMPLES%%share/man/man1/heif-thumbnailer.1.gz