FreeBSD Bugzilla – Attachment 230014 Details for
Bug 260310
new port graphics/openimageio-ociov1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
new port graphics/openimageio-ociov1
openimageio-ociov1.shar.txt (text/plain), 15.64 KB, created by
Shane
on 2021-12-10 10:37:19 UTC
(
hide
)
Description:
new port graphics/openimageio-ociov1
Filename:
MIME Type:
Creator:
Shane
Created:
2021-12-10 10:37:19 UTC
Size:
15.64 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># graphics/openimageio-ociov1 ># graphics/openimageio-ociov1/Makefile ># graphics/openimageio-ociov1/distinfo ># graphics/openimageio-ociov1/pkg-plist ># graphics/openimageio-ociov1/pkg-plist-pybind ># graphics/openimageio-ociov1/files ># graphics/openimageio-ociov1/files/patch-src_libutil_CMakeLists.txt ># graphics/openimageio-ociov1/files/patch-src_cmake_modules_FindOpenColorIO.cmake ># graphics/openimageio-ociov1/files/patch-src_libOpenImageIO_CMakeLists.txt ># graphics/openimageio-ociov1/files/patch-CMakeLists.txt ># graphics/openimageio-ociov1/files/patch-src_cmake_modules_FindPtex.cmake ># graphics/openimageio-ociov1/files/patch-src_include_CMakeLists.txt ># graphics/openimageio-ociov1/pkg-descr ># >echo c - graphics/openimageio-ociov1 >mkdir -p graphics/openimageio-ociov1 > /dev/null 2>&1 >echo x - graphics/openimageio-ociov1/Makefile >sed 's/^X//' >graphics/openimageio-ociov1/Makefile << '607213b3f4f802d1724cc4a5142f8fef' >XPORTNAME= openimageio >XDISTVERSIONPREFIX= Release- >XDISTVERSION= 2.2.19.0 >XCATEGORIES= graphics multimedia >XPKGNAMESUFFIX= -ociov1 >X# special port to link oiio libs with ociov1 >X# specifically to build blender-lts28 while still officially supported >X >XMAINTAINER= FreeBSD@Shaneware.biz >XCOMMENT= OpenImageIO graphics library linked to ocio v1 >X >XLICENSE= BSD3CLAUSE >X >XBUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map >XLIB_DEPENDS= libboost_thread.so:devel/boost-libs \ >X libfmt.so:devel/libfmt \ >X libhdf5.so:science/hdf5 \ >X libheif.so:graphics/libheif \ >X libImath.so:math/Imath \ >X libOpenColorIOv1.so:graphics/opencoloriov1 \ >X libOpenEXR.so:graphics/openexr \ >X libpng.so:graphics/png \ >X libsquish.so:graphics/squish \ >X libtiff.so:graphics/tiff \ >X libwebp.so:graphics/webp >X >XUSES= cmake jpeg compiler:c++14-lang iconv:wchar_t >XUSE_GITHUB= yes >XGH_ACCOUNT= OpenImageIO >XGH_PROJECT= oiio >X >XCMAKE_ON= USE_OCIO >XCMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ >X STOP_ON_WARNING USE_OPENSSL USE_QT USE_OPENGL \ >X OIIO_BUILD_TESTS OIIO_BUILD_TOOLS USE_PYTHON >XUSE_LDCONFIG= yes >X >XOPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF \ >X OPENCV OPENJPEG PTEX RAW TBB VDB >XOPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX >XOPTIONS_SUB= yes >X >XDOCS_CMAKE_BOOL= INSTALL_DOCS >XDOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} >X >XDICOM_DESC= DICOM/MEDICOM support >XDICOM_CMAKE_BOOL= USE_DICOM >XDICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk >X >XFFMPEG_DESC= Use FFmpeg to support extra file types >XFFMPEG_CMAKE_BOOL= USE_FFMPEG >XFFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg >X >XFREETYPE_CMAKE_BOOL= USE_FREETYPE >XFREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 >XFREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf >X >XGIF_CMAKE_BOOL= USE_GIF >XGIF_LIB_DEPENDS= libgif.so:graphics/giflib >X >XOPENCV_CMAKE_BOOL= USE_OPENCV >XOPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ >X libopenjpeg.so:graphics/openjpeg15 >X >XOPENJPEG_CMAKE_BOOL= USE_OPENJPEG >XOPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg >X >XPTEX_DESC= ptex support >XPTEX_LIB_DEPENDS= libPtex.so:graphics/ptex >X >XRAW_CMAKE_BOOL= USE_LIBRAW >XRAW_LIB_DEPENDS= libraw_r.so:graphics/libraw >X >XTBB_DESC= Intel tbb support >XTBB_CMAKE_BOOL= USE_TBB >XTBB_LIB_DEPENDS= libtbb.so:devel/onetbb >X >XVDB_DESC= OpenVDB support >XVDB_CMAKE_ARGS= -DCMAKE_CXX_STANDARD=14 >XVDB_CMAKE_BOOL= USE_OPENVDB >XVDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb >X >X# DISTVERSION has an extra digit which isn't in the lib name >X# for LIBVERS we want the first three digits >XLIBVERS= ${DISTVERSION:C/([0-9]*)\.([0-9]*)\.([0-9]*)(.*)/\1.\2.\3/} >XPLIST_SUB+= LIBVERS=${LIBVERS} >XDOCSDIR= ${PREFIX}/share/doc/openimageio-${PKGNAMESUFFIX} >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's|<OpenColorIO/|<OpenColorIOv1/|g' \ >X ${WRKSRC}/src/libOpenImageIO/color_ocio.cpp >X >Xpost-install: >X ${FIND} ${STAGEDIR}${PREFIX}/include/OpenImageIO${PKGNAMESUFFIX} \ >X -name '*.h' -or -name '*.hpp' | \ >X ${XARGS} ${REINPLACE_CMD} -e 's|<OpenImageIO/|<OpenImageIO${PKGNAMESUFFIX}/|g' >X ${FIND} ${STAGEDIR}${PREFIX}/include/OpenImageIO${PKGNAMESUFFIX} -name '*.bak' -delete >X @(cd ${STAGEDIR}${PREFIX}/lib/cmake && ${MV} OpenImageIO OpenImageIO${PKGNAMESUFFIX}) >X @(cd ${STAGEDIR}${PREFIX}/share/cmake/Modules && \ >X ${MV} FindOpenImageIO.cmake FindOpenImageIO${PKGNAMESUFFIX}.cmake) >X >X.include <bsd.port.mk> >607213b3f4f802d1724cc4a5142f8fef >echo x - graphics/openimageio-ociov1/distinfo >sed 's/^X//' >graphics/openimageio-ociov1/distinfo << '400a6313a700c04cbcc93c901d65e653' >XTIMESTAMP = 1638775456 >XSHA256 (OpenImageIO-oiio-Release-2.2.19.0_GH0.tar.gz) = 8f7b10bfe64c33077a163ab2a034d3085ce8f712413f33ef4020cfd07c2e10dc >XSIZE (OpenImageIO-oiio-Release-2.2.19.0_GH0.tar.gz) = 29252399 >400a6313a700c04cbcc93c901d65e653 >echo x - graphics/openimageio-ociov1/pkg-plist >sed 's/^X//' >graphics/openimageio-ociov1/pkg-plist << '4c881be466956263960b6848c0ff2a68' >Xinclude/OpenImageIO-ociov1/argparse.h >Xinclude/OpenImageIO-ociov1/array_view.h >Xinclude/OpenImageIO-ociov1/atomic.h >Xinclude/OpenImageIO-ociov1/attrdelegate.h >Xinclude/OpenImageIO-ociov1/benchmark.h >Xinclude/OpenImageIO-ociov1/color.h >Xinclude/OpenImageIO-ociov1/dassert.h >Xinclude/OpenImageIO-ociov1/deepdata.h >Xinclude/OpenImageIO-ociov1/detail/farmhash.h >Xinclude/OpenImageIO-ociov1/detail/fmt/core.h >Xinclude/OpenImageIO-ociov1/detail/fmt/format-inl.h >Xinclude/OpenImageIO-ociov1/detail/fmt/format.h >Xinclude/OpenImageIO-ociov1/detail/fmt/ostream.h >Xinclude/OpenImageIO-ociov1/detail/fmt/printf.h >Xinclude/OpenImageIO-ociov1/detail/pugixml/pugiconfig.hpp >Xinclude/OpenImageIO-ociov1/detail/pugixml/pugixml.cpp >Xinclude/OpenImageIO-ociov1/detail/pugixml/pugixml.hpp >Xinclude/OpenImageIO-ociov1/errorhandler.h >Xinclude/OpenImageIO-ociov1/export.h >Xinclude/OpenImageIO-ociov1/filesystem.h >Xinclude/OpenImageIO-ociov1/filter.h >Xinclude/OpenImageIO-ociov1/fmath.h >Xinclude/OpenImageIO-ociov1/fstream_mingw.h >Xinclude/OpenImageIO-ociov1/function_view.h >Xinclude/OpenImageIO-ociov1/hash.h >Xinclude/OpenImageIO-ociov1/image_view.h >Xinclude/OpenImageIO-ociov1/imagebuf.h >Xinclude/OpenImageIO-ociov1/imagebufalgo_util.h >Xinclude/OpenImageIO-ociov1/imagebufalgo.h >Xinclude/OpenImageIO-ociov1/imagecache.h >Xinclude/OpenImageIO-ociov1/imageio.h >Xinclude/OpenImageIO-ociov1/Imath.h >Xinclude/OpenImageIO-ociov1/missing_math.h >Xinclude/OpenImageIO-ociov1/oiioversion.h >Xinclude/OpenImageIO-ociov1/optparser.h >Xinclude/OpenImageIO-ociov1/parallel.h >Xinclude/OpenImageIO-ociov1/paramlist.h >Xinclude/OpenImageIO-ociov1/platform.h >Xinclude/OpenImageIO-ociov1/plugin.h >Xinclude/OpenImageIO-ociov1/refcnt.h >Xinclude/OpenImageIO-ociov1/simd.h >Xinclude/OpenImageIO-ociov1/span.h >Xinclude/OpenImageIO-ociov1/strided_ptr.h >Xinclude/OpenImageIO-ociov1/string_view.h >Xinclude/OpenImageIO-ociov1/strutil.h >Xinclude/OpenImageIO-ociov1/sysutil.h >Xinclude/OpenImageIO-ociov1/texture.h >Xinclude/OpenImageIO-ociov1/thread.h >Xinclude/OpenImageIO-ociov1/tiffutils.h >Xinclude/OpenImageIO-ociov1/timer.h >Xinclude/OpenImageIO-ociov1/typedesc.h >Xinclude/OpenImageIO-ociov1/unittest.h >Xinclude/OpenImageIO-ociov1/unordered_map_concurrent.h >Xinclude/OpenImageIO-ociov1/ustring.h >Xinclude/OpenImageIO-ociov1/varyingref.h >Xinclude/OpenImageIO-ociov1/version.h >Xlib/libOpenImageIO-ociov1.so >Xlib/libOpenImageIO-ociov1.so.2.2 >Xlib/libOpenImageIO-ociov1.so.%%LIBVERS%% >Xlib/libOpenImageIO_Util-ociov1.so >Xlib/libOpenImageIO_Util-ociov1.so.2.2 >Xlib/libOpenImageIO_Util-ociov1.so.%%LIBVERS%% >Xlibdata/pkgconfig/OpenImageIO-ociov1.pc >Xshare/cmake/Modules/FindOpenImageIO-ociov1.cmake >Xlib/cmake/OpenImageIO-ociov1/OpenImageIOConfig.cmake >Xlib/cmake/OpenImageIO-ociov1/OpenImageIOConfigVersion.cmake >Xlib/cmake/OpenImageIO-ociov1/OpenImageIOTargets-release.cmake >Xlib/cmake/OpenImageIO-ociov1/OpenImageIOTargets.cmake >X%%PORTDOCS%%%%DOCSDIR%%/CHANGES.md >X%%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.x.md >X%%PORTDOCS%%%%DOCSDIR%%/CHANGES-1.x.md >X%%PORTDOCS%%%%DOCSDIR%%/THIRD-PARTY.md >X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.md >4c881be466956263960b6848c0ff2a68 >echo x - graphics/openimageio-ociov1/pkg-plist-pybind >sed 's/^X//' >graphics/openimageio-ociov1/pkg-plist-pybind << '6550951505b3dba61fc5d017691c280a' >X%%PYTHON_SITELIBDIR%%/OpenImageIO21.so >6550951505b3dba61fc5d017691c280a >echo c - graphics/openimageio-ociov1/files >mkdir -p graphics/openimageio-ociov1/files > /dev/null 2>&1 >echo x - graphics/openimageio-ociov1/files/patch-src_libutil_CMakeLists.txt >sed 's/^X//' >graphics/openimageio-ociov1/files/patch-src_libutil_CMakeLists.txt << 'b5bcd7c118f5c36122d44255d2ef189b' >X--- src/libutil/CMakeLists.txt.orig 2021-12-07 17:17:50 UTC >X+++ src/libutil/CMakeLists.txt >X@@ -43,7 +43,7 @@ set_target_properties(OpenImageIO_Util >X PROPERTIES >X VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} >X SOVERSION ${SOVERSION} >X- OUTPUT_NAME OpenImageIO_Util${OIIO_LIBNAME_SUFFIX} >X+ OUTPUT_NAME OpenImageIO_Util-ociov1${OIIO_LIBNAME_SUFFIX} >X POSITION_INDEPENDENT_CODE ON >X ) >X >b5bcd7c118f5c36122d44255d2ef189b >echo x - graphics/openimageio-ociov1/files/patch-src_cmake_modules_FindOpenColorIO.cmake >sed 's/^X//' >graphics/openimageio-ociov1/files/patch-src_cmake_modules_FindOpenColorIO.cmake << '0fbbf0b8bc3aad362bd2e949f4c317b6' >X--- src/cmake/modules/FindOpenColorIO.cmake.orig 2021-12-08 14:45:20 UTC >X+++ src/cmake/modules/FindOpenColorIO.cmake >X@@ -14,21 +14,22 @@ include (FindPackageHandleStandardArgs) >X include (FindPackageMessage) >X >X find_path (OPENCOLORIO_INCLUDE_DIR >X- OpenColorIO/OpenColorIO.h >X+ OpenColorIOv1/OpenColorIO.h >X HINTS >X ${OPENCOLORIO_INCLUDE_PATH} >X ENV OPENCOLORIO_INCLUDE_PATH >X PATHS >X+ /usr/local/include >X /sw/include >X /opt/local/include >X- DOC "The directory where OpenColorIO/OpenColorIO.h resides") >X+ DOC "The directory where OpenColorIOv1/OpenColorIO.h resides") >X >X-if (EXISTS "${OPENCOLORIO_INCLUDE_DIR}/OpenColorIO/OpenColorABI.h") >X+if (EXISTS "${OPENCOLORIO_INCLUDE_DIR}/OpenColorIOv1/OpenColorABI.h") >X # Search twice, because this symbol changed between OCIO 1.x and 2.x >X- file(STRINGS "${OPENCOLORIO_INCLUDE_DIR}/OpenColorIO/OpenColorABI.h" TMP >X+ file(STRINGS "${OPENCOLORIO_INCLUDE_DIR}/OpenColorIOv1/OpenColorABI.h" TMP >X REGEX "^#define OCIO_VERSION_STR[ \t].*$") >X if (NOT TMP) >X- file(STRINGS "${OPENCOLORIO_INCLUDE_DIR}/OpenColorIO/OpenColorABI.h" TMP >X+ file(STRINGS "${OPENCOLORIO_INCLUDE_DIR}/OpenColorIOv1/OpenColorABI.h" TMP >X REGEX "^#define OCIO_VERSION[ \t].*$") >X endif () >X string (REGEX MATCHALL "([0-9]+)\\.([0-9]+)\\.[0-9]+" OPENCOLORIO_VERSION ${TMP}) >X@@ -38,8 +39,8 @@ endif () >X >X find_library (OPENCOLORIO_LIBRARY >X NAMES >X- OpenColorIO >X- OpenColorIO_${OPENCOLORIO_VERSION_MAJOR}_${OPENCOLORIO_VERSION_MINOR} >X+ OpenColorIOv1 >X+ OpenColorIO_1_1 >X HINTS >X ${OPENCOLORIO_LIBRARY_PATH} >X ENV OPENCOLORIO_LIBRARY_PATH >0fbbf0b8bc3aad362bd2e949f4c317b6 >echo x - graphics/openimageio-ociov1/files/patch-src_libOpenImageIO_CMakeLists.txt >sed 's/^X//' >graphics/openimageio-ociov1/files/patch-src_libOpenImageIO_CMakeLists.txt << 'd25fdbd6778eb797f15225051e812f3f' >X--- src/libOpenImageIO/CMakeLists.txt.orig 2021-12-07 17:19:26 UTC >X+++ src/libOpenImageIO/CMakeLists.txt >X@@ -195,7 +195,7 @@ set_target_properties(OpenImageIO >X PROPERTIES >X VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} >X SOVERSION ${SOVERSION} >X- OUTPUT_NAME OpenImageIO${OIIO_LIBNAME_SUFFIX} >X+ OUTPUT_NAME OpenImageIO-ociov1${OIIO_LIBNAME_SUFFIX} >X POSITION_INDEPENDENT_CODE ON >X ) >X if (VISIBILITY_MAP_COMMAND) >d25fdbd6778eb797f15225051e812f3f >echo x - graphics/openimageio-ociov1/files/patch-CMakeLists.txt >sed 's/^X//' >graphics/openimageio-ociov1/files/patch-CMakeLists.txt << '5363baa81f2656809b5aea36bb0a21dd' >X--- CMakeLists.txt.orig 2021-10-31 17:08:10 UTC >X+++ CMakeLists.txt >X@@ -214,8 +214,8 @@ endif () >X >X # install pkgconfig file >X if (NOT MSVC) >X- configure_file(src/build-scripts/OpenImageIO.pc.in "${CMAKE_BINARY_DIR}/OpenImageIO.pc" @ONLY) >X- install (FILES "${CMAKE_BINARY_DIR}/OpenImageIO.pc" >X+ configure_file(src/build-scripts/OpenImageIO.pc.in "${CMAKE_BINARY_DIR}/OpenImageIO-ociov1.pc" @ONLY) >X+ install (FILES "${CMAKE_BINARY_DIR}/OpenImageIO-ociov1.pc" >X DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig >X COMPONENT developer) >X endif() >5363baa81f2656809b5aea36bb0a21dd >echo x - graphics/openimageio-ociov1/files/patch-src_cmake_modules_FindPtex.cmake >sed 's/^X//' >graphics/openimageio-ociov1/files/patch-src_cmake_modules_FindPtex.cmake << '0954fb3af87a78724c34cfa2fb324443' >X--- src/cmake/modules/FindPtex.cmake.orig 2021-10-31 17:08:10 UTC >X+++ src/cmake/modules/FindPtex.cmake >X@@ -70,6 +70,7 @@ else () >X PATHS >X /usr/include >X /usr/local/include >X+ /usr/local/include/ptex >X DOC "The directory where Ptexture.h resides") >X find_library( PTEX_LIBRARY >X NAMES >0954fb3af87a78724c34cfa2fb324443 >echo x - graphics/openimageio-ociov1/files/patch-src_include_CMakeLists.txt >sed 's/^X//' >graphics/openimageio-ociov1/files/patch-src_include_CMakeLists.txt << '6f922d3f58eadf1c8a99126725547dc0' >X--- src/include/CMakeLists.txt.orig 2021-12-07 16:54:34 UTC >X+++ src/include/CMakeLists.txt >X@@ -48,12 +48,12 @@ list (APPEND public_headers "${CMAKE_BINARY_DIR}/inclu >X >X >X install (FILES ${public_headers} >X- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME} >X+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}-ociov1 >X COMPONENT developer) >X >X file (GLOB detail_headers OpenImageIO/detail/*.h) >X install (FILES ${detail_headers} >X- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/detail >X+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}-ociov1/detail >X COMPONENT developer) >X >X set (fmt_headers >X@@ -65,7 +65,7 @@ set (fmt_headers >X file (COPY ${fmt_headers} >X DESTINATION ${CMAKE_BINARY_DIR}/include/OpenImageIO/detail/fmt) >X install (FILES ${fmt_headers} >X- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/detail/fmt >X+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}-ociov1/detail/fmt >X COMPONENT developer) >X >X if (NOT USE_EXTERNAL_PUGIXML) >X@@ -76,6 +76,6 @@ if (NOT USE_EXTERNAL_PUGIXML) >X file (COPY ${pugixml_headers} >X DESTINATION ${CMAKE_BINARY_DIR}/include/OpenImageIO/detail/pugixml) >X install (FILES ${pugixml_headers} >X- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/detail/pugixml >X+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}-ociov1/detail/pugixml >X COMPONENT developer) >X endif () >6f922d3f58eadf1c8a99126725547dc0 >echo x - graphics/openimageio-ociov1/pkg-descr >sed 's/^X//' >graphics/openimageio-ociov1/pkg-descr << 'bc878e1c286410b3d3b143f43e704591' >XOpenImageIO is a library for reading and writing images, and a bunch of >Xrelated classes, utilities, and applications. >X >XThere is a particular emphasis on formats and functionality used >Xin professional, large-scale animation and visual effects work for film. >X >XOpenImageIO is used extensively in animation and VFX studios all over the >Xworld, and is also incorporated into several commercial products. >X >XWWW: http://www.openimageio.org/ >bc878e1c286410b3d3b143f43e704591 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 260310
: 230014