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



> On Jul 30, 2025, at 3:40 PM, Thomas Klausner via gnats <gnats-admin%NetBSD.org@localhost> wrote:
> 
> The following reply was made to PR pkg/59566; it has been noted by GNATS.
> 
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Cc: 
> Subject: Re: pkg/59566: sysutils/libnotify has mangled manpage
> Date: Wed, 30 Jul 2025 21:35:04 +0200
> 
> 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:
>> 
>> 
>> NOTIFY-SEND(1)                   User Commands                  NOTIFY-SEND(1)
>> 
>>  .SH "NAME" notify-send - a program to send desktop notifications
> 
> The problem is that the nroff commands like '.SH' should be at the
> start of the line - leading whitespace is not allowed.
> 
> 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.
> 
> 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=a392f3ef205bd8d8f2fa0e298a869d8abc481728

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