]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Standard paraview.0003 patch is needed to build PARAVIS - rework the additional patch...
authorQuentin Cozette <quentin.cozette@cea.fr>
Mon, 21 Dec 2020 18:41:59 +0000 (19:41 +0100)
committerQuentin Cozette <quentin.cozette@cea.fr>
Thu, 11 Mar 2021 10:29:28 +0000 (11:29 +0100)
applications/SALOME-master-native.pyconf
products/patches/ParaViewClient_native.patch [deleted file]
products/patches/paraview.0003-ParaViewClient_native.patch [new file with mode: 0644]

index f59be8b2dae662c4b9eee644b8d89eedc3e4f56e..38c46fc29251ae662323467194f4a0243784ce34 100644 (file)
@@ -189,9 +189,11 @@ __overwrite__ :
    }
    {
       # At least on DB10 (UB20 uses the same path...), ParaView fails to find xmlpatterns executable
-      # ParaViewClient.cmake try to find it from Qt5_DIR, going back from it in filesystem (hardcoded)
+      # ParaViewClient.cmake try to find it from Qt5_DIR, going back from it in filesystem (hardcoded).
+      # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
       __condition__ : "VARS.dist in ['DB10', 'UB20']"
-      'PRODUCTS.ParaView.version_5_8_0.patches' : ['ParaViewClient_native.patch']
+      'PRODUCTS.ParaView.version_5_8_0.patches' : ['paraview.0003-ParaViewClient.patch',
+                                                   'paraview.0003-ParaViewClient_native.patch']
    }
 ]
 
diff --git a/products/patches/ParaViewClient_native.patch b/products/patches/ParaViewClient_native.patch
deleted file mode 100644 (file)
index c1b303e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- ParaView/CMake/ParaViewClient.cmake        2020-03-23 22:06:19.000000000 +0100
-+++ ParaView.new/CMake/ParaViewClient.cmake    2020-12-17 11:52:15.201636975 +0100
-@@ -516,6 +516,7 @@
-     NAMES xmlpatterns-qt5 xmlpatterns
-     HINTS "${Qt5_DIR}/../../../bin"
-           "${Qt5_DIR}/../../../libexec/qt5/bin"
-+          "${Qt5_DIR}/../../qt5/bin"
-     DOC   "Path to xmlpatterns")
-   mark_as_advanced(qt_xmlpatterns_executable)
diff --git a/products/patches/paraview.0003-ParaViewClient_native.patch b/products/patches/paraview.0003-ParaViewClient_native.patch
new file mode 100644 (file)
index 0000000..74d8333
--- /dev/null
@@ -0,0 +1,10 @@
+--- ParaView/CMake/ParaViewClient.cmake        2020-12-21 19:28:36.023465845 +0100
++++ ParaView.new/CMake/ParaViewClient.cmake    2020-12-21 19:30:17.073254132 +0100
+@@ -516,6 +516,7 @@
+     NAMES xmlpatterns-qt5 xmlpatterns
+     HINTS "${Qt5_DIR}/../../../bin"
+           "${Qt5_DIR}/../../../libexec/qt5/bin"
++          "${Qt5_DIR}/../../qt5/bin"
+     NO_CMAKE_PATH
+     DOC   "Path to xmlpatterns")
+   mark_as_advanced(qt_xmlpatterns_executable)