graphics/art: update 1.24.5 → 1.25.2

This commit is contained in:
Yuri Victorovich 2025-02-07 17:11:16 -08:00
parent c490c3ad31
commit 22dbfb88f8
4 changed files with 23 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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