<pre style='margin:0'>
Leo Singer (lpsinger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f6e58b0bb2f928f4501c8af5ffb0e6523a51aa0f">https://github.com/macports/macports-ports/commit/f6e58b0bb2f928f4501c8af5ffb0e6523a51aa0f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f6e58b0 paraview: update to 5.4.1
</span>f6e58b0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f6e58b0bb2f928f4501c8af5ffb0e6523a51aa0f
</span>Author: Leo Singer <leo.singer@ligo.org>
AuthorDate: Tue Oct 3 10:22:51 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> paraview: update to 5.4.1
</span>---
science/paraview/Portfile | 14 ++---
science/paraview/files/ffmpeg3_compat.patch | 60 ----------------------
.../patch-VTK-Cmake-GenerateExportHeader.cmake | 17 ------
.../files/patch-VTK-Cmake-vtkCompilerExtras.cmake | 15 ------
4 files changed, 5 insertions(+), 101 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/paraview/Portfile b/science/paraview/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1862238..6a7523b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/paraview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/paraview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,8 +7,7 @@ PortGroup qt4 1.0
</span> PortGroup mpi 1.0
name paraview
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 5.0.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.4.1
</span>
categories science graphics
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,18 +29,15 @@ long_description An open-source, multi-platform data \
</span> homepage http://www.paraview.org/
master_sites ${homepage}/files/v${branch}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ParaView-v${version}-source
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ParaView-v${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums sha256 caddec83ec284162a2cbc46877b0e5a9d2cca59fb4ab0ea35b0948d2492950bb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 769780717d7a2a6be69c8345fcd589349aa7209e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha256 390d0f5dc66bf432e202a39b1f34193af4bf8aad2355338fa5e2778ea07a80e4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 3c37c50a0af0e49f9ac961d5a64783b8d0a529a1
</span>
#:info:build ld: file not found: @rpath/libIceTMPI.dylib for architecture x86_64
# https://github.com/OpenFOAM/ThirdParty-dev/
# http://www.paraview.org/Bug/view.php?id=16001
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-ThirdParty-IceT-vtkicet-CMakeLists.txt.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-VTK-Cmake-GenerateExportHeader.cmake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-VTK-Cmake-vtkCompilerExtras.cmake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ffmpeg3_compat.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-ThirdParty-IceT-vtkicet-CMakeLists.txt.diff
</span>
depends_build-append port:readline \
port:netcdf \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/paraview/files/ffmpeg3_compat.patch b/science/paraview/files/ffmpeg3_compat.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 05110ce..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/paraview/files/ffmpeg3_compat.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,60 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -191,11 +191,11 @@ int vtkFFMPEGWriterInternal::Start()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c->height = this->Dim[1];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (this->Writer->GetCompression())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- c->pix_fmt = PIX_FMT_YUVJ422P;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ c->pix_fmt = AV_PIX_FMT_YUVJ422P;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- c->pix_fmt = PIX_FMT_BGR24;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ c->pix_fmt = AV_PIX_FMT_BGR24;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //to do playback at actual recorded rate, this will need more work see also below
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -274,13 +274,13 @@ int vtkFFMPEGWriterInternal::Start()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //for the output of the writer's input...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- this->rgbInput = avcodec_alloc_frame();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ this->rgbInput = av_frame_alloc();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!this->rgbInput)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vtkGenericWarningMacro (<< "Could not make rgbInput avframe." );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- int RGBsize = avpicture_get_size(PIX_FMT_RGB24, c->width, c->height);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ int RGBsize = avpicture_get_size(AV_PIX_FMT_RGB24, c->width, c->height);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- unsigned char *rgb = (unsigned char *)av_malloc(sizeof(unsigned char) * RGBsize);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!rgb)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -288,10 +288,10 @@ int vtkFFMPEGWriterInternal::Start()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //The rgb buffer should get deleted when this->rgbInput is.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- avpicture_fill((AVPicture *)this->rgbInput, rgb, PIX_FMT_RGB24, c->width, c->height);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ avpicture_fill((AVPicture *)this->rgbInput, rgb, AV_PIX_FMT_RGB24, c->width, c->height);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //and for the output to the codec's input.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- this->yuvOutput = avcodec_alloc_frame();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ this->yuvOutput = av_frame_alloc();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!this->yuvOutput)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vtkGenericWarningMacro (<< "Could not make yuvOutput avframe." );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -349,12 +349,12 @@ int vtkFFMPEGWriterInternal::Write(vtkImageData *id)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //convert that to YUV for input to the codec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifdef VTK_FFMPEG_HAS_IMG_CONVERT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- img_convert((AVPicture *)this->yuvOutput, cc->pix_fmt,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- (AVPicture *)this->rgbInput, PIX_FMT_RGB24,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (AVPicture *)this->rgbInput, AV_PIX_FMT_RGB24,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cc->width, cc->height);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //convert that to YUV for input to the codec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SwsContext* convert_ctx = sws_getContext(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- cc->width, cc->height, PIX_FMT_RGB24,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cc->width, cc->height, AV_PIX_FMT_RGB24,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cc->width, cc->height, cc->pix_fmt,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SWS_BICUBIC, NULL, NULL, NULL);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/paraview/files/patch-VTK-Cmake-GenerateExportHeader.cmake b/science/paraview/files/patch-VTK-Cmake-GenerateExportHeader.cmake
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a9241e9..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/paraview/files/patch-VTK-Cmake-GenerateExportHeader.cmake
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- VTK/CMake/GenerateExportHeader.cmake.orig 2016-06-01 13:33:49.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ VTK/CMake/GenerateExportHeader.cmake 2016-06-01 13:34:26.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -166,12 +166,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- execute_process(COMMAND ${CMAKE_C_COMPILER} ARGS --version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OUTPUT_VARIABLE _gcc_version_info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERROR_VARIABLE _gcc_version_info)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- string(REGEX MATCH "[345]\\.[0-9]\\.[0-9]*"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ string(REGEX MATCH "[3-7]\\.[0-9]\\.[0-9]*"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _gcc_version "${_gcc_version_info}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # patch level, handle this here:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(NOT _gcc_version)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- string(REGEX REPLACE ".*\\(GCC\\).*([34]\\.[0-9]).*" "\\1.0"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ string(REGEX REPLACE ".*\\(GCC\\).*([3-7]\\.[0-9]).*" "\\1.0"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _gcc_version "${_gcc_version_info}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/paraview/files/patch-VTK-Cmake-vtkCompilerExtras.cmake b/science/paraview/files/patch-VTK-Cmake-vtkCompilerExtras.cmake
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 1a0887d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/paraview/files/patch-VTK-Cmake-vtkCompilerExtras.cmake
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- VTK/CMake/vtkCompilerExtras.cmake.orig 2016-06-01 13:32:16.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ VTK/CMake/vtkCompilerExtras.cmake 2016-06-01 13:35:31.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -32,10 +32,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OUTPUT_VARIABLE _gcc_version_info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERROR_VARIABLE _gcc_version_info)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]*"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ string (REGEX MATCH "[3-7]\\.[0-9]\\.[0-9]*"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _gcc_version "${_gcc_version_info}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(NOT _gcc_version)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- string (REGEX REPLACE ".*\\(GCC\\).*([34]\\.[0-9]).*" "\\1.0"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ string (REGEX REPLACE ".*\\(GCC\\).*([3-7]\\.[0-9]).*" "\\1.0"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _gcc_version "${_gcc_version_info}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>