From 550903848aa21baeee1dc21198b19f8d91a5fa36 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 24 Sep 2004 07:23:09 +0000 Subject: [PATCH] Update for version 2.1.0 --- ...NT_BIN_2.0.0.sh => COMPONENT_BIN_2.1.0.sh} | 8 +- ...NT_SRC_2.0.0.sh => COMPONENT_SRC_2.1.0.sh} | 6 +- .../{GEOM_BIN_2.0.0.sh => GEOM_BIN_2.1.0.sh} | 8 +- .../{GEOM_SRC_2.0.0.sh => GEOM_SRC_2.1.0.sh} | 6 +- config_files/GHS3DPLUGIN_BIN_2.1.0.sh | 84 +++++++++++++++++++ config_files/GHS3DPLUGIN_SRC_2.1.0.sh | 72 ++++++++++++++++ ...ERNEL_BIN_2.0.0.sh => KERNEL_BIN_2.1.0.sh} | 8 +- ...ERNEL_SRC_2.0.0.sh => KERNEL_SRC_2.1.0.sh} | 6 +- .../{MED_BIN_2.0.0.sh => MED_BIN_2.1.0.sh} | 8 +- .../{MED_SRC_2.0.0.sh => MED_SRC_2.1.0.sh} | 6 +- ...BIN_2.0.0.sh => NETGENPLUGIN_BIN_2.1.0.sh} | 18 ++-- ...SRC_2.0.0.sh => NETGENPLUGIN_SRC_2.1.0.sh} | 18 ++-- ...BIN_2.0.0.sh => PYCALCULATOR_BIN_2.1.0.sh} | 8 +- ...SRC_2.0.0.sh => PYCALCULATOR_SRC_2.1.0.sh} | 6 +- ...{SMESH_BIN_2.0.0.sh => SMESH_BIN_2.1.0.sh} | 8 +- ...{SMESH_SRC_2.0.0.sh => SMESH_SRC_2.1.0.sh} | 6 +- ...UPERV_BIN_2.0.0.sh => SUPERV_BIN_2.1.0.sh} | 10 +-- ...UPERV_SRC_2.0.0.sh => SUPERV_SRC_2.1.0.sh} | 6 +- .../{VISU_BIN_2.0.0.sh => VISU_BIN_2.1.0.sh} | 8 +- .../{VISU_SRC_2.0.0.sh => VISU_SRC_2.1.0.sh} | 6 +- 20 files changed, 231 insertions(+), 75 deletions(-) rename config_files/{COMPONENT_BIN_2.0.0.sh => COMPONENT_BIN_2.1.0.sh} (92%) rename config_files/{COMPONENT_SRC_2.0.0.sh => COMPONENT_SRC_2.1.0.sh} (92%) rename config_files/{GEOM_BIN_2.0.0.sh => GEOM_BIN_2.1.0.sh} (93%) rename config_files/{GEOM_SRC_2.0.0.sh => GEOM_SRC_2.1.0.sh} (92%) create mode 100755 config_files/GHS3DPLUGIN_BIN_2.1.0.sh create mode 100755 config_files/GHS3DPLUGIN_SRC_2.1.0.sh rename config_files/{KERNEL_BIN_2.0.0.sh => KERNEL_BIN_2.1.0.sh} (93%) rename config_files/{KERNEL_SRC_2.0.0.sh => KERNEL_SRC_2.1.0.sh} (92%) rename config_files/{MED_BIN_2.0.0.sh => MED_BIN_2.1.0.sh} (93%) rename config_files/{MED_SRC_2.0.0.sh => MED_SRC_2.1.0.sh} (92%) rename config_files/{NETGENPLUGIN_BIN_2.0.0.sh => NETGENPLUGIN_BIN_2.1.0.sh} (87%) rename config_files/{NETGENPLUGIN_SRC_2.0.0.sh => NETGENPLUGIN_SRC_2.1.0.sh} (80%) rename config_files/{PYCALCULATOR_BIN_2.0.0.sh => PYCALCULATOR_BIN_2.1.0.sh} (92%) rename config_files/{PYCALCULATOR_SRC_2.0.0.sh => PYCALCULATOR_SRC_2.1.0.sh} (92%) rename config_files/{SMESH_BIN_2.0.0.sh => SMESH_BIN_2.1.0.sh} (92%) rename config_files/{SMESH_SRC_2.0.0.sh => SMESH_SRC_2.1.0.sh} (92%) rename config_files/{SUPERV_BIN_2.0.0.sh => SUPERV_BIN_2.1.0.sh} (89%) rename config_files/{SUPERV_SRC_2.0.0.sh => SUPERV_SRC_2.1.0.sh} (92%) rename config_files/{VISU_BIN_2.0.0.sh => VISU_BIN_2.1.0.sh} (93%) rename config_files/{VISU_SRC_2.0.0.sh => VISU_SRC_2.1.0.sh} (92%) diff --git a/config_files/COMPONENT_BIN_2.0.0.sh b/config_files/COMPONENT_BIN_2.1.0.sh similarity index 92% rename from config_files/COMPONENT_BIN_2.0.0.sh rename to config_files/COMPONENT_BIN_2.1.0.sh index cc9fd7d..77b6780 100755 --- a/config_files/COMPONENT_BIN_2.0.0.sh +++ b/config_files/COMPONENT_BIN_2.1.0.sh @@ -2,10 +2,10 @@ check_version(){ if [ -n "${COMPONENT_ROOT_DIR}" ]; then - check_lib_version VERSION ${COMPONENT_ROOT_DIR}/bin + check_lib_version VERSION ${COMPONENT_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${COMPONENT_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "2.0.0" ]; then + if [ "$ver" = "2.1.0" ]; then return 0 fi fi @@ -65,7 +65,7 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/COMPONENTbinariesV2.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/COMPONENTbinariesV2.1.0.tar.gz -C ${INSTALL_ROOT} print_env } @@ -76,7 +76,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="ComponentBin" ; fi -export PRODUCT="COMPONENT_2.0.0" +export PRODUCT="COMPONENT_2.1.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/COMPONENT_SRC_2.0.0.sh b/config_files/COMPONENT_SRC_2.1.0.sh similarity index 92% rename from config_files/COMPONENT_SRC_2.0.0.sh rename to config_files/COMPONENT_SRC_2.1.0.sh index 8c2d5a3..41d5c42 100755 --- a/config_files/COMPONENT_SRC_2.0.0.sh +++ b/config_files/COMPONENT_SRC_2.1.0.sh @@ -5,7 +5,7 @@ if [ -n "${COMPONENT_SRC_DIR}" ]; then check_lib_version VERSION ${COMPONENT_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${COMPONENT_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "2.0.0" ]; then + if [ "$ver" = "2.1.0" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/COMPONENTsourcesV2.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/COMPONENTsourcesV2.1.0.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="ComponentSrc" ; fi -export PRODUCT="COMPONENT_SRC_2.0.0" +export PRODUCT="COMPONENT_SRC_2.1.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GEOM_BIN_2.0.0.sh b/config_files/GEOM_BIN_2.1.0.sh similarity index 93% rename from config_files/GEOM_BIN_2.0.0.sh rename to config_files/GEOM_BIN_2.1.0.sh index 0378911..db82a2f 100755 --- a/config_files/GEOM_BIN_2.0.0.sh +++ b/config_files/GEOM_BIN_2.1.0.sh @@ -2,10 +2,10 @@ check_version(){ if [ -n "${GEOM_ROOT_DIR}" ]; then - check_lib_version VERSION ${GEOM_ROOT_DIR}/bin + check_lib_version VERSION ${GEOM_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${GEOM_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "2.0.0" ]; then + if [ "$ver" = "2.1.0" ]; then return 0 fi fi @@ -65,7 +65,7 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GEOMbinariesV2.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GEOMbinariesV2.1.0.tar.gz -C ${INSTALL_ROOT} print_env } @@ -76,7 +76,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GeomBin" ; fi -export PRODUCT="GEOM_2.0.0" +export PRODUCT="GEOM_2.1.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GEOM_SRC_2.0.0.sh b/config_files/GEOM_SRC_2.1.0.sh similarity index 92% rename from config_files/GEOM_SRC_2.0.0.sh rename to config_files/GEOM_SRC_2.1.0.sh index 2ca5726..32a2b4e 100755 --- a/config_files/GEOM_SRC_2.0.0.sh +++ b/config_files/GEOM_SRC_2.1.0.sh @@ -5,7 +5,7 @@ if [ -n "${GEOM_SRC_DIR}" ]; then check_lib_version VERSION ${GEOM_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${GEOM_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "2.0.0" ]; then + if [ "$ver" = "2.1.0" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GEOMsourcesV2.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GEOMsourcesV2.1.0.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GeomSrc" ; fi -export PRODUCT="GEOM_SRC_2.0.0" +export PRODUCT="GEOM_SRC_2.1.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GHS3DPLUGIN_BIN_2.1.0.sh b/config_files/GHS3DPLUGIN_BIN_2.1.0.sh new file mode 100755 index 0000000..62753e4 --- /dev/null +++ b/config_files/GHS3DPLUGIN_BIN_2.1.0.sh @@ -0,0 +1,84 @@ +#!/bin/sh + +check_version(){ +if [ -n "${GHS3DPLUGIN_ROOT_DIR}" ]; then + check_lib_version VERSION ${GHS3DPLUGIN_ROOT_DIR}/bin/salome + if [ "$?" -eq "0" ]; then + ver=`cat ${GHS3DPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` + if [ "$ver" = "2.1.0" ]; then + return 0 + fi + fi + return 0 +fi +return 1 +} + +print_env(){ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <