Add vtk-install patch to install needed cmake files

This commit is contained in:
Orion Poplawski 2013-07-01 09:36:36 -06:00
commit dff75e287e
2 changed files with 21 additions and 2 deletions

15
vtk-install.patch Normal file
View file

@ -0,0 +1,15 @@
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-06-28 16:12:02.837198769 -0600
@@ -330,9 +330,11 @@ 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/vtkModuleAPI.cmake
CMake/vtkModuleHeaders.cmake.in

View file

@ -23,7 +23,10 @@ Group: System Environment/Libraries
Source: http://www.vtk.org/files/release/6.0/%{name}-%{version}.tar.gz
# Use system libraries
# http://public.kitware.com/Bug/view.php?id=11823
Patch5: vtk-6.0.0-system.patch
Patch0: vtk-6.0.0-system.patch
# Install some more needed cmake files to try to support paraview build
# http://www.vtk.org/Bug/view.php?id=14157
Patch1: vtk-install.patch
URL: http://vtk.org/
@ -159,7 +162,8 @@ programming languages.
%prep
%setup -q -n VTK%{version}
%patch5 -p1 -b .system
%patch0 -p1 -b .system
%patch1 -p1 -b .install
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
# otherwise it will break on symlinks.