pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/59566: sysutils/libnotify has mangled manpage
The following reply was made to PR pkg/59566; it has been noted by GNATS.
From: Rob Whitlock <rwhitlock22%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/59566: sysutils/libnotify has mangled manpage
Date: Fri, 1 Aug 2025 14:21:16 -0400
> On Jul 30, 2025, at 3:40 PM, Thomas Klausner via gnats =
<gnats-admin%NetBSD.org@localhost> wrote:
>=20
> The following reply was made to PR pkg/59566; it has been noted by =
GNATS.
>=20
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Cc:=20
> Subject: Re: pkg/59566: sysutils/libnotify has mangled manpage
> Date: Wed, 30 Jul 2025 21:35:04 +0200
>=20
> On Wed, Jul 30, 2025 at 06:40:01PM +0000, rwhitlock22%gmail.com@localhost wrote:
>> The man page for notify-send is mangled, with man page directive =
visible:
>>=20
>>=20
>> NOTIFY-SEND(1) User Commands =
NOTIFY-SEND(1)
>>=20
>> .SH "NAME" notify-send - a program to send desktop notifications
>=20
> The problem is that the nroff commands like '.SH' should be at the
> start of the line - leading whitespace is not allowed.
>=20
> It seems to be generated from notify-send.xml using xsltproc, but I'm
> not sure who's supposed to get rid of the whitespace.
>=20
> Perhaps worth an upstream bug report?
> Thomas
notify-send.1 requires Docbook 5.0 and textproc/docbook only provides
Docbook 4.5. Is Docbook 4.5 able to process Docbook 5.0 documents?
I found this on the libnotify gitlab page:
=
https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/46/diffs?commit_=
id=3Da392f3ef205bd8d8f2fa0e298a869d8abc481728
which says that libnotify requires the XSL stylesheet that supports
namespaces and that using the stylesheet that does not support
namespaces results in a broken manual page. The distfile currently
used in pkgsrc for libnotify does not use the stylesheet with
namespaces. Namespace support was introduced in Docbook 5.0.
Does this mean that the libnotify package requires Docbook 5.0,
or is Docbook 4.5 able to process Docbook 5.0 documents somehow?=
Home |
Main Index |
Thread Index |
Old Index