]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
SALOME 6.5.0 preparation: docutils 0.7.0 -> 0.8.1
authorinv <inv@opencascade.com>
Fri, 30 Mar 2012 14:26:10 +0000 (14:26 +0000)
committerinv <inv@opencascade.com>
Fri, 30 Mar 2012 14:26:10 +0000 (14:26 +0000)
13 files changed:
config_CentOS_5.5_64bit.xml
config_Debian_4.0.xml
config_Debian_4.0_64bit.xml
config_Debian_5.0_64bit.xml
config_Debian_6.0_64bit.xml
config_Mandriva_2008.0.xml
config_Mandriva_2008.0_64bit.xml
config_Mandriva_2010.0.xml
config_Mandriva_2010.0_64bit.xml
config_Red_Hat_Enterprise_WS_4_64bit.xml
config_Scientific_SL_5.1_64bit.xml
config_files/docutils-0.7.0.sh [deleted file]
config_files/docutils.sh [new file with mode: 0755]

index d2fe27436a1e1b11f5e335145ab3f7cc1ea8424a..68ff4318f874ed0c7ef4254859a4fd8517d3d01f 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="CentOS 5.5 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index ed3bef3b1a0101b798b7364b0f4586f4846b6ac0..81764e3fc45a1f6eed5c4f447e8ed367f55fbde7 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Debian 4.0"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index e348bb99024a427775b5e26465122a1d99a7096c..cb7ae032120526d441623b59f5bbe21a4f7199f5 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Debian 4.0 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index 2ed218c5341f6794c5553baa52eb9c907b9240b0..e891149df7d51704c518dec54c833abc0d455681 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Debian 5.0 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index 85ac6bede7ef3da142baa39b41d823001de26511..eac4461798e73225a9fb7089353b38c478115096 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Debian 6.0 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index 85d86cb0d6df5662c07a6e866bccfe346b3ec172..cff5942e6d00652881f7745d31a999661c6a4162 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Mandriva 2008.0"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index 32ebbbe4bf51464a3302184e2a3f775f36342c8f..46e474156ca40d4bda7ef3d1ad3ddc92f3b59261 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Mandriva 2008.0 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index 5a718ff2ac8f0d2e1f8344f8548904dd4ab573cf..e80392a17265a97a85dbab325e168eac62e240dc 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Mandriva 2010.0"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index 31d636d040d3dbb220df30ca1692f637b1730458..389c260712be70feab43045227d57dfcc927dfa6 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Mandriva 2010.0 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index b08d9e0e0ebeeb44b04f548f9d76833d4de98007..0db4b4c959eec0e574fa29c7c86f562ab9bc7920 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
index dfca6e0adf2e23be7330c0b3f0b818b65b51d91d..84b0c2e0b8a20938f51f78ef64eeefbad6028ac6 100755 (executable)
             type="prerequisite"
              description="Utilites for processing plaintext documentation">
       <installation os="Scientific SL 5.1 64bit"
-                    version="0.7.0
+                    version="0.8.1
                    disable="false"
                    installdiskspace="3528,6112,11560"
-                   script="docutils-0.7.0.sh"/>
+                   script="docutils.sh"/>
     </product>
     <product name="Sphinx"
             type="prerequisite"
diff --git a/config_files/docutils-0.7.0.sh b/config_files/docutils-0.7.0.sh
deleted file mode 100755 (executable)
index 28d4049..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : docutils-0.7.0.sh
-#  Created   : Mon Oct 12 11:20:00 2009
-#  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.
-#
-####################################################################################
-
-#
-# docutils version
-#
-DOCUTILS_VERSION=0.7.0
-
-check_version(){
-# It is not necessary to check version!
-return 0
-}
-
-print_env_bin(){
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PYTHONPATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/lib/python\${PYTHON_VERSION}/site-packages:\${PYTHONPATH}
-export PATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/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()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-source ${INSTALL_WORK}/$SHRC
-
-# unpack
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_source_and_build()
-{
-# install sources
-install_source
-
-# build sources
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-cd ${PRODUCT_SRC_DIR} ; check_job ${PRODUCT_DIR}/BUILD.LOG python setup.py install --prefix=${PRODUCT_DIR}
-
-cd ${PRODUCT_DIR}/bin; 
-
-scripts=`find . -name "*.py" -exec basename {} ";" | awk -F. '{print $1}'`
-for f in X $scripts ; do
-    if test "${f}" == "X" ; then continue ; fi
-    sed -e "s%#\!.*python%#\!/usr/bin/env python%" ${f}.py > _${f}.py
-    mv -f _${f}.py ${f}.py
-    chmod a+x ${f}.py
-    ln -sf ${f}.py ${f}
-done
-
-# remove sources and temporary files after building
-if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
-    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
-fi
-
-# to generate environment scripts
-try_preinstalled
-}
-
-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 ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-cd ${PRODUCT_DIR}/bin; 
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2latex.py > _rst2latex.py
-mv -f _rst2latex.py rst2latex.py
-chmod a+x rst2latex.py
-ln -sf rst2latex.py rst2latex
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2html.py > _rst2html.py
-mv -f _rst2html.py rst2html.py
-chmod a+x rst2html.py
-ln -sf rst2html.py rst2html
-
-# to generate environment script for sources
-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;
-shift
-REMOVE_SRC_TMP=$8;
-test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="docutils-${DOCUTILS_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/docutils.sh b/config_files/docutils.sh
new file mode 100755 (executable)
index 0000000..821cc0f
--- /dev/null
@@ -0,0 +1,121 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : docutils.sh
+#  Created   : Mon Oct 12 11:20:00 2009
+#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
+#  Project   : SALOME
+#  Module    : Installation Wizard
+#  Copyright : 2002-2012 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+#
+# docutils version
+#
+DOCUTILS_VERSION=0.8.1
+
+check_version(){
+# It is not necessary to check version!
+return 0
+}
+
+print_env_bin(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONPATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/lib/python\${PYTHON_VERSION}/site-packages:\${PYTHONPATH}
+export PATH=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/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()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/$SHRC
+
+# unpack
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+cd ${PRODUCT_SRC_DIR} ; check_job ${PRODUCT_DIR}/BUILD.LOG python setup.py install --prefix=${PRODUCT_DIR}
+
+cd ${PRODUCT_DIR}/bin; 
+
+scripts=`find . -name "*.py" -exec basename {} ";" | awk -F. '{print $1}'`
+for f in X $scripts ; do
+    if test "${f}" == "X" ; then continue ; fi
+    sed -i "s%#\!.*python%#\!/usr/bin/env python%" ${f}.py
+    ln -sf ${f}.py ${f}
+done
+
+# remove sources and temporary files after building
+if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
+    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+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 ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+# to generate environment script for sources
+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;
+shift
+REMOVE_SRC_TMP=$8;
+test $# == 10 && shift && SINGLE_DIR=$9
+export PRODUCT="docutils-${DOCUTILS_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