diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/xmlto | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/xmlto')
-rw-r--r-- | app-text/xmlto/Manifest | 6 | ||||
-rw-r--r-- | app-text/xmlto/files/xmlto-0.0.22-format_fo_passivetex_check.patch | 46 | ||||
-rw-r--r-- | app-text/xmlto/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/xmlto/xmlto-0.0.26-r1.ebuild | 40 | ||||
-rw-r--r-- | app-text/xmlto/xmlto-0.0.28-r1.ebuild | 40 |
5 files changed, 140 insertions, 0 deletions
diff --git a/app-text/xmlto/Manifest b/app-text/xmlto/Manifest new file mode 100644 index 000000000000..d73e42d20e20 --- /dev/null +++ b/app-text/xmlto/Manifest @@ -0,0 +1,6 @@ +AUX xmlto-0.0.22-format_fo_passivetex_check.patch 2286 BLAKE2B eb004b4fa394840b8e6fd792bfacfee75d180a1493d960348a33c7737a33a15a809fff28f4b6ade3deb045b629eb48a675b56037da56a7fabcd20718dfdaa6a4 SHA512 c8eeb3dc909431dd2fb9f5286b6ee98a40dce80a29606a9884bdab50c039ac90097720b9b968dfac76546492844de0b72f2f6c937da14b47142ad81b897023f4 +DIST xmlto-0.0.26.tar.bz2 119819 BLAKE2B 9674389d7fac9e60ccab6530acc95338789401f6ddbd3bdea7cb98a350a50bbd8e539565fdcbad42778a1bbac22590bc923b3cae9108ec510dbc62e5d32e38c6 SHA512 85110f22a7b5a5c8de4115ae5d0391645a223191b17455a4f9539b02f56f7003fd4ba70e48f0e5e46cdb91220a9027802e725f88ca8659e3ce1576f8609ccd18 +DIST xmlto-0.0.28.tar.bz2 127921 BLAKE2B 12ef3e2e1436c330e7b003d08f4a4d4032d70255777956949eb8b47b6f5466e7c158b0f85dc87069c1e379603cac0b01c88589f98ca1ef9e862f0aef31169f6d SHA512 6e0c4968d4f1b7a3b132904182aa72a73f6167553eabdeb65cfafa6295ef7b960541685769d04144207963cca77b0c44db4f9fbb2796348ffcb37b3b399f18f1 +EBUILD xmlto-0.0.26-r1.ebuild 1348 BLAKE2B fa3ef6d8ee89e8f7965ad6a4fd4a95a89962be6b301b8d799c2aaf417f235a316044a204fb0077584b3771a1bad11d476537d031ac6f7b3850fdf8cde4bf2b0a SHA512 36750c08fd77ccd4bcf23782c3a0f881b3f256f0f293f2a266b3de908aed2fdff0c119185ab0cb8e5a3c25659ea2236bf2b03148c5bd1f23eb4f963dbe891335 +EBUILD xmlto-0.0.28-r1.ebuild 1360 BLAKE2B 9ffe7e58938a26f59b73dfc8abc060d1e98078e5dae8d7e77adaa87977a7d13cc6a9541d672b946345705b0667f7d5472ff8507e25f39ec6241af176b02bcbee SHA512 83303264380434741e5b3897d853cf92bad11acd3ab4b11c1e8e7e7abaf5b2ea0e307eb67149536b67401d02c47481615b2f05f5fb94033a7380bce93ac38d34 +MISC metadata.xml 247 BLAKE2B 17c173af66eaa7e25c4a88ae4e5b8cba24cd1f324224ddeb95774690a862c678f2c6c51cfd175aaa3781efa83d0526c01883b7888cba6fb9ba8f62b9bef5942f SHA512 f2b92e9bda8e4466d98436c15ee46b2a382afa4bfcf868678bb245abda936298ed41d03f3dcf5a61000ae1b1031a5578635e15293d63c531773d6a42d356af47 diff --git a/app-text/xmlto/files/xmlto-0.0.22-format_fo_passivetex_check.patch b/app-text/xmlto/files/xmlto-0.0.22-format_fo_passivetex_check.patch new file mode 100644 index 000000000000..6c3dc7ce5127 --- /dev/null +++ b/app-text/xmlto/files/xmlto-0.0.22-format_fo_passivetex_check.patch @@ -0,0 +1,46 @@ +- Check for a passivetex format file and tell the user, if it's missing. +- Modified to use texmf-site directory by ssuominen at gentoo.org. +- http://bugs.debian.org/190840 + +diff -ur xmlto-0.0.22.orig/format/fo/dvi xmlto-0.0.22/format/fo/dvi +--- xmlto-0.0.22.orig/format/fo/dvi 2009-03-20 10:28:02.000000000 +0200 ++++ xmlto-0.0.22/format/fo/dvi 2009-05-22 15:20:33.000000000 +0300 +@@ -11,6 +11,10 @@ + echo >&2 "Can't process, xmltex tool not found at $XMLTEX_PATH." + exit 3 + fi ++ if [ ! -f /usr/share/texmf-site/tex/xmltex/passivetex/fotex.xmt ]; then ++ printf "PassiveTeX is needed for this format, but it is not installed. Please install\nthe passivetex package.\n" ++ exit 1 ++ fi + # Work around stupid tetex bug with '_' in filenames + # Also work around stupid tetex limitation with long lines (bug #101055) + sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo +diff -ur xmlto-0.0.22.orig/format/fo/pdf xmlto-0.0.22/format/fo/pdf +--- xmlto-0.0.22.orig/format/fo/pdf 2009-03-20 10:28:33.000000000 +0200 ++++ xmlto-0.0.22/format/fo/pdf 2009-05-22 15:20:33.000000000 +0300 +@@ -13,6 +13,10 @@ + echo >&2 "Can't process, pdfxmltex tool not found at $PDFXMLTEX_PATH." + exit 3 + fi ++ if [ ! -f /usr/share/texmf-site/tex/xmltex/passivetex/fotex.xmt ]; then ++ printf "PassiveTeX is needed for this format, but it is not installed. Please install\nthe passivetex package.\n" ++ exit 1 ++ fi + # Work around stupid tetex bug with '_' in filenames + # Also work around stupid tetex limitation with long lines (bug #101055) + sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo +diff -ur xmlto-0.0.22.orig/format/fo/ps xmlto-0.0.22/format/fo/ps +--- xmlto-0.0.22.orig/format/fo/ps 2009-03-17 18:39:52.000000000 +0200 ++++ xmlto-0.0.22/format/fo/ps 2009-05-22 15:20:33.000000000 +0300 +@@ -8,6 +8,10 @@ + then + echo >&2 "Post-process XSL-FO to DVI" + fi ++ if [ ! -f /usr/share/texmf-site/tex/xmltex/passivetex/fotex.xmt ]; then ++ printf "PassiveTeX is needed for this format, but it is not installed. Please install\nthe passivetex package.\n" ++ exit 1 ++ fi + # Work around stupid tetex bug with '_' in filenames + # Also work around stupid tetex limitation with long lines (bug #101055) + sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo diff --git a/app-text/xmlto/metadata.xml b/app-text/xmlto/metadata.xml new file mode 100644 index 000000000000..a6f3fe89fa47 --- /dev/null +++ b/app-text/xmlto/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +<use> + <flag name="text">Support conversion from XML to plain text</flag> +</use> +</pkgmetadata> diff --git a/app-text/xmlto/xmlto-0.0.26-r1.ebuild b/app-text/xmlto/xmlto-0.0.26-r1.ebuild new file mode 100644 index 000000000000..5f0b782929a1 --- /dev/null +++ b/app-text/xmlto/xmlto-0.0.26-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="script for converting XML and DocBook documents to a variety of output formats" +HOMEPAGE="https://pagure.io/xmlto" +SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="latex text" + +RDEPEND=">=app-text/docbook-xsl-stylesheets-1.62.0-r1 + app-text/docbook-xml-dtd:4.2 + app-shells/bash:0 + dev-libs/libxslt + sys-apps/sed + || ( >=sys-apps/coreutils-6.10-r1 sys-freebsd/freebsd-ubin ) + || ( sys-apps/util-linux app-misc/getopt ) + || ( sys-apps/which sys-freebsd/freebsd-ubin ) + text? ( || ( virtual/w3m www-client/lynx www-client/links ) ) + latex? ( >=app-text/passivetex-1.25 >=dev-tex/xmltex-1.9-r2 )" +# We only depend on flex when we patch the imput lexer. +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog FAQ NEWS README THANKS" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.0.22-format_fo_passivetex_check.patch +} + +src_configure() { + # We don't want the script to detect /bin/sh if it is bash. + export ac_cv_path_BASH=/bin/bash + has_version sys-apps/util-linux || export GETOPT=getopt-long + econf +} diff --git a/app-text/xmlto/xmlto-0.0.28-r1.ebuild b/app-text/xmlto/xmlto-0.0.28-r1.ebuild new file mode 100644 index 000000000000..fae031611ce3 --- /dev/null +++ b/app-text/xmlto/xmlto-0.0.28-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="script for converting XML and DocBook documents to a variety of output formats" +HOMEPAGE="https://pagure.io/xmlto" +SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="latex text" + +RDEPEND=">=app-text/docbook-xsl-stylesheets-1.62.0-r1 + app-text/docbook-xml-dtd:4.2 + app-shells/bash:0 + dev-libs/libxslt + sys-apps/sed + || ( >=sys-apps/coreutils-6.10-r1 sys-freebsd/freebsd-ubin ) + || ( sys-apps/util-linux app-misc/getopt ) + || ( sys-apps/which sys-freebsd/freebsd-ubin ) + text? ( || ( virtual/w3m www-client/lynx www-client/elinks ) ) + latex? ( >=app-text/passivetex-1.25 >=dev-tex/xmltex-1.9-r2 )" +# We only depend on flex when we patch the imput lexer. +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog FAQ NEWS README THANKS" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.0.22-format_fo_passivetex_check.patch +} + +src_configure() { + # We don't want the script to detect /bin/sh if it is bash. + export ac_cv_path_BASH=${BASH} + has_version sys-apps/util-linux || export GETOPT=getopt-long + econf +} |