diff options
Diffstat (limited to 'graphics/ctl')
-rw-r--r-- | graphics/ctl/Makefile | 9 | ||||
-rw-r--r-- | graphics/ctl/distinfo | 8 | ||||
-rw-r--r-- | graphics/ctl/files/patch-OpenEXR__CTL_exrdpx_exrToDpx.cpp | 19 | ||||
-rw-r--r-- | graphics/ctl/pkg-plist | 11 |
4 files changed, 15 insertions, 32 deletions
diff --git a/graphics/ctl/Makefile b/graphics/ctl/Makefile index 2893f004b773..d093a48c36c9 100644 --- a/graphics/ctl/Makefile +++ b/graphics/ctl/Makefile @@ -1,13 +1,10 @@ PORTNAME= ctl DISTVERSIONPREFIX= ctl- -DISTVERSION= 1.5.3 -PORTREVISION= 3 +DISTVERSION= 1.5.4 +PORTREVISION= 1 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 @@ -37,4 +34,6 @@ DOCSDIR= share/doc/CTL OPTIONS_DEFINE= DOCS +# tests as of 1.5.4: 100% tests passed, 0 tests failed out of 220 + .include <bsd.port.mk> 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 @@ -26,12 +26,17 @@ 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 |