diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-22 12:44:34 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-22 12:44:34 +0000 |
commit | 9813b0c446e3b5b21d16d1b3ab5bbc01355d95bb (patch) | |
tree | 35f0fa9c12451dd782637fb589eec26b82b0bb4f /app-text/xmlto | |
parent | stable x86, security bug 270494 (diff) | |
download | historical-9813b0c446e3b5b21d16d1b3ab5bbc01355d95bb.tar.gz historical-9813b0c446e3b5b21d16d1b3ab5bbc01355d95bb.tar.bz2 historical-9813b0c446e3b5b21d16d1b3ab5bbc01355d95bb.zip |
Version bump.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'app-text/xmlto')
-rw-r--r-- | app-text/xmlto/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/xmlto/Manifest | 15 | ||||
-rw-r--r-- | app-text/xmlto/files/xmlto-0.0.22-format_fo_passivetex_check.patch | 47 | ||||
-rw-r--r-- | app-text/xmlto/xmlto-0.0.22.ebuild | 44 |
4 files changed, 103 insertions, 13 deletions
diff --git a/app-text/xmlto/ChangeLog b/app-text/xmlto/ChangeLog index 7b8610115f9b..519178f47ed2 100644 --- a/app-text/xmlto/ChangeLog +++ b/app-text/xmlto/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/xmlto -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xmlto/ChangeLog,v 1.46 2008/09/22 14:20:37 flameeyes Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlto/ChangeLog,v 1.47 2009/05/22 12:44:34 ssuominen Exp $ + +*xmlto-0.0.22 (22 May 2009) + + 22 May 2009; Samuli Suominen <ssuominen@gentoo.org> +xmlto-0.0.22.ebuild, + +files/xmlto-0.0.22-format_fo_passivetex_check.patch: + Version bump. *xmlto-0.0.21 (22 Sep 2008) diff --git a/app-text/xmlto/Manifest b/app-text/xmlto/Manifest index 3cdb4d18c851..36541cdde246 100644 --- a/app-text/xmlto/Manifest +++ b/app-text/xmlto/Manifest @@ -1,16 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX xmlto-0.0.22-format_fo_passivetex_check.patch 2286 RMD160 e9158ce1a089e58cd1c439dc9b2f0116eabbc25d SHA1 1525174e3eb4f3a7aa764517146ca31b53f46b51 SHA256 7f54207c90e9e0bb09c0ee099cf013fc22c8b48f5917d462da90541e32858e93 DIST xmlto-0.0.18.tar.bz2 91275 RMD160 4b7232ad673c6b3a0ad015d0061cf5b77165478c SHA1 abee8925a80bfefcdf1543956a804b1facff7bec SHA256 64db67e1a3b32fada20370792493c97fa9a37bc2dafc767603689036de9b344b DIST xmlto-0.0.21.tar.bz2 99554 RMD160 21d4f82c1e9dcb8617132f097921db722bc901c6 SHA1 691202620b337d9c35c95c81306ea629248a8850 SHA256 b6435ce111c7578126b6cdcfbd67a229bd27ae3391225d6a1f52dc22b0597049 +DIST xmlto-0.0.22.tar.bz2 103939 RMD160 7e2bf68d114473a6ca5162c2d88eaf46ed3a5f46 SHA1 dfe5a5a80bfd814d9e048be55cf8e3d176ad2d0a SHA256 afccc4712f22e0b1773d45803187d7998319662766b10a963f5452d83c0324aa EBUILD xmlto-0.0.18.ebuild 1263 RMD160 120560fa73a1d383610274a5bf4bd8d83995e2a7 SHA1 2f7bd6e4231a6cfb89cb3b37c9b6e8f1b3817dc7 SHA256 c28bd8b46a5dc36f63ea6d69680a42c9aa0cf2730585ac6d929c17c39f6e9e93 EBUILD xmlto-0.0.21.ebuild 1257 RMD160 5b4df3ebaa1b956830a70824fdc1a23ae433632a SHA1 c5441f196e70b51c807740e4469b8508e56ae124 SHA256 689b1a8fb99c671a78f2a188cd19805210c57a99af0430dc273374cca0905943 -MISC ChangeLog 5913 RMD160 c7f14aa5412e880c99665de44fca89e7ab2d08c3 SHA1 7bd1b5a3069c5b21dfcbbcfc5cef5a60dee020bb SHA256 eaa736f7065fc0758558163cabdbe3ec5abef099cc6afc8c0306fd4a457c199c +EBUILD xmlto-0.0.22.ebuild 1311 RMD160 bb3f13a7c4fbed4406a326c53027b600c694e785 SHA1 1cbfad62871367d6a7b105f41e64a27fadd0f75d SHA256 ed1fa13c99fc8e1c6ec3a2fbd7a6659563a6cc275bed6d469132ee0f94491ebb +MISC ChangeLog 6091 RMD160 f512a5c95181f2baafb6109ca6c9a5c432a655b8 SHA1 d25085739eee352fc88d72809dda57f77e26121e SHA256 b7e89579f67ff6bda662e025afe1a5511bc9721135671a42955bcd13268e89b1 MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkjXqbsACgkQAiZjviIA2XjLlgCfZCfxk/irbNfb50RYH7/qd9Tz -QvcAn0+bJA8DnR83I3TICjCluhUTnR4r -=D5hw ------END PGP SIGNATURE----- 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..689cae4cc457 --- /dev/null +++ b/app-text/xmlto/files/xmlto-0.0.22-format_fo_passivetex_check.patch @@ -0,0 +1,47 @@ +- Check for a passivetex format file and tell the user, if it's missing. +- 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/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 +Only in xmlto-0.0.22/format/fo: dvi.orig +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/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 +Only in xmlto-0.0.22/format/fo: pdf.orig +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/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/xmlto-0.0.22.ebuild b/app-text/xmlto/xmlto-0.0.22.ebuild new file mode 100644 index 000000000000..23b4c5520897 --- /dev/null +++ b/app-text/xmlto/xmlto-0.0.22.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlto/xmlto-0.0.22.ebuild,v 1.1 2009/05/22 12:44:34 ssuominen Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="A bash script for converting XML and DocBook formatted documents to a variety of output formats" +HOMEPAGE="https://fedorahosted.org/xmlto/browser" +SRC_URI="https://fedorahosted.org/releases/x/m/xmlto/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="latex" + +DEPEND="app-shells/bash + dev-libs/libxslt + >=app-text/docbook-xsl-stylesheets-1.62.0-r1 + ~app-text/docbook-xml-dtd-4.2 + || ( + sys-apps/util-linux + app-misc/getopt ) + || ( + || ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp ) + sys-freebsd/freebsd-ubin ) + latex? ( >=app-text/passivetex-1.4 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-format_fo_passivetex_check.patch +} + +src_configure() { + local myconf + has_version sys-apps/util-linux || myconf+=" --with-getopt=getopt-long" + econf --prefix=/usr ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS + insinto /usr/share/doc/${PF}/xml + doins doc/*.xml +} |