From 9c8ae8c53487431df320cead6728677980553026 Mon Sep 17 00:00:00 2001 From: inv Date: Wed, 4 Apr 2012 07:09:05 +0000 Subject: [PATCH] SALOME 6.5.0 preparation: ParaView 3.10.1 -> 3.14.0 --- config_CentOS_5.5_64bit.xml | 4 +- config_Debian_4.0.xml | 4 +- config_Debian_4.0_64bit.xml | 4 +- config_Debian_5.0_64bit.xml | 4 +- config_Debian_6.0_64bit.xml | 4 +- config_Mandriva_2008.0.xml | 4 +- config_Mandriva_2008.0_64bit.xml | 4 +- config_Mandriva_2010.0.xml | 4 +- config_Mandriva_2010.0_64bit.xml | 4 +- config_Red_Hat_Enterprise_WS_4_64bit.xml | 4 +- config_Scientific_SL_5.1_64bit.xml | 4 +- .../{ParaView-3.10.sh => ParaView.sh} | 41 ++++++++++--------- 12 files changed, 44 insertions(+), 41 deletions(-) rename config_files/{ParaView-3.10.sh => ParaView.sh} (95%) diff --git a/config_CentOS_5.5_64bit.xml b/config_CentOS_5.5_64bit.xml index b873d47..6db969b 100755 --- a/config_CentOS_5.5_64bit.xml +++ b/config_CentOS_5.5_64bit.xml @@ -567,10 +567,10 @@ type="prerequisite" description="Scalable, open-source visualization application"> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> + script="ParaView.sh"/> & /dev/null || \ sed -i "s%\([[:space:]]*\)PyVTKSpecialObject.h%\1PyVTKSpecialObject.h\n\1PyVTKMutableObject.h%g" \ VTK/Wrapping/Python/CMakeLists.txt ) fi -# 3. patch for ftgl (incompatibility with OCCT 6.5) -need_patch_ftgl=1 +# 3. patch for ftgl (incompatibility with OCCT 6.5) [OBSOLETE (fixed in 3.12.0)] +need_patch_ftgl=0 if [ "${need_patch_ftgl}" == "1" ] ; then cp patches/paraview-3.10.1-ftgl.patch ${PRODUCT_SRC_DIR} ( cd ${PRODUCT_SRC_DIR} ; patch -p1 < paraview-3.10.1-ftgl.patch ) @@ -111,6 +111,7 @@ test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} export PRODUCT_BUILD_DIR=${PRODUCT_DIR}_build mkdir ${PRODUCT_BUILD_DIR} cd ${PRODUCT_BUILD_DIR} + # get Python and tcl/tk version python_version="`python -c 'import sys; print sys.version[:3]'`" tcl_version="" @@ -123,7 +124,7 @@ if [ $? -eq 0 ] && [ -e ${tcldir}/tclConfig.sh ] ; then if [ -z "$tcl_includes" ] ; then tcl_includes=/usr/include ; fi tcl_libs=`grep -e "TCL_PACKAGE_PATH=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_PACKAGE_PATH=[\'|\"]\(.*\)[\'|\"]%\1%g" | sed -e "s%^[[:space:]]%%g;s%[[:space:]]\+$%%g"` fi - + CMAKE_OPTIONS="" ### common settings @@ -230,30 +231,35 @@ if [ "${with_mesa}" == "1" ] && [ "$MESA_HOME" != "" ] ; then CMAKE_OPTIONS=$CMAKE_OPTIONS" -DOPENGL_xmesa_INCLUDE_DIR:STRING=${MESA_HOME}/include" fi +# configure + cat > ${PRODUCT_DIR}/CONFIGURE.LOG < ${PRODUCT_DIR}/MAKE.LOG <