cp patches/paraview-3.10.1-ftgl.patch ${PRODUCT_SRC_DIR}
( cd ${PRODUCT_SRC_DIR} ; patch -p1 < paraview-3.10.1-ftgl.patch )
fi
-# 4. patch hang-up of the compiler on some platforms when building SurfaceLIC plug-in
+# 4. patch hang-up of the compiler on some platforms when building SurfaceLIC plug-in (v3.14.0)
need_patch_surfaceLic=1
if [ "${need_patch_surfaceLic}" == "1" ] ; then
- test -f patches/surface_lic.png && cp -f patches/surface_lic.png ${PRODUCT_SRC_DIR}/Plugins/SurfaceLIC/doc
+ ( test -f patches/surface_lic.png && cp -f patches/surface_lic.png ${PRODUCT_SRC_DIR}/Plugins/SurfaceLIC/doc )
+fi
+# 5. patch for missing doc generation files (v3.14.0)
+need_patch_plugindoc=1
+if [ "${need_patch_plugindoc}" == "1" ] ; then
+ ( test -f patches/paraview-3.14.0-plugindoc.patch && cp -f patches/paraview-3.14.0-plugindoc.patch ${PRODUCT_SRC_DIR} && cd ${PRODUCT_SRC_DIR} && patch -p1 < paraview-3.14.0-plugindoc.patch )
fi
# to generate environment scripts
--- /dev/null
+--- ParaView-3.14.0_SRC/CMakeLists.txt.orig 2012-04-09 16:27:29.000000000 +0400
++++ ParaView-3.14.0_SRC/CMakeLists.txt 2012-04-09 16:29:55.000000000 +0400
+@@ -409,6 +409,11 @@
+ ${ParaView_CMAKE_DIR}/branded_paraview_initializer.h.in
+ ${ParaView_CMAKE_DIR}/ParaViewCPackOptions.cmake.in
+ ${ParaView_CMAKE_DIR}/pv-forward.c.in
++ ${ParaView_CMAKE_DIR}/generate_proxydocumentation.cmake
++ ${ParaView_CMAKE_DIR}/smxml_to_xml.xsl
++ ${ParaView_CMAKE_DIR}/xml_to_html.xsl
++ ${ParaView_CMAKE_DIR}/xml_to_wiki.xsl.in
++ ${ParaView_CMAKE_DIR}/generate_qhp.cmake
+ # originaly from Qt/Components
+ ${ParaView_CMAKE_DIR}/pqObjectPanelImplementation.h.in
+ ${ParaView_CMAKE_DIR}/pqObjectPanelImplementation.cxx.in