FreeBSD Bugzilla – Attachment 251556 Details for
Bug 279846
Update graphics/openshadinglanguage to v1.13.10.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
maintainer update for graphics/openshadinglanguage
openshadinglanguage.patch (text/plain), 6.24 KB, created by
Shane
on 2024-06-19 01:07:59 UTC
(
hide
)
Description:
maintainer update for graphics/openshadinglanguage
Filename:
MIME Type:
Creator:
Shane
Created:
2024-06-19 01:07:59 UTC
Size:
6.24 KB
patch
obsolete
>diff -Nru graphics/openshadinglanguage.orig/Makefile graphics/openshadinglanguage/Makefile >--- graphics/openshadinglanguage.orig/Makefile 2024-06-15 18:50:03.810855000 +0930 >+++ graphics/openshadinglanguage/Makefile 2024-06-15 18:39:40.843626000 +0930 >@@ -1,11 +1,11 @@ > PORTNAME= openshadinglanguage > DISTVERSIONPREFIX= v >-DISTVERSION= 1.12.14.0 >+DISTVERSION= 1.13.10.0 > # PORTREVISION must be set with ?= so as not to stomp over > # py-openimageio's PORTREVISION. > # Also, just to be on the safe side, when resetting, > # best keep PORTREVISION?= 0. >-PORTREVISION?= 1 >+PORTREVISION?= 0 > CATEGORIES?= graphics devel > > MAINTAINER= FreeBSD@Shaneware.biz >@@ -17,6 +17,9 @@ > > BROKEN_riscv64= fails to build: /usr/include/c++/v1/__threading_support:135:3: Unsupported architecture > >+ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le >+ONLY_FOR_ARCHS_REASON= fails static_assert(sizeof(ustringhash) == sizeof(size_t) >+ > LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ > libImath.so:math/Imath \ > libOpenEXR.so:graphics/openexr \ >@@ -51,6 +54,7 @@ > post-patch: > @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ > -e 's,%%PYCMD%%,${PYTHON_CMD},' \ >+ ${WRKSRC}/CMakeLists.txt \ > ${WRKSRC}/src/shaders/CMakeLists.txt \ > ${WRKSRC}/src/doc/CMakeLists.txt \ > ${WRKSRC}/src/liboslexec/CMakeLists.txt >@@ -69,10 +73,14 @@ > ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} > ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/oslquery.so ${STAGEDIR}${PYTHON_SITELIBDIR} > .else # SLAVE_PORT != yes >-USES+= python:build >+# using python:env as this port doesn't need to use python >+# a python util script is installed for user consumption >+# it is not required for using the port, only to assist developers using the libs >+USES+= python:env shebangfix > USE_LDCONFIG= yes > CMAKE_OFF+= USE_PYTHON > BINARY_ALIAS+= python=${PYTHON_CMD} >+SHEBANG_FILES= src/build-scripts/serialize-bc.py > .endif # SLAVE_PORT > > .include <bsd.port.mk> >diff -Nru graphics/openshadinglanguage.orig/distinfo graphics/openshadinglanguage/distinfo >--- graphics/openshadinglanguage.orig/distinfo 2024-06-15 18:50:03.810581000 +0930 >+++ graphics/openshadinglanguage/distinfo 2024-06-10 20:13:45.768245000 +0930 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1690299022 >-SHA256 (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.14.0_GH0.tar.gz) = 6562a3fa10b80b8d328951004258ab6d12a6a23c23143f46a86d2f48f55354d3 >-SIZE (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.14.0_GH0.tar.gz) = 20555853 >+TIMESTAMP = 1717481007 >+SHA256 (AcademySoftwareFoundation-OpenShadingLanguage-v1.13.10.0_GH0.tar.gz) = 302f573d21c700d859fb36497d377656cb51213309d95bebda941bb0993a7f42 >+SIZE (AcademySoftwareFoundation-OpenShadingLanguage-v1.13.10.0_GH0.tar.gz) = 21776721 >diff -Nru graphics/openshadinglanguage.orig/files/patch-CMakeLists.txt graphics/openshadinglanguage/files/patch-CMakeLists.txt >--- graphics/openshadinglanguage.orig/files/patch-CMakeLists.txt 1970-01-01 09:30:00.000000000 +0930 >+++ graphics/openshadinglanguage/files/patch-CMakeLists.txt 2024-06-10 20:13:45.768390000 +0930 >@@ -0,0 +1,18 @@ >+--- CMakeLists.txt.orig 2024-02-20 23:53:17 UTC >++++ CMakeLists.txt >+@@ -294,13 +294,13 @@ configure_package_config_file ("${PROJECT_SOURCE_DIR}/ >+ install (FILES "${OSL_PROJECT_CONFIG}" "${OSL_VERSION_CONFIG}" >+ DESTINATION "${OSL_CONFIG_INSTALL_DIR}") >+ >+-install (FILES src/cmake/llvm_macros.cmake DESTINATION cmake) >++install (FILES src/cmake/llvm_macros.cmake DESTINATION ${OSL_CONFIG_INSTALL_DIR}) >+ >+ set (PERMISSION_FLAGS OWNER_EXECUTE OWNER_READ OWNER_WRITE >+ GROUP_EXECUTE GROUP_READ >+ WORLD_EXECUTE WORLD_READ) >+ install (FILES src/build-scripts/serialize-bc.py >+- DESTINATION build-scripts >++ DESTINATION %%DATADIR%%/build-scripts >+ PERMISSIONS ${PERMISSION_FLAGS}) >+ >+ # install targets files >diff -Nru graphics/openshadinglanguage.orig/files/patch-src_liboslexec_CMakeLists.txt graphics/openshadinglanguage/files/patch-src_liboslexec_CMakeLists.txt >--- graphics/openshadinglanguage.orig/files/patch-src_liboslexec_CMakeLists.txt 2024-06-15 18:50:03.753198000 +0930 >+++ graphics/openshadinglanguage/files/patch-src_liboslexec_CMakeLists.txt 1970-01-01 09:30:00.000000000 +0930 >@@ -1,11 +0,0 @@ >---- src/liboslexec/CMakeLists.txt.orig 2022-09-30 23:43:53 UTC >-+++ src/liboslexec/CMakeLists.txt >-@@ -211,7 +211,7 @@ macro ( CUDA_SHADEOPS_COMPILE srclist ) >- >- # Serialize the linked bitcode into a CPP file and add it to the list of liboslexec sources >- add_custom_command ( OUTPUT ${shadeops_bc_cuda_cpp} >-- COMMAND ${Python_EXECUTABLE} "${CMAKE_SOURCE_DIR}/src/build-scripts/serialize-bc.py" >-+ COMMAND %%PY_CMD%% "${CMAKE_SOURCE_DIR}/src/build-scripts/serialize-bc.py" >- ${linked_shadeops_bc} ${shadeops_bc_cuda_cpp} "osl_llvm_compiled_ops_cuda" >- DEPENDS "${CMAKE_SOURCE_DIR}/src/build-scripts/serialize-bc.py" ${linked_shadeops_bc} >- ${exec_headers} ${PROJECT_PUBLIC_HEADERS} >diff -Nru graphics/openshadinglanguage.orig/pkg-plist graphics/openshadinglanguage/pkg-plist >--- graphics/openshadinglanguage.orig/pkg-plist 2024-06-15 18:50:03.781004000 +0930 >+++ graphics/openshadinglanguage/pkg-plist 2024-06-10 20:13:45.768498000 +0930 >@@ -8,10 +8,13 @@ > include/OSL/batched_rendererservices.h > include/OSL/batched_shaderglobals.h > include/OSL/batched_texture.h >+include/OSL/device_ptr.h > include/OSL/device_string.h > include/OSL/dual_vec.h > include/OSL/dual.h >+include/OSL/encodedtypes.h > include/OSL/export.h >+include/OSL/fmt_util.h > include/OSL/genclosure.h > include/OSL/Imathx/ImathColor.h > include/OSL/Imathx/ImathFun.h >@@ -19,6 +22,7 @@ > include/OSL/Imathx/ImathMatrix.h > include/OSL/Imathx/ImathVec.h > include/OSL/Imathx/Imathx.h >+include/OSL/journal.h > include/OSL/llvm_util.h > include/OSL/mask.h > include/OSL/matrix22.h >@@ -37,8 +41,10 @@ > include/OSL/sfmath.h > include/OSL/shaderglobals.h > include/OSL/strdecls.h >+include/OSL/variant.h > include/OSL/wide.h > include/OSL/sfm_staticmatrix.h >+lib/cmake/OSL/llvm_macros.cmake > lib/cmake/OSL/OSLConfig.cmake > lib/cmake/OSL/OSLConfigVersion.cmake > lib/cmake/OSL/OSLTargets-%%CMAKE_BUILD_TYPE%%.cmake >@@ -62,6 +68,7 @@ > libdata/pkgconfig/oslcomp.pc > libdata/pkgconfig/oslexec.pc > libdata/pkgconfig/oslquery.pc >+%%DATADIR%%/build-scripts/serialize-bc.py > %%DATADIR%%/shaders/color2.h > %%DATADIR%%/shaders/color4.h > %%DATADIR%%/shaders/emitter.osl
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 Diff
View Attachment As Raw
Flags:
FreeBSD
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 279846
: 251556 |
251721
|
251722
|
251726