* Docbook XSL NS 1.73.0.

svn path=/nixpkgs/trunk/; revision=9126
This commit is contained in:
Eelco Dolstra 2007-08-14 17:09:16 +00:00
parent 6f1ad6fd79
commit 3c7826010c
3 changed files with 4 additions and 22 deletions

View File

@ -6,7 +6,7 @@ installPhase=myInstallPhase
myInstallPhase() { myInstallPhase() {
ensureDir $out/xml/xsl ensureDir $out/xml/xsl
cd .. cd ..
mv docbook5-xsl-* $out/xml/xsl/docbook mv docbook-xsl-ns-* $out/xml/xsl/docbook
} }
genericBuild genericBuild

View File

@ -1,11 +1,10 @@
{stdenv, fetchurl}: {stdenv, fetchurl}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "docbook5-xsl-1.72.0"; name = "docbook5-xsl-1.73.0";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/docbook/docbook5-xsl-1.72.0.tar.bz2; url = http://kent.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-ns-1.73.0.tar.bz2;
sha256 = "0iy7axmk3nvaqgxg5lh7qx39ad9g3qrgwikrp5w4z7bwlrpijfpx"; sha256 = "1ldg8jqbwqy2il7ghvyv49nn45n9aj0l5w5l04sh305z6bww67nk";
}; };
patches = [./link-href.patch];
} }

View File

@ -1,17 +0,0 @@
diff -rc docbook5-xsl-1.72.0-orig/html/xref.xsl docbook5-xsl-1.72.0/html/xref.xsl
*** docbook5-xsl-1.72.0-orig/html/xref.xsl 2007-01-23 21:50:22.000000000 +0100
--- docbook5-xsl-1.72.0/html/xref.xsl 2007-02-05 12:53:50.000000000 +0100
***************
*** 898,903 ****
--- 898,908 ----
<!-- If it has content, use it -->
<xsl:apply-templates/>
</xsl:when>
+ <xsl:when test="@xlink:href">
+ <a href="@xlink:href">
+ <xsl:value-of select="@xlink:href"/>
+ </a>
+ </xsl:when>
<xsl:otherwise>
<!-- else look for an endterm -->
<xsl:choose>