diff options
author | 2017-01-02 22:03:12 +0000 | |
---|---|---|
committer | 2017-01-02 22:09:09 +0000 | |
commit | 0b1c35fffdebd4b19b46149b00c83b616c7639bf (patch) | |
tree | 828f87df84cbd1c82aa28259b200ed73ad152792 /sci-libs/vtk/files | |
parent | sci-mathematics/xmds: Drop old (diff) | |
download | gentoo-0b1c35fffdebd4b19b46149b00c83b616c7639bf.tar.gz gentoo-0b1c35fffdebd4b19b46149b00c83b616c7639bf.tar.bz2 gentoo-0b1c35fffdebd4b19b46149b00c83b616c7639bf.zip |
sci-libs/vtk: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs/vtk/files')
24 files changed, 0 insertions, 1058 deletions
diff --git a/sci-libs/vtk/files/vtk-5.10.1-ffmpeg-1.patch b/sci-libs/vtk/files/vtk-5.10.1-ffmpeg-1.patch deleted file mode 100644 index 2cefb12591a5..000000000000 --- a/sci-libs/vtk/files/vtk-5.10.1-ffmpeg-1.patch +++ /dev/null @@ -1,49 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=450464 - -Index: VTK5.10.1/IO/vtkFFMPEGWriter.cxx -=================================================================== ---- VTK5.10.1.orig/IO/vtkFFMPEGWriter.cxx -+++ VTK5.10.1/IO/vtkFFMPEGWriter.cxx -@@ -192,13 +192,6 @@ int vtkFFMPEGWriterInternal::Start() - c->bit_rate_tolerance = this->Writer->GetBitRateTolerance(); - } - -- //apply the chosen parameters -- if (av_set_parameters(this->avFormatContext, NULL) < 0) -- { -- vtkGenericWarningMacro (<< "Invalid output format parameters." ); -- return 0; -- } -- - //manufacture a codec with the chosen parameters - AVCodec *codec = avcodec_find_encoder(c->codec_id); - if (!codec) -@@ -259,14 +252,17 @@ int vtkFFMPEGWriterInternal::Start() - - - //Finally, open the file and start it off. -- if (url_fopen(&this->avFormatContext->pb, this->avFormatContext->filename, URL_WRONLY) < 0) -+ if (avio_open(&this->avFormatContext->pb, this->avFormatContext->filename, AVIO_FLAG_WRITE) < 0) - { - vtkGenericWarningMacro (<< "Could not open " << this->Writer->GetFileName() << "." ); - return 0; - } - this->openedFile = 1; - -- av_write_header(this->avFormatContext); -+ if(avformat_write_header(this->avFormatContext, NULL) < 0) { -+ vtkGenericWarningMacro (<< "Failed to write header." ); -+ return 0; -+ } - return 1; - } - -@@ -391,7 +387,7 @@ void vtkFFMPEGWriterInternal::End() - #ifdef VTK_FFMPEG_OLD_URL_FCLOSE - url_fclose(&this->avFormatContext->pb); - #else -- url_fclose(this->avFormatContext->pb); -+ avio_close(this->avFormatContext->pb); - #endif - this->openedFile = 0; - } diff --git a/sci-libs/vtk/files/vtk-5.10.1-libav-9.patch b/sci-libs/vtk/files/vtk-5.10.1-libav-9.patch deleted file mode 100644 index eb7b71c5ec9e..000000000000 --- a/sci-libs/vtk/files/vtk-5.10.1-libav-9.patch +++ /dev/null @@ -1,117 +0,0 @@ -diff -burN VTK5.10.1.old/IO/vtkFFMPEGWriter.cxx VTK5.10.1/IO/vtkFFMPEGWriter.cxx ---- VTK5.10.1.old/IO/vtkFFMPEGWriter.cxx 2013-05-25 01:26:52.768954436 +0200 -+++ VTK5.10.1/IO/vtkFFMPEGWriter.cxx 2013-05-25 11:13:53.112672449 +0200 -@@ -60,9 +60,6 @@ - - AVStream *avStream; - -- unsigned char *codecBuf; -- int codecBufSize; -- - AVFrame *rgbInput; - AVFrame *yuvOutput; - -@@ -83,7 +80,6 @@ - - this->avStream = NULL; - -- this->codecBuf = NULL; - this->rgbInput = NULL; - this->yuvOutput = NULL; - -@@ -140,7 +136,7 @@ - strcpy(this->avFormatContext->filename, this->Writer->GetFileName()); - - //create a stream for that file -- this->avStream = av_new_stream(this->avFormatContext, 0); -+ this->avStream = avformat_new_stream(this->avFormatContext, NULL); - if (!this->avStream) - { - vtkGenericWarningMacro (<< "Could not create video stream."); -@@ -199,7 +195,7 @@ - vtkGenericWarningMacro (<< "Codec not found." ); - return 0; - } -- if (avcodec_open(c, codec) < 0) -+ if (avcodec_open2(c, codec, NULL) < 0) - { - vtkGenericWarningMacro (<< "Could not open codec."); - return 0; -@@ -207,15 +203,6 @@ - - //create buffers for the codec to work with. - -- //working compression space -- this->codecBufSize = 2*c->width*c->height*4; //hopefully this is enough -- this->codecBuf = new unsigned char[this->codecBufSize]; -- if (!this->codecBuf) -- { -- vtkGenericWarningMacro (<< "Could not make codec working space." ); -- return 0; -- } -- - //for the output of the writer's input... - this->rgbInput = avcodec_alloc_frame(); - if (!this->rgbInput) -@@ -316,38 +303,24 @@ - return 0; - } - #endif -- -+ AVPacket pkt = { 0 }; -+ int got_frame; - - //run the encoder -- int toAdd = avcodec_encode_video(cc, -- this->codecBuf, -- this->codecBufSize, -- this->yuvOutput); -+ int ret = avcodec_encode_video2(cc, -+ &pkt, -+ this->yuvOutput, -+ &got_frame); - - //dump the compressed result to file -- if (toAdd) -+ if (got_frame) - { -- //create an avpacket to output the compressed result -- AVPacket pkt; -- av_init_packet(&pkt); -- -- //to do playback at actual recorded rate, this will need more work -- pkt.pts = cc->coded_frame->pts; -- //pkt.dts = ?; not dure what decompression time stamp should be -- pkt.data = this->codecBuf; -- pkt.size = toAdd; - pkt.stream_index = this->avStream->index; -- if (cc->coded_frame->key_frame) //treat keyframes well -- { -- pkt.flags |= AV_PKT_FLAG_KEY; -- } -- pkt.duration = 0; //presentation duration in time_base units or 0 if NA -- pkt.pos = -1; //byte position in stream or -1 if NA - -- toAdd = av_write_frame(this->avFormatContext, &pkt); -+ ret = av_write_frame(this->avFormatContext, &pkt); - } - -- if (toAdd) //should not have anything left over -+ if (ret < 0) //should not have anything left over - { - vtkGenericWarningMacro (<< "Problem encoding frame." ); - return 0; -@@ -373,12 +346,6 @@ - this->rgbInput = NULL; - } - -- if (this->codecBuf) -- { -- av_free(this->codecBuf); -- this->codecBuf = NULL; -- } -- - if (this->avFormatContext) - { - if (this->openedFile) -Binary files VTK5.10.1.old/IO/.vtkFFMPEGWriter.cxx.swp and VTK5.10.1/IO/.vtkFFMPEGWriter.cxx.swp differ diff --git a/sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch b/sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch deleted file mode 100644 index ed7ec08c2ea7..000000000000 --- a/sci-libs/vtk/files/vtk-5.10.1-tcl8.6.patch +++ /dev/null @@ -1,57 +0,0 @@ - Common/vtkTclUtil.cxx | 19 ++++++++++++++----- - 1 file changed, 14 insertions(+), 5 deletions(-) - -diff --git a/Common/vtkTclUtil.cxx b/Common/vtkTclUtil.cxx -index 390b0a4..2b7bccb 100644 ---- a/Common/vtkTclUtil.cxx -+++ b/Common/vtkTclUtil.cxx -@@ -21,6 +21,12 @@ - #include <string> - #include <vtksys/SystemTools.hxx> - -+#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6) -+#define vtkTclGetErrorLine(m) (m->errorLine) -+#else -+#define vtkTclGetErrorLine(m) (Tcl_GetErrorLine(m)) -+#endif -+ - extern "C" - { - #if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4) -@@ -490,13 +496,15 @@ VTKTCL_EXPORT void vtkTclVoidFunc(void *arg) - vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" << - arg2->command << endl << - Tcl_GetVar(arg2->interp,(char *)("errorInfo"),0) << -- " at line number " << arg2->interp->errorLine); -+ " at line number " << -+ vtkTclGetErrorLine(arg2->interp)); - } - else - { - vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" << - arg2->command << endl << -- " at line number " << arg2->interp->errorLine); -+ " at line number " << -+ vtkTclGetErrorLine(arg2->interp)); - } - } - } -@@ -723,14 +731,15 @@ void vtkTclCommand::Execute(vtkObject *, unsigned long, void *) - vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" << - this->StringCommand << endl << - Tcl_GetVar(this->Interp,(char *)("errorInfo"),0) << -- " at line number " << this->Interp->errorLine); -+ " at line number " << -+ vtkTclGetErrorLine(this->Interp)); - } - else - { - vtkGenericWarningMacro("Error returned from vtk/tcl callback:\n" << - this->StringCommand << endl << -- " at line number " << -- this->Interp->errorLine); -+ " at line number " << -+ vtkTclGetErrorLine(this->Interp)); - } - } - else if (res == -1) diff --git a/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch b/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch deleted file mode 100644 index c7da78678825..000000000000 --- a/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur VTK/CMakeLists.txt VTK.new/CMakeLists.txt ---- VTK/CMakeLists.txt 2008-05-13 17:50:09.000000000 -0400 -+++ VTK.new/CMakeLists.txt 2008-10-05 10:34:42.000000000 -0400 -@@ -182,7 +182,7 @@ - # Compute the proper location for installing the Tcl package. This - # must be a fixed relative path below the library install location and - # is therefore not settable by parent projects. --SET(VTK_INSTALL_TCL_DIR ${VTK_INSTALL_LIB_DIR}) -+SET(VTK_INSTALL_TCL_DIR ${VTK_INSTALL_PACKAGE_DIR}) - - IF(NOT VTK_INSTALL_JAVA_DIR) - SET(VTK_INSTALL_JAVA_DIR ${VTK_INSTALL_PACKAGE_DIR}/java) diff --git a/sci-libs/vtk/files/vtk-5.4.2-boost-property_map.patch b/sci-libs/vtk/files/vtk-5.4.2-boost-property_map.patch deleted file mode 100644 index 90c6d6a1fed3..000000000000 --- a/sci-libs/vtk/files/vtk-5.4.2-boost-property_map.patch +++ /dev/null @@ -1,194 +0,0 @@ -diff --git a/Infovis/Testing/Cxx/TestBoostAdapter.cxx b/Infovis/Testing/Cxx/TestBoostAdapter.cxx -index 6af2855..484a9e0 100644 ---- a/Infovis/Testing/Cxx/TestBoostAdapter.cxx -+++ b/Infovis/Testing/Cxx/TestBoostAdapter.cxx -@@ -36,8 +36,8 @@ - #include <boost/graph/strong_components.hpp> - #include <boost/graph/dijkstra_shortest_paths.hpp> - #include <boost/graph/transitive_closure.hpp> --#include <boost/property_map.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - - #include "vtkGraph.h" - #include "vtkBoostGraphAdapter.h" -diff --git a/Infovis/vtkBoostBiconnectedComponents.cxx b/Infovis/vtkBoostBiconnectedComponents.cxx -index 6799dd0..dd759d5 100644 ---- a/Infovis/vtkBoostBiconnectedComponents.cxx -+++ b/Infovis/vtkBoostBiconnectedComponents.cxx -@@ -32,7 +32,7 @@ - #include "vtkGraph.h" - #include "vtkBoostGraphAdapter.h" - #include <boost/graph/biconnected_components.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/version.hpp> - #include <vtksys/stl/vector> - #include <vtksys/stl/utility> -diff --git a/Infovis/vtkBoostBrandesCentrality.cxx b/Infovis/vtkBoostBrandesCentrality.cxx -index e214a72..443c039 100644 ---- a/Infovis/vtkBoostBrandesCentrality.cxx -+++ b/Infovis/vtkBoostBrandesCentrality.cxx -@@ -36,7 +36,7 @@ - - #include <boost/graph/adjacency_list.hpp> - #include <boost/graph/betweenness_centrality.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - - using namespace boost; - -diff --git a/Infovis/vtkBoostBreadthFirstSearch.cxx b/Infovis/vtkBoostBreadthFirstSearch.cxx -index 7fab585..6e56a7c 100644 ---- a/Infovis/vtkBoostBreadthFirstSearch.cxx -+++ b/Infovis/vtkBoostBreadthFirstSearch.cxx -@@ -46,8 +46,8 @@ - - #include <boost/graph/visitors.hpp> - #include <boost/graph/breadth_first_search.hpp> --#include <boost/property_map.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - #include <vtksys/stl/utility> // for pair -diff --git a/Infovis/vtkBoostBreadthFirstSearchTree.cxx b/Infovis/vtkBoostBreadthFirstSearchTree.cxx -index 5c64516..64ee7b5 100644 ---- a/Infovis/vtkBoostBreadthFirstSearchTree.cxx -+++ b/Infovis/vtkBoostBreadthFirstSearchTree.cxx -@@ -39,7 +39,7 @@ - #include "vtkTree.h" - - #include <boost/graph/breadth_first_search.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - using namespace boost; -diff --git a/Infovis/vtkBoostConnectedComponents.cxx b/Infovis/vtkBoostConnectedComponents.cxx -index 69e9d8f..c88f4ab 100644 ---- a/Infovis/vtkBoostConnectedComponents.cxx -+++ b/Infovis/vtkBoostConnectedComponents.cxx -@@ -33,7 +33,7 @@ - - #include "vtkBoostGraphAdapter.h" - #include <boost/graph/strong_components.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - - using namespace boost; - -diff --git a/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx b/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx -index b0c89de..7ea3aa9 100644 ---- a/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx -+++ b/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx -@@ -40,7 +40,7 @@ PURPOSE. See the above copyright notice for more information. - #include "vtkTree.h" - - #include <boost/graph/kruskal_min_spanning_tree.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - using namespace boost; -diff --git a/Infovis/vtkBoostPrimMinimumSpanningTree.cxx b/Infovis/vtkBoostPrimMinimumSpanningTree.cxx -index 935d0f7..48716fd 100644 ---- a/Infovis/vtkBoostPrimMinimumSpanningTree.cxx -+++ b/Infovis/vtkBoostPrimMinimumSpanningTree.cxx -@@ -39,7 +39,7 @@ PURPOSE. See the above copyright notice for more information. - #include "vtkTree.h" - - #include <boost/graph/prim_minimum_spanning_tree.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - using namespace boost; -diff --git a/Infovis/vtkTreeLayoutStrategy.cxx b/Infovis/vtkTreeLayoutStrategy.cxx -index 6efa586..222afe9 100644 ---- a/Infovis/vtkTreeLayoutStrategy.cxx -+++ b/Infovis/vtkTreeLayoutStrategy.cxx -@@ -375,8 +375,8 @@ void vtkTreeLayoutStrategy::PrintSelf(ostream& os, vtkIndent indent) - #include "vtkTreeToBoostAdapter.h" - #include <boost/graph/visitors.hpp> - #include <boost/graph/depth_first_search.hpp> --#include <boost/property_map.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - using namespace boost; -diff --git a/Parallel/vtkPBGLBreadthFirstSearch.cxx b/Parallel/vtkPBGLBreadthFirstSearch.cxx -index 2b4681b..eebeaa9 100644 ---- a/Parallel/vtkPBGLBreadthFirstSearch.cxx -+++ b/Parallel/vtkPBGLBreadthFirstSearch.cxx -@@ -50,8 +50,8 @@ - #include <boost/graph/distributed/breadth_first_search.hpp> - #include <boost/parallel/algorithm.hpp> - #include <boost/graph/visitors.hpp> --#include <boost/property_map.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - #include <vtksys/stl/utility> // for pair -diff --git a/Parallel/vtkPBGLGraphAdapter.h b/Parallel/vtkPBGLGraphAdapter.h -index 7b467b0..bacfd3a 100644 ---- a/Parallel/vtkPBGLGraphAdapter.h -+++ b/Parallel/vtkPBGLGraphAdapter.h -@@ -31,7 +31,7 @@ - #include <boost/graph/distributed/mpi_process_group.hpp> - #include <boost/graph/properties.hpp> - #include <boost/graph/parallel/container_traits.hpp> --#include <boost/parallel/local_property_map.hpp> -+#include <boost/property_map/parallel/local_property_map.hpp> - #include <boost/serialization/base_object.hpp> - #include <boost/functional/hash.hpp> - //ETX -diff --git a/Parallel/vtkPBGLMinimumSpanningTree.cxx b/Parallel/vtkPBGLMinimumSpanningTree.cxx -index da4647e..f9c3229 100644 ---- a/Parallel/vtkPBGLMinimumSpanningTree.cxx -+++ b/Parallel/vtkPBGLMinimumSpanningTree.cxx -@@ -48,8 +48,8 @@ - #include <boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp> - #include <boost/graph/distributed/vertex_list_adaptor.hpp> - #include <boost/parallel/global_index_map.hpp> --#include <boost/property_map.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - #include <boost/pending/queue.hpp> - - #include <vtksys/stl/utility> // for pair -diff --git a/Parallel/vtkPBGLShortestPaths.cxx b/Parallel/vtkPBGLShortestPaths.cxx -index 074143f..8517304 100644 ---- a/Parallel/vtkPBGLShortestPaths.cxx -+++ b/Parallel/vtkPBGLShortestPaths.cxx -@@ -49,8 +49,8 @@ - - #include <boost/graph/distributed/delta_stepping_shortest_paths.hpp> - #include <boost/parallel/algorithm.hpp> --#include <boost/property_map.hpp> --#include <boost/vector_property_map.hpp> -+#include <boost/property_map/property_map.hpp> -+#include <boost/property_map/vector_property_map.hpp> - - #include <vtksys/stl/utility> // for pair - -diff --git a/Parallel/vtkPBGLVertexColoring.cxx b/Parallel/vtkPBGLVertexColoring.cxx -index 9aa87a0..301a245 100644 ---- a/Parallel/vtkPBGLVertexColoring.cxx -+++ b/Parallel/vtkPBGLVertexColoring.cxx -@@ -47,7 +47,7 @@ - - #include <boost/graph/distributed/boman_et_al_graph_coloring.hpp> - #include <boost/parallel/algorithm.hpp> --#include <boost/property_map.hpp> -+#include <boost/property_map/property_map.hpp> - - #include <vtksys/stl/utility> // for pair - diff --git a/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch b/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch deleted file mode 100644 index 53d43ee804b9..000000000000 --- a/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur VTK/CMake/FindCg.cmake VTK.new/CMake/FindCg.cmake ---- VTK/CMake/FindCg.cmake 2005-10-04 11:25:51.000000000 -0400 -+++ VTK.new/CMake/FindCg.cmake 2009-07-17 14:10:30.000000000 -0400 -@@ -82,6 +82,7 @@ - FIND_PROGRAM( CG_COMPILER cgc - /usr/bin - /usr/local/bin -+ /opt/nvidia-cg-toolkit/bin - DOC "The Cg Compiler" - ) - GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH) -@@ -89,6 +90,7 @@ - FIND_PATH( CG_INCLUDE_PATH Cg/cg.h - /usr/include - /usr/local/include -+ /opt/nvidia-cg-toolkit/include - ${CG_COMPILER_SUPER_DIR}/include - DOC "The directory where Cg/cg.h resides" - ) -@@ -98,6 +100,7 @@ - /usr/lib - /usr/local/lib64 - /usr/local/lib -+ /opt/nvidia-cg-toolkit/lib - ${CG_COMPILER_SUPER_DIR}/lib64 - ${CG_COMPILER_SUPER_DIR}/lib - DOC "The Cg runtime library" -@@ -108,6 +111,7 @@ - /usr/lib - /usr/local/lib64 - /usr/local/lib -+ /opt/nvidia-cg-toolkit/lib - ${CG_COMPILER_SUPER_DIR}/lib64 - ${CG_COMPILER_SUPER_DIR}/lib - DOC "The Cg runtime library" diff --git a/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch b/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch deleted file mode 100644 index 1f12ae92658d..000000000000 --- a/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- IO/vtkPNGReader.cxx -+++ IO/vtkPNGReader.cxx -@@ -116,7 +116,7 @@ - // minimum of a byte per pixel - if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) - { -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - - // add alpha if any alpha found -@@ -225,7 +225,7 @@ - // minimum of a byte per pixel - if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) - { -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - - // add alpha if any alpha found diff --git a/sci-libs/vtk/files/vtk-5.6.0-R.patch b/sci-libs/vtk/files/vtk-5.6.0-R.patch deleted file mode 100644 index 1327121c20c6..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.0-R.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff --git a/CMake/FindR.cmake b/CMake/FindR.cmake -index ee49570..c830db0 100644 ---- a/CMake/FindR.cmake -+++ b/CMake/FindR.cmake -@@ -18,13 +18,12 @@ IF (R_COMMAND) - ENDIF (R_COMMAND) - SET(CMAKE_FIND_APPBUNDLE ${TEMP_CMAKE_FIND_APPBUNDLE}) - --FIND_PATH(R_INCLUDE_DIR R.h PATHS /usr/local/lib /usr/local/lib64 PATH_SUFFIXES R/include DOC "Path to file R.h") -+FIND_PATH(R_INCLUDE_DIR R.h PATHS /usr/lib /usr/lib64 PATH_SUFFIXES R/include DOC "Path to file R.h") - FIND_LIBRARY(R_LIBRARY_BASE R PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "R library (example libR.a, libR.dylib, etc.).") --FIND_LIBRARY(R_LIBRARY_BLAS Rblas PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rblas library (example libRblas.a, libRblas.dylib, etc.).") --FIND_LIBRARY(R_LIBRARY_LAPACK Rlapack PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rlapack library (example libRlapack.a, libRlapack.dylib, etc.).") -+FIND_LIBRARY(R_LIBRARY_MATH Rmath PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rmath library (example libRmath.a, libRmath.dylib, etc.).") - FIND_LIBRARY(R_LIBRARY_READLINE readline DOC "(Optional) system readline library. Only required if the R libraries were build with readline support.") - --SET(R_LIBRARIES ${R_LIBRARY_BASE} ${R_LIBRARY_BLAS} ${R_LIBRARY_LAPACK} ${R_LIBRARY_BASE}) -+SET(R_LIBRARIES ${R_LIBRARY_BASE} ${R_LIBRARY_MATH} ${R_LIBRARY_BASE}) - IF (R_LIBRARY_READLINE) - SET(R_LIBRARIES ${R_LIBRARIES} ${R_LIBRARY_READLINE}) - ENDIF (R_LIBRARY_READLINE) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9d4e881..1a828a4 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1054,8 +1054,18 @@ IF(VTK_WRAP_JAVA) - ENDIF(JAVA_AWT_LIBRARY) - ENDIF(VTK_WRAP_JAVA) - -+IF(VTK_USE_GNU_R) -+ FIND_PACKAGE(R) -+ENDIF(VTK_USE_GNU_R) - -- -+IF(VTK_USE_BOOST) -+ if (VTK_USE_PARALLEL_BGL) -+ FIND_PACKAGE(Boost 1.39.0 REQUIRED -+ COMPONENTS mpi serialization filesystem system graph_parallel) -+ else (VTK_USE_PARALLEL_BGL) -+ FIND_PACKAGE(Boost REQUIRED) -+ endif (VTK_USE_PARALLEL_BGL) -+ENDIF(VTK_USE_BOOST) - #----------------------------------------------------------------------------- - # The entire VTK tree should use the same include path. - -diff --git a/Graphics/vtkRInterface.cxx b/Graphics/vtkRInterface.cxx -index 324e845..56a4869 100644 ---- a/Graphics/vtkRInterface.cxx -+++ b/Graphics/vtkRInterface.cxx -@@ -23,6 +23,7 @@ - #undef HAVE_UINTPTR_T - #ifdef HAVE_VTK_UINTPTR_T - #define HAVE_UINTPTR_T HAVE_VTK_UINTPTR_T -+#include <stdint.h> - #endif - - #include "vtkInformation.h" diff --git a/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch b/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch deleted file mode 100644 index 9319378acb1a..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Infovis/vtkTreeLayoutStrategy.cxx b/Infovis/vtkTreeLayoutStrategy.cxx -index 4a764ea..74d0b53 100644 ---- a/Infovis/vtkTreeLayoutStrategy.cxx -+++ b/Infovis/vtkTreeLayoutStrategy.cxx -@@ -388,7 +388,7 @@ void vtkTreeLayoutStrategy::PrintSelf(ostream& os, vtkIndent indent) - #include "vtkTreeToBoostAdapter.h" - #include <boost/graph/visitors.hpp> - #include <boost/graph/depth_first_search.hpp> --#include <boost/property_map.hpp> -+#include <boost/property_map/property_map.hpp> - #include <boost/pending/queue.hpp> - - using namespace boost; diff --git a/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch b/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch deleted file mode 100644 index 984bf5008497..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/CMake/FindCg.cmake b/CMake/FindCg.cmake -index ceb41de..5eb6003 100644 ---- a/CMake/FindCg.cmake -+++ b/CMake/FindCg.cmake -@@ -82,6 +82,7 @@ ELSE (APPLE) - FIND_PROGRAM( CG_COMPILER cgc - /usr/bin - /usr/local/bin -+ /opt/nvidia-cg-toolkit/bin - DOC "The Cg Compiler" - ) - GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH) -@@ -89,6 +90,7 @@ ELSE (APPLE) - FIND_PATH( CG_INCLUDE_PATH Cg/cg.h - /usr/include - /usr/local/include -+ /opt/nvidia-cg-toolkit/include - ${CG_COMPILER_SUPER_DIR}/include - DOC "The directory where Cg/cg.h resides" - ) -@@ -98,6 +100,7 @@ ELSE (APPLE) - /usr/lib - /usr/local/lib64 - /usr/local/lib -+ /opt/nvidia-cg-toolkit/lib - ${CG_COMPILER_SUPER_DIR}/lib64 - ${CG_COMPILER_SUPER_DIR}/lib - DOC "The Cg runtime library" -@@ -108,6 +111,7 @@ ELSE (APPLE) - /usr/lib - /usr/local/lib64 - /usr/local/lib -+ /opt/nvidia-cg-toolkit/lib - ${CG_COMPILER_SUPER_DIR}/lib64 - ${CG_COMPILER_SUPER_DIR}/lib - DOC "The Cg runtime library" diff --git a/sci-libs/vtk/files/vtk-5.6.0-ffmpeg.patch b/sci-libs/vtk/files/vtk-5.6.0-ffmpeg.patch deleted file mode 100644 index 2b600c067bc9..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.0-ffmpeg.patch +++ /dev/null @@ -1,42 +0,0 @@ - CMake/vtkFFMPEGTestAvAlloc.cxx | 2 +- - CMake/vtkFFMPEGTestURLFClose.cxx | 2 +- - IO/vtkFFMPEGWriter.cxx | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/CMake/vtkFFMPEGTestAvAlloc.cxx b/CMake/vtkFFMPEGTestAvAlloc.cxx -index ad691e3..1025c22 100644 ---- a/CMake/vtkFFMPEGTestAvAlloc.cxx -+++ b/CMake/vtkFFMPEGTestAvAlloc.cxx -@@ -1,6 +1,6 @@ - extern "C" { - #ifdef HAS_OLD_HEADER --# include <ffmpeg/avformat.h> -+# include <libavformat/avformat.h> - #else - # include <libavformat/avformat.h> - #endif -diff --git a/CMake/vtkFFMPEGTestURLFClose.cxx b/CMake/vtkFFMPEGTestURLFClose.cxx -index 0bf4314..8c1df58 100644 ---- a/CMake/vtkFFMPEGTestURLFClose.cxx -+++ b/CMake/vtkFFMPEGTestURLFClose.cxx -@@ -1,6 +1,6 @@ - extern "C" { - #ifdef HAS_OLD_HEADER --# include <ffmpeg/avformat.h> -+# include <libavformat/avformat.h> - #else - # include <libavformat/avformat.h> - #endif -diff --git a/IO/vtkFFMPEGWriter.cxx b/IO/vtkFFMPEGWriter.cxx -index b109c08..e056418 100644 ---- a/IO/vtkFFMPEGWriter.cxx -+++ b/IO/vtkFFMPEGWriter.cxx -@@ -22,7 +22,7 @@ - - extern "C" { - #ifdef VTK_FFMPEG_HAS_OLD_HEADER --# include <ffmpeg/avformat.h> -+# include <libavformat/avformat.h> - #else - # include <libavformat/avformat.h> - #endif diff --git a/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch b/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch deleted file mode 100644 index db1f87d3afb2..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/IO/vtkPNGReader.cxx b/IO/vtkPNGReader.cxx -index d1f5c2f..0bf00e4 100644 ---- a/IO/vtkPNGReader.cxx -+++ b/IO/vtkPNGReader.cxx -@@ -116,7 +116,7 @@ void vtkPNGReader::ExecuteInformation() - // minimum of a byte per pixel - if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) - { -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - - // add alpha if any alpha found -@@ -225,7 +225,7 @@ void vtkPNGReaderUpdate2(vtkPNGReader *self, OT *outPtr, - // minimum of a byte per pixel - if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) - { -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - - // add alpha if any alpha found diff --git a/sci-libs/vtk/files/vtk-5.6.0-odbc.patch b/sci-libs/vtk/files/vtk-5.6.0-odbc.patch deleted file mode 100644 index be24af11ac33..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.0-odbc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur CMake/FindODBC.cmake.orig CMake/FindODBC.cmake ---- CMake/FindODBC.cmake.orig 2008-10-08 13:51:36.000000000 -0400 -+++ CMake/FindODBC.cmake 2010-01-21 22:11:26.000000000 -0500 -@@ -30,7 +30,7 @@ - ) - - FIND_LIBRARY( ODBC_LIBRARY -- NAMES iodbc unixodbc -+ NAMES iodbc unixodbc odbc - PATHS - /usr/lib - /usr/lib/odbc diff --git a/sci-libs/vtk/files/vtk-5.6.1-ffmpeg.patch b/sci-libs/vtk/files/vtk-5.6.1-ffmpeg.patch deleted file mode 100644 index 34ec528854a7..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.1-ffmpeg.patch +++ /dev/null @@ -1,42 +0,0 @@ - CMake/vtkFFMPEGTestAvAlloc.cxx | 2 +- - CMake/vtkFFMPEGTestURLFClose.cxx | 2 +- - IO/vtkFFMPEGWriter.cxx | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/CMake/vtkFFMPEGTestAvAlloc.cxx b/CMake/vtkFFMPEGTestAvAlloc.cxx -index ad691e3..32489d5 100644 ---- a/CMake/vtkFFMPEGTestAvAlloc.cxx -+++ b/CMake/vtkFFMPEGTestAvAlloc.cxx -@@ -1,6 +1,6 @@ - extern "C" { - #ifdef HAS_OLD_HEADER --# include <ffmpeg/avformat.h> -+# include <libavformat/avformat.h> - #else - # include <libavformat/avformat.h> - #endif -diff --git a/CMake/vtkFFMPEGTestURLFClose.cxx b/CMake/vtkFFMPEGTestURLFClose.cxx -index 0bf4314..1c10a93 100644 ---- a/CMake/vtkFFMPEGTestURLFClose.cxx -+++ b/CMake/vtkFFMPEGTestURLFClose.cxx -@@ -1,6 +1,6 @@ - extern "C" { - #ifdef HAS_OLD_HEADER --# include <ffmpeg/avformat.h> -+# include <libavformat/avformat.h> - #else - # include <libavformat/avformat.h> - #endif -diff --git a/IO/vtkFFMPEGWriter.cxx b/IO/vtkFFMPEGWriter.cxx -index 52673ef..ffbb78f 100644 ---- a/IO/vtkFFMPEGWriter.cxx -+++ b/IO/vtkFFMPEGWriter.cxx -@@ -22,7 +22,7 @@ - - extern "C" { - #ifdef VTK_FFMPEG_HAS_OLD_HEADER --# include <ffmpeg/avformat.h> -+# include <libavformat/avformat.h> - #else - # include <libavformat/avformat.h> - #endif diff --git a/sci-libs/vtk/files/vtk-5.6.1-gcc-46.patch b/sci-libs/vtk/files/vtk-5.6.1-gcc-46.patch deleted file mode 100644 index 263e24f69b3d..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.1-gcc-46.patch +++ /dev/null @@ -1,29 +0,0 @@ - Common/vtkPythonUtil.cxx | 2 ++ - Utilities/vtkmetaio/metaUtils.cxx | 1 + - 2 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/Common/vtkPythonUtil.cxx b/Common/vtkPythonUtil.cxx -index 7bc7660..d218e0d 100644 ---- a/Common/vtkPythonUtil.cxx -+++ b/Common/vtkPythonUtil.cxx -@@ -31,6 +31,8 @@ - #include <vtkstd/map> - #include <vtkstd/string> - -+#include <cstddef> -+ - // Silent warning like - // "dereferencing type-punned pointer will break strict-aliasing rules" - // it happens because this kind of expression: (long *)&ptr -diff --git a/Utilities/vtkmetaio/metaUtils.cxx b/Utilities/vtkmetaio/metaUtils.cxx -index 08d3e8d..bbcc9ec 100644 ---- a/Utilities/vtkmetaio/metaUtils.cxx -+++ b/Utilities/vtkmetaio/metaUtils.cxx -@@ -37,6 +37,7 @@ - #include <stdlib.h> - #include <string.h> - #include <string> -+#include <cstddef> - - #if defined (__BORLANDC__) && (__BORLANDC__ >= 0x0580) - #include <mem.h> diff --git a/sci-libs/vtk/files/vtk-5.6.1-libav-0.8.patch b/sci-libs/vtk/files/vtk-5.6.1-libav-0.8.patch deleted file mode 100644 index 523919d6f676..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.1-libav-0.8.patch +++ /dev/null @@ -1,66 +0,0 @@ -Description: Upstream changes introduced in version 5.6.1-6.1 - This patch has been created by dpkg-source during the package build. - Here's the last changelog entry, hopefully it gives details on why - those changes were made: - . - vtk (5.6.1-6.1) unstable; urgency=low - . - [ Michael Schutte ] - * Non-maintainer upload. - * Remove absolute paths to required libraries from - /usr/lib/vtk-5.6/VTKLibraryDepends.cmake after building, closes: - #506992. Due to the multiarch transition, the original behavior - frequently causes reverse build-deps to FTBFS. This change should - probably be reverted once all required libraries are multiarched. - . - [ Steve M. Robbins ] - * Override lintian diagnostic about embedded libraries ftgl and sqlite. - * IO/vtkFFMPEGWriter.cxx: Applied fix from #638246 to build with libav - 0.7. - . - The person named in the Author field signed this changelog entry. -Author: Steve M. Robbins <smr@debian.org> -Bug-Debian: http://bugs.debian.org/506992 - ---- -The information above should follow the Patch Tagging Guidelines, please -checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here -are templates for supplementary fields that you might want to add: - -Origin: <vendor|upstream|other>, <url of original patch> -Bug: <url in upstream bugtracker> -Bug-Debian: http://bugs.debian.org/<bugnumber> -Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> -Forwarded: <no|not-needed|url proving that it has been forwarded> -Reviewed-By: <name and email of someone who approved the patch> -Last-Update: <YYYY-MM-DD> - ---- vtk-5.6.1.orig/IO/vtkFFMPEGWriter.cxx -+++ vtk-5.6.1/IO/vtkFFMPEGWriter.cxx -@@ -123,7 +123,7 @@ int vtkFFMPEGWriterInternal::Start() - } - - //choose avi media file format -- this->avOutputFormat = guess_format("avi", NULL, NULL); -+ this->avOutputFormat = av_guess_format("avi", NULL, NULL); - if (!this->avOutputFormat) - { - vtkGenericWarningMacro (<< "Could not open the avi media file format."); -@@ -150,7 +150,7 @@ int vtkFFMPEGWriterInternal::Start() - //Set up the codec. - AVCodecContext *c = this->avStream->codec; - c->codec_id = (CodecID)this->avOutputFormat->video_codec; -- c->codec_type = CODEC_TYPE_VIDEO; -+ c->codec_type = AVMEDIA_TYPE_VIDEO; - c->width = this->Dim[0]; - c->height = this->Dim[1]; - c->pix_fmt = PIX_FMT_YUVJ420P; -@@ -329,7 +329,7 @@ int vtkFFMPEGWriterInternal::Write(vtkIm - pkt.stream_index = this->avStream->index; - if (cc->coded_frame->key_frame) //treat keyframes well - { -- pkt.flags |= PKT_FLAG_KEY; -+ pkt.flags |= AV_PKT_FLAG_KEY; - } - pkt.duration = 0; //presentation duration in time_base units or 0 if NA - pkt.pos = -1; //byte position in stream or -1 if NA diff --git a/sci-libs/vtk/files/vtk-5.6.1-libpng15.patch b/sci-libs/vtk/files/vtk-5.6.1-libpng15.patch deleted file mode 100644 index 5bb5cbfb8cd6..000000000000 --- a/sci-libs/vtk/files/vtk-5.6.1-libpng15.patch +++ /dev/null @@ -1,22 +0,0 @@ -http://bugs.gentoo.org/378393 - ---- VTK/IO/vtkPNGWriter.cxx -+++ VTK/IO/vtkPNGWriter.cxx -@@ -147,7 +147,7 @@ - void vtkPNGWriteErrorFunction(png_structp png_ptr, - png_const_charp vtkNotUsed(error_msg)) - { -- longjmp(png_ptr->jmpbuf, 1); -+ longjmp(png_jmpbuf(png_ptr), 1); - } - } - -@@ -223,7 +223,7 @@ - png_init_io(png_ptr, this->TempFP); - png_set_error_fn(png_ptr, png_ptr, - vtkPNGWriteErrorFunction, vtkPNGWriteWarningFunction); -- if (setjmp(png_ptr->jmpbuf)) -+ if (setjmp(png_jmpbuf(png_ptr))) - { - fclose(this->TempFP); - this->SetErrorCode(vtkErrorCode::OutOfDiskSpaceError); diff --git a/sci-libs/vtk/files/vtk-5.8.0-R.patch b/sci-libs/vtk/files/vtk-5.8.0-R.patch deleted file mode 100644 index ce6dcde59e9d..000000000000 --- a/sci-libs/vtk/files/vtk-5.8.0-R.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/CMake/FindR.cmake b/CMake/FindR.cmake -index ee49570..c830db0 100644 ---- a/CMake/FindR.cmake -+++ b/CMake/FindR.cmake -@@ -18,13 +18,12 @@ IF (R_COMMAND) - ENDIF (R_COMMAND) - SET(CMAKE_FIND_APPBUNDLE ${TEMP_CMAKE_FIND_APPBUNDLE}) - --FIND_PATH(R_INCLUDE_DIR R.h PATHS /usr/local/lib /usr/local/lib64 PATH_SUFFIXES R/include DOC "Path to file R.h") -+FIND_PATH(R_INCLUDE_DIR R.h PATHS /usr/lib /usr/lib64 PATH_SUFFIXES R/include DOC "Path to file R.h") - FIND_LIBRARY(R_LIBRARY_BASE R PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "R library (example libR.a, libR.dylib, etc.).") --FIND_LIBRARY(R_LIBRARY_BLAS Rblas PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rblas library (example libRblas.a, libRblas.dylib, etc.).") --FIND_LIBRARY(R_LIBRARY_LAPACK Rlapack PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rlapack library (example libRlapack.a, libRlapack.dylib, etc.).") -+FIND_LIBRARY(R_LIBRARY_MATH Rmath PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rmath library (example libRmath.a, libRmath.dylib, etc.).") - FIND_LIBRARY(R_LIBRARY_READLINE readline DOC "(Optional) system readline library. Only required if the R libraries were build with readline support.") - --SET(R_LIBRARIES ${R_LIBRARY_BASE} ${R_LIBRARY_BLAS} ${R_LIBRARY_LAPACK} ${R_LIBRARY_BASE}) -+SET(R_LIBRARIES ${R_LIBRARY_BASE} ${R_LIBRARY_MATH} ${R_LIBRARY_BASE}) - IF (R_LIBRARY_READLINE) - SET(R_LIBRARIES ${R_LIBRARIES} ${R_LIBRARY_READLINE}) - ENDIF (R_LIBRARY_READLINE) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9d4e881..1a828a4 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1054,8 +1054,18 @@ IF(VTK_WRAP_JAVA) - ENDIF(JAVA_AWT_LIBRARY) - ENDIF(VTK_WRAP_JAVA) - -+IF(VTK_USE_GNU_R) -+ FIND_PACKAGE(R) -+ENDIF(VTK_USE_GNU_R) - -- -+IF(VTK_USE_BOOST) -+ if (VTK_USE_PARALLEL_BGL) -+ FIND_PACKAGE(Boost 1.39.0 REQUIRED -+ COMPONENTS mpi serialization filesystem system graph_parallel) -+ else (VTK_USE_PARALLEL_BGL) -+ FIND_PACKAGE(Boost REQUIRED) -+ endif (VTK_USE_PARALLEL_BGL) -+ENDIF(VTK_USE_BOOST) - #----------------------------------------------------------------------------- - # The entire VTK tree should use the same include path. - diff --git a/sci-libs/vtk/files/vtk-5.8.0-boost.patch b/sci-libs/vtk/files/vtk-5.8.0-boost.patch deleted file mode 100644 index 30a0e9a4c606..000000000000 --- a/sci-libs/vtk/files/vtk-5.8.0-boost.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/Infovis/vtkBoostBreadthFirstSearchTree.cxx b/Infovis/vtkBoostBreadthFirstSearchTree.cxx -index c789f6b..13e7cb6 100644 ---- a/Infovis/vtkBoostBreadthFirstSearchTree.cxx -+++ b/Infovis/vtkBoostBreadthFirstSearchTree.cxx -@@ -47,6 +47,21 @@ using namespace boost; - vtkStandardNewMacro(vtkBoostBreadthFirstSearchTree); - - -+#if BOOST_VERSION >= 104800 // Boost 1.48.x -+namespace { -+ vtkIdType unwrap_edge_id(vtkEdgeType const &e) { -+ return e.Id; -+ } -+ vtkIdType unwrap_edge_id(boost::detail::reverse_graph_edge_descriptor<vtkEdgeType> const &e) { -+# if BOOST_VERSION == 104800 -+ return e.underlying_desc.Id; -+# else -+ return e.underlying_descx.Id; -+# endif -+ } -+} -+#endif -+ - // Redefine the bfs visitor, the only visitor we - // are using is the tree_edge visitor. - template <typename IdMap> -@@ -95,7 +106,12 @@ public: - - // Copy the vertex and edge data from the graph to the tree. - tree->GetVertexData()->CopyData(graph->GetVertexData(), v, tree_v); -+#if BOOST_VERSION < 104800 // Boost 1.48.x - tree->GetEdgeData()->CopyData(graph->GetEdgeData(), e.Id, tree_e.Id); -+#else -+ tree->GetEdgeData()->CopyData(graph->GetEdgeData(), -+ unwrap_edge_id(e), tree_e.Id); -+#endif - } - - private: diff --git a/sci-libs/vtk/files/vtk-6.0.0-cg-path.patch b/sci-libs/vtk/files/vtk-6.0.0-cg-path.patch deleted file mode 100644 index c83a06b2f3e9..000000000000 --- a/sci-libs/vtk/files/vtk-6.0.0-cg-path.patch +++ /dev/null @@ -1,16 +0,0 @@ - Utilities/MaterialLibrary/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Utilities/MaterialLibrary/CMakeLists.txt b/Utilities/MaterialLibrary/CMakeLists.txt -index 330a189..ede97be 100644 ---- a/Utilities/MaterialLibrary/CMakeLists.txt -+++ b/Utilities/MaterialLibrary/CMakeLists.txt -@@ -116,7 +116,7 @@ MACRO(get_modules modules prefix files ) - ENDMACRO(get_modules) - - SET(CMD_DEP ProcessShader) --SET(CMD ProcessShader) -+SET(CMD ./ProcessShader.sh) - - IF (VTK_USE_CG_SHADERS) - # Create the Cg library. diff --git a/sci-libs/vtk/files/vtk-6.0.0-install.patch b/sci-libs/vtk/files/vtk-6.0.0-install.patch deleted file mode 100644 index a97755ab69ff..000000000000 --- a/sci-libs/vtk/files/vtk-6.0.0-install.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up VTK6.0.0/CMake/vtkModuleTop.cmake.install VTK6.0.0/CMake/vtkModuleTop.cmake ---- VTK6.0.0/CMake/vtkModuleTop.cmake.install 2013-06-12 13:47:10.000000000 -0600 -+++ VTK6.0.0/CMake/vtkModuleTop.cmake 2013-07-12 16:15:15.706008475 -0600 -@@ -330,10 +330,15 @@ if (NOT VTK_INSTALL_NO_DEVELOPMENT) - CMake/pythonmodules.h.in - CMake/UseVTK.cmake - CMake/FindTCL.cmake -+ CMake/TopologicalSort.cmake - CMake/vtkTclTkMacros.cmake - CMake/vtk-forward.c.in - CMake/vtkForwardingExecutable.cmake -+ CMake/vtkGroups.cmake - CMake/vtkJavaWrapping.cmake -+ CMake/vtkMakeInstantiator.cmake -+ CMake/vtkMakeInstantiator.cxx.in -+ CMake/vtkMakeInstantiator.h.in - CMake/vtkModuleAPI.cmake - CMake/vtkModuleHeaders.cmake.in - CMake/vtkModuleInfo.cmake.in diff --git a/sci-libs/vtk/files/vtk-6.0.0-netcdf.patch b/sci-libs/vtk/files/vtk-6.0.0-netcdf.patch deleted file mode 100644 index df0ef94890f7..000000000000 --- a/sci-libs/vtk/files/vtk-6.0.0-netcdf.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -up VTK/IO/NetCDF/CMakeLists.txt.netcdf VTK/IO/NetCDF/CMakeLists.txt ---- VTK/IO/NetCDF/CMakeLists.txt.netcdf 2013-01-28 14:44:35.000000000 -0700 -+++ VTK/IO/NetCDF/CMakeLists.txt 2013-01-28 15:40:00.825176295 -0700 -@@ -10,5 +10,5 @@ set(Module_SRCS - - vtk_module_library(vtkIONetCDF ${Module_SRCS}) - --target_link_libraries(vtkIONetCDF vtkNetCDF_cxx) -+target_link_libraries(vtkIONetCDF netcdf_c++ netcdf) - set_target_properties(vtkIONetCDF PROPERTIES LINK_INTERFACE_LIBRARIES "") -diff -up VTK/IO/ParallelNetCDF/CMakeLists.txt.netcdf VTK/IO/ParallelNetCDF/CMakeLists.txt ---- VTK/IO/ParallelNetCDF/CMakeLists.txt.netcdf 2013-01-28 14:44:35.000000000 -0700 -+++ VTK/IO/ParallelNetCDF/CMakeLists.txt 2013-01-28 15:40:00.825176295 -0700 -@@ -8,4 +8,4 @@ set(Module_SRCS - - vtk_module_library(vtkIOParallelNetCDF ${Module_SRCS}) - --target_link_libraries(vtkIOParallelNetCDF vtkNetCDF_cxx) -+target_link_libraries(vtkIOParallelNetCDF netcdf) -diff -up VTK/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt.netcdf VTK/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt ---- VTK/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt.netcdf 2013-01-28 14:44:36.000000000 -0700 -+++ VTK/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt 2013-01-28 15:40:27.534030910 -0700 -@@ -241,7 +241,7 @@ ENDIF(APPLE) - - - VTK_ADD_LIBRARY(vtkexoIIc ${cbind_SRCS}) --TARGET_LINK_LIBRARIES(vtkexoIIc vtkNetCDF) -+TARGET_LINK_LIBRARIES(vtkexoIIc netcdf) - - #INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake) - -diff -up VTK/ThirdParty/netcdf/CMakeLists.txt.netcdf VTK/ThirdParty/netcdf/CMakeLists.txt ---- VTK/ThirdParty/netcdf/CMakeLists.txt.netcdf 2013-01-28 14:44:36.000000000 -0700 -+++ VTK/ThirdParty/netcdf/CMakeLists.txt 2013-01-28 15:40:00.825176295 -0700 -@@ -1,8 +1,12 @@ - set(vtknetcdf_THIRD_PARTY 1) --set(vtknetcdf_LIBRARIES vtkNetCDF vtkNetCDF_cxx) --set(vtknetcdf_INCLUDE_DIRS -- ${vtknetcdf_SOURCE_DIR}/vtknetcdf/include -- ${vtknetcdf_BINARY_DIR}/vtknetcdf -- ) -+if(NOT VTK_USE_SYSTEM_NETCDF) -+ set(vtknetcdf_LIBRARIES vtkNetCDF vtkNetCDF_cxx) -+ set(vtknetcdf_INCLUDE_DIRS -+ ${vtknetcdf_SOURCE_DIR}/vtknetcdf/include -+ ${vtknetcdf_BINARY_DIR}/vtknetcdf -+ ) -+ add_subdirectory(vtknetcdf) -+else(NOT VTK_USE_SYSTEM_NETCDF) -+ set(vtknetcdf_LIBRARIES netcdf) -+endif() - vtk_module_export_info() --add_subdirectory(vtknetcdf) -diff -up VTK/ThirdParty/netcdf/vtk_netcdfcpp.h.netcdf VTK/ThirdParty/netcdf/vtk_netcdfcpp.h ---- VTK/ThirdParty/netcdf/vtk_netcdfcpp.h.netcdf 2013-01-28 14:44:36.000000000 -0700 -+++ VTK/ThirdParty/netcdf/vtk_netcdfcpp.h 2013-01-28 15:40:00.826176289 -0700 -@@ -16,6 +16,6 @@ - #define __vtk_netcdfcpp_h - - /* Use the netcdf library configured for VTK. */ --#include <vtknetcdf/cxx/netcdfcpp.h> -+#include <netcdfcpp.h> - - #endif -diff -up VTK/ThirdParty/netcdf/vtk_netcdf.h.netcdf VTK/ThirdParty/netcdf/vtk_netcdf.h ---- VTK/ThirdParty/netcdf/vtk_netcdf.h.netcdf 2013-01-28 14:44:36.000000000 -0700 -+++ VTK/ThirdParty/netcdf/vtk_netcdf.h 2013-01-28 15:40:00.826176289 -0700 -@@ -16,6 +16,6 @@ - #define __vtk_netcdf_h - - /* Use the netcdf library configured for VTK. */ --#include <vtknetcdf/include/netcdf.h> -+#include <netcdf.h> - - #endif diff --git a/sci-libs/vtk/files/vtk-6.0.0-system.patch b/sci-libs/vtk/files/vtk-6.0.0-system.patch deleted file mode 100644 index 3e5762fe5d46..000000000000 --- a/sci-libs/vtk/files/vtk-6.0.0-system.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -up VTK6.0.0/CMake/vtkModuleMacros.cmake.system VTK6.0.0/CMake/vtkModuleMacros.cmake ---- VTK6.0.0/CMake/vtkModuleMacros.cmake.system 2013-06-12 13:47:10.000000000 -0600 -+++ VTK6.0.0/CMake/vtkModuleMacros.cmake 2013-12-27 20:59:39.548152746 -0700 -@@ -613,7 +613,7 @@ macro(vtk_module_third_party _pkg) - message(FATAL_ERROR "Cannot specify both LIBRARIES and NO_LIBRARIES") - endif() - -- option(VTK_USE_SYSTEM_${_upper} "Use system-installed ${_pkg}" OFF) -+ option(VTK_USE_SYSTEM_${_upper} "Use system-installed ${_pkg}" ${VTK_USE_SYSTEM_LIBRARIES}) - mark_as_advanced(VTK_USE_SYSTEM_${_upper}) - - if(VTK_USE_SYSTEM_${_upper}) -diff -up VTK6.0.0/CMakeLists.txt.system VTK6.0.0/CMakeLists.txt ---- VTK6.0.0/CMakeLists.txt.system 2013-06-12 13:47:10.000000000 -0600 -+++ VTK6.0.0/CMakeLists.txt 2013-12-27 20:59:39.548152746 -0700 -@@ -107,6 +107,11 @@ set(VTK_INSTALL_INCLUDE_DIR_CM24 ${VTK_I - set(VTK_INSTALL_DOXYGEN_DIR_CM24 ${VTK_INSTALL_DATA_DIR}/doxygen) - - #----------------------------------------------------------------------------- -+# Do we try to use system libraries by default? -+OPTION(VTK_USE_SYSTEM_LIBRARIES "Use the system's libraries by default." OFF) -+MARK_AS_ADVANCED(VTK_USE_SYSTEM_LIBRARIES) -+ -+#----------------------------------------------------------------------------- - # The third party macros are still used in one or two third party builds. - include(vtkThirdParty) - diff --git a/sci-libs/vtk/files/vtk-6.0.0-vtkpython.patch b/sci-libs/vtk/files/vtk-6.0.0-vtkpython.patch deleted file mode 100644 index f310479e8ab8..000000000000 --- a/sci-libs/vtk/files/vtk-6.0.0-vtkpython.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up VTK6.0.0/Wrapping/Python/CMakeLists.txt.vtkpython VTK6.0.0/Wrapping/Python/CMakeLists.txt ---- VTK6.0.0/Wrapping/Python/CMakeLists.txt.vtkpython 2013-06-12 13:47:10.000000000 -0600 -+++ VTK6.0.0/Wrapping/Python/CMakeLists.txt 2013-07-26 16:44:19.954295281 -0600 -@@ -371,3 +371,8 @@ endif() - - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in - ${CMAKE_CURRENT_BINARY_DIR}/setup.py @ONLY IMMEDIATE) -+ -+if(NOT VTK_INSTALL_NO_RUNTIME AND NOT VTK_INSTALL_NO_PYTHON) -+ install(TARGETS vtkpython ${VTKPYTHON_EXECUTABLE} -+ DESTINATION ${VTK_INSTALL_RUNTIME_DIR}) -+endif() |