From nobody Fri Jan 06 14:41:45 2023 X-Original-To: dev-commits-ports-main@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 4NpQyd4RJ3z2r61C; Fri, 6 Jan 2023 14:41:45 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NpQyd22SZz4Syj; Fri, 6 Jan 2023 14:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673016105; 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=hpLQbdLioB9OvoNNqyuw2A72mfEK0rn0tZxedYFF0qw=; b=fXaxOoM91jQJmdu/bQEnZdRzkJCngJY6OPp15JptxjkMG9ltKspJuPiTqH3Vx3yniaggoy wsPkFbvLEImBQ/1kjI8jQawhWDa4ZPuOHdGD6/Qd7S91+MgIIicmUzB1k/xVNy45F+cpf3 jTDxx5uMIr8Iw7vtCi5RX9pyWz8eCIfukRakSyftFkbQsVbAmmvLLllvrnm0Qc4BRYYxOG sntmLTG0N2GxUBEL0ciVt9w/XowbidFehJscPTv7p9MjIBK6lLQrVX8pHkYr8n+Tnm4KNH IWV2glSDkgX/wDvIUQPSBPu4+ommYbVxdLvEJpYLCXVPdwdRcT9GbEfajrZi9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673016105; 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=hpLQbdLioB9OvoNNqyuw2A72mfEK0rn0tZxedYFF0qw=; b=tTcGbj69eM8fxk2iWrbNM4Oioe3UBunvwTJwG5s51FHG14DCldbtuqGouik7AjIsYSSScf MOg4NZYjnoo0dIeTr1YA6SPyYZvgVRBQBQifcOST4oBAYuBzVfmuUECFGzYViIhQJwpIHL UVUDm3NluZEDyKakPEYVwkFdOJYr+e4Lk2euR10lI4odHFDGkGc4ksqSKaM01CioGYAsJS pXRZCLJPGXoGZH075eqwGlmD41q/Qq+Fm0xa4/1+Mf4+nbsAcYpXKes3EKvZ5KirL0AlUR lNpRCRdjPGBfiA50JO3c1UuKNBBfHGNBbG4C8t1qUrvO63IUbZB0hzPvRJGI2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673016105; a=rsa-sha256; cv=none; b=laehzu9SoIF03yGUEam7auMRdg79cv1k1C9Gg8Z/FAfYXENBoJ0waCoADSAXzc5rBW/w3u f4WPS4RmTpeKN8yG8h7A3bCqThoVGxIfRIY8CdudrXnMAxf+QT1n6uzzRR1Hmp93ZBvqCJ f6Z1Y5H3h+ussgbwu2i5J3NNelzrP05oauaA1cEs6X9u23rJ+6CJJPpS3X/RrCswe4NuY/ SeCTncu4OGkEWMsYtW16HHYP76irLvLJMcMh42sG39x8zZJcvwv1uIzRrUiIYKoOtK6UpX zHk22FQ02eMYHjqLVRvRQoCODvXuAmNieyc/ieFR2Ym2XN+hyvaA0Ekzd0zD3Q== 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 4NpQyd0sRnzY6X; Fri, 6 Jan 2023 14:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 306Efjwu019755; Fri, 6 Jan 2023 14:41:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 306Efjpu019754; Fri, 6 Jan 2023 14:41:45 GMT (envelope-from git) Date: Fri, 6 Jan 2023 14:41:45 GMT Message-Id: <202301061441.306Efjpu019754@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: fd79d20f7c26 - main - graphics/krita: chase libheif update List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: fd79d20f7c26c82c03d9ab3dc41d94791119bd2b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd79d20f7c26c82c03d9ab3dc41d94791119bd2b commit fd79d20f7c26c82c03d9ab3dc41d94791119bd2b Author: Max Brazhnikov AuthorDate: 2023-01-06 14:39:31 +0000 Commit: Max Brazhnikov CommitDate: 2023-01-06 14:39:31 +0000 graphics/krita: chase libheif update - Add patch from upstream to fix build with libheif-1.14.1 --- graphics/krita/Makefile | 2 +- graphics/krita/files/patch-git_e9184281 | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index b86904b7d656..45da384491de 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,6 +1,6 @@ PORTNAME= krita DISTVERSION= 5.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} diff --git a/graphics/krita/files/patch-git_e9184281 b/graphics/krita/files/patch-git_e9184281 new file mode 100644 index 000000000000..4ea688709d74 --- /dev/null +++ b/graphics/krita/files/patch-git_e9184281 @@ -0,0 +1,28 @@ +diff --git a/plugins/impex/heif/HeifExport.cpp b/plugins/impex/heif/HeifExport.cpp +index c7376a6798aa6ba364fa414864086b00b9cbf3a1..c46db548bb979391166c545fc913bd0f8ff90eda 100644 +--- plugins/impex/heif/HeifExport.cpp ++++ plugins/impex/heif/HeifExport.cpp +@@ -403,7 +403,11 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i + nclxDescription.set_full_range_flag(true); + nclxDescription.set_matrix_coefficients(heif_matrix_coefficients_RGB_GBR); + if (convertToRec2020) { ++#if LIBHEIF_HAVE_VERSION(1, 14, 1) ++ nclxDescription.set_color_primaries(heif_color_primaries_ITU_R_BT_2020_2_and_2100_0); ++#else + nclxDescription.set_color_primaties(heif_color_primaries_ITU_R_BT_2020_2_and_2100_0); ++#endif + } else { + const ColorPrimaries primaries = + image->colorSpace()->profile()->getColorPrimaries(); +@@ -413,7 +417,11 @@ KisImportExportErrorCode HeifExport::convert(KisDocument *document, QIODevice *i + KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE( + primaries >= PRIMARIES_ADOBE_RGB_1998, + ImportExportCodes::FormatColorSpaceUnsupported); ++#if LIBHEIF_HAVE_VERSION(1, 14, 1) ++ nclxDescription.set_color_primaries(heif_color_primaries(primaries)); ++#else + nclxDescription.set_color_primaties(heif_color_primaries(primaries)); ++#endif + } + + if (conversionPolicy == ConversionPolicy::ApplyPQ) {