XPost: linux.debian.devel.release
Package: release.debian.org
Severity: normal
X-Debbugs-Cc:
groff@packages.debian.org
Control: affects -1 + src:groff
User:
release.debian.org@packages.debian.org
Usertags: unblock
[ Reason ]
As reported in
https://bugs.debian.org/1107068, groff's PDF device
corrupts some man pages by dropping URLs from the output. Since this
can be fixed by a one-line patch cherry-picked from upstream, I'd like
to get the fix into trixie.
[ Impact ]
Man pages that use the .UR macro for URLs omit the URL when formatted
for PDF. (This can be worked around using the -rU0 option, but I'm not
sure how you'd work that out without already being something of an
expert.)
[ Tests ]
Not tested automatically, but I tested it manually using the "xtrs.man"
test file in
https://savannah.gnu.org/bugs/index.php?67169.
[ Risks ]
The fix consists of removing one line from an.tmac: the argument is that
the an*end-hyperlink macro in 1.23.0 only handles HTML and terminal
output devices, so it doesn't make sense to declare PDF as supported in an*can-hyperlink. At most I think this can only affect PDF output. But
it's a key package, so feel free to use your own judgement!
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock groff/1.23.0-9
Thanks,
--
Colin Watson (he/him) [
cjwatson@debian.org]
diff -Nru groff-1.23.0/debian/.git-dpm groff-1.23.0/debian/.git-dpm
--- groff-1.23.0/debian/.git-dpm 2025-05-04 12:15:22.000000000 +0100
+++ groff-1.23.0/debian/.git-dpm 2025-06-03 20:07:13.000000000 +0100
@@ -1,6 +1,6 @@
# see git-dpm(1) from git-dpm package -cb39b179f14d868f679bbb0ac7a7d42b780cf0a4 -cb39b179f14d868f679bbb0ac7a7d42b780cf0a4 +a1f6f9bfac4def0fb7656dbd68475fc27c880f05 +a1f6f9bfac4def0fb7656dbd68475fc27c880f05
4e2e28947560f0b5e3a7e89d43846b9183fb4c09
4e2e28947560f0b5e3a7e89d43846b9183fb4c09
groff_1.23.0.orig.tar.gz
diff -Nru groff-1.23.0/debian/changelog groff-1.23.0/debian/changelog
--- groff-1.23.0/debian/changelog 2025-05-04 12:15:22.000000000 +0100
+++ groff-1.23.0/debian/changelog 2025-06-03 20:07:13.000000000 +0100
@@ -1,3 +1,10 @@
+groff (1.23.0-9) unstable; urgency=medium
+
+ * man: Stop enabling hyperlink support for PDF when it isn't yet
+ implemented (closes: #1107068).
+
+ -- Colin Watson <
cjwatson@debian.org> Tue, 03 Jun 2025 20:07:13 +0100
+
groff (1.23.0-8) unstable; urgency=medium
* mdoc: Reset `Nm` value bet