Package: doxygen Version: 1.8.15-1~exp1 Severity: normal Tags: upstream patch
Dear Maintainer, >From their tracker at https://github.com/doxygen/doxygen/issues/6727 "When switching off SHOW_NAMESPACES, I can no longer build a PDF from the latex output. It fails with ! LaTeX Error: File `namespaces.tex' not found. Here's a testcase: TestCase6726.zip Build the testcase Run make.bat from the Doc\latex subdirectory expected: should run fine and produce refman.pdf actual: Error about missing namespaces.tex file" The patch for the issue applies cleanly to the current debian source and fixes the problem, reproduced below: >From a0be73d6eb529295cbc8fdfe0a0bbf38ebf5a0c2 Mon Sep 17 00:00:00 2001 From: albert-github <albert.te...@gmail.com> Date: Sat, 5 Jan 2019 14:44:28 +0100 Subject: [PATCH] issue #6727 SHOW_NAMESPACES = NO breaks latex PDF Only write the namespace index file reference (i.e. namespaces.tex , namespaces.rtf) to the overall file (i.e. refman.tex. refman.rtf) in case SHOW_NAMESPACES is set and there are namespaces. --- src/index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.cpp b/src/index.cpp index 7bb957475..5d16e4ea7 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -4670,7 +4670,7 @@ static void writeIndex(OutputList &ol) ol.parseText(/*projPrefix+*/ theTranslator->trModuleIndex()); ol.endIndexSection(isModuleIndex); } - if (documentedNamespaces>0) + if (Config_getBool(SHOW_NAMESPACES) && (documentedNamespaces>0)) { ol.startIndexSection(isNamespaceIndex); ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trModulesIndex():theTranslator->trNamespaceIndex())); Would it make sense to carry this in the debian patches until the next upstream release? -- System Information: Debian Release: 10.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.20.6-dan (SMP w/8 CPU cores; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages doxygen depends on: ii libc6 2.28-10 ii libclang1-7 1:7.0.1-8 ii libgcc1 1:8.3.0-7 ii libllvm7 1:7.0.1-8 ii libstdc++6 8.3.0-7 ii libtinfo6 6.1+20181013-2 ii libxapian30 1.4.11-1 ii zlib1g 1:1.2.11.dfsg-1 doxygen recommends no packages. Versions of packages doxygen suggests: pn doxygen-doc <none> pn doxygen-gui <none> ii doxygen-latex 1.8.13-10 ii graphviz 2.40.1-6 -- no debconf information