diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile index 02a496bba594..2d2eb320751f 100644 --- a/graphics/openexr/Makefile +++ b/graphics/openexr/Makefile @@ -1,85 +1,85 @@ PORTNAME= openexr PORTVERSION= 3.1.7 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics devel MAINTAINER= mandree@FreeBSD.org COMMENT= High dynamic-range (HDR) image file format WWW= https://www.openexr.com/ LICENSE= BSD3CLAUSE # exact version required to avoid hard-to-debug issues -LIB_DEPENDS= libImath-3_1.so.30:math/Imath +LIB_DEPENDS= libImath-3_1.so.31:math/Imath USES= cmake compiler:c++14-lang cpe pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= AcademySoftwareFoundation:openexr:v${PORTVERSION} USE_LDCONFIG= yes CMAKE_ARGS+= -DCMAKE_DEBUG_POSTFIX= CPPFLAGS+= -I. # must be linked with -l{thr|pthread} explicitly LDFLAGS+= -lpthread PATCH_STRIP= -p1 _MAJORVER= 3_1 _VER= 30 _MINVER= 7 _PLVER= 1 PLIST_SUB+= MAJORVER=${_MAJORVER} \ VER=${_VER} \ MINVER=${_MINVER} \ PLVER=${_PLVER} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes DOCS_BUILD_DEPENDS=breathe-apidoc:devel/py-breathe \ ${PYTHON_PKGNAMEPREFIX}sphinx_press_theme>=0:textproc/py-sphinx_press_theme DOCS_USES= python:build DOCS_CMAKE_BOOL=BUILD_DOCS DOCS_CMAKE_ON= -DPython_EXECUTABLE:STRING=${PYTHON_CMD} _DOCSRCDIR1= ${WRKSRC} _DOC_FILES1= CHANGES.md CONTRIBUTING.md GOVERNANCE.md LICENSE.md SECURITY.md \ CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md # too many reports about compilation failures, so # sanity check we are using the same C++ standard library _imath_libcxx= ${COMPILER_FEATURES:Mlib*c++} pre-configure: @${READELF} -d ${LOCALBASE}/lib/libImath.so \ | ${EGREP} -q '\.*\[${_imath_libcxx:C/\+/\\+/g}\.' \ || { ${ECHO_CMD} "*** Your Imath package uses a different C++ standard library than ***" ; \ ${ECHO_CMD} "*** OpenEXR would. Please recompile and reinstall Imath with the ***" ; \ ${ECHO_CMD} "*** same C++ std. library before trying to build OpenEXR. Abort. ***" ; \ exit 1; } post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_DOC_FILES1:S|^|${_DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} ( cd ${BUILD_WRKSRC}/docs/sphinx && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ) ${RM} -r ${STAGEDIR}${DOCSDIR}/.??* ${STAGEDIR}${DOCSDIR}/../OpenEXR/sphinx post-install-DOCS-off: @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME} 2>/dev/null || : post-install-EXAMPLES-on: ${MV} \ ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ ${STAGEDIR}${EXAMPLESDIR} @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : post-install-EXAMPLES-off: ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : do-test: cd ${BUILD_WRKSRC} && ctest -j ${MAKE_JOBS_NUMBER} .include diff --git a/math/Imath/Makefile b/math/Imath/Makefile index 3eee3f55aa41..ac1341f1eb20 100644 --- a/math/Imath/Makefile +++ b/math/Imath/Makefile @@ -1,64 +1,64 @@ # Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org PORTNAME= Imath -PORTVERSION= 3.1.7 +PORTVERSION= 3.1.8 PORTREVISION= 0 CATEGORIES= math devel graphics MAINTAINER= mandree@FreeBSD.org COMMENT= C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics WWW= https://github.com/AcademySoftwareFoundation/Imath/ LICENSE= BSD3CLAUSE USES= cmake compiler:c++14-lang pkgconfig USE_GITHUB= yes GH_TUPLE= AcademySoftwareFoundation:Imath:v${PORTVERSION} USE_LDCONFIG= yes CMAKE_ARGS+= -DCMAKE_DEBUG_POSTFIX= \ -DCMAKE_INSTALL_PREFIX=${PREFIX} PATCH_STRIP= -p1 PLIST_SUB= MAJORVER=${_MAJORVER} \ MINVER=${_MINVER} \ PLVER=${_PLVER} \ VER=${_VER} \ PYVER=${PYTHON_VER:S/./_/} PORTDOCS= README.md OPTIONS_DEFINE= DOCS LARGE_STACK PYTHON OPTIONS_SUB= yes LARGE_STACK_DESC= Enable sys-dependent large stack optimizations LARGE_STACK_CMAKE_BOOL= IMATH_ENABLE_LARGE_STACK PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python PYTHON_CMAKE_BOOL= PYTHON _MAJORVER= 3_1 -_VER= 30 +_VER= 31 _MINVER= 0 -_PLVER= 1 +_PLVER= 0 post-patch: ${REINPLACE_CMD} -E 's}find_package\(Python(3?) COMPONENTS}set(Python\1_EXECUTABLE ${PYTHON_CMD})\nfind_package(Python\1 ${PYTHON_VER} EXACT COMPONENTS}' \ ${WRKSRC}/src/python/CMakeLists.txt post-install: .for l in libImath ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l}-${_MAJORVER}.so .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test: cd ${BUILD_WRKSRC} && ctest -j ${MAKE_JOBS_NUMBER} .include diff --git a/math/Imath/distinfo b/math/Imath/distinfo index a3066bec2411..9977c13d3cc5 100644 --- a/math/Imath/distinfo +++ b/math/Imath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677784160 -SHA256 (AcademySoftwareFoundation-Imath-3.1.7-v3.1.7_GH0.tar.gz) = bff1fa140f4af0e7f02c6cb78d41b9a7d5508e6bcdfda3a583e35460eb6d4b47 -SIZE (AcademySoftwareFoundation-Imath-3.1.7-v3.1.7_GH0.tar.gz) = 583049 +TIMESTAMP = 1684943634 +SHA256 (AcademySoftwareFoundation-Imath-3.1.8-v3.1.8_GH0.tar.gz) = a23a4e2160ca8ff68607a4e129e484edd1d0d13f707394d32af7aed659020803 +SIZE (AcademySoftwareFoundation-Imath-3.1.8-v3.1.8_GH0.tar.gz) = 598165