FreeBSD Bugzilla – Attachment 230013 Details for
Bug 260309
new port graphics/opencoloriov1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
new port graphics/opencoloriov1
opencoloriov1.shar.txt (text/plain), 12.69 KB, created by
Shane
on 2021-12-10 10:34:41 UTC
(
hide
)
Description:
new port graphics/opencoloriov1
Filename:
MIME Type:
Creator:
Shane
Created:
2021-12-10 10:34:41 UTC
Size:
12.69 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/opencoloriov1 ># graphics/opencoloriov1/pkg-descr ># graphics/opencoloriov1/files ># graphics/opencoloriov1/files/patch-CMakeLists.txt ># graphics/opencoloriov1/files/patch-src_core_CMakeLists.txt ># graphics/opencoloriov1/files/patch-docs_CMakeLists.txt ># graphics/opencoloriov1/files/patch-src_core_Config.cpp ># graphics/opencoloriov1/files/patch-export_pkgconfig_OpenColorIO.pc.in ># graphics/opencoloriov1/files/patch-share_cmake_OCIOMacros.cmake ># graphics/opencoloriov1/distinfo ># graphics/opencoloriov1/pkg-plist ># graphics/opencoloriov1/Makefile ># >echo c - graphics/opencoloriov1 >mkdir -p graphics/opencoloriov1 > /dev/null 2>&1 >echo x - graphics/opencoloriov1/pkg-descr >sed 's/^X//' >graphics/opencoloriov1/pkg-descr << 'cf8da831822fb196d3b4bb4e132897d3' >XOpenColorIO (OCIO) is a complete color management solution geared >Xtowards motion picture production with an emphasis on visual effects >Xand computer animation. >X >XThis port provides v1 for ports that don't support v2 yet. >X >XWWW: http://www.opencolorio.org >cf8da831822fb196d3b4bb4e132897d3 >echo c - graphics/opencoloriov1/files >mkdir -p graphics/opencoloriov1/files > /dev/null 2>&1 >echo x - graphics/opencoloriov1/files/patch-CMakeLists.txt >sed 's/^X//' >graphics/opencoloriov1/files/patch-CMakeLists.txt << '1389c7b8d35f59d74e1bdba2da22e1d8' >X--- CMakeLists.txt.orig 2021-12-07 15:34:51 UTC >X+++ CMakeLists.txt >X@@ -252,10 +252,10 @@ if(USE_EXTERNAL_YAML) >X # Set minimum yaml version for non-patched sources. >X set(YAML_VERSION_MIN "0.3.0") >X include(FindPkgConfig) >X- pkg_check_modules(PC_YAML_CPP REQUIRED QUIET yaml-cpp) >X- find_path(YAML_CPP_INCLUDE_DIR yaml-cpp/yaml.h >X+ pkg_check_modules(PC_YAML_CPP REQUIRED QUIET yaml-cpp03) >X+ find_path(YAML_CPP_INCLUDE_DIR yaml-cpp03/yaml.h >X HINTS ${PC_YAML_CPP_INCLUDEDIR} ${PC_YAML_CPP_INCLUDE_DIRS} ) >X- find_library(YAML_CPP_LIBRARY LIBRARY_NAMES yaml-cpp libyaml-cpp >X+ find_library(YAML_CPP_LIBRARY LIBRARY_NAMES yaml-cpp03 libyaml-cpp >X HINTS ${PC_YAML_CPP_LIBRARY_DIRS} ) >X set(YAML_CPP_LIBRARIES ${YAML_CPP_LIBRARY}) >X set(YAML_CPP_INCLUDE_DIRS ${YAML_CPP_INCLUDE_DIR}) >X@@ -531,7 +531,7 @@ endif() >X configure_file(${CMAKE_SOURCE_DIR}/share/ocio/setup_ocio.sh.in >X ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh @ONLY) >X >X-INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/) >X+#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/) >X >X ############################################################################### >X ### CPACK ### >X@@ -597,7 +597,7 @@ if(TARGET OpenColorIO_STATIC) >X endif() >X endif() >X install(EXPORT OpenColorIO DESTINATION cmake) >X-file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" >X+file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOv1Config.cmake" >X " >X get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH) >X >X@@ -607,14 +607,14 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmak >X message(STATUS OpenColorIO_INCLUDE_DIRS=\${OpenColorIO_INCLUDE_DIRS}) >X >X ## targets libraries + associated definitions >X- if(NOT TARGET OpenColorIO) >X- include(\"\${OpenColorIO_DIR}/cmake/OpenColorIO.cmake\") ## thanks to imported target >X- if(TARGET OpenColorIO AND NOT OpenColorIO_USE_STATIC) >X+ if(NOT TARGET OpenColorIOv1) >X+ include(\"\${OpenColorIO_DIR}/cmake/OpenColorIOv1.cmake\") ## thanks to imported target >X+ if(TARGET OpenColorIOv1 AND NOT OpenColorIO_USE_STATIC) >X message(STATUS \"shared target OpenColorIO : see OpenColorIO_LIBRARY\") >X- set(OpenColorIO_LIBRARY OpenColorIO) >X+ set(OpenColorIO_LIBRARY OpenColorIOv1) >X set(OCIO_COMPILE_DEFINITIONS ${OCIO_SHARED_COMPILE_DEFINITIONS}) >X endif() >X- if(NOT TARGET OpenColorIO AND TARGET OpenColorIO_STATIC) >X+ if(NOT TARGET OpenColorIOv1 AND TARGET OpenColorIO_STATIC) >X message(STATUS \"static target OpenColorIO_STATIC : see OpenColorIO_LIBRARY\") >X set(OpenColorIO_LIBRARY OpenColorIO_STATIC) >X set(OCIO_COMPILE_DEFINITIONS ${OCIO_STATIC_COMPILE_DEFINITIONS}) >X@@ -646,4 +646,4 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmak >X message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND}) >X " >X ) >X-install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .) >X+install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOv1Config.cmake" DESTINATION .) >1389c7b8d35f59d74e1bdba2da22e1d8 >echo x - graphics/opencoloriov1/files/patch-src_core_CMakeLists.txt >sed 's/^X//' >graphics/opencoloriov1/files/patch-src_core_CMakeLists.txt << 'dcb8ea1e7d847546da59704e4c389295' >X--- src/core/CMakeLists.txt.orig 2021-12-07 20:11:03 UTC >X+++ src/core/CMakeLists.txt >X@@ -56,7 +56,7 @@ if(OCIO_BUILD_SHARED) >X endif() >X >X set_target_properties(OpenColorIO PROPERTIES >X- OUTPUT_NAME OpenColorIO >X+ OUTPUT_NAME OpenColorIOv1 >X COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS}" >X LINK_FLAGS "${EXTERNAL_LINK_FLAGS}") >X >X@@ -109,11 +109,11 @@ endmacro() >X >X # public interface >X install(FILES ${core_export_headers} >X- DESTINATION ${CMAKE_INSTALL_PREFIX}/include/OpenColorIO/) >X+ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/OpenColorIOv1/) >X >X # pkg-config >X-message(STATUS "Create OpenColorIO.pc from OpenColorIO.pc.in") >X+message(STATUS "Create OpenColorIOv1.pc from OpenColorIO.pc.in") >X configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in >X- ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY) >X-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc >X+ ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIOv1.pc @ONLY) >X+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIOv1.pc >X DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/) >dcb8ea1e7d847546da59704e4c389295 >echo x - graphics/opencoloriov1/files/patch-docs_CMakeLists.txt >sed 's/^X//' >graphics/opencoloriov1/files/patch-docs_CMakeLists.txt << 'e9f4e3bb254feca4bf66e8796d4f0885' >X--- docs/CMakeLists.txt.orig 2014-09-11 19:08:18 UTC >X+++ docs/CMakeLists.txt >X@@ -110,12 +115,11 @@ add_custom_target(doc ALL >X add_dependencies(doc Sphinx) >X >X install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/ >X- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html >X+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/opencoloriov1 >X PATTERN .* EXCLUDE >X ) >X >X-find_package(LATEX) >X-if(PDFLATEX_COMPILER) >X+if(0) >X >X add_custom_target(latex >X COMMAND PYTHONPATH=${PYTHONPATH} ${EXTDIST_BINPATH}/sphinx-build -b latex . ${CMAKE_CURRENT_BINARY_DIR}/build-latex >e9f4e3bb254feca4bf66e8796d4f0885 >echo x - graphics/opencoloriov1/files/patch-src_core_Config.cpp >sed 's/^X//' >graphics/opencoloriov1/files/patch-src_core_Config.cpp << '413c4687bb647c713f9a1c86c7b01b0f' >X--- src/core/Config.cpp.orig 2018-09-04 18:15:21 UTC >X+++ src/core/Config.cpp >X@@ -324,7 +324,7 @@ OCIO_NAMESPACE_ENTER >X sanitytext_ = rhs.sanitytext_; >X >X cacheids_ = rhs.cacheids_; >X- cacheidnocontext_ = cacheidnocontext_; >X+ cacheidnocontext_ = rhs.cacheidnocontext_; >X } >X return *this; >X } >413c4687bb647c713f9a1c86c7b01b0f >echo x - graphics/opencoloriov1/files/patch-export_pkgconfig_OpenColorIO.pc.in >sed 's/^X//' >graphics/opencoloriov1/files/patch-export_pkgconfig_OpenColorIO.pc.in << 'af23bbf0ac0778ad280e0ed46c13d515' >X--- export/pkgconfig/OpenColorIO.pc.in.orig 2021-12-06 23:53:07 UTC >X+++ export/pkgconfig/OpenColorIO.pc.in >X@@ -7,4 +7,4 @@ Name: OpenColorIO >X Description: A color management framework for visual effects and animation >X Version: @OCIO_VERSION@ >X Cflags: -I${includedir} >X-Libs: -L${libdir} -lOpenColorIO >X+Libs: -L${libdir} -lOpenColorIOv1 >af23bbf0ac0778ad280e0ed46c13d515 >echo x - graphics/opencoloriov1/files/patch-share_cmake_OCIOMacros.cmake >sed 's/^X//' >graphics/opencoloriov1/files/patch-share_cmake_OCIOMacros.cmake << '784c0e24a51d979d6369452af9cb44a1' >X--- share/cmake/OCIOMacros.cmake.orig 2019-03-28 05:12:57 UTC >X+++ share/cmake/OCIOMacros.cmake >X@@ -96,27 +96,6 @@ MACRO(OCIOFindOpenImageIO) >X set(OIIO_FOUND TRUE) >X message(STATUS "Found OIIO library ${OIIO_LIBRARIES}") >X message(STATUS "Found OIIO includes ${OIIO_INCLUDES}") >X- >X- # Unfortunately, OIIO hides a dependency to Ilmbase includes >X- >X- if(ILMBASE_PATH) >X- message(STATUS "Ilmbase path explicitly specified: ${ILMBASE_PATH}") >X- endif() >X- >X- FIND_PATH( ILMBASE_INCLUDES OpenEXR/half.h >X- ${ILMBASE_PATH}/include/ >X- /usr/include >X- /usr/local/include >X- /sw/include >X- /opt/local/include >X- DOC "The directory where OpenEXR/half.h resides") >X- >X- if(ILMBASE_INCLUDES) >X- message(STATUS "Found Ilmbase includes ${ILMBASE_INCLUDES}") >X- else() >X- set(OIIO_FOUND FALSE) >X- message(STATUS "Ilmbase not found. Specify ILMBASE_PATH to locate it") >X- endif() >X else() >X set(OIIO_FOUND FALSE) >X message(STATUS "OIIO not found. Specify OIIO_PATH to locate it") >X@@ -222,7 +201,7 @@ MACRO(OCIOFindPython) >X file(TO_CMAKE_PATH "${PYTHON_LIBRARY_DIRS_RAW}" PYTHON_LIBRARY_DIRS) >X >X FIND_LIBRARY(PYTHON_LIBRARY >X- NAMES "python${PYTHON_VERSION}" >X+ NAMES "${PYTHON_VERSION}${PYTHON_ABIVER}" >X PATHS ${PYTHON_LIBRARY_DIRS} >X NO_DEFAULT_PATH # Don't be "helpful" and randomly grab library from /usr/lib etc >X ) >784c0e24a51d979d6369452af9cb44a1 >echo x - graphics/opencoloriov1/distinfo >sed 's/^X//' >graphics/opencoloriov1/distinfo << '427a28c57d5c27daf9b4df4f07d1ff21' >XTIMESTAMP = 1627452433 >XSHA256 (AcademySoftwareFoundation-OpenColorIO-v1.1.1_GH0.tar.gz) = c9b5b9def907e1dafb29e37336b702fff22cc6306d445a13b1621b8a754c14c8 >XSIZE (AcademySoftwareFoundation-OpenColorIO-v1.1.1_GH0.tar.gz) = 13828483 >427a28c57d5c27daf9b4df4f07d1ff21 >echo x - graphics/opencoloriov1/pkg-plist >sed 's/^X//' >graphics/opencoloriov1/pkg-plist << '60016966d3763fd5992eb8fadc128f29' >Xinclude/OpenColorIOv1/OpenColorABI.h >Xinclude/OpenColorIOv1/OpenColorIO.h >Xinclude/OpenColorIOv1/OpenColorTransforms.h >Xinclude/OpenColorIOv1/OpenColorTypes.h >Xlib/libOpenColorIOv1.so >Xlib/libOpenColorIOv1.so.1 >Xlib/libOpenColorIOv1.so.%%LIBVERS%% >Xlibdata/pkgconfig/OpenColorIOv1.pc >Xlib/cmake/Modules/OpenColorIOv1Config.cmake >Xlib/cmake/Modules/OpenColorIOv1-release.cmake >Xlib/cmake/Modules/OpenColorIOv1.cmake >60016966d3763fd5992eb8fadc128f29 >echo x - graphics/opencoloriov1/Makefile >sed 's/^X//' >graphics/opencoloriov1/Makefile << '1534bb54b6914b757fca810a14ed706b' >XPORTNAME= opencolorio >XDISTVERSIONPREFIX= v >XDISTVERSION= 1.1.1 >XCATEGORIES= graphics multimedia >XPKGNAMESUFFIX= v1 >X >XMAINTAINER?= FreeBSD@Shaneware.biz >XCOMMENT?= Complete color management solution v1 >X >XLICENSE= BSD3CLAUSE >X >XLIB_DEPENDS= libtinyxml.so:textproc/tinyxml \ >X libyaml-cpp03.so:devel/yaml-cpp03 >X >XUSES= alias cmake compiler:c++11-lang localbase:ldflags pkgconfig \ >X python:build shebangfix >X >XUSE_GITHUB= yes >XGH_ACCOUNT= AcademySoftwareFoundation >XGH_PROJECT= OpenColorIO >X >XCMAKE_ON= USE_EXTERNAL_TINYXML USE_EXTERNAL_YAML OCIO_BUILD_SHARED >XCMAKE_OFF= OCIO_BUILD_APPS OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE \ >X OCIO_BUILD_PYGLUE OCIO_BUILD_STATIC OCIO_BUILD_DOCS >XCMAKE_ARGS+= -DPYTHON:FILEPATH=${PYTHON_CMD} >X >XCXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} >XCXXFLAGS_gcc= -Wno-unused-function -Wno-error >XCXXFLAGS_clang= -Wno-deprecated-register >XUSE_LDCONFIG= yes >X >XSHEBANG_FILES= share/sphinx/ExtractRstFromSourceCPP.py \ >X share/sphinx/ExtractRstFromSourceSimple.py \ >X src/pyglue/createPyDocH.py >X >XPLIST_SUB+= LIBVERS=${PORTVERSION} >X >X.if ${MACHINE_CPU:Msse2} >XCMAKE_ON+= OCIO_USE_SSE >X.else >XCMAKE_OFF+= OCIO_USE_SSE >X.endif >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's|yaml-cpp|&03|' ${WRKSRC}/src/core/OCIOYaml.cpp >X >Xpost-install: >X ${RM} -R ${STAGEDIR}/${PREFIX}/share/ocio >X # add v1 suffix >X ${REINPLACE_CMD} -e 's|<OpenColorIO/|<OpenColorIOv1/|g' \ >X ${STAGEDIR}/${PREFIX}/include/OpenColorIOv1/* >X ${FIND} ${STAGEDIR}${PREFIX}/include/OpenColorIOv1 -name '*.bak' -delete >X @(cd ${STAGEDIR}/${PREFIX} && ${MKDIR} lib/cmake/Modules && \ >X ${MV} OpenColorIOv1Config.cmake lib/cmake/Modules/ && \ >X ${MV} cmake/OpenColorIO-release.cmake lib/cmake/Modules/OpenColorIOv1-release.cmake && \ >X ${MV} cmake/OpenColorIO.cmake lib/cmake/Modules/OpenColorIOv1.cmake && \ >X ${RMDIR} cmake) >X >X.include <bsd.port.mk> >1534bb54b6914b757fca810a14ed706b >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 260309
: 230013