From 4fc30e4e13ecfbe29fbef3b5caf96218eab30b68 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 12 Jan 2024 19:10:40 +0000 Subject: gentoo auto-resync : 12:01:2024 - 19:10:40 --- app-text/xmltoman/Manifest | 6 +++ .../files/xmltoman-0.6-generate-man-pages.patch | 55 ++++++++++++++++++++++ app-text/xmltoman/metadata.xml | 9 ++++ app-text/xmltoman/xmltoman-0.4-r2.ebuild | 29 ++++++++++++ app-text/xmltoman/xmltoman-0.6.ebuild | 33 +++++++++++++ 5 files changed, 132 insertions(+) create mode 100644 app-text/xmltoman/Manifest create mode 100644 app-text/xmltoman/files/xmltoman-0.6-generate-man-pages.patch create mode 100644 app-text/xmltoman/metadata.xml create mode 100644 app-text/xmltoman/xmltoman-0.4-r2.ebuild create mode 100644 app-text/xmltoman/xmltoman-0.6.ebuild (limited to 'app-text/xmltoman') diff --git a/app-text/xmltoman/Manifest b/app-text/xmltoman/Manifest new file mode 100644 index 000000000000..4a40886db51f --- /dev/null +++ b/app-text/xmltoman/Manifest @@ -0,0 +1,6 @@ +AUX xmltoman-0.6-generate-man-pages.patch 2083 BLAKE2B 3f4136a06607d0c1b0d07acc5d82b977b1e3d1097d08bb29d8a626e1d5d86493892e58001fdd2946c5de96e62702bef5fc4f982507e89d5ac4069933d8638196 SHA512 879c11f14b33a3b134817c62a6f6e6470213e7aa7663b1676444746ab177b5b750114b5023dfa563fd85997ca0c7f7f2683264d0d1f985f363365529941a2ed7 +DIST xmltoman-0.4.tar.gz 15250 BLAKE2B d8641a19742d845fdab0e11703a60c16656c63529a4d86931a8038cbdb87e0fbf241b7ff38ed05ddab62daab608407bd5d7778c060fe3cbef1750976fa588dee SHA512 347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22 +DIST xmltoman-0.6.tar.gz 15862 BLAKE2B f33ebfb1dfdd0f055f18e68f923e96c07495740e361cec2ba7a10a63889b6b6c4c851f3df6b74947b24811403d2745dbdc7e5d2d67d3566ec65b7be6fae616c8 SHA512 f2b0689ca37212253eaa127c3a2c299facac7c3909991b8872da0adf0fbb34aa02c32144c485135c06c17b1ac5e5753d627969e97ae4938e6dcee9ddbd79582d +EBUILD xmltoman-0.4-r2.ebuild 739 BLAKE2B f5678bfadbfd854cd0ff0cdcea24f1cded0f2c8d2345c90851865f4126bea15aab3d91520f4412676d8c6ee92552a1ddfd705088387ef1b0e1f5e7409f052fdc SHA512 3a72e79f7c2cecfd92b2d38d87b0dfe89d75aa2afc601c2c40a5816bee9c5cd9d62a83d3e5893fac9c109ee46936acd4aea55355f7af444a1afcbcdc91e3997c +EBUILD xmltoman-0.6.ebuild 817 BLAKE2B d3a18f66e47b35ed9fda5f443749fcd78621c6e616b2293ee1657b61b57f6b95a3ed07363db6a847dfe62ba29720d97d0083867f39f34b521f642ef155f510c9 SHA512 992bc8b984772aed146da86840db303cc82f596846260876d685839a370f03f571be00848d5378ae73c6722bbf0e99e84469903f3654702a330fd7482e7edda6 +MISC metadata.xml 299 BLAKE2B 5bb9887ce9510e2a71a5b30e8b2ada78236ec6f2489bf27d6536b47fcdcaae262b7ada77d3f0f8b00f7a2223e7344a4f130f4636a1c61d64bebb923c916c2d6e SHA512 6fef6c50b720fd2aec25ede9b037c5973de9f4e41383c2836f27f42e68b73c32dcac0d31e1a9ec209d5d685e50ccd8c8347ec0822530be23624bd98d2b9f3095 diff --git a/app-text/xmltoman/files/xmltoman-0.6-generate-man-pages.patch b/app-text/xmltoman/files/xmltoman-0.6-generate-man-pages.patch new file mode 100644 index 000000000000..a902ddd07b84 --- /dev/null +++ b/app-text/xmltoman/files/xmltoman-0.6-generate-man-pages.patch @@ -0,0 +1,55 @@ +From 39553c816cb8a18d798a6f947d2901f7a3228439 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 29 Oct 2022 18:02:25 +0100 +Subject: [PATCH] Generate man pages + +Generate the man pages so that the tool doesn't have to run itself +during installation. It's a hack to workaround Perl upgrade problems. +--- /dev/null ++++ b/xmlmantohtml.1 +@@ -0,0 +1,18 @@ ++.TH xmlmantohtml 1 User Manuals ++.SH NAME ++xmlmantohtml \- xml to html converter ++.SH SYNOPSIS ++\fBxmlmantohtml \fIfile.1.xml\fB > file.1.html ++\f1 ++.SH DESCRIPTION ++xmlmantohtml is a small script to convert XML/MAN(GROFF) to HTML. ++ ++You will find the DTD in \fI/usr/share/xmltoman/\f1 on a Debian GNU/Linux system. There is also an XSL file to generate HTML using \fBxsltproc(1)\f1. ++.SH AUTHOR ++xmltoman was written by Oliver Kurth ++.SH MAINTAINER ++xmltoman is currently maintained by Adam Bilbrough ++.SH SEE ALSO ++\fBxmlmantohtml(1)\f1 ++.SH COMMENTS ++This man page was written using \fBxmltoman(1)\f1 by the same author and / or maintainer. +--- /dev/null ++++ b/xmltoman.1 +@@ -0,0 +1,24 @@ ++.TH xmltoman 1 User Manuals ++.SH NAME ++xmltoman \- xml to man converter ++.SH SYNOPSIS ++\fBxmltoman \fIfile.1.xml\fB > file.1 ++\f1 ++.SH DESCRIPTION ++xmltoman is a small script to convert XML to a MAN page in GROFF format. It features the usual man page items such a description, options, see also etc. The XML format also supports converting to HTML pages. ++ ++You will find the DTD in \fI/usr/share/xmltoman/\f1 on a Debian GNU/Linux system. There is also an XSL file to generate html using \fBxsltproc(1)\f1. ++.SH FILES ++\fI/usr/share/xmltoman/xmltoman.dtd\f1 the DTD file. ++ ++\fI/usr/share/xmltoman/xmltoman.xsl\f1 XSLT stylesheet to generate HTML. ++ ++\fI/usr/share/xmltoman/xmltoman.css\f1 stylesheet to be used for HTML. ++.SH AUTHOR ++xmltoman was written by Oliver Kurth ++.SH MAINTAINER ++xmltoman is currently maintained by Adam Bilbrough ++.SH SEE ALSO ++\fBxmlmantohtml(1)\f1 ++.SH COMMENTS ++This man page was written using \fBxmltoman(1)\f1 by the same author and / or maintainer. diff --git a/app-text/xmltoman/metadata.xml b/app-text/xmltoman/metadata.xml new file mode 100644 index 000000000000..cdc9d054966e --- /dev/null +++ b/app-text/xmltoman/metadata.xml @@ -0,0 +1,9 @@ + + + + + + xmltoman + atsb/xmltoman + + diff --git a/app-text/xmltoman/xmltoman-0.4-r2.ebuild b/app-text/xmltoman/xmltoman-0.4-r2.ebuild new file mode 100644 index 000000000000..2364778f118c --- /dev/null +++ b/app-text/xmltoman/xmltoman-0.4-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Simple scripts for converting xml to groff or html" +HOMEPAGE="https://sourceforge.net/projects/xmltoman/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-lang/perl + dev-perl/XML-Parser" +BDEPEND="${RDEPEND}" + +src_install() { + # 'make install' requires GNU install, upstream is dead and carrying + # a patch is more space than redoing it here + dobin xmltoman xmlmantohtml + + insinto /usr/share/xmltoman + doins xmltoman.{css,dtd,xsl} + + dodoc README + doman xmltoman.1 xmlmantohtml.1 +} diff --git a/app-text/xmltoman/xmltoman-0.6.ebuild b/app-text/xmltoman/xmltoman-0.6.ebuild new file mode 100644 index 000000000000..2ae15fdeec2d --- /dev/null +++ b/app-text/xmltoman/xmltoman-0.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Simple scripts for converting xml to groff or html" +HOMEPAGE="https://sourceforge.net/projects/xmltoman/" +SRC_URI="https://github.com/atsb/xmltoman/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-lang/perl + dev-perl/XML-Parser +" + +PATCHES=( + "${FILESDIR}"/${P}-generate-man-pages.patch +) + +src_install() { + # 'make install' requires GNU install, upstream is dead and carrying + # a patch is more space than redoing it here + dobin xmltoman xmlmantohtml + + insinto /usr/share/xmltoman + doins xmltoman.{css,dtd,xsl} + + dodoc README + doman xmltoman.1 xmlmantohtml.1 +} -- cgit v1.2.3