git: 22dbfb88f832 - main - graphics/art: update 1.24.5 → 1.25.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Feb 2025 02:15:39 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=22dbfb88f832500609e55f6e1e46cadbb337301d
commit 22dbfb88f832500609e55f6e1e46cadbb337301d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-02-08 01:11:16 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-02-08 02:15:35 +0000
graphics/art: update 1.24.5 → 1.25.2
---
graphics/art/Makefile | 10 +++++++---
graphics/art/distinfo | 6 +++---
graphics/art/files/patch-CMakeLists.txt | 13 +++++++++++--
graphics/art/pkg-plist | 2 ++
4 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/graphics/art/Makefile b/graphics/art/Makefile
index da849d7aea3c..860986a4b21d 100644
--- a/graphics/art/Makefile
+++ b/graphics/art/Makefile
@@ -1,5 +1,5 @@
PORTNAME= art
-DISTVERSION= 1.24.5
+DISTVERSION= 1.25.2
CATEGORIES= graphics
MASTER_SITES= https://github.com/artpixls/ART/releases/download/${DISTVERSION}/
PKGNAMESUFFIX= -raw-image-editor
@@ -27,7 +27,6 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libharfbuzz.so:print/harfbuzz \
liblensfun.so:graphics/lensfun \
liblcms2.so:graphics/lcms2 \
- libmimalloc.so:devel/mimalloc \
libOpenColorIO.so:graphics/opencolorio \
libtiff.so:graphics/tiff
@@ -40,7 +39,7 @@ EXTRACT_CMD= gtar
CXXFLAGS+= -I${LOCALBASE}/include/Imath # workaround for https://bitbucket.org/agriggio/art/issues/339/1241-build-fails-usr-local-include-ctl
LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create
-OPTIONS_DEFINE= CTL LTO
+OPTIONS_DEFINE= CTL LTO MIMALLOC
OPTIONS_DEFAULT= CTL LTO
CTL_DESC= Enable support for the ACES Color Transformation Language
@@ -52,6 +51,11 @@ CTL_LIB_DEPENDS= libIlmCtl.so:graphics/ctl \
LTO_CMAKE_BOOL= WITH_LTO
+MIMALLOC_DESC= Enable mimalloc allocator
+MIMALLOC_CMAKE_BOOL= ENABLE_MIMALLOC
+MIMALLOC_LIB_DEPENDS= libmimalloc.so:devel/mimalloc
+MIMALLOC_BROKEN= mimalloc crashes, see https://github.com/microsoft/mimalloc/issues/1007 and https://github.com/artpixls/ART/issues/357
+
.if exists(/usr/include/omp.h)
OPTIONS_DEFINE+= OPENMP
OPTIONS_DEFAULT+= OPENMP
diff --git a/graphics/art/distinfo b/graphics/art/distinfo
index d6bb58636075..c399efa4a378 100644
--- a/graphics/art/distinfo
+++ b/graphics/art/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735791694
-SHA256 (ART-1.24.5.tar.xz) = 44080bf9c0c2048f7555937d582f8ac4b6ebcd74eda358543046ec524d806be9
-SIZE (ART-1.24.5.tar.xz) = 19511252
+TIMESTAMP = 1738957099
+SHA256 (ART-1.25.2.tar.xz) = b5ceaf982d7ee8a35bcb163426f3853437e4e43f7c6e2aeeb63cf5bce783ec50
+SIZE (ART-1.25.2.tar.xz) = 19604996
diff --git a/graphics/art/files/patch-CMakeLists.txt b/graphics/art/files/patch-CMakeLists.txt
index c39dfd707a74..634182b7863c 100644
--- a/graphics/art/files/patch-CMakeLists.txt
+++ b/graphics/art/files/patch-CMakeLists.txt
@@ -1,5 +1,14 @@
---- CMakeLists.txt.orig 2024-02-04 08:11:18 UTC
+--- CMakeLists.txt.orig 2025-02-02 16:44:30 UTC
+++ CMakeLists.txt
+@@ -604,7 +604,7 @@ set(ART_MIMALLOC_VERSION_INFO "N/A")
+ endif()
+
+ set(ART_MIMALLOC_VERSION_INFO "N/A")
+-if(NOT APPLE)
++if(NOT APPLE AND ENABLE_MIMALLOC)
+ set(HAS_MIMALLOC)
+ if(NOT WITH_SAN)
+ find_package(mimalloc)
@@ -644,7 +644,7 @@ if(ENABLE_CTL)
endif()
@@ -8,4 +17,4 @@
+ find_path(CTL_INCLUDE_DIR NAMES "CtlVersion.h" PATH_SUFFIXES "CTL")
pkg_check_modules(OPENEXR OpenEXR>=3)
#find_path(_openexr_half OpenEXR/half.h)
- find_library(_ctl_lib IlmCtl)
+ if(CTL_LIBRARY_DIR)
diff --git a/graphics/art/pkg-plist b/graphics/art/pkg-plist
index e6b879e6a62b..52ad2524dcc2 100644
--- a/graphics/art/pkg-plist
+++ b/graphics/art/pkg-plist
@@ -113,6 +113,7 @@ share/ART/dcpprofiles/Olympus E-M5.dcp
share/ART/dcpprofiles/Olympus E-P2.dcp
share/ART/dcpprofiles/Olympus XZ-1.dcp
share/ART/dcpprofiles/PANASONIC DC-S5.dcp
+share/ART/dcpprofiles/PANASONIC DC-S5M2.dcp
share/ART/dcpprofiles/PANASONIC DMC-LX100.dcp
share/ART/dcpprofiles/PENTAX K-5 II.dcp
share/ART/dcpprofiles/PENTAX K-5.dcp
@@ -202,6 +203,7 @@ share/ART/iccprofiles/input/sd1_merrill_tungsten8130-CROP-WP11.icm
share/ART/iccprofiles/output/RTv2_Medium.icc
share/ART/iccprofiles/output/RTv2_sRGB.icc
share/ART/iccprofiles/output/RTv4_ACES-AP0.icc
+share/ART/iccprofiles/output/RTv4_DisplayP3.icc
share/ART/iccprofiles/output/RTv4_Large.icc
share/ART/iccprofiles/output/RTv4_Linear_Rec2020.icc
share/ART/iccprofiles/output/RTv4_Linear_Rec709.icc