]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update for Salome 6.1.0
authormaintenance team <salome-mnt@opencascade.com>
Tue, 1 Jun 2010 11:49:57 +0000 (11:49 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Tue, 1 Jun 2010 11:49:57 +0000 (11:49 +0000)
config_Mandriva_2008.0.xml
config_files/ParaView-3.7.0.sh [deleted file]
config_files/ParaView-3.7.sh [new file with mode: 0755]
config_files/common.sh
config_files/libBatch-1.1.0.sh

index cd04b1d6014243535e0282f9108cf7bccba5bfe0..229f711dbee0b7ab6a567956b869c22748c1d582 100755 (executable)
@@ -1,11 +1,11 @@
 <document>
 
-  <config version="5.1.4"
+  <config version="6.1.0"
          caption="SALOME v%1"
-         copyright="&lt;h5>Copyright (C) 2007-2009 CEA/DEN, EDF R&amp;D, OPEN CASCADE&lt;br>&lt;br>Copyright (C) 2003-2007 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
+         copyright="&lt;h5>Copyright (C) 2007-2010 CEA/DEN, EDF R&amp;D, OPEN CASCADE&lt;br>&lt;br>Copyright (C) 2003-2007 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
           license="&lt;h5>GNU LGPL&lt;/h5>"
          platforms="Mandriva 2008.0"
-         targetdir="${HOME}/salome_5.1.4"
+         targetdir="${HOME}/salome_6.1.0"
          tempdir="/tmp"
          optionallibs="libcppunit,libblsurf"/>
 
@@ -24,7 +24,7 @@
              type="component"
             description="SALOME platform KERNEL module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="26633,11153,84278"
@@ -35,7 +35,7 @@
              type="component"
             description="SALOME platform GUI module">
       <installation os="Mandriva 2008.0"
-                   version="5.1.4
+                   version="6.1.0
                    disable="false"
                    installdiskspace="21446,10313,79189"
                    script="GUI.sh"/>
@@ -44,7 +44,7 @@
              type="component"
             description="SALOME platform GEOM module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="44527,17706,191768"
@@ -54,7 +54,7 @@
              type="component"
             description="SALOME platform MED module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="113068,71175,376032"
@@ -64,7 +64,7 @@
              type="component"
             description="SALOME platform SMESH module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="63544,15848,244628"
              type="component"
             description="SALOME platform VISU module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="29149,9965,108154"
                    script="VISU.sh"/>
     </product>
+    <product name="PARAVIS"
+             type="component"
+            description="SALOME platform PARAVIS module">
+      <installation os="Mandriva 2008.0"
+                    version="6.1.0" 
+                   disable="false"
+                   installdiskspace="29149,9965,108154"
+                   script="PARAVIS.sh"/>
+    </product>
     <product name="NETGENPLUGIN"
              type="component"
             description="SALOME platform NETGEN meshing algorithm plugin">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="10270,349,39271"
              type="component"
             description="SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable.">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="232,120,2583"
              type="component"
             description="SMESH plugin from CEA">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="232,120,2583"
              type="component"
             description="SMESH plugin from CEA">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="232,120,2583"
              type="component"
             description="SMESH plugin from CEA sources">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="208,221,2958"
              type="component"
             description="SALOME platform COMPONENT module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="9904,685,37988"
                    script="COMPONENT.sh"/>
              type="component"
             description="SALOME platform PYCALCULATOR module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="68,220,2065"
                    script="PYCALCULATOR.sh"/>
              type="component"
             description="SALOME platform CALCULATOR module">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="4100,452,17269"
                    script="CALCULATOR.sh"/>
              type="component"
             description="Example SALOME C++ module: Hello.">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
-                   installdiskspace="2686,196,12245"
+                   installdiskspace="2686,2228,12245"
                    script="HELLO.sh"/>
     </product>
     <product name="PYHELLO" 
              type="component"
             description="Example SALOME Python module: Hello.">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="104,260,2029"
                    script="PYHELLO.sh"/>
              type="component"
             description="LIGHT (no-CORBA-engine) SALOME module example">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="208,221,2958"
                    script="LIGHT.sh"/>
              type="component"
             description="LIGHT Python (no-CORBA-engine) SALOME module example">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="208,221,2958"
                    script="PYLIGHT.sh"/>
              type="component"
             description="SALOME-based module implement simple interface to calculate Sierpinsky fields">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="208,221,2958"
                    script="RANDOMIZER.sh"/>
              type="component"
             description="SALOME-based module implement simple interface to calculate Sierpinsky fields">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="208,221,2958"
                    script="SIERPINSKY.sh"/>
              type="component"
             description="Med Memory package">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="true"
                    installdiskspace="208,221,2958"
                    script="FILTER.sh"/>
              type="component"
             description="Partitioning/decimation module for the SALOME platform">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="208,221,2958"
                    script="MULTIPR.sh"/>
              type="component"
             description="Tool to supervise execution of complex interconnected scientific applications">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="false"
                    installdiskspace="208,221,2958"
                    script="YACS.sh"/>
     </product>
+    <product name="YACSGEN" 
+            type="component"
+             description="Component and module generator for SALOME">
+      <installation os="Mandriva 2008.0"
+                    version="6.1.0" 
+                   disable="false"
+                   installdiskspace="1305,1489,1401"
+                   script="YACSGEN.sh"/>
+
+    </product>
+    <product name="JOBMANAGER" 
+            type="component"
+             description="Component and module generator for SALOME">
+      <installation os="Mandriva 2008.0"
+                    version="6.1.0" 
+                   disable="false"
+                   installdiskspace="1305,1489,1401"
+                   script="JOBMANAGER.sh"/>
+    </product>
     <product name="SAMPLES"
              type="component"
             description="SALOME samples files">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="0,48711,0"
             type="component"
              description="SALOME module generator">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="769,10242,14097"
                    script="HXX2SALOME.sh"/>
             type="component"
              description="SALOME module generator documentation">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    installdiskspace="9713,9691,19636"
                    script="HXX2SALOMEDOC.sh"/>
     </product>
-
     <product name="DOCUMENTATION"
             type="component"
              description="SALOME documentation">
       <installation os="Mandriva 2008.0"
-                    version="5.1.4
+                    version="6.1.0
                    disable="false"
                    woguimode="true"
                    installdiskspace="0,205188,0"
                    installdiskspace="37844,38843,234392"
                    script="cmake-2.8.0.sh"/>
     </product>
-    <product name="Vtk"
+    <product name="ParaView"
             type="prerequisite"
-            description="Image processing, 3D graphics and visualization software system">
+            description="Scalable, open-source visualization application">
+      <installation os="Mandriva 2008.0"
+                    version="5.0.4" 
+                   disable="false"
+                   installdiskspace="184305,235584,234392"
+                   script="ParaView-3.7.sh"/>
+    </product>
+    <product name="MedReader"
+            type="prerequisite"
+            description="Plug-in for import med files in PARAVIS module">
       <installation os="Mandriva 2008.0"
                     version="5.0.4" 
                    disable="false"
                    installdiskspace="37844,38843,234392"
-                   script="VTK-5.0.4.sh"/>
+                   script="MedReader-3.0.0.sh"/>
     </product>
     <product name="numpy"
             type="prerequisite"
             type="prerequisite"
              description="Generic batch management library">
       <installation os="Mandriva 2008.0"
-                    version="1.0.0" 
+                    version="1.1.0" 
                    disable="false"
                    installdiskspace="1305,1489,1401"
-                   script="libBatch-1.0.0.sh"/>
-    </product>
-    <product name="YACSGEN" 
-            type="prerequisite"
-             description="Component and module generator for SALOME">
-      <installation os="Mandriva 2008.0"
-                    version="5.1.4" 
-                   disable="false"
-                   installdiskspace="1305,1489,1401"
-                   script="YACSGEN-5.1.4.sh"/>
+                   script="libBatch-1.1.0.sh"/>
     </product>
     <product name="expat"
             type="prerequisite"
       <installation os="Mandriva 2008.0"
                     version="2.0.1" 
                    disable="false"
-                   installdiskspace="1115.1.43,5108"
+                   installdiskspace="1116,2163,5108"
                    script="expat-2.0.1.sh"/>
     </product>
     <product name="Graphviz"
       <dep>Qt</dep>
       <dep>Qwt</dep>
       <dep>Hdf</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>OmniORB</dep>
       <dep>Sip</dep>
       <dep>PyQt</dep>
       <dep>Qwt</dep>
       <dep>Hdf</dep>
       <dep>Med</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
+      <dep>OmniORB</dep>
+      <dep>Doxygen</dep>
+      <dep>Graphviz</dep>
+      <dep>docutils</dep>
+      <dep>KERNEL</dep>
+      <dep>GUI</dep>
+      <dep>MED</dep>
+    </product>
+    <product name="PARAVIS">
+      <dep>boost</dep>
+      <dep>OpenCascade</dep>
+      <dep>Python</dep>
+      <dep>Swig</dep>
+      <dep>Qt</dep>
+      <dep>Qwt</dep>
+      <dep>Hdf</dep>
+      <dep>Med</dep>
+      <dep>ParaView</dep>
+      <dep>MedReader</dep>
       <dep>OmniORB</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>Qwt</dep>
       <dep>Hdf</dep>
       <dep>Med</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>OmniORB</dep>
       <dep>Sip</dep>
       <dep>PyQt</dep>
       <dep>Python</dep>
       <dep>Qt</dep>
       <dep>Hdf</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
       <dep>Python</dep>
       <dep>Qt</dep>
       <dep>Hdf</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
       <dep>Qt</dep>
       <dep>Hdf</dep>
       <dep>Med</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>OmniORB</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>Qwt</dep>
       <dep>Hdf</dep>
       <dep>Med</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>OmniORB</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
     <product name="Med">
       <dep>Hdf</dep>
     </product>
-    <product name="Vtk">
+    <product name="ParaView">
       <dep>Python</dep>
       <dep>tcltk</dep>
+      <dep>Hdf</dep>
+      <dep>cmake</dep>
+    </product>
+    <product name="MedReader">
+      <dep>Hdf</dep>
+      <dep>Med</dep>
+      <dep>ParaView</dep>
       <dep>cmake</dep>
     </product>
     <product name="numpy">
     <product name="YACSGEN">
       <dep>Python</dep>
     </product>
+    <product name="JOBMANAGER">
+      <dep>Qt</dep>
+      <dep>OmniORB</dep>
+      <dep>Sphinx</dep>
+      <dep>KERNEL</dep>
+      <dep>GUI</dep>
+    </product>
     <product name="xdata">
       <dep>Python</dep>
       <dep>Qt</dep>
       <dep>PyQt</dep>
       <dep>OmniORB</dep>
-      <dep>Vtk</dep>
+      <dep>ParaView</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>MED</dep>
diff --git a/config_files/ParaView-3.7.0.sh b/config_files/ParaView-3.7.0.sh
deleted file mode 100755 (executable)
index 32f60cc..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : ParaViev-3.7.0.sh
-#  Created   : Thu Dec 18 12:01:00 2002
-#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
-#  Project   : SALOME
-#  Module    : Installation Wizard
-#  Copyright : 2002-2008 CEA
-#
-#  This script is the part of the SALOME installation procedure.
-#
-####################################################################################
-
-#
-# VTK version
-#
-PVVERSION=3.7.0
-
-check_version()
-{
-if [ -z "$PARAVIEW" ]; then
-   return 1 
-fi
-check_lib_version libvtkCommon.so ${PVHOME}/lib/paraview-3.7
-if [ "$?" -eq "0" ]; then
-   return 0
-fi
-return 1
-}
-
-print_env_bin()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PVVERSION=3.7.0
-export PVHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PATH=\${PVHOME}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${PVHOME}/lib/paraview-\${PVVERSION}:\${LD_LIBRARY_PATH}
-export PYTHONPATH=\${PVHOME}/lib/python\${PYTHON_VERSION}/site-packages:\${PYTHONPATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-print_env_src()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
-#$DELIM ${PRODUCT_TYPE}_src $DELIM
-# nothing to do
-##
-EOF
-(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-return $?
-}
-
-install_source()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_source_and_build()
-{
-# install sources
-install_source
-
-# build sources
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-export PRODUCT_BUILD_DIR=${PRODUCT_DIR}_build
-mkdir ${PRODUCT_BUILD_DIR}
-cd ${PRODUCT_BUILD_DIR}
-# get Python and tcl/tk version
-python_version="`python -c 'import sys; print sys.version[:3]'`"
-tcl_version=""
-tcl_includes=""
-tcl_libs=""
-tcldir="`where_tcl`"
-if [ $? -eq 0 ] && [ -e ${tcldir}/tclConfig.sh ] ; then
-    tcl_version=`grep -e "TCL_VERSION=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_VERSION=[\'|\"]\(.*\)[\'|\"]%\1%g"`
-    tcl_includes=`grep -e "TCL_INCLUDE_SPEC=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_INCLUDE_SPEC=[\'|\"]-I\(.*\)[\'|\"]%\1%g"`
-    if [ -z "$tcl_includes" ] ; then tcl_includes=/usr/include ; fi
-    tcl_libs=`grep -e "TCL_PACKAGE_PATH=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_PACKAGE_PATH=[\'|\"]\(.*\)[\'|\"]%\1%g"`
-fi
-    
-VTK_CMAKE_OPTIONS=""
-
-### compiler options
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS"-DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1"
-
-### common VTK settings
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_BUILD_QT_GUI:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_CXX_COMPILER:STRING=`which g++`"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_C_COMPILER:STRING=`which gcc`"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_DIR}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_HYBRID:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_GL2PS:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_PARALLEL:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_PATENTED:BOOL=OFF" 
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_RENDERING:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_GL2PS:BOOL=ON"
-
-### 64 bit platforms
-  if test `uname -m` = "x86_64" ; then
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_CXX_FLAGS:STRING=-m64"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_C_FLAGS:STRING=-m64"
-  fi
-
-### Wrap Python settings
-if [ "${python_version}" != "" ]; then
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_ENABLE_PYTHON:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_PYTHON:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_EXECUTABLE:STRING=${PYTHONROOT}/bin/python${python_version}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_INCLUDE_PATH:STRING=${PYTHONROOT}/include/python${python_version}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_LIBRARY:STRING=${PYTHONROOT}/lib/python${python_version}/config/libpython${python_version}.a"
-fi
-### Wrap Tcl settings
-if [ "${tcl_version}" != "" ] && [ "${tcl_includes}" != "" ] && [ "${tcl_libs}" != "" ] ; then
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_INCLUDE_PATH:STRING=${tcl_includes}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_LIBRARY:STRING=${tcl_libs}/libtcl${tcl_version}.so"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_STUB_LIBRARY:STRING=${tcl_libs}/libtclstub${tcl_version}.a"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_TCLSH:STRING=${TCLHOME}/bin/tclsh${tcl_version}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_INCLUDE_PATH:STRING=${tcl_includes}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_LIBRARY:STRING=${tcl_libs}/libtk${tcl_version}.so"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_STUB_LIBRARY:STRING=${tcl_libs}/libtkstub${tcl_version}.a"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_WISH:STRING=${TCLHOME}/bin/wish${tcl_version}"
-fi
-### common PARAVIEW settings
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_BUILD_QT_GUI:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON"
-
-### Wrap HDF5 settings
-if [ "${HDF5HOME}" != "" ]; then
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=OFF"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DHDF5_INCLUDE_DIR:STRING=${HDF5HOME}/include"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DHDF5_LIBRARY:STRING=${HDF5HOME}/lib"
-fi
-### if Mesa is pre-installed
-if [ -n "$MESA_HOME" ]; then
-  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_INCLUDE_DIR:STRING=${MESA_HOME}/include"
-  if test `uname -m` = "x86_64" ; then
-      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_gl_LIBRARY:STRING=${MESA_HOME}/lib64/libGL.so"
-      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_glu_LIBRARY:STRING=${MESA_HOME}/lib64/libGLU.so"
-  else
-      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_gl_LIBRARY:STRING=${MESA_HOME}/lib/libGL.so"
-      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_glu_LIBRARY:STRING=${MESA_HOME}/lib/libGLU.so"
-  fi
-  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_xmesa_INCLUDE_DIR:STRING=${MESA_HOME}/include"
-fi
-cat > ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
-used VTK settings:
-$VTK_CMAKE_OPTIONS
-EOF
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG cmake ${PRODUCT_SRC_DIR} $VTK_CMAKE_OPTIONS
-cat > ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-#-------------------- Additional coping
-
-mkdir ${PRODUCT_DIR}/include/paraview-3.7/CMake
-
-cp -f ${PRODUCT_SRC_DIR}/CMake/pqParaViewPlugin.cxx.in ${PRODUCT_DIR}/include/paraview-3.7/CMake
-cp -f ${PRODUCT_SRC_DIR}/CMake/pqParaViewPlugin.h.in ${PRODUCT_DIR}/include/paraview-3.7/CMake
-
-cp -f ${PRODUCT_SRC_DIR}/CMake/ParaViewMacros.cmake ${PRODUCT_DIR}/lib/paraview-3.7/CMake
-cp -f ${PRODUCT_SRC_DIR}/CMake/ParaViewBranding.cmake ${PRODUCT_DIR}/lib/paraview-3.7/CMake
-cp -f ${PRODUCT_SRC_DIR}/CMake/ParaViewBrandingCPack.cmake ${PRODUCT_DIR}/lib/paraview-3.7/CMake
-
-cp -f ${PRODUCT_SRC_DIR}/VTK/Common/vtkABI.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqPVApplicationCore.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/*Behavior*.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/*Reaction*.h ${PRODUCT_DIR}/include/paraview-3.7
-
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqViewMenuManager.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqParaViewMenuBuilders.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqProxyGroupMenuManager.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqPVAnimationWidget.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_SRC_DIR}/VTK/Wrapping/vtkParse.h ${PRODUCT_DIR}/include/paraview-3.7
-
-cp -f ${PRODUCT_BUILD_DIR}/Qt/ApplicationComponents/pqApplicationComponentsExport.h ${PRODUCT_DIR}/include/paraview-3.7
-cp -f ${PRODUCT_BUILD_DIR}/vtkPVConfig.h ${PRODUCT_DIR}/include/paraview-3.7
-
-
-cd ${PRODUCT_DIR};
-
-# remove sources and temporary files after building
-if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
-    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
-fi
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_binary()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-# create a product directory
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-# to generate environment script for sources
-try_preinstalled
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INST_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-export PRODUCT_TYPE=$6;
-export INSTALL_PRODUCTS=$7;
-shift
-REMOVE_SRC_TMP=$8;
-test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="ParaView-${PVVERSION}"
-export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/ParaView-3.7.sh b/config_files/ParaView-3.7.sh
new file mode 100755 (executable)
index 0000000..489ff26
--- /dev/null
@@ -0,0 +1,244 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : ParaViev-3.7.sh
+#  Created   : Thu Dec 18 12:01:00 2002
+#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
+#  Project   : SALOME
+#  Module    : Installation Wizard
+#  Copyright : 2002-2008 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+#
+# VTK version
+#
+PVVERSION=3.7
+
+check_version()
+{
+if [ -z "$PARAVIEW" ]; then
+   return 1 
+fi
+check_lib_version libvtkCommon.so ${PVHOME}/lib/paraview-3.7
+if [ "$?" -eq "0" ]; then
+   return 0
+fi
+return 1
+}
+
+print_env_bin()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PVVERSION=3.7
+export PVHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PATH=\${PVHOME}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${PVHOME}/lib/paraview-\${PVVERSION}:\${LD_LIBRARY_PATH}
+export PYTHONPATH=\${PVHOME}/lib/python\${PYTHON_VERSION}/site-packages:\${PYTHONPATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+print_env_src()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
+#$DELIM ${PRODUCT_TYPE}_src $DELIM
+# nothing to do
+##
+EOF
+(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+return $?
+}
+
+install_source()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+export PRODUCT_BUILD_DIR=${PRODUCT_DIR}_build
+mkdir ${PRODUCT_BUILD_DIR}
+cd ${PRODUCT_BUILD_DIR}
+# get Python and tcl/tk version
+python_version="`python -c 'import sys; print sys.version[:3]'`"
+tcl_version=""
+tcl_includes=""
+tcl_libs=""
+tcldir="`where_tcl`"
+if [ $? -eq 0 ] && [ -e ${tcldir}/tclConfig.sh ] ; then
+    tcl_version=`grep -e "TCL_VERSION=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_VERSION=[\'|\"]\(.*\)[\'|\"]%\1%g"`
+    tcl_includes=`grep -e "TCL_INCLUDE_SPEC=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_INCLUDE_SPEC=[\'|\"]-I\(.*\)[\'|\"]%\1%g"`
+    if [ -z "$tcl_includes" ] ; then tcl_includes=/usr/include ; fi
+    tcl_libs=`grep -e "TCL_PACKAGE_PATH=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_PACKAGE_PATH=[\'|\"]\(.*\)[\'|\"]%\1%g"`
+fi
+    
+VTK_CMAKE_OPTIONS=""
+
+### compiler options
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS"-DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1"
+
+### common VTK settings
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_BUILD_QT_GUI:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_CXX_COMPILER:STRING=`which g++`"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_C_COMPILER:STRING=`which gcc`"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_DIR}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_HYBRID:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_GL2PS:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_PARALLEL:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_PATENTED:BOOL=OFF" 
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_RENDERING:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_GL2PS:BOOL=ON"
+
+### 64 bit platforms
+  if test `uname -m` = "x86_64" ; then
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_CXX_FLAGS:STRING=-m64"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_C_FLAGS:STRING=-m64"
+  fi
+
+### Wrap Python settings
+if [ "${python_version}" != "" ]; then
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_ENABLE_PYTHON:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_PYTHON:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_EXECUTABLE:STRING=${PYTHONROOT}/bin/python${python_version}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_INCLUDE_PATH:STRING=${PYTHONROOT}/include/python${python_version}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_LIBRARY:STRING=${PYTHONROOT}/lib/python${python_version}/config/libpython${python_version}.a"
+fi
+### Wrap Tcl settings
+if [ "${tcl_version}" != "" ] && [ "${tcl_includes}" != "" ] && [ "${tcl_libs}" != "" ] ; then
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_INCLUDE_PATH:STRING=${tcl_includes}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_LIBRARY:STRING=${tcl_libs}/libtcl${tcl_version}.so"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_STUB_LIBRARY:STRING=${tcl_libs}/libtclstub${tcl_version}.a"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_TCLSH:STRING=${TCLHOME}/bin/tclsh${tcl_version}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_INCLUDE_PATH:STRING=${tcl_includes}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_LIBRARY:STRING=${tcl_libs}/libtk${tcl_version}.so"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_STUB_LIBRARY:STRING=${tcl_libs}/libtkstub${tcl_version}.a"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_WISH:STRING=${TCLHOME}/bin/wish${tcl_version}"
+fi
+### common PARAVIEW settings
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_BUILD_QT_GUI:BOOL=ON"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON"
+
+### Wrap HDF5 settings
+if [ "${HDF5HOME}" != "" ]; then
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=OFF"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DHDF5_INCLUDE_DIR:STRING=${HDF5HOME}/include"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DHDF5_LIBRARY:STRING=${HDF5HOME}/lib"
+fi
+### if Mesa is pre-installed
+if [ -n "$MESA_HOME" ]; then
+  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_INCLUDE_DIR:STRING=${MESA_HOME}/include"
+  if test `uname -m` = "x86_64" ; then
+      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_gl_LIBRARY:STRING=${MESA_HOME}/lib64/libGL.so"
+      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_glu_LIBRARY:STRING=${MESA_HOME}/lib64/libGLU.so"
+  else
+      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_gl_LIBRARY:STRING=${MESA_HOME}/lib/libGL.so"
+      VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_glu_LIBRARY:STRING=${MESA_HOME}/lib/libGLU.so"
+  fi
+  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_xmesa_INCLUDE_DIR:STRING=${MESA_HOME}/include"
+fi
+cat > ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
+used VTK settings:
+$VTK_CMAKE_OPTIONS
+EOF
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG cmake ${PRODUCT_SRC_DIR} $VTK_CMAKE_OPTIONS
+cat > ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+
+check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
+
+#-------------------- Additional coping
+
+mkdir ${PRODUCT_DIR}/include/paraview-3.7/CMake
+
+cp -f ${PRODUCT_SRC_DIR}/CMake/pqParaViewPlugin.cxx.in ${PRODUCT_DIR}/include/paraview-3.7/CMake
+cp -f ${PRODUCT_SRC_DIR}/CMake/pqParaViewPlugin.h.in ${PRODUCT_DIR}/include/paraview-3.7/CMake
+
+cp -f ${PRODUCT_SRC_DIR}/CMake/ParaViewMacros.cmake ${PRODUCT_DIR}/lib/paraview-3.7/CMake
+cp -f ${PRODUCT_SRC_DIR}/CMake/ParaViewBranding.cmake ${PRODUCT_DIR}/lib/paraview-3.7/CMake
+cp -f ${PRODUCT_SRC_DIR}/CMake/ParaViewBrandingCPack.cmake ${PRODUCT_DIR}/lib/paraview-3.7/CMake
+
+cp -f ${PRODUCT_SRC_DIR}/VTK/Common/vtkABI.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqPVApplicationCore.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/*Behavior*.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/*Reaction*.h ${PRODUCT_DIR}/include/paraview-3.7
+
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqViewMenuManager.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqParaViewMenuBuilders.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqProxyGroupMenuManager.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/Qt/ApplicationComponents/pqPVAnimationWidget.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_SRC_DIR}/VTK/Wrapping/vtkParse.h ${PRODUCT_DIR}/include/paraview-3.7
+
+cp -f ${PRODUCT_BUILD_DIR}/Qt/ApplicationComponents/pqApplicationComponentsExport.h ${PRODUCT_DIR}/include/paraview-3.7
+cp -f ${PRODUCT_BUILD_DIR}/vtkPVConfig.h ${PRODUCT_DIR}/include/paraview-3.7
+
+
+cd ${PRODUCT_DIR};
+
+# remove sources and temporary files after building
+if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
+    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_binary()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+# create a product directory
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+# to generate environment script for sources
+try_preinstalled
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INST_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+export PRODUCT_TYPE=$6;
+export INSTALL_PRODUCTS=$7;
+shift
+REMOVE_SRC_TMP=$8;
+test $# == 10 && shift && SINGLE_DIR=$9
+export PRODUCT="ParaView-${PVVERSION}"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
+source ./common.sh
+$PROCEDURE 
index 5aa9960d992d6ea97eb453275d55998f39c852de..4eafffbb818c54b15c952905ff92a58c372cc946 100755 (executable)
@@ -34,9 +34,8 @@ if [ -n "$root_dir" ]; then
     cfg_file=configure.ac
     if [ ! -f ${root_dir}/${cfg_file} ] ; then
        cfg_file=configure.in.base
-       if [ ! -f ${root_dir}/${cfg_file} ] ; then
+       else
            cfg_file=CMakeLists.txt
-           if
        fi
     if [ -f ${root_dir}/${cfg_file} ] ; then
        if [ "${cfg_file}" = "CMakeLists.txt" ] ; then
@@ -866,7 +865,14 @@ if [ "$l" != "X" ] ; then
            -e "s%[^[:space:]]*expat[^[:space:]]*/lib/libexpat.la%-lexpat%g" $l > $l"_"
        chmod -f --reference=$l $l"_"
        mv -f $l"_" $l          
+
+    # 22. process ParaView dependencies
+    paraviewdir=`printenv PVHOME`/lib
+    if [ ! -d ${paraviewdir} ] ; then paraviewdir=`printenv PVHOME`/lib ; fi
+    sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*ParaView-[0-9]\.[0-9]/lib% \1${paraviewdir}%g" $l > $l"_"
+    chmod -f --reference=$l $l"_"
+    mv -f $l"_" $l 
+
 fi
 done
 
index 2aa775339c3aaf610778b5b7acb576ddf675baed..8e1b43b72fe0fe32b4bdc819b25f65c5d8e2a8bf 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash -noprofile
 
 ####################################################################################
-#  File      : libBatch-1.0.0.sh
+#  File      : libBatch-1.1.0.sh
 #  Created   : Thu Dec 18 12:01:00 2002
 #  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
 #  Project   : SALOME