]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
SALOME 6.5.0 preparation: doxygen 1.7.3 -> 1.8.0
authorinv <inv@opencascade.com>
Mon, 2 Apr 2012 12:23:25 +0000 (12:23 +0000)
committerinv <inv@opencascade.com>
Mon, 2 Apr 2012 12:23:25 +0000 (12:23 +0000)
15 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/doxygen-1.7.3.sh [deleted file]
config_files/doxygen.sh [new file with mode: 0755]
config_files/patches/doxygen-1.7.3.patch [deleted file]
config_files/patches/doxygen-1.8.0.patch [new file with mode: 0755]

index 4128dc2e58b5eacaf1305bbd7acdd0ea98ee4a13..e7a75e2e80e71f7ca66c5a39f3fbff4d39eee15e 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="CentOS 5.5 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index 90d2293ad2a3357445c9e4f69473e2634ac8ceba..124de0779b5c367cf83f3e4e5aa528daf0721b7c 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Debian 4.0"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index 306d2576d788c1c9ddb3d6c01b9c74fcf3ec57c3..143718a2389d9a41d1f5176f873da306f95d1f75 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Debian 4.0 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index 974b7a16d1dec1af14ff7af3b7b1113e31ab5e8d..025dab012527802e857c0bd3d2a41e19466053da 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Debian 5.0 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index f0bb21fc32912b849efba672844bd87f75c1fb14..68a006d8238b1f4b6e3be625275007a9e05eb20d 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Debian 6.0 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index c77dfcb533614126d3b2f71ea6414aab1ba890fc..257aaa6171e527012790b85194d6b4c6fa9e8454 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Mandriva 2008.0"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index ef4ba9938f82ff257546c5ab7fa9ae588031c897..5a0ebf0a4b370a887e1e0db3ff413930e1744864 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Mandriva 2008.0 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index e6e6bb494e0483fa188609183d35d317f138c360..8a9e46518508b9c2d601676708a69bf662a7b3ea 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Mandriva 2010.0"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index 02b04edfead0967224f496afd592f45e80f053ca..4b8db6a156986507ce7a71ad536d1ac7e03cab0f 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Mandriva 2010.0 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index e8527197ec16774d6a3b222f75e172927740000a..702e72ac73a1ad469b7c79a435931627275b0c5f 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
index 7de52b17b01c6d99e278646aa998ab2f83265356..1282dcd449fb1543173bd994f102d6e5c6359065 100755 (executable)
             type="prerequisite"
              description="Documentation system for C++, C, Java, IDL, etc.">
       <installation os="Scientific SL 5.1 64bit"
-                    version="1.7.3
+                    version="1.8.0
                    disable="false"
                    installdiskspace="5812,18536,52656"
-                   script="doxygen-1.7.3.sh"/>
+                   script="doxygen.sh"/>
     </product>
     <product name="docutils"
             type="prerequisite"
diff --git a/config_files/doxygen-1.7.3.sh b/config_files/doxygen-1.7.3.sh
deleted file mode 100755 (executable)
index d789a35..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : doxygen-1.7.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.
-#
-####################################################################################
-
-#
-# Doxygen version
-#
-DOXYGEN_VERSION=1.7.3
-DOXYGEN_XVERSION=`echo ${DOXYGEN_VERSION} | awk -F. '{printf("%d",$1*10000+$2*100+$3)}'`
-
-check_version()
-{
-check_lib_version doxygen $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-ver=`doxygen --version`
-maj_ver=`echo $ver | awk -F. '{if(NF>0) print $1; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'`
-min_ver=`echo $ver | awk -F. '{if(NF>1) print $2; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'`
-rel_ver=`echo $ver | awk -F. '{if(NF>2) print $3; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'`
-let ver=$maj_ver*10000+$min_ver*100+$rel_ver
-if [ $ver -eq ${DOXYGEN_XVERSION} ] ; then
-    return 0
-fi
-return 1
-}
-
-print_env_bin()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
-#$DELIM ${PRODUCT_TYPE} $DELIM
-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}
-
-# apply general patch for doxygen 1.7.3
-
-if [ -f patches/doxygen-1.7.3.patch ] ; then
-    cp patches/doxygen-1.7.3.patch ${PRODUCT_SRC_DIR}
-    ( cd ${PRODUCT_SRC_DIR}; patch -p1 < doxygen-1.7.3.patch )
-fi
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_source_and_build()
-{
-# install sources
-install_source
-
-# build sources
-cd ${PRODUCT_SRC_DIR}
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-f_install="--install "`which install`
-
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --prefix ${PRODUCT_DIR} $f_install
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-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="doxygen-${DOXYGEN_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/doxygen.sh b/config_files/doxygen.sh
new file mode 100755 (executable)
index 0000000..e1159d9
--- /dev/null
@@ -0,0 +1,144 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : doxygen.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-2012 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+#
+# Doxygen version
+#
+DOXYGEN_VERSION=1.8.0
+DOXYGEN_XVERSION=`echo ${DOXYGEN_VERSION} | awk -F. '{printf("%d",$1*10000+$2*100+$3)}'`
+
+check_version()
+{
+check_lib_version doxygen $PATH
+if [ "$?" -ne "0" ]; then
+   return 1
+fi
+ver=`doxygen --version`
+maj_ver=`echo $ver | awk -F. '{if(NF>0) print $1; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'`
+min_ver=`echo $ver | awk -F. '{if(NF>1) print $2; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'`
+rel_ver=`echo $ver | awk -F. '{if(NF>2) print $3; else print 0}' | sed -e 's/^\([0-9]*\).*$/\1/'`
+let ver=$maj_ver*10000+$min_ver*100+$rel_ver
+if [ $ver -eq ${DOXYGEN_XVERSION} ] ; then
+    return 0
+fi
+return 1
+}
+
+print_env_bin()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#$DELIM ${PRODUCT_TYPE} $DELIM
+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}
+
+# apply general patch for doxygen
+
+if [ -f patches/doxygen-${DOXYGEN_VERSION}.patch ] ; then
+    cp patches/doxygen-${DOXYGEN_VERSION}.patch ${PRODUCT_SRC_DIR}
+    ( cd ${PRODUCT_SRC_DIR}; patch -p1 < doxygen-${DOXYGEN_VERSION}.patch )
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+cd ${PRODUCT_SRC_DIR}
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+f_install="--install "`which install`
+
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --prefix ${PRODUCT_DIR} $f_install
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
+
+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="doxygen-${DOXYGEN_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/patches/doxygen-1.7.3.patch b/config_files/patches/doxygen-1.7.3.patch
deleted file mode 100755 (executable)
index 454b642..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-diff -Naur doxygen-1.7.3_orig/src/docsets.cpp doxygen-1.7.3_new/src/docsets.cpp
---- doxygen-1.7.3_orig/src/docsets.cpp 2010-11-07 00:27:43.000000000 +0300
-+++ doxygen-1.7.3_new/src/docsets.cpp  2011-04-08 15:35:42.000000000 +0400
-@@ -135,7 +135,7 @@
-     err("Could not open file %s for writing\n",notes.data());
-     exit(1);
-   }
--  QCString indexName=Config_getBool("GENERATE_TREEVIEW")?"main":"index";
-+  QCString indexName= /*Config_getBool("GENERATE_TREEVIEW")?"main":*/ "index";
-   m_nts.setDevice(m_nf);
-   m_nts << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << endl;
-   m_nts << "<DocSetNodes version=\"1.0\">" << endl;
-diff -Naur doxygen-1.7.3_orig/src/doxygen.cpp doxygen-1.7.3_new/src/doxygen.cpp
---- doxygen-1.7.3_orig/src/doxygen.cpp 2010-12-21 23:41:44.000000000 +0300
-+++ doxygen-1.7.3_new/src/doxygen.cpp  2011-04-08 15:33:52.000000000 +0400
-@@ -7940,7 +7940,7 @@
-     QCString title=root->args.stripWhiteSpace();
-     if (title.isEmpty()) title=theTranslator->trMainPage();
--    QCString name = Config_getBool("GENERATE_TREEVIEW")?"main":"index";
-+    QCString name = /*Config_getBool("GENERATE_TREEVIEW")?"main":*/ "index";
-     addRefItem(root->sli,
-                name,
-                "page",
-@@ -7965,7 +7965,7 @@
-     {
-       //printf("Found main page! \n======\n%s\n=======\n",root->doc.data());
-       QCString title=root->args.stripWhiteSpace();
--      QCString indexName=Config_getBool("GENERATE_TREEVIEW")?"main":"index";
-+      QCString indexName= /*Config_getBool("GENERATE_TREEVIEW")?"main":*/ "index";
-       Doxygen::mainPage = new PageDef(root->fileName,root->startLine,
-                               indexName, root->brief+root->doc+root->inbodyDocs,title);
-       //setFileNameForSections(root->anchors,"index",Doxygen::mainPage);
-diff -Naur doxygen-1.7.3_orig/src/latexgen.cpp doxygen-1.7.3_new/src/latexgen.cpp
---- doxygen-1.7.3_orig/src/latexgen.cpp        2010-12-26 18:35:34.000000000 +0300
-+++ doxygen-1.7.3_new/src/latexgen.cpp 2011-04-08 15:36:06.000000000 +0400
-@@ -1005,7 +1005,7 @@
-       break;
-     case isMainPage:
-       {
--        QCString indexName=Config_getBool("GENERATE_TREEVIEW")?"main":"index";
-+        QCString indexName= /*Config_getBool("GENERATE_TREEVIEW")?"main":*/ "index";
-         t << "}\n\\label{index}";
-         if (Config_getBool("PDF_HYPERLINKS")) t << "\\hypertarget{index}{}";
-         t << "\\input{" << indexName << "}\n";
-diff -Naur doxygen-1.7.3_orig/src/resize.js doxygen-1.7.3_new/src/resize.js
---- doxygen-1.7.3_orig/src/resize.js   2010-12-12 21:53:19.000000000 +0300
-+++ doxygen-1.7.3_new/src/resize.js    2011-04-08 19:04:50.000000000 +0400
-@@ -1,5 +1,6 @@
- var cookie_namespace = 'doxygen'; 
- var sidenav,navtree,content,header;
-+var navrows = new Array();
- function readCookie(cookie) 
- {
-@@ -36,27 +37,45 @@
-  
- function resizeWidth() 
- {
--  var windowWidth = $(window).width() + "px";
-+  var windowWidth = $(window).width();
-   var sidenavWidth = $(sidenav).width();
-   content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar
-+    for(var i = 1; i <= 4;i++) {
-+      if(navrows[i] != null)
-+          navrows[i].css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar
-+          navrows[i].css({width:windowWidth-parseInt(sidenavWidth) - 6 + "px"});
-+  }
-+
-   writeCookie('width',sidenavWidth, null);
- }
- function restoreWidth(navWidth)
- {
--  var windowWidth = $(window).width() + "px";
-+  var windowWidth = $(window).width();
-   content.css({marginLeft:parseInt(navWidth)+6+"px"});
-   sidenav.css({width:navWidth + "px"});
-+  for(var i = 1; i <= 4;i++) {
-+    if(navrows[i] != null)
-+      navrows[i].css({marginLeft:parseInt(navWidth)+6+"px"});
-+      navrows[i].css({width:windowWidth-parseInt(navWidth) - 6 + "px"});
-+  }
- }
- function resizeHeight() 
- {
-   var headerHeight = header.height();
-   var footerHeight = footer.height();
-+  var navrowsH = 0;
-+  for(var i = 1; i <= 4;i++) {
-+    if(navrows[i] != null)
-+      navrowsH = navrowsH + navrows[i].height();
-+  }
-+      
-   var windowHeight = $(window).height() - headerHeight - footerHeight;
-+  var treeH = windowHeight + navrowsH;
-   content.css({height:windowHeight + "px"});
--  navtree.css({height:windowHeight + "px"});
--  sidenav.css({height:windowHeight + "px",top: headerHeight+"px"});
-+  navtree.css({height:treeH +"px"});
-+  sidenav.css({height:treeH +"px", top: headerHeight+"px"});
- }
- function initResizable()
-@@ -66,6 +85,10 @@
-   content = $("#doc-content");
-   navtree = $("#nav-tree");
-   footer  = $("#nav-path");
-+  for(var i = 1; i <= 4;i++) {
-+    navrows[i] = $("#navrow"+i);
-+  }
-+  
-   $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } });
-   $(window).resize(function() { resizeHeight(); });
-   var width = readCookie('width');
-diff -Naur doxygen-1.7.3_orig/src/rtfgen.cpp doxygen-1.7.3_new/src/rtfgen.cpp
---- doxygen-1.7.3_orig/src/rtfgen.cpp  2010-06-17 15:49:09.000000000 +0400
-+++ doxygen-1.7.3_new/src/rtfgen.cpp   2011-04-08 15:34:30.000000000 +0400
-@@ -612,7 +612,8 @@
-         t << "{\\tc \\v " << substitute(Doxygen::mainPage->title(),"%","") << "}"<< endl;
-       }
-       t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"";
--      if (Config_getBool("GENERATE_TREEVIEW")) t << "main"; else t << "index";
-+      //if (Config_getBool("GENERATE_TREEVIEW")) t << "main"; else 
-+      t << "index";
-       t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n";
-       break;
-     //case isPackageIndex:
-
diff --git a/config_files/patches/doxygen-1.8.0.patch b/config_files/patches/doxygen-1.8.0.patch
new file mode 100755 (executable)
index 0000000..a2423ff
--- /dev/null
@@ -0,0 +1,71 @@
+diff -Naur doxygen-1.7.3_orig/src/resize.js doxygen-1.7.3_new/src/resize.js
+--- doxygen-1.7.3_orig/src/resize.js   2010-12-12 21:53:19.000000000 +0300
++++ doxygen-1.7.3_new/src/resize.js    2011-04-08 19:04:50.000000000 +0400
+@@ -1,5 +1,6 @@
+ var cookie_namespace = 'doxygen'; 
+ var sidenav,navtree,content,header;
++var navrows = new Array();
+ function readCookie(cookie) 
+ {
+@@ -36,27 +37,45 @@
+  
+ function resizeWidth() 
+ {
+-  var windowWidth = $(window).width() + "px";
++  var windowWidth = $(window).width();
+   var sidenavWidth = $(sidenav).width();
+   content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar
++    for(var i = 1; i <= 4;i++) {
++      if(navrows[i] != null)
++          navrows[i].css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar
++          navrows[i].css({width:windowWidth-parseInt(sidenavWidth) - 6 + "px"});
++  }
++
+   writeCookie('width',sidenavWidth, null);
+ }
+ function restoreWidth(navWidth)
+ {
+-  var windowWidth = $(window).width() + "px";
++  var windowWidth = $(window).width();
+   content.css({marginLeft:parseInt(navWidth)+6+"px"});
+   sidenav.css({width:navWidth + "px"});
++  for(var i = 1; i <= 4;i++) {
++    if(navrows[i] != null)
++      navrows[i].css({marginLeft:parseInt(navWidth)+6+"px"});
++      navrows[i].css({width:windowWidth-parseInt(navWidth) - 6 + "px"});
++  }
+ }
+ function resizeHeight() 
+ {
+   var headerHeight = header.height();
+   var footerHeight = footer.height();
++  var navrowsH = 0;
++  for(var i = 1; i <= 4;i++) {
++    if(navrows[i] != null)
++      navrowsH = navrowsH + navrows[i].height();
++  }
++      
+   var windowHeight = $(window).height() - headerHeight - footerHeight;
++  var treeH = windowHeight + navrowsH;
+   content.css({height:windowHeight + "px"});
+-  navtree.css({height:windowHeight + "px"});
+-  sidenav.css({height:windowHeight + "px",top: headerHeight+"px"});
++  navtree.css({height:treeH +"px"});
++  sidenav.css({height:treeH +"px", top: headerHeight+"px"});
+ }
+ function initResizable()
+@@ -66,6 +85,10 @@
+   content = $("#doc-content");
+   navtree = $("#nav-tree");
+   footer  = $("#nav-path");
++  for(var i = 1; i <= 4;i++) {
++    navrows[i] = $("#navrow"+i);
++  }
++  
+   $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } });
+   $(window).resize(function() { resizeHeight(); });
+   var width = readCookie('width');