Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
math/Imath: new port (replaces graphics/ilmbase)
Patch series to update OpenEXR and ports that depend on ilmbase/OpenEXR coming up. --------------- Imath is a basic, light-weight, and efficient C++ representation of 2D and 3D vectors and matrices and other simple but useful mathematical objects, functions, and data types common in computer graphics applications, including the "half" 16-bit floating-point type. Imath also includes optional python bindings for all types and functions, including optimized implementations of vector and matrix arrays. Imath was originally developed at Industrial Light & Magic in the early 2000's and was originally distributed as open source as a part of the OpenEXR project. Imath continues to be maintained as a sub-project of OpenEXR, which is now a project of the Academy Software Foundation. See the OpenEXR project's GOVERNANCE.md for more information about how the project operates. WWW: https://github.com/AcademySoftwareFoundation/Imath/
- Loading branch information
Showing
12 changed files
with
164 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org | ||
|
||
PORTNAME= Imath | ||
PORTVERSION= 3.0.1 | ||
CATEGORIES= math devel graphics | ||
|
||
MAINTAINER= mandree@FreeBSD.org | ||
COMMENT= C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics | ||
|
||
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} | ||
|
||
PLIST_SUB= MAJORVER=${_MAJORVER} \ | ||
MINVER=${_MINVER} \ | ||
PLVER=${_PLVER} \ | ||
VER=${_VER} | ||
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_LIB_DEPENDS= ${PY_BOOST} | ||
PYTHON_USES= python | ||
PYTHON_CMAKE_BOOL= PYTHON | ||
|
||
_MAJORVER= 3_0 | ||
_VER= 27 | ||
_MINVER= 0 | ||
_PLVER= 0 | ||
|
||
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 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1618044321 | ||
SHA256 (AcademySoftwareFoundation-Imath-3.0.1-v3.0.1_GH0.tar.gz) = 9cd984bb6b0a9572dd4a373b1fab60bc4c992a52ec5c68328fe0f48f194ba3c0 | ||
SIZE (AcademySoftwareFoundation-Imath-3.0.1-v3.0.1_GH0.tar.gz) = 527715 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Imath is a basic, light-weight, and efficient C++ representation of 2D and 3D | ||
vectors and matrices and other simple but useful mathematical objects, | ||
functions, and data types common in computer graphics applications, including | ||
the "half" 16-bit floating-point type. | ||
|
||
Imath also includes optional python bindings for all types and functions, | ||
including optimized implementations of vector and matrix arrays. | ||
|
||
Imath was originally developed at Industrial Light & Magic in the early 2000's | ||
and was originally distributed as open source as a part of the OpenEXR project. | ||
|
||
Imath continues to be maintained as a sub-project of OpenEXR, which is now a | ||
project of the Academy Software Foundation. See the OpenEXR project's | ||
GOVERNANCE.md for more information about how the project operates. | ||
|
||
WWW: https://github.com/AcademySoftwareFoundation/Imath/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
include/Imath/ImathBox.h | ||
include/Imath/ImathBoxAlgo.h | ||
include/Imath/ImathColor.h | ||
include/Imath/ImathColorAlgo.h | ||
include/Imath/ImathConfig.h | ||
include/Imath/ImathEuler.h | ||
include/Imath/ImathExport.h | ||
include/Imath/ImathForward.h | ||
include/Imath/ImathFrame.h | ||
include/Imath/ImathFrustum.h | ||
include/Imath/ImathFrustumTest.h | ||
include/Imath/ImathFun.h | ||
include/Imath/ImathGL.h | ||
include/Imath/ImathGLU.h | ||
include/Imath/ImathInt64.h | ||
include/Imath/ImathInterval.h | ||
include/Imath/ImathLine.h | ||
include/Imath/ImathLineAlgo.h | ||
include/Imath/ImathMath.h | ||
include/Imath/ImathMatrix.h | ||
include/Imath/ImathMatrixAlgo.h | ||
include/Imath/ImathNamespace.h | ||
include/Imath/ImathPlane.h | ||
include/Imath/ImathPlatform.h | ||
include/Imath/ImathQuat.h | ||
include/Imath/ImathRandom.h | ||
include/Imath/ImathRoots.h | ||
include/Imath/ImathShear.h | ||
include/Imath/ImathSphere.h | ||
include/Imath/ImathTypeTraits.h | ||
include/Imath/ImathVec.h | ||
include/Imath/ImathVecAlgo.h | ||
include/Imath/half.h | ||
include/Imath/halfFunction.h | ||
include/Imath/halfLimits.h | ||
lib/cmake/Imath/ImathConfig.cmake | ||
lib/cmake/Imath/ImathConfigVersion.cmake | ||
lib/cmake/Imath/ImathTargets-%%CMAKE_BUILD_TYPE%%.cmake | ||
lib/cmake/Imath/ImathTargets.cmake | ||
lib/libImath-%%MAJORVER%%.so | ||
lib/libImath-%%MAJORVER%%.so.27 | ||
lib/libImath-%%MAJORVER%%.so.27.0.0 | ||
lib/libImath.so | ||
libdata/pkgconfig/Imath.pc | ||
%%PYTHON%%include/Imath/PyImath.h | ||
%%PYTHON%%include/Imath/PyImathAutovectorize.h | ||
%%PYTHON%%include/Imath/PyImathBasicTypes.h | ||
%%PYTHON%%include/Imath/PyImathBox.h | ||
%%PYTHON%%include/Imath/PyImathBoxArrayImpl.h | ||
%%PYTHON%%include/Imath/PyImathColor.h | ||
%%PYTHON%%include/Imath/PyImathColor3ArrayImpl.h | ||
%%PYTHON%%include/Imath/PyImathColor4Array2DImpl.h | ||
%%PYTHON%%include/Imath/PyImathColor4ArrayImpl.h | ||
%%PYTHON%%include/Imath/PyImathDecorators.h | ||
%%PYTHON%%include/Imath/PyImathEuler.h | ||
%%PYTHON%%include/Imath/PyImathExport.h | ||
%%PYTHON%%include/Imath/PyImathFixedArray.h | ||
%%PYTHON%%include/Imath/PyImathFixedArray2D.h | ||
%%PYTHON%%include/Imath/PyImathFixedMatrix.h | ||
%%PYTHON%%include/Imath/PyImathFixedVArray.h | ||
%%PYTHON%%include/Imath/PyImathFrustum.h | ||
%%PYTHON%%include/Imath/PyImathFun.h | ||
%%PYTHON%%include/Imath/PyImathLine.h | ||
%%PYTHON%%include/Imath/PyImathM44Array.h | ||
%%PYTHON%%include/Imath/PyImathMathExc.h | ||
%%PYTHON%%include/Imath/PyImathMatrix.h | ||
%%PYTHON%%include/Imath/PyImathOperators.h | ||
%%PYTHON%%include/Imath/PyImathPlane.h | ||
%%PYTHON%%include/Imath/PyImathQuat.h | ||
%%PYTHON%%include/Imath/PyImathRandom.h | ||
%%PYTHON%%include/Imath/PyImathShear.h | ||
%%PYTHON%%include/Imath/PyImathStringArray.h | ||
%%PYTHON%%include/Imath/PyImathStringArrayRegister.h | ||
%%PYTHON%%include/Imath/PyImathStringTable.h | ||
%%PYTHON%%include/Imath/PyImathTask.h | ||
%%PYTHON%%include/Imath/PyImathUtil.h | ||
%%PYTHON%%include/Imath/PyImathVec.h | ||
%%PYTHON%%include/Imath/PyImathVec2Impl.h | ||
%%PYTHON%%include/Imath/PyImathVec3ArrayImpl.h | ||
%%PYTHON%%include/Imath/PyImathVec3Impl.h | ||
%%PYTHON%%include/Imath/PyImathVec4ArrayImpl.h | ||
%%PYTHON%%include/Imath/PyImathVec4Impl.h | ||
%%PYTHON%%include/Imath/PyImathVecOperators.h | ||
%%PYTHON%%lib/cmake/Imath/ImathConfig-%%CMAKE_BUILD_TYPE%%.cmake | ||
%%PYTHON%%lib/libPyImath_Python3_7-%%MAJORVER%%.so | ||
%%PYTHON%%lib/libPyImath_Python3_7-%%MAJORVER%%.so.27 | ||
%%PYTHON%%lib/libPyImath_Python3_7-%%MAJORVER%%.so.27.0.0 | ||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/imath.so | ||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/imathnumpy.so | ||
%%PYTHON%%libdata/pkgconfig/PyImath.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
SUBDIR += 4ti2 | ||
SUBDIR += GiNaC | ||
SUBDIR += Imath | ||
SUBDIR += PDL | ||
SUBDIR += R | ||
SUBDIR += R-cran-ADGofTest | ||
|