Control: tags 1125179 + patch Control: tags 1125179 + pending
Dear maintainer, I've prepared an NMU for doxygen (versioned as 1.15.0+ds1-1.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should cancel it. Regards. diffstat for doxygen-1.15.0+ds1 doxygen-1.15.0+ds1 changelog | 8 ++++++++ patches/debian-bug-1125179.patch | 35 +++++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 44 insertions(+) diff -Nru doxygen-1.15.0+ds1/debian/changelog doxygen-1.15.0+ds1/debian/changelog --- doxygen-1.15.0+ds1/debian/changelog 2025-11-30 09:28:11.000000000 -0500 +++ doxygen-1.15.0+ds1/debian/changelog 2026-03-28 13:42:04.000000000 -0400 @@ -1,3 +1,11 @@ +doxygen (1.15.0+ds1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches/debian-bug-1125179.patch: Apply upstream patch to + fix document build failure with PDF_HYPERLINKS = NO. (Closes: #1125179) + + -- Boyuan Yang <[email protected]> Sat, 28 Mar 2026 13:42:04 -0400 + doxygen (1.15.0+ds1-1) unstable; urgency=medium * New upstream version. Closes: #1059611, #1078868, #1081619, #1091726, diff -Nru doxygen-1.15.0+ds1/debian/patches/debian-bug-1125179.patch doxygen-1.15.0+ds1/debian/patches/debian-bug-1125179.patch --- doxygen-1.15.0+ds1/debian/patches/debian-bug-1125179.patch 1969-12-31 19:00:00.000000000 -0500 +++ doxygen-1.15.0+ds1/debian/patches/debian-bug-1125179.patch 2026-03-28 13:42:00.000000000 -0400 @@ -0,0 +1,35 @@ +From 02905c519b162ff6cfe209bd30a7f2bea7e89da4 Mon Sep 17 00:00:00 2001 +From: albert-github <[email protected]> +Date: Mon, 27 Oct 2025 12:44:08 +0100 +Subject: [PATCH] Undefined environment NoHyper + +When having `PDF_HYPERLINKS = NO` specified (and having some tables defined) doxygen will give the error: +``` +! LaTeX Error: Environment NoHyper undefined. +``` +when generating the pdf file. + +By defining a dummy `NoHyper` environment this problem can be overcome. + +Bug-Debian: https://bugs.debian.org/1125179 +Applied-Upstream: https://github.com/doxygen/doxygen/commit/02905c519b162ff6cfe209bd30a7f2bea7e89da4 +--- + templates/latex/header.tex | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/templates/latex/header.tex b/templates/latex/header.tex +index 9902106b6c3..c6b1b56d524 100644 +--- a/templates/latex/header.tex ++++ b/templates/latex/header.tex +@@ -37,6 +37,11 @@ + \IfFormatAtLeastTF{2015/01/01}{\pdfsuppresswarningpagegroup=1}{} + \fi + ++ ++%%BEGIN !PDF_HYPERLINKS ++ \newenvironment{NoHyper}{}{} ++%%END !PDF_HYPERLINKS ++ + \usepackage{doxygen} + + $extralatexstylesheet diff -Nru doxygen-1.15.0+ds1/debian/patches/series doxygen-1.15.0+ds1/debian/patches/series --- doxygen-1.15.0+ds1/debian/patches/series 2025-11-29 02:06:56.000000000 -0500 +++ doxygen-1.15.0+ds1/debian/patches/series 2026-03-28 13:41:25.000000000 -0400 @@ -6,3 +6,4 @@ reproducible_manpages.diff sass_fix.diff uglifyjs.diff +debian-bug-1125179.patch

