diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-01-01 19:58:03 -0800 |
---|---|---|
committer | Donnie Berkholz <donnie@supernova.(none)> | 2007-01-01 19:58:03 -0800 |
commit | 9c13b0bc30a489eb7c16ff323f5e92eb056822d3 (patch) | |
tree | 088384a13ec8dca619623b8825005a54aa3b16b1 /app-text | |
parent | diffmk: install a working launcher, and install diffmk.xml config file. (diff) | |
download | dberkholz-9c13b0bc30a489eb7c16ff323f5e92eb056822d3.tar.gz dberkholz-9c13b0bc30a489eb7c16ff323f5e92eb056822d3.tar.bz2 dberkholz-9c13b0bc30a489eb7c16ff323f5e92eb056822d3.zip |
Add patched docbook-xsl-stylesheets that works with saxon 8.8.
Diffstat (limited to 'app-text')
4 files changed, 109 insertions, 0 deletions
diff --git a/app-text/docbook-xsl-stylesheets/Manifest b/app-text/docbook-xsl-stylesheets/Manifest new file mode 100644 index 0000000..bf3535d --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/Manifest @@ -0,0 +1,12 @@ +AUX 1.70.1-attribute-fix-for-saxon.patch 1392 RMD160 901521a82c9d8d4365536167ca384e0c5de18b29 SHA1 3a0c9597f1a1dc1dffac5bc0b9d21c14879e3ef5 SHA256 ddde6fb95e275f2fa72c5cc23b718913df03dea8a3e5b84554d6756a432edad9 +MD5 23e10c66879fc4e4c0a611660d5772a1 files/1.70.1-attribute-fix-for-saxon.patch 1392 +RMD160 901521a82c9d8d4365536167ca384e0c5de18b29 files/1.70.1-attribute-fix-for-saxon.patch 1392 +SHA256 ddde6fb95e275f2fa72c5cc23b718913df03dea8a3e5b84554d6756a432edad9 files/1.70.1-attribute-fix-for-saxon.patch 1392 +DIST docbook-xsl-1.70.1.tar.bz2 1627881 RMD160 789070e60949f943cdff269dc1ae8fc7c69770ff SHA1 b3248d88d0d3986760c0790003d8570a9fc7e038 SHA256 80c819111ba7abd9f3c6dc4df2586d34225742fcf876fa0520a6c532e5cfb416 +EBUILD docbook-xsl-stylesheets-1.70.1-r1.ebuild 1400 RMD160 ef1aa37af801d235a901910bc56b45ab78cf6fae SHA1 50adacb648a317fa9da2fa893fa1c5ed8df94c36 SHA256 b18c5bf627b188d0c9a1a80be26143fd9f8802dca3ab7fc12257e1521eafccb9 +MD5 38c7ae79b998fa198729a3ad96589d72 docbook-xsl-stylesheets-1.70.1-r1.ebuild 1400 +RMD160 ef1aa37af801d235a901910bc56b45ab78cf6fae docbook-xsl-stylesheets-1.70.1-r1.ebuild 1400 +SHA256 b18c5bf627b188d0c9a1a80be26143fd9f8802dca3ab7fc12257e1521eafccb9 docbook-xsl-stylesheets-1.70.1-r1.ebuild 1400 +MD5 bd7fa76fcf154572b394a14169b082ca files/digest-docbook-xsl-stylesheets-1.70.1-r1 262 +RMD160 750568d843c68f0856998c941c4a5fb6ad3a74a9 files/digest-docbook-xsl-stylesheets-1.70.1-r1 262 +SHA256 9f7b56a637eb66cd184297037245cb410db255da34f1c9d26a4d212d91f98963 files/digest-docbook-xsl-stylesheets-1.70.1-r1 262 diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.70.1-r1.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.70.1-r1.ebuild new file mode 100644 index 0000000..bfeb7c1 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.70.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.70.1.ebuild,v 1.9 2006/12/31 16:01:55 kloeri Exp $ + +inherit eutils + +DESCRIPTION="XSL Stylesheets for Docbook" +HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets" +SRC_URI="mirror://sourceforge/docbook/docbook-xsl-${PV}.tar.bz2" + +LICENSE="|| ( as-is BSD )" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ~ppc-macos ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-libs/libxml2 + >=app-text/build-docbook-catalog-1.1" + +S=${WORKDIR}/docbook-xsl-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-attribute-fix-for-saxon.patch +} + +src_install() { + # Create the installation directory + DEST="/usr/share/sgml/docbook/xsl-stylesheets-${PV}" + insinto ${DEST} + + local i + for sheet in $(find . -maxdepth 1 -mindepth 1 -type d); do + i=$(basename $sheet) + cd ${S}/${i} + for doc in ChangeLog README; do + if [ -e "$doc" ]; then + mv ${doc} ${doc}.${i} + dodoc ${doc}.${i} + rm ${doc}.${i} + fi + done + + doins -r ${S}/${i} + done + + # Install misc. docs + cd "${S}" + dodoc AUTHORS BUGS ChangeLog.xml NEWS README RELEASE-NOTES.txt TODO + doins VERSION +} + +pkg_postinst() { + build-docbook-catalog +} + +pkg_postrm() { + build-docbook-catalog +} diff --git a/app-text/docbook-xsl-stylesheets/files/1.70.1-attribute-fix-for-saxon.patch b/app-text/docbook-xsl-stylesheets/files/1.70.1-attribute-fix-for-saxon.patch new file mode 100644 index 0000000..8f78dac --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/files/1.70.1-attribute-fix-for-saxon.patch @@ -0,0 +1,35 @@ +http://www.oasis-open.org/archives/docbook-apps/200609/msg00140.html + +diff -urN docbook-xsl-1.70.1.orig/fo/component.xsl docbook-xsl-1.70.1/fo/component.xsl +--- docbook-xsl-1.70.1.orig/fo/component.xsl 2007-01-01 19:33:47.000000000 -0800 ++++ docbook-xsl-1.70.1/fo/component.xsl 2007-01-01 19:41:41.000000000 -0800 +@@ -653,14 +653,6 @@ + </xsl:variable> + + <fo:block id='{$id}'> +- <xsl:if test="$passivetex.extensions != 0"> +- <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" +- fotex-bookmark-level="{count(ancestor::*)+2}" +- fotex-bookmark-label="{$id}"> +- <xsl:value-of select="$titleabbrev"/> +- </fotex:bookmark> +- </xsl:if> +- + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:outline-level"> + <xsl:value-of select="count(ancestor::*)+2"/> +@@ -671,6 +663,14 @@ + </xsl:attribute> + </xsl:if> + ++ <xsl:if test="$passivetex.extensions != 0"> ++ <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" ++ fotex-bookmark-level="{count(ancestor::*)+2}" ++ fotex-bookmark-label="{$id}"> ++ <xsl:value-of select="$titleabbrev"/> ++ </fotex:bookmark> ++ </xsl:if> ++ + <fo:block xsl:use-attribute-sets="article.appendix.title.properties"> + <fo:marker marker-class-name="section.head.marker"> + <xsl:choose> diff --git a/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.70.1-r1 b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.70.1-r1 new file mode 100644 index 0000000..dabba2c --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.70.1-r1 @@ -0,0 +1,3 @@ +MD5 91b61913747a181a0e54a8683f321348 docbook-xsl-1.70.1.tar.bz2 1627881 +RMD160 789070e60949f943cdff269dc1ae8fc7c69770ff docbook-xsl-1.70.1.tar.bz2 1627881 +SHA256 80c819111ba7abd9f3c6dc4df2586d34225742fcf876fa0520a6c532e5cfb416 docbook-xsl-1.70.1.tar.bz2 1627881 |