installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
installdiskspace="5919"
temporarydiskspace="11936"
script="netgen-4.5.sh"/>
+ <product name="libxml2"
+ version="2.6.27"
+ description="XML C parser"
+ install="install binaries"
+ supported="install sources,install binaries"
+ disable="false"
+ dependancies="gcc"
+ installdiskspace="5919"
+ temporarydiskspace="11936"
+ script="libxml2-2.6.27.sh"/>
<product name="HXX2SALOME"
version="4.0.0"
description="SALOME module generator"
installdiskspace="208"
temporarydiskspace="0"
script="FILTER_BIN.sh"/>
+ <product name="YACSsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="Med Memory package sources"
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="GUIsrc,libxml2"
+ installdiskspace="2958,221"
+ temporarydiskspace="0"
+ script="YACS_SRC.sh"/>
+ <product name="YACSbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled Med Memory package."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="GUIbin,libxml2"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="YACS_BIN.sh"/>
<product name="SAMPLES"
version="4.0.0"
context="salome sources,salome binaries"
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : YACS_BIN.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-2007 CEA
+#
+# This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+VERSION="4.0.0"
+
+check_version(){
+if [ -n "${YACS_ROOT_DIR}" ]; then
+ check_lib_version VERSION ${YACS_ROOT_DIR}/bin/salome
+ if [ "$?" -eq "0" ]; then
+ ver=`cat ${YACS_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
+ if [ "$ver" = "${VERSION}" ]; then
+ return 0
+ fi
+ fi
+fi
+return 1
+}
+
+print_env(){
+
+if test `uname -m` = "x86_64" ; then
+export LIB_PREFIX=64
+else
+export LIB_PREFIX=""
+fi
+
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export YACS_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
+ if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
+ export PATH=\${YACS_ROOT_DIR}/bin/salome:\${PATH}
+ export LD_LIBRARY_PATH=\${YACS_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${LD_LIBRARY_PATH}
+ export PYTHONPATH=\${YACS_ROOT_DIR}/bin/salome:\${YACS_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${YACS_ROOT_DIR}/lib${LIB_PREFIX}/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH}
+ fi
+fi
+##
+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 test `uname -m` = "x86_64" ; then
+export LIB_PREFIX=64
+else
+export LIB_PREFIX=""
+fi
+if [ $? -eq 0 ] ; then
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export YACS_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
+ if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
+ export PATH=\${YACS_ROOT_DIR}/bin/salome:\${PATH}
+ export LD_LIBRARY_PATH=\${YACS_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${LD_LIBRARY_PATH}
+ export PYTHONPATH=\${YACS_ROOT_DIR}/bin/salome:\${YACS_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${YACS_ROOT_DIR}/lib${LIB_PREFIX}/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH}
+ fi
+fi
+##
+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()
+{
+return 1
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/YACSbinariesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+
+# modify all *.la files
+export YACS_ROOT_DIR=${PRODUCT_DIR}
+modif_la_files ${PRODUCT_DIR}
+
+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="YACSbin" ; fi
+export PRODUCT="YACS_${VERSION}"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : YACS_SRC.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-2007 CEA
+#
+# This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+VERSION="4.0.0"
+
+check_version(){
+if [ -n "${YACS_SRC_DIR}" ]; then
+ if [ -f ${YACS_SRC_DIR}/configure.in.base ]; then
+ ver=`grep -E "^VERSION=" ${YACS_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' `
+ if [ "$ver" = "${VERSION}" ]; then
+ return 0
+ fi
+ fi
+fi
+return 1
+}
+
+print_env(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export YACS_SRC_DIR=\${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(){
+check_version
+if [ $? -eq 0 ] ; then
+ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export YACS_SRC_DIR=${YACS_SRC_DIR}
+##
+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}/YACSsourcesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+prod_bin=`echo $PRODUCT_TYPE | sed "s%src%bin%g"`
+mkdir -p ${INSTALL_ROOT}/YACS_${VERSION}
+
+if [ -e ./build.sh ] ; then
+ cp -f ./build.sh ${INSTALL_ROOT}
+fi
+
+CUR_DIR=`pwd`
+cd ${INSTALL_ROOT}
+check_jb build.sh -o -b -d -v 0 -p $INSTALL_ROOT YACS
+
+# create environment for the built binaries
+cd $CUR_DIR
+./YACS_BIN.sh print_env $INSTALL_WORK $SOURCE_DIR $INSTALL_ROOT $PRODUCT_SEQUENCE $prod_bin
+}
+
+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="YACSsrc" ; fi
+export PRODUCT="YACS_SRC_${VERSION}"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
set verbose_level=2
set params=""
set b_params=""
-set modules=(KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT SIERPINSKY RANDOMIZER FILTER)
+set modules=(KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT SIERPINSKY RANDOMIZER FILTER YACS)
set optim=""
set is_install=0
set is_help=0
verbose_level=2
params=""
b_params=""
-modules="KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT SIERPINSKY RANDOMIZER FILTER"
+modules="KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT SIERPINSKY RANDOMIZER FILTER YACS"
optim=""
is_install=0
is_tui=0
cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
#$DELIM ${PRODUCT_TYPE} $DELIM
export LIBXML_DIR=\${INSTALL_ROOT}/libxml2-2.6.27
-export LD_LIBRARY_PATH=\${LIBXML_DIR}/lib
+export PATH=\${LIBXML_DIR}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${LIBXML_DIR}/lib:\${LD_LIBRARY_PATH}
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})