pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/blender-lts blender-lts: fix for openexr3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e48ba07a7ab8
branches:  trunk
changeset: 455879:e48ba07a7ab8
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jul 13 13:05:08 2021 +0000

description:
blender-lts: fix for openexr3

diffstat:

 graphics/blender-lts/Makefile                                                           |   4 +-
 graphics/blender-lts/distinfo                                                           |   4 +-
 graphics/blender-lts/patches/patch-build__files_cmake_Modules_FindOpenEXR.cmake         |  29 ++++++++++
 graphics/blender-lts/patches/patch-source_blender_imbuf_intern_openexr_openexr__api.cpp |  17 +++++
 4 files changed, 51 insertions(+), 3 deletions(-)

diffs (87 lines):

diff -r 4fb0eb3ccb9b -r e48ba07a7ab8 graphics/blender-lts/Makefile
--- a/graphics/blender-lts/Makefile     Tue Jul 13 12:43:58 2021 +0000
+++ b/graphics/blender-lts/Makefile     Tue Jul 13 13:05:08 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2021/04/21 13:24:46 adam Exp $
+# $NetBSD: Makefile,v 1.8 2021/07/13 13:05:08 markd Exp $
 
 DISTNAME=      blender-2.83.5
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    graphics
 MASTER_SITES=  https://download.blender.org/source/
 EXTRACT_SUFX=  .tar.xz
diff -r 4fb0eb3ccb9b -r e48ba07a7ab8 graphics/blender-lts/distinfo
--- a/graphics/blender-lts/distinfo     Tue Jul 13 12:43:58 2021 +0000
+++ b/graphics/blender-lts/distinfo     Tue Jul 13 13:05:08 2021 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.1 2020/09/05 11:46:40 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2021/07/13 13:05:08 markd Exp $
 
 SHA1 (blender-2.83.5.tar.xz) = c3ccf14288f038999e3bdb96be4e2f373c98d6f5
 RMD160 (blender-2.83.5.tar.xz) = 52957a68afd8e8c019fc0c1499ec2cb26bfd0b79
 SHA512 (blender-2.83.5.tar.xz) = 6179b4c285d40f59b7701cafe8d2cca5d764ef15b5c390c42cfb7cf8a41704b09a4e62fcf644d76bd2b7f47bcfc96395f0afa4a1d748c4c2ba8dfdee7356df9f
 Size (blender-2.83.5.tar.xz) = 38551588 bytes
+SHA1 (patch-build__files_cmake_Modules_FindOpenEXR.cmake) = b663c44b2ba1c641542318936526a0523b607f30
 SHA1 (patch-extern_Eigen3_Eigen_src_Core_IO.h) = 791224b988da0383c306e76de5e93cb1cedc960e
 SHA1 (patch-extern_Eigen3_Eigen_src_Core_arch_CUDA_Half.h) = ee35286558e5590495f1c973ae99ede32048ac38
 SHA1 (patch-extern_glog_src_base_mutex.h) = 5fceceefe83400967a59080eeb930d0f3a4b8e88
@@ -12,3 +13,4 @@
 SHA1 (patch-extern_wcwidth_wcwidth.h) = c6ebe1ec27cd9096621b26bd6b83560ea2c1770a
 SHA1 (patch-intern_guardedalloc_intern_mallocn__intern.h) = 81fb0fd1b34d550168a4bdf63f28b4e199717921
 SHA1 (patch-source_blender_blenlib_BLI__sys__types.h) = 05d9dee88356021af4c7da28953ade18c012a702
+SHA1 (patch-source_blender_imbuf_intern_openexr_openexr__api.cpp) = 936590a84bc5c2a25567b89fbb8f03467e41d198
diff -r 4fb0eb3ccb9b -r e48ba07a7ab8 graphics/blender-lts/patches/patch-build__files_cmake_Modules_FindOpenEXR.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/blender-lts/patches/patch-build__files_cmake_Modules_FindOpenEXR.cmake   Tue Jul 13 13:05:08 2021 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-build__files_cmake_Modules_FindOpenEXR.cmake,v 1.1 2021/07/13 13:05:08 markd Exp $
+
+openexr3 patch
+
+--- build_files/cmake/Modules/FindOpenEXR.cmake.orig   2020-08-31 11:59:44.000000000 +0000
++++ build_files/cmake/Modules/FindOpenEXR.cmake
+@@ -34,11 +34,10 @@ ENDIF()
+ SET(_openexr_libs_ver_init "2.0")
+ 
+ SET(_openexr_FIND_COMPONENTS
+-  Half
+   Iex
+-  IlmImf
+-  IlmThread
+   Imath
++  OpenEXR
++  IlmThread
+ )
+ 
+ SET(_openexr_SEARCH_DIRS
+@@ -120,7 +119,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenEX
+ IF(OPENEXR_FOUND)
+   SET(OPENEXR_LIBRARIES ${_openexr_LIBRARIES})
+   # Both include paths are needed because of dummy OSL headers mixing #include <OpenEXR/foo.h> and #include <foo.h> :(
+-  SET(OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR} ${OPENEXR_INCLUDE_DIR}/OpenEXR)
++  SET(OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR} ${OPENEXR_INCLUDE_DIR}/OpenEXR ${OPENEXR_INCLUDE_DIR}/Imath)
+ ENDIF()
+ 
+ MARK_AS_ADVANCED(
diff -r 4fb0eb3ccb9b -r e48ba07a7ab8 graphics/blender-lts/patches/patch-source_blender_imbuf_intern_openexr_openexr__api.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/blender-lts/patches/patch-source_blender_imbuf_intern_openexr_openexr__api.cpp   Tue Jul 13 13:05:08 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-source_blender_imbuf_intern_openexr_openexr__api.cpp,v 1.1 2021/07/13 13:05:08 markd Exp $
+
+openexr3 patch
+
+--- source/blender/imbuf/intern/openexr/openexr_api.cpp.orig   2020-08-31 12:03:18.000000000 +0000
++++ source/blender/imbuf/intern/openexr/openexr_api.cpp
+@@ -38,8 +38,10 @@
+ #include <ImfChannelList.h>
+ #include <ImfCompression.h>
+ #include <ImfCompressionAttribute.h>
++#include <ImfFrameBuffer.h>
+ #include <ImfIO.h>
+ #include <ImfInputFile.h>
++#include <ImfInt64.h>
+ #include <ImfOutputFile.h>
+ #include <ImfPixelType.h>
+ #include <ImfStandardAttributes.h>



Home | Main Index | Thread Index | Old Index