Bug#1100898: Acknowledgement (libnotify-bin: man page broken)

Tianyu Chen billchenchina2001 at gmail.com
Mon Mar 24 08:53:10 GMT 2025


Hi,

> https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/46

Since upstream has already merged the MR, I have prepared an NMU for
libnotify (versioned as 0.8.4-1.1) and I plan to upload it to DELAYED/10.
Please feel free to tell me if I should delay it longer.

Best regards,
Tianyu Chen
-------------- next part --------------
diff -Nru libnotify-0.8.4/debian/changelog libnotify-0.8.4/debian/changelog
--- libnotify-0.8.4/debian/changelog	2025-02-20 11:31:13.000000000 +0800
+++ libnotify-0.8.4/debian/changelog	2025-03-24 14:02:02.000000000 +0800
@@ -1,3 +1,10 @@
+libnotify (0.8.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Fix manpages (Closes: #1100898)
+
+ -- Tianyu Chen <billchenchina2001 at gmail.com>  Mon, 24 Mar 2025 14:02:02 +0800
+
 libnotify (0.8.4-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libnotify-0.8.4/debian/patches/Revert-meson-update-stylesheet-url.patch libnotify-0.8.4/debian/patches/Revert-meson-update-stylesheet-url.patch
--- libnotify-0.8.4/debian/patches/Revert-meson-update-stylesheet-url.patch	1970-01-01 08:00:00.000000000 +0800
+++ libnotify-0.8.4/debian/patches/Revert-meson-update-stylesheet-url.patch	2025-03-24 13:59:20.000000000 +0800
@@ -0,0 +1,35 @@
+From a392f3ef205bd8d8f2fa0e298a869d8abc481728 Mon Sep 17 00:00:00 2001
+From: Jan Tojnar <jtojnar at gmail.com>
+Date: Sun, 2 Mar 2025 22:29:13 +0100
+Subject: [PATCH] Revert "meson: update stylesheet url"
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The change is incorrect.
+
+`http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl` is the variant of the stylesheet that does not use namespaces and will produce a broken manual page. https://gitlab.gnome.org/GNOME/libnotify/-/commit/162d1958694822658dfa27e3dd1c702dee4c285c expects DocBook stylesheet with namespace support.
+
+It does not really matter if the URI ceases resolving to a file ? we disable network access for `xsltproc` so it only serves as an identifier for the stylesheet to be discovered locally using a XML catalog.
+
+This reverts commit 2f99025b7ad54f29dc5236aa7dfcfa97d1c8efde.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index a5be706..c99c23e 100644
+--- a/meson.build
++++ b/meson.build
+@@ -57,7 +57,7 @@ configure_file(input: 'config.h.meson',
+ 
+ if get_option('man')
+   xsltproc = find_program('xsltproc', required: true)
+-  stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
++  stylesheet = 'http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl'
+   xsltproc_command = [
+     xsltproc,
+     '--nonet',
+-- 
+GitLab
+
diff -Nru libnotify-0.8.4/debian/patches/series libnotify-0.8.4/debian/patches/series
--- libnotify-0.8.4/debian/patches/series	1970-01-01 08:00:00.000000000 +0800
+++ libnotify-0.8.4/debian/patches/series	2025-03-24 14:00:56.000000000 +0800
@@ -0,0 +1 @@
+Revert-meson-update-stylesheet-url.patch


More information about the pkg-gnome-maintainers mailing list