diff options
author | Christoph Willing <chris.willing@iinet.net.au> | 2016-08-05 14:23:58 +1000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-05 18:10:49 +0100 |
commit | c8eb4401dc43f8cc21932943d7360d1fd30a023d (patch) | |
tree | 1f62b1f81a1646972bd98e17793fa8642c661667 /graphics/paraview/010_doc_path.diff | |
parent | 6310a43dfe8bf17fb459b767f51882e876661d31 (diff) | |
download | slackbuilds-c8eb4401dc43f8cc21932943d7360d1fd30a023d.tar.gz |
graphics/paraview: Updated for version 5.1.2 + new maintainer
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'graphics/paraview/010_doc_path.diff')
-rw-r--r-- | graphics/paraview/010_doc_path.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/paraview/010_doc_path.diff b/graphics/paraview/010_doc_path.diff new file mode 100644 index 0000000000..d7abd9a0e1 --- /dev/null +++ b/graphics/paraview/010_doc_path.diff @@ -0,0 +1,26 @@ +--- Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx.orig 2016-07-27 12:54:37.000000000 +1000 ++++ Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx 2016-07-28 15:10:34.755501222 +1000 +@@ -323,8 +323,8 @@ + #else + QString appdir = QCoreApplication::applicationDirPath(); + QString documentationPath = QFileInfo(appdir).fileName() == "bin" ? +- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc" : +- /* w/ shared forwarding */ appdir + "/../../share/paraview-" PARAVIEW_VERSION "/doc"; ++ /* w/o shared forwarding */ appdir + "/../doc/paraview-" PARAVIEW_VERSION_FULL : ++ /* w/ shared forwarding */ appdir + "/../../doc/paraview-" PARAVIEW_VERSION_FULL ; + #endif + + QString paraViewGuideFile = documentationPath + "/Guide.pdf"; +--- Qt/ApplicationComponents/pqWelcomeDialog.cxx.orig 2016-07-27 12:54:37.000000000 +1000 ++++ Qt/ApplicationComponents/pqWelcomeDialog.cxx 2016-07-28 15:14:43.187484954 +1000 +@@ -44,8 +44,8 @@ + #else + QString appdir = QCoreApplication::applicationDirPath(); + QString documentationPath = QFileInfo(appdir).fileName() == "bin" ? +- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc" : +- /* w/ shared forwarding */ appdir + "/../../share/paraview-" PARAVIEW_VERSION "/doc"; ++ /* w/o shared forwarding */ appdir + "/../doc/paraview-" PARAVIEW_VERSION_FULL : ++ /* w/ shared forwarding */ appdir + "/../../doc/paraview-" PARAVIEW_VERSION_FULL ; + #endif + QString paraViewGettingStartedFile = documentationPath + "/GettingStarted.pdf"; + QUrl gettingStartedURL = QUrl::fromLocalFile(paraViewGettingStartedFile); |