mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
* Docbook XSL NS 1.73.0.
svn path=/nixpkgs/trunk/; revision=9126
This commit is contained in:
parent
6f1ad6fd79
commit
3c7826010c
@ -6,7 +6,7 @@ installPhase=myInstallPhase
|
||||
myInstallPhase() {
|
||||
ensureDir $out/xml/xsl
|
||||
cd ..
|
||||
mv docbook5-xsl-* $out/xml/xsl/docbook
|
||||
mv docbook-xsl-ns-* $out/xml/xsl/docbook
|
||||
}
|
||||
|
||||
genericBuild
|
||||
|
@ -1,11 +1,10 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "docbook5-xsl-1.72.0";
|
||||
name = "docbook5-xsl-1.73.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/docbook/docbook5-xsl-1.72.0.tar.bz2;
|
||||
sha256 = "0iy7axmk3nvaqgxg5lh7qx39ad9g3qrgwikrp5w4z7bwlrpijfpx";
|
||||
url = http://kent.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-ns-1.73.0.tar.bz2;
|
||||
sha256 = "1ldg8jqbwqy2il7ghvyv49nn45n9aj0l5w5l04sh305z6bww67nk";
|
||||
};
|
||||
patches = [./link-href.patch];
|
||||
}
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user