From 44085665caa1197f5e148574fe6202a79d2da26f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Dec 12 2016 13:25:52 +0000 Subject: - backport upstream patch to fix Bug 707266 - C++/CLI indexed property not documented Bug 774949 - Unknown reference in manual Bug 775245 - referencing Python files via tagfile broken --- diff --git a/doxygen-707266.patch b/doxygen-707266.patch new file mode 100644 index 0000000..61290b5 --- /dev/null +++ b/doxygen-707266.patch @@ -0,0 +1,26 @@ +diff --git a/src/scanner.l b/src/scanner.l +index 1fe5667..14bf3fc 100644 +--- a/src/scanner.l ++++ b/src/scanner.l +@@ -1014,7 +1014,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) + current->name = yytext; + } + "[" { // C++/CLI indexed property +- current->name += yytext; ++ current->args = "["; + BEGIN( CliPropertyIndex ); + } + "{" { +@@ -1037,10 +1037,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) + } + "]" { + BEGIN( CliPropertyType ); +- current->name+=yytext; ++ current->args+=yytext; + } + . { +- current->name+=yytext; ++ current->args+=yytext; + } + /* + {B}*"property"{BN}+ { diff --git a/doxygen-774949.patch b/doxygen-774949.patch new file mode 100644 index 0000000..79ce79e --- /dev/null +++ b/doxygen-774949.patch @@ -0,0 +1,13 @@ +diff --git a/doc/faq.doc b/doc/faq.doc +index d1845e0..5af3db8 100644 +--- a/doc/faq.doc ++++ b/doc/faq.doc +@@ -247,7 +247,7 @@ option \ref cfg_builtin_stl_support "BUILTIN_STL_SUPPORT" is turned on. + + \section faq_search I have problems getting the search engine to work with PHP5 and/or windows + +-Please read this for hints on where to look. ++Please read this for hints on where to look. + + \section faq_cmdline Can I configure doxygen from the command line? + diff --git a/doxygen-775245.patch b/doxygen-775245.patch new file mode 100644 index 0000000..1121a39 --- /dev/null +++ b/doxygen-775245.patch @@ -0,0 +1,36 @@ +diff --git a/src/filedef.cpp b/src/filedef.cpp +index 3fa896a..2cfe37a 100644 +--- a/src/filedef.cpp ++++ b/src/filedef.cpp +@@ -82,8 +82,8 @@ FileDef::FileDef(const char *p,const char *nm, + m_path=p; + m_filePath=m_path+nm; + m_fileName=nm; +- setDiskName(dn?dn:nm); + setReference(lref); ++ setDiskName(dn?dn:nm); + m_classSDict = 0; + m_includeList = 0; + m_includeDict = 0; +@@ -126,9 +126,18 @@ FileDef::~FileDef() + + void FileDef::setDiskName(const QCString &name) + { +- m_outputDiskName = convertNameToFile(name); +- m_inclDepFileName = convertNameToFile(name+"_incl"); +- m_inclByDepFileName = convertNameToFile(name+"_dep_incl"); ++ if (isReference()) ++ { ++ m_outputDiskName = name; ++ m_inclDepFileName = name+"_incl"; ++ m_inclByDepFileName = name+"_dep_incl"; ++ } ++ else ++ { ++ m_outputDiskName = convertNameToFile(name); ++ m_inclDepFileName = convertNameToFile(name+"_incl"); ++ m_inclByDepFileName = convertNameToFile(name+"_dep_incl"); ++ } + } + + /*! Compute the HTML anchor names for all members in the class */ diff --git a/doxygen.spec b/doxygen.spec index e4b03c0..50f75c8 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -2,7 +2,7 @@ Summary: A documentation system for C/C++ Name: doxygen Epoch: 1 Version: 1.8.12 -Release: 5%{?dist} +Release: 6%{?dist} # No version is specified. License: GPL+ @@ -17,6 +17,9 @@ Patch1: doxygen-771310.patch Patch2: doxygen-771344.patch Patch3: doxygen-774273.patch Patch4: doxygen-774138.patch +Patch5: doxygen-707266.patch +Patch6: doxygen-774949.patch +Patch7: doxygen-775245.patch BuildRequires: perl BuildRequires: tex(dvips) @@ -136,6 +139,12 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} # intentionally left blank %changelog +* Mon Dec 12 2016 Than Ngo - 1:1.8.12-6 +- backport upstream patch to fix + Bug 707266 - C++/CLI indexed property not documented + Bug 774949 - Unknown reference in manual + Bug 775245 - referencing Python files via tagfile broken + * Thu Dec 08 2016 Than Ngo - 1:1.8.12-5 - fixed bz#1402043 - runtime dependency on perl - backport upstream patch to fix Bug 774138 . add HTML classes to "Definition at..." & "Referenced by..." for CSS