than pushed to doxygen (f21). "Resolves: bz#1198355, doxygen generates \backmatter in article class"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 4 11:54:38 UTC 2015


>From fa6f4ff6fa852bdf175f1b6f02feed11fe4fcb3d Mon Sep 17 00:00:00 2001
From: Than Ngo <than at redhat.com>
Date: Wed, 29 Apr 2015 13:41:37 +0200
Subject: Resolves: bz#1198355, doxygen generates \backmatter in article class


diff --git a/doxygen-bz#1198355.patch b/doxygen-bz#1198355.patch
new file mode 100644
index 0000000..cd91c00
--- /dev/null
+++ b/doxygen-bz#1198355.patch
@@ -0,0 +1,26 @@
+diff --git a/src/latexgen.cpp b/src/latexgen.cpp
+index d4d8fae..de2ed22 100644
+--- a/src/latexgen.cpp
++++ b/src/latexgen.cpp
+@@ -535,14 +535,18 @@ static void writeDefaultFooter(FTextStream &t)
+   Doxygen::citeDict->writeLatexBibliography(t);
+ 
+   // Index
++  t << "% Index\n";
+   QCString unit;
+   if (Config_getBool("COMPACT_LATEX"))
++  {
+     unit = "section";
++  }
+   else
++  {
+     unit = "chapter";
+-  t << "% Index\n"
+-       "\\backmatter\n"
+-       "\\newpage\n"
++    t << "\\backmatter\n";
++  }
++  t << "\\newpage\n"
+        "\\phantomsection\n"
+        "\\clearemptydoublepage\n"
+        "\\addcontentsline{toc}{" << unit << "}{" << theTranslator->trRTFGeneralIndex() << "}\n"
diff --git a/doxygen.spec b/doxygen.spec
index 102b4fd..07b2f1f 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.9.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # No version is specified.
 License: GPL+
@@ -14,6 +14,7 @@ Source2: doxywizard.desktop
 
 Patch1: doxygen-1.8.9.1-config.patch
 Patch2: doxygen-1.8.9.1-html_timestamp_default_false.patch 
+Patch3: doxygen-bz#1198355.patch
 
 BuildRequires: perl
 BuildRequires: tex(dvips)
@@ -63,6 +64,7 @@ Requires: texlive-epstopdf-bin
 
 %patch1 -p1 -b .config
 %patch2 -p1 -b .html_timestamp_default_false
+%patch3 -p1 -b .bz#1198355
 
 # convert into utf-8
 iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
@@ -118,7 +120,10 @@ desktop-file-install \
 
 
 %changelog
-* Wed Jan 21 2015 Than Ngo <than at redhat.com> 1.8.9.1-1
+* Wed Apr 29 2015 Than Ngo <than at redhat.com> - 1:1.8.9.1-2
+- Resolves: bz#1198355, doxygen generates \backmatter in article class
+
+* Wed Jan 21 2015 Than Ngo <than at redhat.com> 1:1.8.9.1-1
 - update to 1.8.9.1
 
 * Mon Aug 25 2014 Than Ngo <than at redhat.com> - 1:1.8.8-1
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/doxygen.git/commit/?h=f21&id=fa6f4ff6fa852bdf175f1b6f02feed11fe4fcb3d


More information about the scm-commits mailing list