012_doc_path.diff 1.0 KB

123456789101112131415161718192021
  1. --- Remoting/Core/vtkPVFileInformation.cxx.orig 2021-05-14 02:47:34.000000000 +1000
  2. +++ Remoting/Core/vtkPVFileInformation.cxx 2021-05-23 20:53:31.322000000 +1000
  3. @@ -1227,13 +1227,15 @@
  4. //-----------------------------------------------------------------------------
  5. std::string vtkPVFileInformation::GetParaViewExampleFilesDirectory()
  6. {
  7. - return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/examples";
  8. + /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/examples"; */
  9. + return "/usr/doc/paraview-"PARAVIEW_VERSION_FULL ;
  10. }
  11. //-----------------------------------------------------------------------------
  12. std::string vtkPVFileInformation::GetParaViewDocDirectory()
  13. {
  14. - return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc";
  15. + /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc"; */
  16. + return "/usr/doc/paraview-"PARAVIEW_VERSION_FULL ;
  17. }
  18. //-----------------------------------------------------------------------------