git: f0173a177d51 - main - graphics/rawtherapee: update to v5.12.

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Wed, 04 Jun 2025 22:55:12 UTC
The branch main has been updated by mandree:

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

commit f0173a177d5177717e269102df4c93ed329f5741
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-06-04 11:05:04 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-06-04 11:09:06 +0000

    graphics/rawtherapee: update to v5.12.
    
    ChangeLog:      https://rawtherapee.com/downloads/5.12/#new-features
    
    I haven't touched the GCC=yes yet on the assumption it will move to
    GCC 14 as default only after FreeBSD 13.4 will be out of support.
    
    On FreeBSD 14.2, GCC 13 and 14 seem fine, assuming sufficient RAM for
    MAKE_JOBS_NUMBER because C++ is quite memory hungry.  In doubt, build
    with a smaller MAKE_JOBS_NUMBER.
---
 graphics/rawtherapee/Makefile                     |  8 ++++----
 graphics/rawtherapee/distinfo                     |  6 +++---
 graphics/rawtherapee/files/patch-rtgui_options.cc | 11 -----------
 graphics/rawtherapee/pkg-plist                    |  6 ++++++
 4 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile
index 58d98dd32baa..98a3feb6893f 100644
--- a/graphics/rawtherapee/Makefile
+++ b/graphics/rawtherapee/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	rawtherapee
-PORTVERSION=	5.11
-PORTREVISION=	1
+PORTVERSION=	5.12
+PORTREVISION=	0
 CATEGORIES=	graphics
-MASTER_SITES=	https://github.com/Beep6581/RawTherapee/releases/download/${PORTVERSION}/ \
+MASTER_SITES=	https://github.com/RawTherapee/RawTherapee/releases/download/${PORTVERSION}/ \
 		https://rawtherapee.com/shared/source/ \
 		LOCAL/mandree/
 
@@ -113,7 +113,7 @@ OPENMP_LDFLAGS=		-lm -lomp
 # up to twice as fast as clang-16.0 compiled code.
 # So we shall stick to a modern GCC for now.
 #
-USE_GCC=	yes # default
+USE_GCC=	yes  # default
 
 .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1500000)
 # don't waste everybody's time with Tier-2 and moving targets.
diff --git a/graphics/rawtherapee/distinfo b/graphics/rawtherapee/distinfo
index 02f5cc463d3a..9ff354378ff8 100644
--- a/graphics/rawtherapee/distinfo
+++ b/graphics/rawtherapee/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725112827
-SHA256 (rawtherapee-5.11.tar.xz) = e584c18dec112de29954b2b6471449a302a85e5cca4e42ede75fa333a36de724
-SIZE (rawtherapee-5.11.tar.xz) = 18005652
+TIMESTAMP = 1749030819
+SHA256 (rawtherapee-5.12.tar.xz) = d9a6c10537d64a285bc465675fe59aaa94ce3223823dfbecf0ae2c9599082d57
+SIZE (rawtherapee-5.12.tar.xz) = 18306944
diff --git a/graphics/rawtherapee/files/patch-rtgui_options.cc b/graphics/rawtherapee/files/patch-rtgui_options.cc
deleted file mode 100644
index e66daac1a594..000000000000
--- a/graphics/rawtherapee/files/patch-rtgui_options.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- rtgui/options.cc.orig	2024-08-24 18:33:56 UTC
-+++ rtgui/options.cc
-@@ -1273,7 +1273,7 @@ void Options::readFromFile(Glib::ustring fname)
-                 std::map<std::string, int> checkedExtensions;
- 
-                 if (parseExtensions.size() == parseExtensionsEnabled.size()) {
--                    for (auto i = 0; i < parseExtensions.size(); ++i) {
-+                    for (size_t i = 0; i < parseExtensions.size(); ++i) {
-                         checkedExtensions[parseExtensions[i]] = parseExtensionsEnabled[i];
-                     }
-                 }
diff --git a/graphics/rawtherapee/pkg-plist b/graphics/rawtherapee/pkg-plist
index 228d35d80b3d..f535e30e1386 100644
--- a/graphics/rawtherapee/pkg-plist
+++ b/graphics/rawtherapee/pkg-plist
@@ -16,6 +16,7 @@ share/icons/hicolor/scalable/apps/rawtherapee.svg
 share/man/man1/rawtherapee.1.gz
 share/metainfo/com.rawtherapee.RawTherapee.appdata.xml
 %%DATADIR%%/camconst.json
+%%DATADIR%%/cammatrices.json
 %%DATADIR%%/dcpprofiles/CANON EOS 250D.dcp
 %%DATADIR%%/dcpprofiles/CANON EOS 800D.dcp
 %%DATADIR%%/dcpprofiles/CANON EOS M50.dcp
@@ -45,6 +46,7 @@ share/metainfo/com.rawtherapee.RawTherapee.appdata.xml
 %%DATADIR%%/dcpprofiles/Canon EOS R.dcp
 %%DATADIR%%/dcpprofiles/Canon EOS R5.dcp
 %%DATADIR%%/dcpprofiles/Canon EOS R6.dcp
+%%DATADIR%%/dcpprofiles/Canon EOS R8.dcp
 %%DATADIR%%/dcpprofiles/Canon EOS RP.dcp
 %%DATADIR%%/dcpprofiles/Canon EOS-1D Mark III.dcp
 %%DATADIR%%/dcpprofiles/Canon EOS-1D X Mark III.dcp
@@ -135,6 +137,7 @@ share/metainfo/com.rawtherapee.RawTherapee.appdata.xml
 %%DATADIR%%/dcpprofiles/Panasonic DC-GX9.dcp
 %%DATADIR%%/dcpprofiles/Panasonic DC-S1.dcp
 %%DATADIR%%/dcpprofiles/Panasonic DC-S5.dcp
+%%DATADIR%%/dcpprofiles/PANASONIC DC-S5M2.dcp
 %%DATADIR%%/dcpprofiles/Panasonic DC-TZ91.dcp
 %%DATADIR%%/dcpprofiles/Panasonic DMC-FZ1000.dcp
 %%DATADIR%%/dcpprofiles/Panasonic DMC-FZ150.dcp
@@ -176,6 +179,7 @@ share/metainfo/com.rawtherapee.RawTherapee.appdata.xml
 %%DATADIR%%/dcpprofiles/YI TECHNOLOGY M1.dcp
 %%DATADIR%%/dcpprofiles/camera_model_aliases.json
 %%DATADIR%%/dcpprofiles/samsung SM-G930V.dcp
+%%DATADIR%%/dcraw.json
 %%DATADIR%%/iccprofiles/input/Canon EOS 20D.icc
 %%DATADIR%%/iccprofiles/input/Canon EOS 40D.icc
 %%DATADIR%%/iccprofiles/input/Canon EOS 450D.icc
@@ -581,6 +585,7 @@ share/metainfo/com.rawtherapee.RawTherapee.appdata.xml
 %%DATADIR%%/languages/Serbian (Cyrilic Characters)
 %%DATADIR%%/languages/Slovenian
 %%DATADIR%%/languages/Swedish
+%%DATADIR%%/languages/Ukrainian
 %%DATADIR%%/languages/default
 %%DATADIR%%/options
 %%DATADIR%%/profiles/Auto-Matched Curve - ISO High.pp3
@@ -601,6 +606,7 @@ share/metainfo/com.rawtherapee.RawTherapee.appdata.xml
 %%DATADIR%%/profiles/Standard Film Curve - ISO Low.pp3
 %%DATADIR%%/profiles/Standard Film Curve - ISO Medium.pp3
 %%DATADIR%%/profiles/Unclipped.pp3
+%%DATADIR%%/rt.json
 %%DATADIR%%/sounds/BatchComplete.wav
 %%DATADIR%%/sounds/Empty.wav
 %%DATADIR%%/sounds/ProcessComplete.wav