summaryrefslogtreecommitdiffstats
path: root/graphics/paraview/010_doc_path.diff
diff options
context:
space:
mode:
author Christoph Willing <chris.willing@iinet.net.au>2016-11-19 09:04:10 +1000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-19 07:31:18 +0700
commit1c05aebc821fe76d4c2ef34c16958376b5e219eb (patch)
tree2367a83dd80071b383ed8d436507265f076d84ed /graphics/paraview/010_doc_path.diff
parent5d9e349319e5f20000643e301a941e524862ab57 (diff)
downloadslackbuilds-1c05aebc821fe76d4c2ef34c16958376b5e219eb.tar.gz
slackbuilds-1c05aebc821fe76d4c2ef34c16958376b5e219eb.tar.xz
graphics/paraview: Updated for version 5.2.0
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.diff30
1 files changed, 16 insertions, 14 deletions
diff --git a/graphics/paraview/010_doc_path.diff b/graphics/paraview/010_doc_path.diff
index d7abd9a0e10..fafcfce118a 100644
--- a/graphics/paraview/010_doc_path.diff
+++ b/graphics/paraview/010_doc_path.diff
@@ -1,25 +1,27 @@
---- 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
+--- Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx.orig 2016-11-15 01:41:57.000000000 +1000
++++ Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx 2016-11-16 11:34:49.709313333 +1000
+@@ -322,9 +322,9 @@
QString appdir = QCoreApplication::applicationDirPath();
- QString documentationPath = QFileInfo(appdir).fileName() == "bin" ?
-- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc" :
+ QString documentationPath = QFileInfo(appdir).fileName() == "bin"
+ ?
+- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc"
++ /* w/o shared forwarding */ appdir + "/../doc/paraview-" PARAVIEW_VERSION_FULL
+ :
- /* 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
+--- Qt/ApplicationComponents/pqWelcomeDialog.cxx.orig 2016-11-15 01:41:57.000000000 +1000
++++ Qt/ApplicationComponents/pqWelcomeDialog.cxx 2016-11-16 11:37:26.936328667 +1000
+@@ -45,9 +45,9 @@
QString appdir = QCoreApplication::applicationDirPath();
- QString documentationPath = QFileInfo(appdir).fileName() == "bin" ?
-- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc" :
+ QString documentationPath = QFileInfo(appdir).fileName() == "bin"
+ ?
+- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc"
++ /* w/o shared forwarding */ appdir + "/../doc/paraview-" PARAVIEW_VERSION_FULL
+ :
- /* 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";