<document>
- <config version="3.0.0"
+ <config version="3.1.0a2"
caption="SALOME v%1"
copyright="<h5>Copyright (C) 2003-2005 OPEN CASCADE,<br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D,<br>LEG, PRINCIPIA R&D, BUREAU VERITAS</h5>"
license="<h5>GNU LGPL</h5>"
<path targetdir="/salome"
tempdir="/tmp"/>
<product name="gcc"
- version="3.4.1"
+ version="3.2"
description="GNU Compiler Collection"
install="use native"
supported="use native"
dependancies=""
installdiskspace="0"
temporarydiskspace="0"
- script="gcc-3.4.sh"/>
+ script="gcc-3.2.sh"/>
<product name="tcltk"
version="8.4.5"
description="Tcl/Tk library"
temporarydiskspace="25500"
script="SWIG-1.3.24.sh"/>
<product name="OpenCascade"
- version="5.2.3"
- description="Open CASCADE version 5.2.3 patched for Mandrake 10.1"
+ version="6.0"
+ description="Open CASCADE version 6.0"
install="install binaries"
- supported="install binaries"
+ supported="install sources,install binaries"
disable="false"
- dependancies=""
+ dependancies="gcc,tcltk"
installdiskspace="216457"
temporarydiskspace="0"
- script="CAS-5.2.3.sh"/>
- <product name="OpenCascade-patch"
- version="0.0"
- description="Patch for Open CASCADE version 5.2"
- install="install sources"
- supported="install sources"
- disable="true"
- dependancies=""
- installdiskspace="69"
- temporarydiskspace="0"
- script="CAS-5.2-patch.sh"/>
+ script="CAS-6.0.sh"/>
<product name="Qwt"
version="4.2.0"
description="2-D plotting extension for Qt library"
<document>
- <config version="3.0.0"
+ <config version="3.1.0a2"
caption="SALOME v%1"
copyright="<h5>Copyright (C) 2003-2005 OPEN CASCADE,<br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D,<br>LEG, PRINCIPIA R&D, BUREAU VERITAS</h5>"
license="<h5>GNU LGPL</h5>"
temporarydiskspace="25500"
script="SWIG-1.3.24.sh"/>
<product name="OpenCascade"
- version="5.2.3"
- description="Open CASCADE version 5.2.3 patched for Mandrake 10.1"
+ version="6.0"
+ description="Open CASCADE version 6.0.0"
install="install binaries"
supported="install binaries"
disable="false"
- dependancies=""
+ dependancies="gcc,tcltk"
installdiskspace="216457"
temporarydiskspace="0"
- script="CAS-5.2.3.sh"/>
- <product name="OpenCascade-patch"
- version="0.0"
- description="Patch for Open CASCADE version 5.2"
- install="install sources"
- supported="install sources"
- disable="true"
- dependancies=""
- installdiskspace="69"
- temporarydiskspace="0"
- script="CAS-5.2-patch.sh"/>
+ script="CAS-6.0.sh"/>
<product name="Qwt"
version="4.2.0"
description="2-D plotting extension for Qt library"
temporarydiskspace="8216"
script="netgen-4.3.sh"/>
<product name="KERNEL-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform KERNEL module sources"
install="install sources"
pickupenv="true"
script="KERNEL_SRC.sh"/>
<product name="KERNEL-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform KERNEL module"
install="install binaries"
pickupenv="true"
script="KERNEL_BIN.sh"/>
<product name="GUI-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform GUI module sources"
install="install sources"
temporarydiskspace="0"
script="GUI_SRC.sh"/>
<product name="GUI-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform GUI module"
install="install binaries"
temporarydiskspace="0"
script="GUI_BIN.sh"/>
<product name="GEOM-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform GEOM modules sources"
install="install sources"
temporarydiskspace="0"
script="GEOM_SRC.sh"/>
<product name="GEOM-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform GEOM module"
install="install binaries"
temporarydiskspace="0"
script="GEOM_BIN.sh"/>
<product name="MED-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform MED module sources"
install="install sources"
temporarydiskspace="0"
script="MED_SRC.sh"/>
<product name="MED-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform MED module"
install="install binaries"
temporarydiskspace="0"
script="MED_BIN.sh"/>
<product name="SMESH-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform SMESH module sources"
install="install sources"
temporarydiskspace="0"
script="SMESH_SRC.sh"/>
<product name="SMESH-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform SMEHS module"
install="install binaries"
temporarydiskspace="0"
script="SMESH_BIN.sh"/>
<product name="VISU-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform VISU module sources"
install="install sources"
temporarydiskspace="0"
script="VISU_SRC.sh"/>
<product name="VISU-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform VISU module"
install="install binaries"
temporarydiskspace="0"
script="VISU_BIN.sh"/>
<product name="SUPERV-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform SUPERV module sources"
install="install sources"
temporarydiskspace="0"
script="SUPERV_SRC.sh"/>
<product name="SUPERV-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform SUPERV module"
install="install binaries"
temporarydiskspace="0"
script="SUPERV_BIN.sh"/>
<product name="COMPONENT-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform COMPONENT module sources"
install="install sources"
temporarydiskspace="0"
script="COMPONENT_SRC.sh"/>
<product name="COMPONENT-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform COMPONENT module"
install="install binaries"
temporarydiskspace="0"
script="COMPONENT_BIN.sh"/>
<product name="PYCALCULATOR-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform PYCALCULATOR module sources"
install="install sources"
temporarydiskspace="0"
script="PYCALCULATOR_SRC.sh"/>
<product name="PYCALCULATOR-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform PYCALCULATOR module"
install="install binaries"
temporarydiskspace="0"
script="PYCALCULATOR_BIN.sh"/>
<product name="NETGENplugin-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform NETGEN meshing algorithm plugin sources"
install="install sources"
temporarydiskspace="0"
script="NETGENPLUGIN_SRC.sh"/>
<product name="NETGENplugin-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
install="install binaries"
temporarydiskspace="0"
script="NETGENPLUGIN_BIN.sh"/>
<product name="GHS3Dplugin-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
install="install sources"
temporarydiskspace="0"
script="GHS3DPLUGIN_SRC.sh"/>
<product name="GHS3Dplugin-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
install="install binaries"
temporarydiskspace="0"
script="GHS3DPLUGIN_BIN.sh"/>
<product name="Hello-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="Example SALOME C++ module (sources): Hello."
install="install sources"
temporarydiskspace="0"
script="HELLO_SRC.sh"/>
<product name="Hello-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Example SALOME C++ module (binaries): Hello."
install="install binaries"
temporarydiskspace="0"
script="HELLO_BIN.sh"/>
<product name="PyHello-Src"
- version="3.0.0"
+ version="3.1.0a2"
context="salome sources"
description="Example SALOME Python module (sources): Hello."
install="install sources"
temporarydiskspace="0"
script="PYHELLO_SRC.sh"/>
<product name="PyHello-Bin"
- version="3.0.0"
+ version="3.1.0a2"
context="salome binaries"
description="Example SALOME Python module (binaries): Hello."
install="install binaries"
--- /dev/null
+<document>
+ <config version="3.1.0a2"
+ caption="SALOME v%1"
+ copyright="<h5>Copyright (C) 2003-2005 OPEN CASCADE,<br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D,<br>LEG, PRINCIPIA R&D, BUREAU VERITAS</h5>"
+ license="<h5>GNU LGPL</h5>"
+ os="RedHat8.0"/>
+ <path targetdir="/salome"
+ tempdir="/tmp"/>
+ <product name="gcc"
+ version="3.2"
+ description="GNU Compiler Collection"
+ install="use native"
+ supported="use native"
+ disable="false"
+ dependancies=""
+ installdiskspace="0"
+ temporarydiskspace="0"
+ script="gcc-3.2.sh"/>
+ <product name="tcltk"
+ version="8.3.3"
+ description="Tcl/Tk library"
+ install="use native"
+ supported="use native"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="0"
+ temporarydiskspace="0"
+ script="tcltk8.3.3.sh"/>
+ <product name="Python"
+ version="2.3.5"
+ description="Python language interpreter"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="26248"
+ temporarydiskspace="0"
+ script="Python-2.3.5.sh"/>
+ <product name="Qt"
+ version="3.3.3"
+ description="Multiplatform C++ GUI application framework"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="42571"
+ temporarydiskspace="0"
+ script="qt-3.3.3.sh"/>
+ <product name="msg2qm"
+ version=""
+ description="Qt's resources compiler"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Qt"
+ installdiskspace="21"
+ temporarydiskspace="0"
+ script="msg2qm.sh"/>
+ <product name="Sip"
+ version="4.1"
+ description="C++ to Python bindings generation tool"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Python,Qt"
+ installdiskspace="291"
+ temporarydiskspace="0"
+ script="sip-4.1.sh"/>
+ <product name="PyQt"
+ version="3.13"
+ description="Python bindings for Qt library"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Python,Qt,Sip"
+ installdiskspace="14511"
+ temporarydiskspace="0"
+ script="PyQt-3.13.sh"/>
+ <product name="boost"
+ version="1.30.2"
+ description="Free peer-reviewed portable STL extension"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="38069"
+ temporarydiskspace="0"
+ script="BOOST-1.30.2.sh"/>
+ <product name="Swig"
+ version="1.3.17"
+ description="Simplified Wrapper and Interface Generator"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,Python,tcltk"
+ installdiskspace="1947"
+ temporarydiskspace="12308"
+ script="SWIG-1.3.17.sh"/>
+ <product name="OpenCascade"
+ version="6.0"
+ description="Open CASCADE version 6.0"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk"
+ installdiskspace="220800"
+ temporarydiskspace="2"
+ script="CAS-6.0.sh"/>
+ <product name="Qwt"
+ version="0.4.1"
+ description="2-D plotting extension for Qt library"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Qt"
+ installdiskspace="2626"
+ temporarydiskspace="0"
+ script="qwt-0.4.1.sh"/>
+ <product name="OmniORB"
+ version="4.0.5"
+ description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Python"
+ installdiskspace="30773"
+ temporarydiskspace="0"
+ script="omniORB-4.0.5.sh"/>
+ <product name="Hdf"
+ version="5-1.4.4"
+ description="Hierarchical Data Format library"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="3163"
+ temporarydiskspace="0"
+ script="hdf5-1.4.4.sh"/>
+ <product name="Med"
+ version="2.2.2"
+ description="MED format interface library"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Hdf"
+ installdiskspace="18215"
+ temporarydiskspace="0"
+ script="med-2.2.2.sh"/>
+ <product name="Vtk"
+ version="4.2.2"
+ description="Image processing, 3D graphics and visualization software system"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,Python"
+ installdiskspace="39073"
+ temporarydiskspace="0"
+ script="VTK-4.2.2.sh"/>
+ <product name="Numeric"
+ version="22.0"
+ description="Numerical extension to Python"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Python"
+ installdiskspace="2645"
+ temporarydiskspace="0"
+ script="Numeric-22.0.sh"/>
+ <product name="HappyDoc"
+ version="2.1"
+ description="Python source code documentation extracting tool"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="Python"
+ installdiskspace="1502"
+ temporarydiskspace="0"
+ script="HappyDoc-r2_1.sh"/>
+ <product name="Doxygen"
+ version="1.3-rc2"
+ description="Documentation system for C++, C, Java, IDL, etc."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,Qt"
+ installdiskspace="6066"
+ temporarydiskspace="0"
+ script="doxygen-1.3-rc2.sh"/>
+ <product name="Graphviz"
+ version="1.9"
+ description="Graph Drawing Programs set"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk"
+ installdiskspace="17724"
+ temporarydiskspace="0"
+ script="graphviz-1.9.sh"/>
+ <product name="netgen"
+ version="4.3"
+ description="Quadrangle meshing algorithmic tool"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="2966"
+ temporarydiskspace="0"
+ script="netgen-4.3.sh"/>
+ <product name="KERNEL-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform KERNEL module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
+ installdiskspace="29072"
+ temporarydiskspace="0"
+ pickupenv="true"
+ script="KERNEL_SRC.sh"/>
+ <product name="KERNEL-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform KERNEL module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
+ installdiskspace="58157"
+ temporarydiskspace="0"
+ pickupenv="true"
+ script="KERNEL_BIN.sh"/>
+ <product name="GUI-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform GUI module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src"
+ installdiskspace="29072"
+ temporarydiskspace="0"
+ script="GUI_SRC.sh"/>
+ <product name="GUI-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform GUI module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin"
+ installdiskspace="58157"
+ temporarydiskspace="0"
+ script="GUI_BIN.sh"/>
+ <product name="GEOM-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform GEOM modules sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+ installdiskspace="10725"
+ temporarydiskspace="0"
+ script="GEOM_SRC.sh"/>
+ <product name="GEOM-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform GEOM module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="37416"
+ temporarydiskspace="0"
+ script="GEOM_BIN.sh"/>
+ <product name="MED-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform MED module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+ installdiskspace="17889"
+ temporarydiskspace="0"
+ script="MED_SRC.sh"/>
+ <product name="MED-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform MED module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="46726"
+ temporarydiskspace="0"
+ script="MED_BIN.sh"/>
+ <product name="SMESH-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform SMESH module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
+ installdiskspace="11912"
+ temporarydiskspace="0"
+ script="SMESH_SRC.sh"/>
+ <product name="SMESH-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform SMEHS module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
+ installdiskspace="44297"
+ temporarydiskspace="0"
+ script="SMESH_BIN.sh"/>
+ <product name="VISU-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform VISU module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,MED-Src"
+ installdiskspace="7049"
+ temporarydiskspace="0"
+ script="VISU_SRC.sh"/>
+ <product name="VISU-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform VISU module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,MED-Bin"
+ installdiskspace="23134"
+ temporarydiskspace="0"
+ script="VISU_BIN.sh"/>
+ <product name="SUPERV-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform SUPERV module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+ installdiskspace="7977"
+ temporarydiskspace="0"
+ script="SUPERV_SRC.sh"/>
+ <product name="SUPERV-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform SUPERV module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="41583"
+ temporarydiskspace="0"
+ script="SUPERV_BIN.sh"/>
+ <product name="COMPONENT-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform COMPONENT module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+ installdiskspace="320"
+ temporarydiskspace="0"
+ script="COMPONENT_SRC.sh"/>
+ <product name="COMPONENT-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform COMPONENT module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="10888"
+ temporarydiskspace="0"
+ script="COMPONENT_BIN.sh"/>
+ <product name="PYCALCULATOR-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform PYCALCULATOR module sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+ installdiskspace="149"
+ temporarydiskspace="0"
+ script="PYCALCULATOR_SRC.sh"/>
+ <product name="PYCALCULATOR-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform PYCALCULATOR module"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="29"
+ temporarydiskspace="0"
+ script="PYCALCULATOR_BIN.sh"/>
+ <product name="NETGENplugin-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform NETGEN meshing algorithm plugin sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,netgen,KERNEL-Src,GUI-Src,SMESH-Src"
+ installdiskspace="73"
+ temporarydiskspace="0"
+ script="NETGENPLUGIN_SRC.sh"/>
+ <product name="NETGENplugin-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,netgen,KERNEL-Bin,GUI-Bin,SMESH-Bin"
+ installdiskspace="2611"
+ temporarydiskspace="0"
+ script="NETGENPLUGIN_BIN.sh"/>
+ <product name="GHS3Dplugin-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,KERNEL-Src,GUI-Src,SMESH-Src"
+ installdiskspace="55"
+ temporarydiskspace="0"
+ script="GHS3DPLUGIN_SRC.sh"/>
+ <product name="GHS3Dplugin-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,KERNEL-Bin,GUI-Bin,SMESH-Bin"
+ installdiskspace="174"
+ temporarydiskspace="0"
+ script="GHS3DPLUGIN_BIN.sh"/>
+ <product name="Hello-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="Example SALOME C++ module (sources): Hello."
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,KERNEL-Src,GUI-Src"
+ installdiskspace="118"
+ temporarydiskspace="0"
+ script="HELLO_SRC.sh"/>
+ <product name="Hello-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Example SALOME C++ module (binaries): Hello."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="2291"
+ temporarydiskspace="0"
+ script="HELLO_BIN.sh"/>
+ <product name="PyHello-Src"
+ version="3.1.0a2"
+ context="salome sources"
+ description="Example SALOME Python module (sources): Hello."
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,KERNEL-Src,GUI-Src"
+ installdiskspace="182"
+ temporarydiskspace="0"
+ script="PYHELLO_SRC.sh"/>
+ <product name="PyHello-Bin"
+ version="3.1.0a2"
+ context="salome binaries"
+ description="Example SALOME Python module (binaries): Hello."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="31"
+ temporarydiskspace="0"
+ script="PYHELLO_BIN.sh"/>
+ <product name="LIGHT-Src"
+ version="0.1"
+ context="salome sources"
+ description="LIGHT SALOME module example sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+ installdiskspace="149"
+ temporarydiskspace="0"
+ script="LIGHT_SRC.sh"/>
+ <product name="LIGHT-Bin"
+ version="0.1"
+ context="salome binaries"
+ description="Precompiled LIGHT SALOME platform module example"
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Hdf,Med,Vtk,OmniORB,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+ installdiskspace="29"
+ temporarydiskspace="0"
+ script="LIGHT_BIN.sh"/>
+</document>
--- /dev/null
+#!/bin/sh
+
+check_version(){
+ver=`egrep 'BOOST_VERSION [0-9]+' ${BOOSTDIR}/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`
+if [ "$ver" = "103002" ]; then
+ return 0
+fi
+return 1;
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export BOOSTDIR=\${INSTALL_ROOT}/${PRODUCT}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+echo "It is impossible to use native BOOST."
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/boost-1.30.2.tgz -C ${INSTALL_ROOT}
+rm -fr ${PRODUCT_WORK}
+print_env
+}
+
+install_binary()
+{
+echo "It impossible to install BOOST from binaries, try install from sources."
+return 1
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="boost" ; fi
+export PRODUCT="boost-1.30.2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$CASROOT" ]; then
+ return 1
+fi
+check_lib_version ${CASROOT}/inc/Standard_Version.hxx
+if [ "$?" -ne "0" ] ; then
+ return 1
+fi
+ver_major=`grep "!define OCC_VERSION_MAJOR" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`
+ver_minor=`grep "!define OCC_VERSION_MINOR" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`
+ver="$ver_major.$ver_minor"
+if [ "$ver" == "5.2" ] ; then
+ return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CASROOT=\${INSTALL_ROOT}/${PRODUCT}
+export LD_LIBRARY_PATH=\${CASROOT}/lin/lib:\${CASROOT}/`uname`/lib:\${LD_LIBRARY_PATH}
+# Variable for Foundation Classes :
+export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat
+# Variable for DataExchange :
+export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd
+export CSF_XSMessage=\${CASROOT}/src/XSMessage
+# Variable for Font :
+export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT
+export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CASROOT=${CASROOT}
+export LD_LIBRARY_PATH=\${CASROOT}/lin/lib:\${CASROOT}/`uname`/lib:\${LD_LIBRARY_PATH}
+# Variable for Foundation Classes :
+export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat
+# Variable for DataExchange :
+export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd
+export CSF_XSMessage=\${CASROOT}/src/XSMessage
+# Variable for Font :
+export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT
+export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "You can only install precompiled CAS-5.2"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/CAS-5.2.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi
+export PRODUCT="CAS-5.2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$CASROOT" ]; then
+ return 1
+fi
+check_lib_version ${CASROOT}/inc/Standard_Version.hxx
+if [ "$?" -ne "0" ] ; then
+ return 1
+fi
+ver_major=`grep "!define OCC_VERSION_MAJOR" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`
+ver_minor=`grep "!define OCC_VERSION_MINOR" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`
+ver_maint=`grep "!define OCC_VERSION_MAINTENANCE" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`
+ver="$ver_major.$ver_minor.$ver_maint"
+if [ "$ver" == "6.0.0" ] ; then
+ return 1
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CASROOT=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${CASROOT}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${CASROOT}/lib:\${LD_LIBRARY_PATH}
+# Variable for Foundation Classes :
+export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat
+# Variable for DataExchange :
+export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd
+export CSF_XSMessage=\${CASROOT}/src/XSMessage
+# Variable for Font :
+export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT
+export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CASROOT=${CASROOT}
+export PATH=\${CASROOT}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${CASROOT}/lib:\${LD_LIBRARY_PATH}
+# Variable for Foundation Classes :
+export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat
+# Variable for DataExchange :
+export CSF_SHMessageStd=\${CASROOT}/src/SHMessageStd
+export CSF_XSMessage=\${CASROOT}/src/XSMessage
+# Variable for Font :
+export CSF_MDTVFontDirectory=\${CASROOT}/src/FontMFT
+export CSF_MDTVTexturesDirectory=\${CASROOT}/src/Textures
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+makedir ${PRODUCT_DIR}
+
+# unpack
+check_jb tar xfz ${SOURCE_DIR}/CAS-6.0.tar.gz -C ${INSTALL_WORK}
+cd ${PRODUCT_WORK}
+
+# configure
+flags="--with-gl-include=/usr/include --with-gl-library=/usr/lib"
+flags="$flags --with-xmu-include=/usr/X11R6/include/X11"
+flags="$flags --with-xmu-library=/usr/X11R6/lib"
+tcldir="`where_tcl`"
+if [ $? -eq 0 ] ; then flags="$flags --with-tcl=$tcldir"; fi
+tkdir="`where_tk`"
+if [ $? -eq 0 ] ; then flags="$flags --with-tk=$tkdir"; fi
+
+export CASROOT=${PRODUCT_WORK}
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure $flags --prefix=${PRODUCT_DIR}
+
+# make
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make -j4 install-strip
+
+# copy includes
+cp -fr inc ${PRODUCT_DIR}
+cp -f config.h ${PRODUCT_DIR}
+(cd ${PRODUCT_DIR}/inc; ln -fs ../config.h config.h)
+# copy resources
+makedir ${PRODUCT_DIR}/src
+cp -rp src/UnitsAPI ${PRODUCT_DIR}/src
+cp -rp src/SHMessage ${PRODUCT_DIR}/src
+cp -rp src/FontMFT ${PRODUCT_DIR}/src
+cp -rp src/Textures ${PRODUCT_DIR}/src
+cp -rp src/XSMessage ${PRODUCT_DIR}/src
+cp -rp src/DrawResources ${PRODUCT_DIR}/src
+(cd ${PRODUCT_DIR}; mkdir -f Linux; cd Linux; ln -fs ../lib lib)
+(cd ${PRODUCT_DIR}; mkdir -f lin; cd lin; ln -fs ../lib lib)
+
+#rm -fr ${PRODUCT_WORK}
+print_env
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/CAS-6.0.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi
+export PRODUCT="CAS-6.0"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version(){
+ver=`python -c 'import Numeric; print Numeric.__version__' 2>/dev/null`
+if [ "$ver" == "22.0" ]; then
+ return 0
+fi
+return 1
+}
+
+print_env(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONPATH=\${INSTALL_ROOT}/${PRODUCT}/lib/python\${PYTHON_VERSION}/site-packages/Numeric:\${PYTHONPATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ pythonpath="`find_in_path Numeric.py ${PYTHONPATH}`"
+ tmp="${pythonpath} ${pythonpath} \${PYTHONPATH} ${PYTHONPATH}";
+ pythonpath=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONPATH=${pythonpath}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of Numeric 22.0 from sources is not supported!"
+return 1
+}
+
+install_binary()
+{
+check_jb tar xfz ${SOURCE_DIR}/Numeric-22.0.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="numeric" ; fi
+export PRODUCT="Numeric-22.0"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$PYTHONHOME" ]; then
+ return 1
+fi
+isPython=`which python 2>/dev/null`
+if [ -n isPython ]; then
+ # version number is calculated as: <major>*10000+<minor>*100+<release>
+ # for Python 2.3.5 it is equal to 20305
+ ver=`python -V 2>&1`
+ ver=`echo $ver | awk '{print $2}' | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
+ if [ $ver -eq 20305 ] ; then
+ return 0
+ fi
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONHOME=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${PYTHONHOME}/bin:\${PATH}
+export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
+export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION}
+export PYTHONPATH=\${PYTHONHOME}/lib/python\${PYTHON_VERSION}:\${PYTHONPATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+pythonhome="`find_in_path python ${PATH}`"
+if [ -z "${pythonhome}" ] ; then
+ pythonhome="`find_in_path python /usr/bin`"
+fi
+if [ -n "${pythonhome}" ] ; then
+ pythonhome=`cd ${pythonhome}/..; pwd`
+ # get version number: <major>, <minor> and <release>
+ # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
+ # version number is calculated as: <major>*10000+<minor>*100+<release>
+ # for Python 2.3.5 it is equal to 20305
+ ver=`python -V 2>&1`
+ maj_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>0) print $1; else print 0}'`
+ min_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>1) print $2; else print 0}'`
+ rel_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>2) print $3; else print 0}'`
+ let ver=$maj_ver*10000+$min_ver*100+$rel_ver
+ if [ $ver -ge 20305 ] ; then
+ tmp="\${PYTHONHOME}/bin ${pythonhome}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${PYTHONHOME}/lib/python\${PYTHON_VERSION} ${pythonhome}/lib/python${maj_ver}.${min_ver} \${PYTHONPATH} ${PYTHONPATH}";
+ pythonpath=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONHOME=${pythonhome}
+export PATH=${path}
+export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
+export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION}
+export PYTHONPATH=${pythonpath}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+####### THIS COULD BE USED FOR STRICT COMPARISON ##############################
+# if [ $maj_ver -eq 2 ] && [ $min_ver -eq 3 ] && [ $rel_ver -eq 4 ] ; then
+######################################################################################
+ if [ $maj_ver -eq 2 ] && [ $min_ver -eq 3 ] && [ $rel_ver -ge 4 ] ; then
+ return 0
+ else
+ return 2
+ fi
+ fi
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of Python 2.3.5 from sources is not provided!"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/Python-2.3.5.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi
+export PRODUCT="Python-2.3.5"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+${PROCEDURE}
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+check_version(){
+if [ -n "`which swig 2>/dev/null`" ]; then
+ ver=`swig -version 2>&1`
+ ver=`echo $ver | awk '{print $3}' | grep "1.3.17"`
+ if [ -n "$ver" ] ; then
+ return 0;
+ fi
+fi
+return 1;
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export SWIG_ROOT=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${SWIG_ROOT}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${SWIG_ROOT}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+swig_root="`find_in_path swig ${PATH}`"
+if [ -z "${swig_root}" ] ; then
+ swig_root="`find_in_path swig /usr/bin`"
+fi
+if [ -n "${swig_root}" ] ; then
+ swig_root=`cd ${swig_root}/..; pwd`
+ ver=`${swig_root}/bin/swig -version 2>&1`
+ ver=`echo $ver | awk '{print $3}' | grep "1.3.17"`
+ if [ -n "$ver" ] ; then
+ tmp="\${SWIG_ROOT}/bin ${swig_root}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${SWIG_ROOT}/lib ${swig_root}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export SWIG_ROOT=${swig_root}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0;
+ fi
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/swig-1.3.17.tar.gz -C ${INSTALL_WORK}
+cd ${PRODUCT_WORK}
+makedir ${PRODUCT_DIR}
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
+ ./configure --prefix=${PRODUCT_DIR}
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
+
+rm -fr ${PRODUCT_WORK}
+print_env
+}
+
+install_binary()
+{
+echo "It impossible to install SWIG from binaries, try install from sources."
+return 1
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="swig" ; fi
+export PRODUCT="SWIG-1.3.17"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$VTKHOME" ]; then
+ #echo "VTKHOME doesn't set"
+ return 1
+fi
+check_lib_version libvtkCommon.so ${VTKHOME}/lib/vtk
+if [ "$?" -eq "0" ]; then
+ #echo "The product ${PRODUCT} has been already installed on yours system"
+ return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export VTKHOME=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${VTKHOME}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${VTKHOME}/lib/vtk:\${LD_LIBRARY_PATH}
+export PYTHONPATH=\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python\${PYTHON_VERSION}/site-packages/vtk_python:\${PYTHONPATH}
+export TCLLIBPATH="\${VTKHOME}/lib/vtk/tcl \${TCLLIBPATH}"
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ python_version="`python -c 'import sys; print sys.version[:3]'`"
+ tmp="\${VTKHOME}/bin ${VTKHOME}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${VTKHOME}/lib/vtk ${VTKHOME}/lib/vtk \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ tmp="\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python${PYTHON_VERSION}/site-packages/vtk_python ${VTKHOME}/lib/vtk:${VTKHOME}/lib/python${python_version}/site-packages/vtk_python \${PYTHONPATH} ${PYTHONPATH}";
+ python_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export VTKHOME=${VTKHOME}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+export PYTHONPATH=${python_path}
+export TCLLIBPATH="\${VTKHOME}/lib/vtk/tcl \${TCLLIBPATH}"
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of VTK 4.2.2 from sources is not supported!"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/VTK-4.2.2.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi
+export PRODUCT="VTK-4.2.2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
echo $arg1:$arg2
fi
return $to_tail
-}
\ No newline at end of file
+}
+
+where_tcl(){
+if test -z "${TCLHOME}"; then
+ TCLHOME=/usr
+fi
+tclcfg=`find ${TCLHOME}/lib -name "tclConfig.sh" 2> /dev/null`
+file=""
+maxver=0
+for f in $tclcfg; do
+ ver=`cat $f | grep -e "TCL_VERSION=.*" | sed -e "s%TCL_VERSION=[\'|\"]\(.*\)[\'|\"]%\1%g" | awk -F. '{x=0;for(i=1;i<=3;i++){x=x*100;if(i<=NF)x+=$i;}print x;}'`
+ if [ $maxver -lt $ver ]; then
+ maxver=$ver
+ file=$f
+ fi
+done
+if test -n "$file"; then
+ echo `dirname $file`
+ return 0
+else
+ echo ""
+ return 1
+fi
+}
+
+where_tk(){
+if test -z "${TCLHOME}"; then
+ TCLHOME=/usr
+fi
+tclcfg=`find ${TCLHOME}/lib -name "tkConfig.sh" 2> /dev/null`
+file=""
+maxver=0
+for f in $tclcfg; do
+ ver=`cat $f | grep -e "TK_VERSION=.*" | sed -e "s%TK_VERSION=[\'|\"]\(.*\)[\'|\"]%\1%g" | awk -F. '{x=0;for(i=1;i<=3;i++){x=x*100;if(i<=NF)x+=$i;}print x;}'`
+ if [ $maxver -lt $ver ]; then
+ maxver=$ver
+ file=$f
+ fi
+done
+if test -n "$file"; then
+ echo `dirname $file`
+ return 0
+else
+ echo ""
+ return 1
+fi
+}
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+check_lib_version doxygen $PATH
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+check_lib_version doxysearch $PATH
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+check_lib_version doxytag $PATH
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+check_lib_version doxywizard $PATH
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+ver=`doxygen --version`
+if [ "$ver" == "1.3-rc2" ]; then
+ return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ doxygen="`find_in_path doxygen ${PATH}`"
+ tmp="${doxygen} ${doxygen} \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PATH=${path}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of doxygen 1.3 from sources is not supported!"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" env_${PRODUCT_TYPE}.sh
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/doxygen-1.3-rc2.tar.gz -C ${INSTALL_ROOT}
+which epstopdf >/dev/null 2>&1; ISFOUND=$?
+if [ ${ISFOUND} -eq 0 ] ; then which makeindex >/dev/null 2>&1; ISFOUND=$?; fi
+if [ ${ISFOUND} -eq 0 ] ; then which latex >/dev/null 2>&1; ISFOUND=$?; fi
+if [ ${ISFOUND} -eq 0 ] ; then which latex2html >/dev/null 2>&1; ISFOUND=$?; fi
+if [ ${ISFOUND} -eq 0 ] ; then which pdflatex >/dev/null 2>&1; ISFOUND=$?; fi
+if [ ${ISFOUND} -eq 0 ] ; then which pslatex >/dev/null 2>&1; ISFOUND=$?; fi
+if [ ${ISFOUND} -eq 0 ] ; then which pstoimg >/dev/null 2>&1; ISFOUND=$?; fi
+if [ ${ISFOUND} -ne 0 ] ; then
+ cat >> ${PRODUCT_DIR}/DOCS.LOG <<EOF
+Can't find \"epstopdf\" and \"latex\" or another executables on the computer.
+doxygen documentation will not be built!
+SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!
+EOF
+ check_job ${PRODUCT_DIR}/DOCS.LOG make
+ rm -fr ${PRODUCT_WORK}
+# echo -e "Can't find \"epstopdf\" and \"latex\" or another executables on the computer."
+# echo -e "doxygen documentation will not be built!"
+# echo -e "SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!"
+# echo -n "Would you like continue : (Y,N) [Y] : "
+# read rep;
+# rep=`echo $rep | tr "[A-Z]" "[a-z]"`
+# if test -z $rep || [ $rep != "y" ] ; then
+# rm -fr ${PRODUCT_WORK}
+# exit 1
+# fi
+fi
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi
+export PRODUCT="doxygen-1.3-rc2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version(){
+# version number is calculated as: <major>*10000+<minor>*100+<release>
+# e.g. for gcc 3.2 it is equal to 30200, for gcc 3.3.2 - 30202
+gcc_ver=`gcc -dumpversion | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
+if [ $gcc_ver -eq 30200 ] ; then
+ return 0
+fi
+return 1
+}
+
+print_env(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export GCC_ROOT=\${INSTALL_ROOT}/${PRODUCT}
+export CXX=\${GCC_ROOT}/bin/g++
+export CC=\${GCC_ROOT}/bin/gcc
+export PATH=\${GCC_ROOT}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${GCC_ROOT}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+gcc_root="`find_in_path gcc ${PATH}`"
+if [ -z "${gcc_root}" ] ; then
+ gcc_root="`find_in_path gcc /usr/bin`"
+fi
+if [ -n "${gcc_root}" ] ; then
+ gcc_root=`cd ${gcc_root}/..; pwd`
+ # get version number: <major>, <minor> and <release>
+ # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
+ # version number is calculated as: <major>*10000+<minor>*100+<release>
+ # e.g. for gcc 3.2 it is equal to 30200, for gcc 3.3.2 - 30202
+ maj_ver=`gcc -dumpversion | awk -F. '{if(NF>0) print $1; else print 0}'`
+ min_ver=`gcc -dumpversion | awk -F. '{if(NF>1) print $2; else print 0}'`
+ rel_ver=`gcc -dumpversion | awk -F. '{if(NF>2) print $3; else print 0}'`
+ let gcc_ver=$maj_ver*10000+$min_ver*100+$rel_ver
+ if [ $gcc_ver -ge 30200 ] ; then
+ tmp="\${GCC_ROOT}/bin ${gcc_root}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${GCC_ROOT}/lib ${gcc_root}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export GCC_ROOT=${gcc_root}
+export CXX=\${GCC_ROOT}/bin/g++
+export CC=\${GCC_ROOT}/bin/gcc
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+####### THIS COULD BE USED FOR STRICT COMPARISON ##############################
+# if [ $maj_ver -eq 3 ] && [ $min_ver -eq 2 ] && [ $rel_ver -eq 0 ] ; then
+######################################################################################
+ if [ $maj_ver -eq 3 ] && [ $min_ver -eq 2 ] && [ $rel_ver -ge 0 ] ; then
+ return 0
+ else
+ return 2
+ fi
+ fi
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+check_version
+if [ $? == 0 ] ; then
+ echo "It impossible to build gcc-3.2 on your current compiler (gcc-3.2)."
+ echo "Installation aborted."
+ return 1
+fi
+
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+#check if $LIBRARY_PATH and $GCC_EXEC_PREFIX are set and then remove path to current dir from them
+if [ -n "$LIBRARY_PATH" ]; then
+export LIBRARY_PATH=`echo $LIBRARY_PATH | sed -e's/^[:\;]*//g' -e's/[:\;]*$//g' -e's/::*/:/g' -e's/;;*/;/g' -e's/[:\;].$//g' -e's/^.[:\;]//g' -e's/[:\;].[:\;]/:/g' -e's/^.$//g'`
+fi
+if [ -n "$GCC_EXEC_PREFIX" ]; then
+export GCC_EXEC_PREFIX=`echo $GCC_EXEC_PREFIX | sed -e's/^[:\;]*//g' -e's/[:\;]*$//g' -e's/::*/:/g' -e's/;;*/;/g' -e's/[:\;].$//g' -e's/^.[:\;]//g' -e's/[:\;].[:\;]/:/g' -e's/^.$//g'`
+fi
+
+check_jb tar xfz ${SOURCE_DIR}/gcc-3.2.tar.gz -C ${INSTALL_WORK}
+
+makedir ${PRODUCT_DIR}
+
+makedir ${PRODUCT_WORK}-build
+cd ${PRODUCT_WORK}-build
+
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ${PRODUCT_WORK}/configure --prefix=${PRODUCT_DIR} --enable-static --enable-shared --enable-threads
+check_job ${PRODUCT_DIR}/BOOTSTRAP.LOG make bootstrap
+check_job ${PRODUCT_DIR}/INSTALL.LOG make install
+
+rm -fr ${PRODUCT_WORK} ${PRODUCT_WORK}-build
+print_env
+}
+
+install_binary()
+{
+echo "It impossible to install gcc from binaries, try install from sources."
+return 1
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="gcc" ; fi
+export PRODUCT="gcc-3.2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+isdot=`which dot 2>/dev/null`
+if [ -n isdot ]; then
+ ver=`dot -V 2>&1 | awk '{print $3}'`
+ if [ "$ver" == "1.9" ]; then
+ return 0
+ fi
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${INSTALL_ROOT}/${PRODUCT}/lib/graphviz:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ dot="`find_in_path dot ${PATH}`"
+ dot=`cd ${dot}/..; pwd`
+ tmp="${dot}/bin ${dot}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="${dot}/lib/graphviz ${dot}/lib/graphviz \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of graphvix 1.9 from sources is not provided!"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/graphviz-1.9.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="graphviz" ; fi
+export PRODUCT="graphviz-1.9"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$HDF5HOME" ]; then
+ #echo "HDF5HOME doesn't set"
+ return 1
+fi
+check_lib_version libhdf5.so.0.0.0 ${HDF5HOME}/lib
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+#check libhdf5.settings file in a ${HDF5HOME}/lib
+check_lib_version libhdf5.settings ${HDF5HOME}/lib
+if [ "$?" -eq "0" ]; then
+ #check that libhdf5.settings file contains following entry:
+ #HDF5 Version: hdf5-1.4.4
+ entry=`grep "HDF5 Version:" ${HDF5HOME}/lib/libhdf5.settings`
+ ver=`echo $entry | awk '{print $3}'`
+ if [ "$ver" = "1.4.4" ]; then
+ #echo "The product ${PRODUCT} has been already installed on yours system"
+ return 0
+ fi
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export HDF5HOME=\${INSTALL_ROOT}/hdf5-1.4.4
+export PATH=\${HDF5HOME}/bin:\$PATH
+export LD_LIBRARY_PATH=\${HDF5HOME}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+ tmp="\${HDF5HOME}/bin ${HDF5HOME}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${HDF5HOME}/lib ${HDF5HOME}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export HDF5HOME=${HDF5HOME}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of hdf5 1.4.4 from sources is not supported!"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/hdf5-1.4.4.tar.gz -C ${INSTALL_ROOT}
+
+### modify libhdf5.la file to correct direct path to hdf5 library
+### no need to do this for sources installation because 'make install' does it!
+cd ${PRODUCT_DIR}/lib
+sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libhdf5.la > libhdf5.la.new
+mv -f libhdf5.la.new libhdf5.la
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="hdf" ; fi
+export PRODUCT="hdf5-1.4.4"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$QWTHOME" ]; then
+ #echo "QWTHOME doesn't set"
+ return 1
+fi
+check_lib_version libqwt.so.0.4.1 ${QWTHOME}/lib
+if [ "$?" -eq "0" ]; then
+ #echo "The product ${PRODUCT} has been already installed on yours system"
+ return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export QWTHOME=\${INSTALL_ROOT}/${PRODUCT}
+export LD_LIBRARY_PATH=\${QWTHOME}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+qwthome="`find_in_path libqwt.so.0.4.1 ${LD_LIBRARY_PATH}`"
+if [ -n "${qwthome}" ] ; then
+ qwthome=`cd ${qwthome}/..; pwd`
+ tmp="\${QWTHOME}/lib ${QWTHOME}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export QWTHOME=${qwthome}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of qwt 0.4.1 from sources is not supported!"
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/qwt-0.4.1.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qwt" ; fi
+export PRODUCT="qwt-0.4.1"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$TCLHOME" ]; then
+ echo "TCLHOME doesn't set"
+ return 1
+fi
+
+check_lib_version tclsh8.3 ${TCLHOME}/bin
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+
+check_lib_version wish8.3 ${TCLHOME}/bin
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+
+check_lib_version libtcl8.3.so
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+
+check_lib_version libtk8.3.so
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+
+check_lib_version libtclx8.3.so
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+
+check_lib_version libtkx8.3.so
+if [ "$?" -ne "0" ]; then
+ return 1
+fi
+
+echo "The product ${PRODUCT} has been already installed on yours system"
+return 0
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export TCLHOME=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${TCLHOME}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${TCLHOME}/lib:\${LD_LIBRARY_PATH}
+export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl8.3 \${TCLHOME}/lib/tk8.3 \${TCLLIBPATH}"
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+tclhome="`find_in_path tclsh ${PATH}`"
+if [ -z "${tclhome}" ] ; then
+ tclhome="`find_in_path tclsh /usr/bin`"
+fi
+if [ -n "${tclhome}" ] ; then
+ tclhome=`cd ${tclhome}/..; pwd`
+ tmp="\${TCLHOME}/bin ${tclhome}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${TCLHOME}/lib ${tclhome}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export TCLHOME=${tclhome}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl8.3 \${TCLHOME}/lib/tk8.3 \${TCLLIBPATH}"
+##
+EOF
+ (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+ return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+makedir ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/tcl8.3.3.tar.gz -C ${INSTALL_WORK}
+cd ${INSTALL_WORK}/tcl8.3.3/unix
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --enable-gcc --enable-shared --enable-threads \
+ --prefix=${PRODUCT_DIR}
+GCC=`which gcc`
+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
+
+ln -s ${PRODUCT_DIR}/bin/tclsh8.3 ${PRODUCT_DIR}/bin/tclsh
+ln -s ${PRODUCT_DIR}/lib/libtcl8.3.so ${PRODUCT_DIR}/lib/libtcl.so
+ln -s ${PRODUCT_DIR}/lib/libtclstub8.3.a ${PRODUCT_DIR}/lib/libtclstub.a
+
+check_jb tar xfz ${SOURCE_DIR}/tk8.3.3.tar.gz -C ${INSTALL_WORK}
+cd ${INSTALL_WORK}/tk8.3.3/unix
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --enable-gcc --enable-shared --enable-threads \
+ --prefix=${PRODUCT_DIR}
+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
+
+ln -s ${PRODUCT_DIR}/bin/wish8.3 ${PRODUCT_DIR}/bin/wish
+ln -s ${PRODUCT_DIR}/lib/libtk8.3.so ${PRODUCT_DIR}/lib/libtk.so
+ln -s ${PRODUCT_DIR}/lib/libtkstub8.3.a ${PRODUCT_DIR}/lib/libtkstub.a
+
+check_jb tar xfz ${SOURCE_DIR}/tclx8.3.tar.gz -C ${INSTALL_WORK}
+cd ${INSTALL_WORK}/tclx8.3/unix
+#VRV - bug in a tclx configure
+chmod +w ./configure
+echo -e '/test "$no_create" = yes || ${CONFIG_SHELL-\/bin\/sh} $CONFIG_STATUS || exit 1\ns/test "$no_create" = yes || ${CONFIG_SHELL-\/bin\/sh} $CONFIG_STATUS || exit 1/test "$no_create" = yes || ${CONFIG_SHELL-\/bin\/sh} $CONFIG_STATUS || exit 0\nwq' | ed - configure
+chmod -w ./configure
+#VRV - bug in a tclx configure
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
+ ./configure --enable-gcc --enable-shared --enable-threads \
+ --prefix=${PRODUCT_DIR}
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+check_job ${PRODUCT_DIR}/MAKEINSTALLEXEC.LOG make install-exec
+
+ln -s ${PRODUCT_DIR}/lib/libtclx8.3.so ${PRODUCT_DIR}/lib/libtclx.so
+ln -s ${PRODUCT_DIR}/lib/libtclx8.3.a ${PRODUCT_DIR}/lib/libtclx.a
+ln -s ${PRODUCT_DIR}/lib/libtkx8.3.so ${PRODUCT_DIR}/lib/libtkx.so
+ln -s ${PRODUCT_DIR}/lib/libtkx8.3.a ${PRODUCT_DIR}/lib/libtkx.a
+
+rm -fr ${INSTALL_WORK}/tcl8.3.3 ${INSTALL_WORK}/tk8.3.3 ${INSTALL_WORK}/tclx8.3
+print_env
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/tcltk8.3.3.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi
+export PRODUCT="tcltk8.3.3"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE