installdiskspace="208"
temporarydiskspace="0"
script="GHS3DPLUGIN_BIN.sh"/>
+ <product name="GHS3DPRLPLUGINsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="SMESH plugin from CEA sources."
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,boost,OpenCascade,Python,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,netgen,KERNELsrc,GUIsrc,GEOMsrc,MEDsrc,SMESHsrc"
+ installdiskspace="2516,120"
+ temporarydiskspace="0"
+ script="GHS3DPRLPLUGIN_SRC.sh"/>
+ <product name="GHS3DPRLPLUGINbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled SMESH plugin from CEA."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,boost,OpenCascade,Python,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,netgen,KERNELbin,GUIbin,GEOMbin,MEDbin,SMESHbin"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="GHS3DPRLPLUGIN_BIN.sh"/>
+ <product name="HexoticPLUGINsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="SMESH plugin from CEA sources."
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,boost,OpenCascade,Python,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,netgen,KERNELsrc,GUIsrc,GEOMsrc,MEDsrc,SMESHsrc"
+ installdiskspace="2516,120"
+ temporarydiskspace="0"
+ script="HexoticPLUGIN_SRC.sh"/>
+ <product name="HexoticPLUGINbin"
+ version="4.0.0"
+ context="salome binaries"
+ description="Precompiled SMESH plugin from CEA."
+ install="install binaries"
+ supported="install binaries"
+ disable="false"
+ dependancies="gcc,boost,OpenCascade,Python,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,netgen,KERNELbin,GUIbin,GEOMbin,MEDbin,SMESHbin"
+ installdiskspace="208"
+ temporarydiskspace="0"
+ script="HexoticPLUGIN_BIN.sh"/>
+ <product name="BLSURFPLUGINsrc"
+ version="4.0.0"
+ context="salome sources"
+ description="SMESH plugin from CEA sources."
+ install="install sources"
+ supported="install sources"
+ disable="false"
+ dependancies="gcc,boost,OpenCascade,Python,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,netgen,KERNELsrc,GUIsrc,GEOMsrc,MEDsrc,SMESHsrc"
+ installdiskspace="2516,120"
+ temporarydiskspace="0"
+ script="BLSURFPLUGIN_SRC.sh"/>
<product name="COMPONENTsrc"
version="4.0.0"
context="salome sources"
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : BLSURFPLUGIN_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 "${BLSURFPLUGIN_SRC_DIR}" ]; then
+ if [ -f ${BLSURFPLUGIN_SRC_DIR}/configure.in.base ]; then
+ ver=`grep -E "^VERSION=" ${BLSURFPLUGIN_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 BLSURFPLUGIN_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 BLSURFPLUGIN_SRC_DIR=${BLSURFPLUGIN_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}/BLSURFPLUGINsourcesV${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}/BLSURFPLUGIN_${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 BLSURFPLUGIN
+
+# create environment for the built binaries
+cd $CUR_DIR
+./BLSURFPLUGIN_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="BLSURFPLUGINsrc" ; fi
+export PRODUCT="BLSURFPLUGIN_SRC_${VERSION}"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : GHS3DPRLPLUGIN_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 "${GHS3DPRLPLUGIN_ROOT_DIR}" ]; then
+ check_lib_version VERSION ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome
+ if [ "$?" -eq "0" ]; then
+ ver=`cat ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
+ if [ "$ver" = "${VERSION}" ]; then
+ return 0
+ fi
+ fi
+ return 0
+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 GHS3DPRLPLUGIN_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
+ if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
+ export LD_LIBRARY_PATH=\${GHS3DPRLPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${LD_LIBRARY_PATH}
+ export PYTHONPATH=\${GHS3DPRLPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${GHS3DPRLPLUGIN_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 GHS3DPRLPLUGIN_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
+ if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
+ export LD_LIBRARY_PATH=\${GHS3DPRLPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${LD_LIBRARY_PATH}
+ export PYTHONPATH=\${GHS3DPRLPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${GHS3DPRLPLUGIN_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}/GHS3DPRLPLUGINbinariesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+
+# modify all *.la files
+export GHS3DPRLPLUGIN_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="GHS3DPRLPLUGINbin" ; fi
+export PRODUCT="GHS3DPRLPLUGIN_${VERSION}"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : GHS3DPRLPLUGIN_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 "${GHS3DPRLPLUGIN_SRC_DIR}" ]; then
+ if [ -f ${GHS3DPRLPLUGIN_SRC_DIR}/configure.in.base ]; then
+ ver=`grep -E "^VERSION=" ${GHS3DPRLPLUGIN_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 GHS3DPRLPLUGIN_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 GHS3DPRLPLUGIN_SRC_DIR=${GHS3DPRLPLUGIN_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}/GHS3DPRLPLUGINsourcesV${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}/GHS3DPRLPLUGIN_${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 GHS3DPRLPLUGIN
+
+# create environment for the built binaries
+cd $CUR_DIR
+./GHS3DPRLPLUGIN_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="GHS3DPRLPLUGINsrc" ; fi
+export PRODUCT="GHS3DPRLPLUGIN_SRC_${VERSION}"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : HexoticPLUGIN_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 "${HexoticPLUGIN_ROOT_DIR}" ]; then
+ check_lib_version VERSION ${HexoticPLUGIN_ROOT_DIR}/bin/salome
+ if [ "$?" -eq "0" ]; then
+ ver=`cat ${HexoticPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
+ if [ "$ver" = "${VERSION}" ]; then
+ return 0
+ fi
+ fi
+ return 0
+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 HexoticPLUGIN_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
+ if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
+ export LD_LIBRARY_PATH=\${HexoticPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${LD_LIBRARY_PATH}
+ export PYTHONPATH=\${HexoticPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${HexoticPLUGIN_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 HexoticPLUGIN_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
+ if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
+ export LD_LIBRARY_PATH=\${HexoticPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${LD_LIBRARY_PATH}
+ export PYTHONPATH=\${HexoticPLUGIN_ROOT_DIR}/lib${LIB_PREFIX}/salome:\${HexoticPLUGIN_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}/HexoticPLUGINbinariesV${VERSION}.tar.gz -C ${INSTALL_ROOT}
+
+# modify all *.la files
+export HexoticPLUGIN_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="HexoticPLUGINbin" ; fi
+export PRODUCT="HexoticPLUGIN_${VERSION}"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : HexoticPLUGIN_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 "${HexoticPLUGIN_SRC_DIR}" ]; then
+ if [ -f ${HexoticPLUGIN_SRC_DIR}/configure.in.base ]; then
+ ver=`grep -E "^VERSION=" ${HexoticPLUGIN_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 HexoticPLUGIN_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 HexoticPLUGIN_SRC_DIR=${HexoticPLUGIN_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}/HexoticPLUGINsourcesV${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}/HexoticPLUGIN_${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 HexoticPLUGIN
+
+# create environment for the built binaries
+cd $CUR_DIR
+./HexoticPLUGIN_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="HexoticPLUGINsrc" ; fi
+export PRODUCT="HexoticPLUGIN_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 COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT)
+set modules=(KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT)
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 COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT"
+modules="KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT"
optim=""
is_install=0
is_tui=0
sizeLayout->addWidget( requiredSize, 0, 1 );
sizeLayout->addWidget( reqLab2, 1, 0 );
sizeLayout->addWidget( requiredTemp, 1, 1 );
+ // <More...>/<Less...> box super-container :)
+ QVBox* moreLessBox = new QVBox( productsPage );
//
// create <More...> mode widgets container
//
- moreBox = new QWidget( productsPage );
+ moreBox = new QWidget( moreLessBox );
QGridLayout* moreBoxLayout = new QGridLayout( moreBox );
moreBoxLayout->setMargin( 0 ); moreBoxLayout->setSpacing( 6 );
//
//
// create <Less...> mode widgets container
//
- lessBox = new QWidget( productsPage );
+ lessBox = new QWidget( moreLessBox );
QGridLayout* lessBoxLayout = new QGridLayout( lessBox );
lessBoxLayout->setMargin( 0 ); lessBoxLayout->setSpacing( 6 );
//
pageLayout->addMultiCellWidget( tempLab, 2, 2, 0, 1 );
pageLayout->addWidget ( tempFolder, 3, 0 );
pageLayout->addWidget ( tempBtn, 3, 1 );
- pageLayout->addMultiCellWidget( moreBox, 4, 4, 0, 1 );
- pageLayout->addMultiCellWidget( lessBox, 5, 5, 0, 1 );
- pageLayout->addMultiCellWidget( line, 6, 6, 0, 1 );
- pageLayout->addLayout ( sizeLayout, 7, 0 );
- pageLayout->addWidget ( moreBtn, 7, 1 );
- pageLayout->setRowStretch( 4, 5 );
- pageLayout->setRowStretch( 5, 5 );
+ pageLayout->addMultiCellWidget( moreLessBox, 4, 4, 0, 1 );
+ pageLayout->addMultiCellWidget( line, 5, 5, 0, 1 );
+ pageLayout->addLayout ( sizeLayout, 6, 0 );
+ pageLayout->addWidget ( moreBtn, 6, 1 );
//
// xml reader
//
tr( "&Yes" ),
tr( "&No" ),
QString::null,
- 0,
+ 1,
1 ) == 1 ) {
return;
}
// ================================================================
bool ProductsView::isBinaries( QCheckListItem* item ) const
{
+ if ( !item )
+ return false;
if ( item->childCount() > 0 && item->isEnabled() ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
// ================================================================
bool ProductsView::isSources( QCheckListItem* item ) const
{
+ if ( !item )
+ return false;
if ( item->childCount() > 0 && item->isEnabled() ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
// ================================================================
bool ProductsView::isNative( QCheckListItem* item ) const
{
+ if ( !item )
+ return false;
if ( item->childCount() > 0 && item->isEnabled() ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
*/
// ================================================================
void ProductsView::setBinaries( QCheckListItem* item ) {
+ if ( !item )
+ return;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
QCheckListItem* srcItem = 0;
*/
// ================================================================
void ProductsView::setSources( QCheckListItem* item ) {
+ if ( !item )
+ return;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
QCheckListItem* binItem = 0;
*/
// ================================================================
void ProductsView::setNative( QCheckListItem* item ) {
+ if ( !item )
+ return;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
QCheckListItem* binItem = 0;
*/
// ================================================================
void ProductsView::setNone( QCheckListItem* item ) {
+ if ( !item )
+ return;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
// ================================================================
bool ProductsView::hasBinaries( QCheckListItem* item ) const
{
+ if ( !item )
+ return false;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
// ================================================================
bool ProductsView::hasSources( QCheckListItem* item ) const
{
+ if ( !item )
+ return false;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
// ================================================================
bool ProductsView::hasNative( QCheckListItem* item ) const
{
+ if ( !item )
+ return false;
if ( item->childCount() > 0 ) {
QCheckListItem* subItem = (QCheckListItem*)( item->firstChild() );
while( subItem ) {
// ================================================================
void ProductsView::setItemEnabled( QCheckListItem* item, const bool enable )
{
+ if ( !item )
+ return;
item->setEnabled( enable );
QListViewItem* subItem = item->firstChild();
while( subItem ) {