]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Initial version
authoradmin <salome-admin@opencascade.com>
Wed, 10 Mar 2004 13:13:23 +0000 (13:13 +0000)
committeradmin <salome-admin@opencascade.com>
Wed, 10 Mar 2004 13:13:23 +0000 (13:13 +0000)
config.xml [new file with mode: 0644]
config_files/SalomeDoc-1.2.sh [new file with mode: 0755]

diff --git a/config.xml b/config.xml
new file mode 100644 (file)
index 0000000..a777fd7
--- /dev/null
@@ -0,0 +1,198 @@
+<document>
+  <config version="1.2d"
+         caption="SALOME Professional v%1 Installation Wizard"
+          copyright="Copyright (C) 2003 CEA/DEN, EDF R&amp;D"
+          license="All right reserved"
+         os="RedHat8.0"/>
+  <path targetdir="/tmp/salome"
+        tempdir="/tmp"/>
+  <product name="gcc" 
+           version="3.2" 
+           install="use native"
+          supported="use native"
+          disable="false"
+          dependancies=""
+          installdiskspace="193905"
+          temporarydiskspace="659468"
+          script="gcc-3.2.sh"/>
+  <product name="tcltk" 
+           version="8.3.3" 
+           install="use native"
+          supported="use native"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="30906"
+          temporarydiskspace="47748"
+          script="tcltk8.3.3.sh"/>
+  <product name="Python" 
+           version="2.2.1" 
+           install="use native"
+          supported="install sources,install binaries,use native"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="30906"
+          temporarydiskspace="47748"
+          script="Python-2.2.1.sh"/>
+  <product name="Mesa" 
+           version="3.4.2" 
+           install=""
+          supported=""
+          disable="true"
+          dependancies="gcc"
+          installdiskspace="9995"
+          temporarydiskspace="44649"
+          script="Mesa-3.4.2.sh"/>
+  <product name="Qt" 
+           version="3.0.5" 
+           install="use native"
+          supported="install sources,install binaries,use native"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="76093"
+          temporarydiskspace="148942"
+          script="qt-x11-free-3.0.5.sh"/>
+  <product name="Sip"
+           version="3.3.2" 
+           install="use native"
+          supported="install sources,install binaries,use native"
+          disable="false"
+          dependancies="gcc,Python,Qt"
+          installdiskspace="199"
+          temporarydiskspace="818"
+          script="sip-3.3.2.sh"/>
+  <product name="PyQt"
+           version="3.3.2" 
+           install="use native"
+          supported="install sources,install binaries,use native"
+          disable="false"
+          dependancies="gcc,Python,Qt,Sip"
+          installdiskspace="46618"
+          temporarydiskspace="52789"
+          script="PyQt-3.3.2.sh"/>
+  <product name="Swig" 
+           version="1.3.17" 
+           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="4.0" 
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies=""
+          installdiskspace="264302"
+          temporarydiskspace="2"
+          script="CAS4.0.sh"/>
+  <product name="Qwt" 
+           version="0.4.1" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt"
+          installdiskspace="3045"
+          temporarydiskspace="3528"
+          script="qwt-0.4.1.sh"/>
+  <product name="Hdf" 
+           version="5-1.4.4" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="3163"
+          temporarydiskspace="24860"
+          script="hdf5-1.4.4.sh"/>
+  <product name="Med"
+           version="2.1.6" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Hdf"
+          installdiskspace="1067"
+          temporarydiskspace="7971"
+          script="med-2.1.6.sh"/>
+  <product name="Vtk"
+           version="4.2" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk,Python"
+          installdiskspace="37480"
+          temporarydiskspace="130489"
+          script="VTK-4.2.2.sh"/>
+  <product name="OmniORB"
+           version="3.0.5" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="342662"
+          temporarydiskspace="0"
+          script="omniORB-3.0.5.sh"/>
+  <product name="Numeric"
+           version="22.0" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="2625"
+          temporarydiskspace="8340"
+          script="Numeric-22.0.sh"/>
+  <product name="HappyDoc"
+           version="2.1" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="Python"
+          installdiskspace="1482"
+          temporarydiskspace="4186"
+          script="HappyDoc-r2_1.sh"/>
+  <product name="Doxygen"
+           version="1.3-rc2" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt"
+          installdiskspace="6066"
+          temporarydiskspace="29083"
+          script="doxygen-1.3-rc2.sh"/>
+  <product name="Graphviz"
+           version="1.9" 
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk"
+          installdiskspace="17724"
+          temporarydiskspace="61528"
+          script="graphviz-1.9.sh"/>
+  <product name="SalomePro-Src"
+           version="1.2d" 
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
+          installdiskspace="432954,39336"
+          temporarydiskspace="0"
+          script="SALOME_ROOT_1.2.sh"/>
+  <product name="SalomePro-Bin"
+           version="1.2d" 
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
+          installdiskspace="432954,39336"
+          temporarydiskspace="0"
+          script="SalomePro-1.2.sh"/>
+  <product name="SalomePro-Doc"
+           version="1.2d" 
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies=""
+          installdiskspace="6798"
+          temporarydiskspace="0"
+          script="SalomeDoc-1.2.sh"/>
+</document>
diff --git a/config_files/SalomeDoc-1.2.sh b/config_files/SalomeDoc-1.2.sh
new file mode 100755 (executable)
index 0000000..61205e3
--- /dev/null
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+check_version()
+{
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+# nothing
+##
+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
+# nothing
+##
+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
+
+check_jb tar xfz ${SOURCE_DIR}/SALOMEPROdocsV1.2d.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+install_binary()
+{
+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="salomedoc" ; fi
+export PRODUCT="SalomeDoc-1.2d"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE