]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update version ghs3d and blsurf
authormaintenance team <salome-mnt@opencascade.com>
Wed, 18 Nov 2009 13:30:49 +0000 (13:30 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Wed, 18 Nov 2009 13:30:49 +0000 (13:30 +0000)
config_Debian_3.1.xml
config_Debian_4.0.xml
config_Debian_4.0_64bit.xml
config_Mandriva_2006.0.xml
config_Mandriva_2006.0_64bit.xml
config_Mandriva_2008.0.xml
config_Mandriva_2008.0_64bit.xml
config_files/DISTENE.sh [new file with mode: 0755]
config_files/blsurf-2.7.12.sh [deleted file]
config_files/ghs3d-4.0.sh [deleted file]

index 8962911116599636a1d69b73600a9270bf7f673b..e7f3e82221a7ec05f9f3e0f62f547afb3bccbfdb 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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="Debian 3.1"
+                    version="5.1.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Debian 3.1"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Debian 3.1"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Debian 3.1"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
index 7c25d19b6263b257e4080222452c961f18298877..5a12d595fed1b80e5f1305d875b9ee1b53cd9902 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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="Debian 4.0"
+                    version="5.1.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Debian 4.0"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Debian 4.0"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Debian 4.0"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
index 00f0a1ea043aee29a139137fbe4c60548b377f40..960565cefd3b88a483e75f6089b2d7b62b8cd905 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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="Debian 4.0 64bit"
+                    version="5.1.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Debian 4.0 64bit"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Debian 4.0 64bit"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Debian 4.0 64bit"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
     </product>    
     <product name="netgen">
       <dep>OpenCascade</dep>
-    </product>    
+    </product>
     <product name="libBatch">
       <dep>Python</dep>
       <dep>Swig</dep>
index c444d574ea4f95372c5a5499dfc08159e896bfb7..54583a387bb0a2993f8f30ec34900feacc72d876 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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 2006.0"
+                    version="5.1.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Mandriva 2006.0"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Mandriva 2006.0"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Mandriva 2006.0"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
index aa880a6d0773d5ccf897a73e1c9b01d3218d4101..31823beb49426f8c78d267bdca7a6862d957691e 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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 2006.0 64bit"
+                    version="5.1.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Mandriva 2006.0 64bit"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Mandriva 2006.0 64bit"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Mandriva 2006.0 64bit"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
index 973529c3db5cc0e66a59c17760bf7c0016efd63a..13a574e2d02a19aa85e88a09debc48522f29c494 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Mandriva 2008.0"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Mandriva 2008.0"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Mandriva 2008.0"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
index d8a843eee5b041734a9700d26e37c7eb37de1991..33e3aba18d6770f3fa042951ce534dc7a72661d4 100755 (executable)
                    installdiskspace="232,120,2583"
                    script="GHS3DPLUGIN.sh"/>
     </product>
+    <product name="GHS3DPLUGIN" 
+             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 64bit"
+                    version="5.1.3" 
+                   disable="false"
+                   woguimode="true"
+                   installdiskspace="232,120,2583"
+                   script="GHS3DPLUGIN.sh"/>
+    </product>
     <product name="GHS3DPRLPLUGIN" 
              type="component"
             description="SMESH plugin from CEA">
                    installdiskspace="5615,51450,17231"
                    script="netgen-4.5.sh"/>
     </product>
+    <product name="DISTENE" 
+            type="prerequisite"
+             description="DISTENE meshing tools">
+      <installation os="Mandriva 2008.0 64bit"
+                    version="" 
+                   disable="false"
+                   installdiskspace="5615,51450,17231"
+                   script="DISTENE.sh"/>
+    </product>
     <product name="TetMesh-GHS3D" 
             type="prerequisite"
              description="An automatic tetrahedral mesh generator">
       <installation os="Mandriva 2008.0 64bit"
                     version="4.0" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="ghs3d-4.0.sh"/>
     </product>
              description="An automatic composite surface mesh generator">
       <installation os="Mandriva 2008.0 64bit"
                     version="2.7.12" 
-                   disable="false"
+                   disable="true"
                    installdiskspace="5615,51450,17231"
                    script="blsurf-2.7.12.sh"/>
     </product>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>TetMesh-GHS3D</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
       <dep>Doxygen</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
-      <dep>BLSurf</dep>
+      <dep>DISTENE</dep>
       <dep>KERNEL</dep>
       <dep>GUI</dep>
       <dep>GEOM</dep>
diff --git a/config_files/DISTENE.sh b/config_files/DISTENE.sh
new file mode 100755 (executable)
index 0000000..1abc0ab
--- /dev/null
@@ -0,0 +1,103 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : DISTENE.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.
+#
+####################################################################################
+
+#
+# ghs3d &blsurf versions
+#
+GHS3D_VERSION=4.1
+BLSURF_VERSION=2.8
+
+check_version(){
+# No way to check version!
+return 0
+}
+
+print_env_bin()
+{
+if [ `uname -m` = "x86_64" ] ; then 
+    LIB_PREFIX="_64"
+else 
+    LIB_PREFIX=""
+fi
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export DISTENE_HOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export BLSURFHOME=\${DISTENE_HOME}/Tools/BLSurf-${BLSURF_VERSION}
+export LD_LIBRARY_PATH=\${BLSURFHOME}/lib:\${LD_LIBRARY_PATH} 
+export PATH=\${DISTENE_HOME}/Tools/TetMesh-GHS3D${GHS3D_VERSION}/bin:\$PATH
+##
+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()
+{
+echo "It's impossible to install ${PRODUCT} from sources"
+}
+
+install_source_and_build()
+{
+install_binary
+}
+
+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 ${BIN_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+# to generate environment scripts
+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;
+SRC_DIR=$8;
+REMOVE_SRC_TMP=$9;
+shift
+BIN_DIR=$9;
+test $# == 10 && shift && SINGLE_DIR=$9
+export PRODUCT="DISTENE"
+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/blsurf-2.7.12.sh b/config_files/blsurf-2.7.12.sh
deleted file mode 100755 (executable)
index 46b5fc5..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : blsurf-2.7.12.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.
-#
-####################################################################################
-
-#
-# BLSurf version
-#
-BLSURF_VERSION=2.7.12
-
-check_version(){
-# No way to check version!
-return 0
-}
-
-print_env_bin()
-{
-if [ `uname -m` = "x86_64" ] && [ -d ${PRODUCT_DIR}/lib64 ] ; then 
-    LIB_PREFIX=64
-elif [ -d ${PRODUCT_DIR}/lib ] ; then 
-    LIB_PREFIX=""
-else 
-    LIB_PREFIX=64
-fi
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM 
-export BLSURFHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export LD_LIBRARY_PATH=\${BLSURFHOME}/lib${LIB_PREFIX}:\${LD_LIBRARY_PATH}
-##
-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()
-{
-echo "It's impossible to install ${PRODUCT} from sources"
-}
-
-install_source_and_build()
-{
-install_binary
-}
-
-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 ${BIN_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-# to generate environment scripts
-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;
-SRC_DIR=$8;
-REMOVE_SRC_TMP=$9;
-shift
-BIN_DIR=$9;
-test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="blsurf-${BLSURF_VERSION}"
-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/ghs3d-4.0.sh b/config_files/ghs3d-4.0.sh
deleted file mode 100755 (executable)
index 9d5992d..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : ghs3d-4.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.
-#
-####################################################################################
-
-#
-# ghs3d version
-#
-GHS3D_VERSION=4.0
-
-check_version(){
-# No way to check version!
-return 0
-}
-
-print_env_bin()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM 
-export PATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/DISTENE/Tools/TetMesh-GHS3D${GHS3D_VERSION}/bin:\$PATH
-##
-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()
-{
-echo "It's impossible to install ${PRODUCT} from sources"
-}
-
-install_source_and_build()
-{
-install_binary
-}
-
-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 ${BIN_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-# to generate environment scripts
-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;
-SRC_DIR=$8;
-REMOVE_SRC_TMP=$9;
-shift
-BIN_DIR=$9;
-test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="ghs3d-${GHS3D_VERSION}"
-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