diff --git a/graphics/art/Makefile b/graphics/art/Makefile index ec539439e9a8..e440ce20311c 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,71 +1,72 @@ PORTNAME= art DISTVERSION= 1.25.6 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/artpixls/ART/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= -raw-image-editor DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Raw image processing program WWW= https://art.pixls.us/ \ https://github.com/artpixls/ART LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= compilation fails: use of overloaded operator '[]' is ambiguous, see https://bitbucket.org/agriggio/art/issues/256/build-fails-on-32-bit-architectures-use-of BROKEN_i386= ld: error: undefined symbol: __atomic_load EXTRACT_DEPENDS= gtar:archivers/gtar # bsdtar(1) complains about hard links to itself BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libraw_r.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfftw3f.so:math/fftw3-float \ libharfbuzz.so:print/harfbuzz \ liblensfun.so:graphics/lensfun \ liblcms2.so:graphics/lcms2 \ libOpenColorIO.so:graphics/opencolorio \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg pkgconfig tar:xz xorg USE_GNOME= atk atkmm cairo cairomm glibmm gtkmm30 librsvg2 USE_XORG= x11 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 MIMALLOC OPTIONS_DEFAULT= CTL LTO CTL_DESC= Enable support for the ACES Color Transformation Language CTL_CMAKE_BOOL= ENABLE_CTL CTL_LIB_DEPENDS= libIlmCtl.so:graphics/ctl \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libpng16.so:graphics/png 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 .if exists(/usr/include/omp.h) OPTIONS_DEFINE+= OPENMP OPTIONS_DEFAULT+= OPENMP OPENMP_CMAKE_BOOL= OPTION_OMP .else CMAKE_OFF= OPTION_OMP .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ART .include diff --git a/graphics/ctl/Makefile b/graphics/ctl/Makefile index 2893f004b773..64c7e2beeeec 100644 --- a/graphics/ctl/Makefile +++ b/graphics/ctl/Makefile @@ -1,40 +1,38 @@ PORTNAME= ctl DISTVERSIONPREFIX= ctl- -DISTVERSION= 1.5.3 -PORTREVISION= 3 +DISTVERSION= 1.5.4 CATEGORIES= graphics lang PKGNAMESUFFIX= -language -PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES+= 3871cd7717fd184d9fbb667730d35f1a89391f09.patch:-p1 # FreeBSD compatibility patch: https://github.com/ampas/CTL/pull/145 - MAINTAINER= yuri@FreeBSD.org COMMENT= Color Transformation Language WWW= https://github.com/ampas/CTL LICENSE= AMPAS LICENSE_NAME= Academy of Motion Picture Arts and Sciences (A.M.P.A.S.) license LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell LIB_DEPENDS= libAcesContainer.so:graphics/ampasACES-container \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libtiff.so:graphics/tiff USES= cmake:testing pkgconfig USE_GITHUB= yes GH_ACCOUNT= ampas GH_PROJECT= CTL CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= CTL_BUILD_TESTS CMAKE_TESTING_ON= CTL_BUILD_TESTS DATADIR= share/CTL DOCSDIR= share/doc/CTL OPTIONS_DEFINE= DOCS +# tests as of 1.5.4: 100% tests passed, 0 tests failed out of 220 + .include diff --git a/graphics/ctl/distinfo b/graphics/ctl/distinfo index 831eccc6084e..3bfe3e31e920 100644 --- a/graphics/ctl/distinfo +++ b/graphics/ctl/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1707022854 -SHA256 (ampas-CTL-ctl-1.5.3_GH0.tar.gz) = 0a9f5f3de8964ac5cca31597aca74bf915a3d8214e3276fdcb52c80ad25b0096 -SIZE (ampas-CTL-ctl-1.5.3_GH0.tar.gz) = 3073036 -SHA256 (3871cd7717fd184d9fbb667730d35f1a89391f09.patch) = 3a77003f3474569de39f3b4270cd033c9cf6d22dce4d551fb1edcd6eb0fee30c -SIZE (3871cd7717fd184d9fbb667730d35f1a89391f09.patch) = 1653 +TIMESTAMP = 1754025845 +SHA256 (ampas-CTL-ctl-1.5.4_GH0.tar.gz) = fb84925320d053827fce965d7aeea5bb8690d7093bb083c8e3915d7a600e25fc +SIZE (ampas-CTL-ctl-1.5.4_GH0.tar.gz) = 3079675 diff --git a/graphics/ctl/files/patch-OpenEXR__CTL_exrdpx_exrToDpx.cpp b/graphics/ctl/files/patch-OpenEXR__CTL_exrdpx_exrToDpx.cpp deleted file mode 100644 index cd6d7ca72421..000000000000 --- a/graphics/ctl/files/patch-OpenEXR__CTL_exrdpx_exrToDpx.cpp +++ /dev/null @@ -1,19 +0,0 @@ ---- OpenEXR_CTL/exrdpx/exrToDpx.cpp.orig 2024-01-04 19:41:17 UTC -+++ OpenEXR_CTL/exrdpx/exrToDpx.cpp -@@ -169,13 +169,13 @@ writePixels - const Rgba &pixel = pixels[y][x]; - - unsigned int r = -- (unsigned int) (clamp (float (pixel.r), 0.0f, 1023.0f) + 0.5f); -+ (unsigned int) (std::clamp (float (pixel.r), 0.0f, 1023.0f) + 0.5f); - - unsigned int g = -- (unsigned int) (clamp (float (pixel.g), 0.0f, 1023.0f) + 0.5f); -+ (unsigned int) (std::clamp (float (pixel.g), 0.0f, 1023.0f) + 0.5f); - - unsigned int b = -- (unsigned int) (clamp (float (pixel.b), 0.0f, 1023.0f) + 0.5f); -+ (unsigned int) (std::clamp (float (pixel.b), 0.0f, 1023.0f) + 0.5f); - - unsigned int word = (r << 22) | (g << 12) | (b << 2); - diff --git a/graphics/ctl/pkg-plist b/graphics/ctl/pkg-plist index b797b5f996f1..03942c64867b 100644 --- a/graphics/ctl/pkg-plist +++ b/graphics/ctl/pkg-plist @@ -1,40 +1,45 @@ bin/ctlrender bin/exr_ctl_exr bin/exrdpx include/CTL/CtlAddr.h include/CTL/CtlAlign.h include/CTL/CtlColorSpace.h include/CTL/CtlErrors.h include/CTL/CtlExc.h include/CTL/CtlFunctionCall.h include/CTL/CtlInterpreter.h include/CTL/CtlLContext.h include/CTL/CtlLookupTable.h include/CTL/CtlMessage.h include/CTL/CtlModule.h include/CTL/CtlRbfInterpolator.h include/CTL/CtlRcPtr.h include/CTL/CtlReadWriteAccess.h include/CTL/CtlSimdInterpreter.h include/CTL/CtlSparseMatrix.h include/CTL/CtlStdType.h include/CTL/CtlSymbolTable.h include/CTL/CtlSyntaxTree.h include/CTL/CtlTokens.h include/CTL/CtlType.h include/CTL/CtlTypeStorage.h include/CTL/CtlVersion.h include/OpenEXR/ImfCtlApplyTransforms.h lib/libIlmCtl.so -lib/libIlmCtl.so.1.5.3 +lib/libIlmCtl.so.1.5 +lib/libIlmCtl.so.1.5.4 lib/libIlmCtlMath.so -lib/libIlmCtlMath.so.1.5.3 +lib/libIlmCtlMath.so.1.5 +lib/libIlmCtlMath.so.1.5.4 lib/libIlmCtlSimd.so -lib/libIlmCtlSimd.so.1.5.3 +lib/libIlmCtlSimd.so.1.5 +lib/libIlmCtlSimd.so.1.5.4 lib/libIlmImfCtl.so +lib/libIlmImfCtl.so.1.5 +lib/libIlmImfCtl.so.1.5.4 %%DATADIR%%/change_saturation.ctl %%DATADIR%%/transform_DPX_EXR.ctl %%DATADIR%%/transform_EXR_DPX.ctl %%DATADIR%%/utilities.ctl %%PORTDOCS%%%%DOCSDIR%%/CTL/CtlManual.doc %%PORTDOCS%%%%DOCSDIR%%/CTL/CtlManual.pdf