]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Replacing sphinx 0.6.3 by 0.6.6
authorinv <inv@opencascade.com>
Tue, 8 Jun 2010 12:17:55 +0000 (12:17 +0000)
committerinv <inv@opencascade.com>
Tue, 8 Jun 2010 12:17:55 +0000 (12:17 +0000)
config_Debian_4.0.xml
config_Debian_4.0_64bit.xml
config_Fedora_Core_6.xml
config_Mandriva_2008.0.xml
config_Mandriva_2008.0_64bit.xml
config_Red_Hat_Enterprise_WS_4_64bit.xml
config_Scientific_SL_5.1_64bit.xml
config_files/sphinx-0.6.3.sh [deleted file]
config_files/sphinx-0.6.6.sh [new file with mode: 0755]

index cba9286d478f2f470aab502181ff02aafc482cbb..8aab6b94ea20d26889cd9a7208bf89a6d6d8a1c4 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Debian 4.0"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
index e5af53f12707c9537cea994f0ba5530953ae5ae2..b716b9a34d7a90212de318bb448780131256cf42 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Debian 4.0 64bit"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
index fd20895c119690337fc36a68fd9f5a4463018a79..e6d03a5fc8a0e0e803d9eb819d254386199820ce 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Fedora Core 6"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
index 885b1fb893bce69686939cf99c482d5ecc1d66c0..94e537e8092ccf2d2ebc4150f836c3f00fc83600 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Mandriva 2008.0"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
index 2bd6a27f51da4b887a0189170f2ac7035cceb181..e97a4a63a3ac3e6c268017d5b6fa9154bf25ce11 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Mandriva 2008.0 64bit"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
index be35fdb43b9718261516e1ccb1b926cdedda8ef3..c3a4bc96b1bfd41912768fe5bdfe562653937117 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
index 8a6eac2345a203eb856c04cfcc86d9d9b6d9b1e7..4c2fafe1703e29b9f52990ca5603a7197393d121 100755 (executable)
             type="prerequisite"
              description="Tool for creation of documentation for Python projects">
       <installation os="Scientific SL 5.1 64bit"
-                    version="0.6.3
+                    version="0.6.6
                    disable="false"
                    installdiskspace="2163,3342,6310"
-                   script="sphinx-0.6.3.sh"/>
+                   script="sphinx-0.6.6.sh"/>
     </product>
     <product name="netgen" 
             type="prerequisite"
diff --git a/config_files/sphinx-0.6.3.sh b/config_files/sphinx-0.6.3.sh
deleted file mode 100755 (executable)
index 679a560..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : sphinx-0.6.3.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-2008 CEA
-#
-#  This script is the part of the SALOME installation procedure.
-#
-####################################################################################
-
-#
-# Sphinx version
-#
-SPHINX_VERSION=0.6.3
-
-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
-
-makedir ${PRODUCT_SRC_DIR}
-# unpack
-check_jb tar xfz ${SOURCE_DIR}/sphinx-${SPHINX_VERSION}.tar.gz -C ${PRODUCT_SRC_DIR}
-check_jb tar xfz ${SOURCE_DIR}/setuptools-0.6c9.tar.gz -C ${PRODUCT_SRC_DIR}
-check_jb tar xfz ${SOURCE_DIR}/Jinja2-2.2.1.tar.gz -C ${PRODUCT_SRC_DIR}
-check_jb tar xfz ${SOURCE_DIR}/pygments-1.0.tar.gz -C ${PRODUCT_SRC_DIR}
-
-# 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}
-
-mkdir ${PRODUCT_DIR}/bin
-mkdir ${PRODUCT_DIR}/lib
-mkdir ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}
-mkdir ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-export PYTHONPATH=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-export PATH=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/bin:${PATH}
-
-# install omniORB
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-cd ${PRODUCT_SRC_DIR}/setuptools-0.6c9_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
-cd ${PRODUCT_SRC_DIR}/Pygments-1.0_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
-cd ${PRODUCT_SRC_DIR}/Jinja2-2.2.1_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
-cd ${PRODUCT_SRC_DIR}/sphinx-${SPHINX_VERSION}_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
-
-cd ${PRODUCT_DIR}/bin; 
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" easy_install  > _easy_install
-mv -f _easy_install easy_install
-chmod a+x easy_install
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" easy_install-${PYTHON_VERSION}  > _easy_install-${PYTHON_VERSION}
-mv -f _easy_install-${PYTHON_VERSION} easy_install-${PYTHON_VERSION}
-chmod a+x easy_install-${PYTHON_VERSION}
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" pygmentize  > _pygmentize
-mv -f _pygmentize pygmentize
-chmod a+x pygmentize
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-build  > _sphinx-build
-mv -f _sphinx-build sphinx-build
-chmod a+x sphinx-build
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-quickstart  > _sphinx-quickstart
-mv -f _sphinx-quickstart sphinx-quickstart
-chmod a+x sphinx-quickstart
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-autogen > _sphinx-autogen
-mv -f _sphinx-autogen sphinx-autogen
-chmod a+x sphinx-autogen
-
-cd ${PRODUCT_DIR}
-
-# 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="sphinx-${SPHINX_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/sphinx-0.6.6.sh b/config_files/sphinx-0.6.6.sh
new file mode 100755 (executable)
index 0000000..3a503c4
--- /dev/null
@@ -0,0 +1,161 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : sphinx-0.6.6.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-2008 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+#
+# Sphinx version
+#
+SPHINX_VERSION=0.6.6
+
+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
+
+makedir ${PRODUCT_SRC_DIR}
+# unpack
+check_jb tar xfz ${SOURCE_DIR}/sphinx-${SPHINX_VERSION}.tar.gz -C ${PRODUCT_SRC_DIR}
+check_jb tar xfz ${SOURCE_DIR}/setuptools-0.6c11.tar.gz -C ${PRODUCT_SRC_DIR}
+check_jb tar xfz ${SOURCE_DIR}/jinja2-2.5.0.tar.gz -C ${PRODUCT_SRC_DIR}
+check_jb tar xfz ${SOURCE_DIR}/pygments-1.3.1.tar.gz -C ${PRODUCT_SRC_DIR}
+
+# 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}
+
+mkdir ${PRODUCT_DIR}/bin
+mkdir ${PRODUCT_DIR}/lib
+mkdir ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}
+mkdir ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+
+export PYTHONPATH=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
+export PATH=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/bin:${PATH}
+
+# install omniORB
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+cd ${PRODUCT_SRC_DIR}/setuptools-0.6c11_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
+cd ${PRODUCT_SRC_DIR}/pygments-1.3.1_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
+cd ${PRODUCT_SRC_DIR}/jinja2-2.5.0_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
+cd ${PRODUCT_SRC_DIR}/sphinx-${SPHINX_VERSION}_SRC ; check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR}
+
+cd ${PRODUCT_DIR}/bin; 
+
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" easy_install  > _easy_install
+mv -f _easy_install easy_install
+chmod a+x easy_install
+
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" easy_install-${PYTHON_VERSION}  > _easy_install-${PYTHON_VERSION}
+mv -f _easy_install-${PYTHON_VERSION} easy_install-${PYTHON_VERSION}
+chmod a+x easy_install-${PYTHON_VERSION}
+
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" pygmentize  > _pygmentize
+mv -f _pygmentize pygmentize
+chmod a+x pygmentize
+
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-build  > _sphinx-build
+mv -f _sphinx-build sphinx-build
+chmod a+x sphinx-build
+
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-quickstart  > _sphinx-quickstart
+mv -f _sphinx-quickstart sphinx-quickstart
+chmod a+x sphinx-quickstart
+
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-autogen > _sphinx-autogen
+mv -f _sphinx-autogen sphinx-autogen
+chmod a+x sphinx-autogen
+
+cd ${PRODUCT_DIR}
+
+# 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="sphinx-${SPHINX_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