doxygen2man: Fix typos and inconsistencies in help text
doxygen2man: Include libxml/parser.h (cherry picked from commit fd2108b329280e8281b59b870adea2df8bba74e5)
This commit is contained in:
parent
b030b251b5
commit
5b05d53116
@ -0,0 +1,53 @@
|
|||||||
|
From 40542f314ebe7312fa995677ed5c967150dd5d6a Mon Sep 17 00:00:00 2001
|
||||||
|
From: wferi <wferi@debian.org>
|
||||||
|
Date: Sat, 18 May 2024 17:12:47 +0200
|
||||||
|
Subject: [PATCH 4/5] doxygen2man: Fix typos and inconsistencies in help text
|
||||||
|
(#497)
|
||||||
|
|
||||||
|
---
|
||||||
|
doxygen2man/doxygen2man.c | 18 +++++++++---------
|
||||||
|
1 file changed, 9 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/doxygen2man/doxygen2man.c b/doxygen2man/doxygen2man.c
|
||||||
|
index a90fefb..3197967 100644
|
||||||
|
--- a/doxygen2man/doxygen2man.c
|
||||||
|
+++ b/doxygen2man/doxygen2man.c
|
||||||
|
@@ -1192,7 +1192,7 @@ static void usage(char *name)
|
||||||
|
printf(" using the name of the generated .xml file. This file will usually be called\n");
|
||||||
|
printf(" something like <include-file>_8h.xml, eg qbipcs_8h.xml\n");
|
||||||
|
printf("\n");
|
||||||
|
- printf(" If you want HTML output then simpy use nroff on the generated files as you\n");
|
||||||
|
+ printf(" If you want HTML output then simply use nroff on the generated files as you\n");
|
||||||
|
printf(" would do with any other man page.\n");
|
||||||
|
printf("\n");
|
||||||
|
printf(" -a Print ASCII dump of man pages to stdout\n");
|
||||||
|
@@ -1200,18 +1200,18 @@ static void usage(char *name)
|
||||||
|
printf(" -P Print PARAMS section\n");
|
||||||
|
printf(" -g Print general man page for the whole header file\n");
|
||||||
|
printf(" -c Use the Copyright date from the header file (if one can be found)\n");
|
||||||
|
- printf(" -O <dir> Directory for the orignal header file. Often needed by -c above\n");
|
||||||
|
- printf(" -s <s> Write man pages into section <s> <default 3)\n");
|
||||||
|
- printf(" -p <package> Use <package> name. default <Package>\n");
|
||||||
|
- printf(" -H <header> Set header (default \"Programmer's Manual\"\n");
|
||||||
|
+ printf(" -O <dir> Directory for the original header file. Often needed by -c above\n");
|
||||||
|
+ printf(" -s <s> Write man pages into section <s> (default: 3)\n");
|
||||||
|
+ printf(" -p <package> Use <package> name (default: Package)\n");
|
||||||
|
+ printf(" -H <header> Set header (default: \"Programmer's Manual\"\n");
|
||||||
|
printf(" -I <include> Set include filename (default taken from xml)\n");
|
||||||
|
- printf(" -i <prefix> Prefix for include files. eg qb/ (default \"\")\n");
|
||||||
|
- printf(" -C <company> Company name in copyright (defaults to Red Hat)\n");
|
||||||
|
+ printf(" -i <prefix> Prefix for include files. eg qb/ (nothing by default)\n");
|
||||||
|
+ printf(" -C <company> Company name in copyright (default: Red Hat)\n");
|
||||||
|
printf(" -D <date> Date to print at top of man pages (format not checked, default: today)\n");
|
||||||
|
printf(" -S <year> Start year to print at end of copyright line (default: 2010)\n");
|
||||||
|
printf(" -Y <year> Year to print at end of copyright line (default: today's year)\n");
|
||||||
|
- printf(" -o <dir> Write all man pages to <dir> (default .)\n");
|
||||||
|
- printf(" -d <dir> Directory for XML files (./xml/)\n");
|
||||||
|
+ printf(" -o <dir> Write all man pages to <dir> (default: .)\n");
|
||||||
|
+ printf(" -d <dir> Directory for XML files (default: ./xml/)\n");
|
||||||
|
printf(" -h Print this usage text\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
26
backport-doxygen2man-Include-libxml-parser.h-494.patch
Normal file
26
backport-doxygen2man-Include-libxml-parser.h-494.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From c7528139dc8a6999fea65d94f7b8fbb424a6bd06 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chrissie Caulfield <ccaulfie@redhat.com>
|
||||||
|
Date: Mon, 20 Nov 2023 12:15:21 +0000
|
||||||
|
Subject: [PATCH 2/5] doxygen2man: Include libxml/parser.h (#494)
|
||||||
|
|
||||||
|
This seems to be needed for newer versions of libxml
|
||||||
|
but shouldn't break older ones (CI to confirm!)
|
||||||
|
---
|
||||||
|
doxygen2man/doxygen2man.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/doxygen2man/doxygen2man.c b/doxygen2man/doxygen2man.c
|
||||||
|
index 3dab47d..a90fefb 100644
|
||||||
|
--- a/doxygen2man/doxygen2man.c
|
||||||
|
+++ b/doxygen2man/doxygen2man.c
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <libxml/tree.h>
|
||||||
|
+#include <libxml/parser.h>
|
||||||
|
#include <qb/qblist.h>
|
||||||
|
#include <qb/qbmap.h>
|
||||||
|
#include "cstring.h"
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
@ -1,12 +1,14 @@
|
|||||||
Name: libqb
|
Name: libqb
|
||||||
Version: 2.0.8
|
Version: 2.0.8
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Library providing high performance logging, tracing, ipc, and poll
|
Summary: Library providing high performance logging, tracing, ipc, and poll
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/libqb
|
URL: https://github.com/ClusterLabs/libqb
|
||||||
Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||||
Patch0: Change-assert-in-ringbuffer-to-a-return-code-492.patch
|
Patch0: Change-assert-in-ringbuffer-to-a-return-code-492.patch
|
||||||
Patch1: Make-some-logs-less-noisy-495.patch
|
Patch1: Make-some-logs-less-noisy-495.patch
|
||||||
|
Patch2: backport-doxygen2man-Include-libxml-parser.h-494.patch
|
||||||
|
Patch3: backport-doxygen2man-Fix-typos-and-inconsistencies-in-help-te.patch
|
||||||
BuildRequires: autoconf automake libtool check-devel doxygen gcc procps pkgconfig(glib-2.0)
|
BuildRequires: autoconf automake libtool check-devel doxygen gcc procps pkgconfig(glib-2.0)
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
# For doxygen2man
|
# For doxygen2man
|
||||||
@ -75,6 +77,10 @@ This package contains a program to create nicely-formatted man pages from Doxyge
|
|||||||
%{_mandir}/man1/doxygen2man.1.gz
|
%{_mandir}/man1/doxygen2man.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 05 2024 bixiaoyan <bixiaoyan@kylinos.cn> - 2.0.8-4
|
||||||
|
- doxygen2man: Include libxml/parser.h
|
||||||
|
- doxygen2man: Fix typos and inconsistencies in help text
|
||||||
|
|
||||||
* Wed Feb 21 2024 bixiaoyan <bixiaoyan@kylinos.cn> - 2.0.8-3
|
* Wed Feb 21 2024 bixiaoyan <bixiaoyan@kylinos.cn> - 2.0.8-3
|
||||||
- Make some logs less noisy
|
- Make some logs less noisy
|
||||||
Community Patch Link:
|
Community Patch Link:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user