continue
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>office</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>office.docbook</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="."
|
||||
|
||||
def install():
|
||||
for version in ["4.1.2", "4.2", "4.3", "4.4", "4.5"]:
|
||||
pisitools.insinto("/usr/share/xml/docbook/xml-dtd-%s" % version, "*.dtd")
|
||||
pisitools.insinto("/usr/share/xml/docbook/xml-dtd-%s" % version, "*.mod")
|
||||
pisitools.insinto("/usr/share/xml/docbook/xml-dtd-%s" % version, "docbook.cat")
|
||||
pisitools.insinto("/usr/share/xml/docbook/xml-dtd-%s/ent" % version, "ent/*.ent")
|
||||
|
||||
pisitools.dodoc("ChangeLog", "README")
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" catalog="file:///etc/xml/docbook"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///etc/xml/docbook"/>
|
||||
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///etc/xml/docbook"/>
|
||||
<delegateURI uriStartString="http://www.oasis-open.org/docbook/" catalog="file:///etc/xml/docbook"/>
|
||||
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets"/>
|
||||
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets"/>
|
||||
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets"/>
|
||||
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets"/>
|
||||
</catalog>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
|
||||
<public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/>
|
||||
<public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd"/>
|
||||
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod"/>
|
||||
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.1.2"/>
|
||||
<rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.1.2" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.1.2"/>
|
||||
<public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"/>
|
||||
<public publicId="-//OASIS//DTD DocBook CALS Table Model V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Notations V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod"/>
|
||||
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.2"/>
|
||||
<rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.2" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.2"/>
|
||||
<public publicId="-//OASIS//DTD DocBook XML V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"/>
|
||||
<public publicId="-//OASIS//DTD DocBook CALS Table Model V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Notations V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" uri="http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod"/>
|
||||
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.3"/>
|
||||
<rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.3" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.3"/>
|
||||
<public publicId="-//OASIS//DTD DocBook XML V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"/>
|
||||
<public publicId="-//OASIS//DTD DocBook CALS Table Model V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Notations V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" uri="http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod"/>
|
||||
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.4"/>
|
||||
<rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.4" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.4"/>
|
||||
<public publicId="-//OASIS//DTD DocBook XML V4.5//EN" uri="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
|
||||
<public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod"/>
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod"/>
|
||||
<public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod"/>
|
||||
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>
|
||||
<rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.5" rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>
|
||||
</catalog>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>docbook-xml</Name>
|
||||
<Homepage>http://www.docbook.org/xml/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Docbook XML DTD</Summary>
|
||||
<Description>Contains Docbook DTD for XML. A widely used XML scheme for writing documentation and help</Description>
|
||||
<Archive sha1sum="b9ae7a41056bfaf885581812d60651b7b5531519" type="zip">http://www.docbook.org/xml/4.1.2/docbkx412.zip</Archive>
|
||||
<Archive sha1sum="0b4c6d8228f4526185de51b8afbcfe0ec8939849" type="zip">http://www.oasis-open.org/docbook/xml/4.1/docbkx41.zip</Archive>
|
||||
<Archive sha1sum="5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e" type="zip">http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip</Archive>
|
||||
<Archive sha1sum="e79a59e9164c1013b8cc9f64f96f909a184ca016" type="zip">http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip</Archive>
|
||||
<Archive sha1sum="7c4d91c82ad3747e1b5600c91782758e5d91c22b" type="zip">http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip</Archive>
|
||||
<Archive sha1sum="b9124233b50668fb508773aa2b3ebc631d7c1620" type="zip">http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>docbook-xml</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>sgml-common</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/</Path>
|
||||
<Path fileType="data">/usr/share/xml</Path>
|
||||
<Path fileType="data">/etc/xml/docbook</Path>
|
||||
<Path fileType="data">/etc/xml/catalog</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/xml/docbook">docbook</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/xml/catalog">catalog</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-11-17</Date>
|
||||
<Version>4.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>4.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-22</Date>
|
||||
<Version>4.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-09-16</Date>
|
||||
<Version>4.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>docbook-xml</Name>
|
||||
<Summary xml:lang="tr">Docbook XML DTD</Summary>
|
||||
<Description xml:lang="tr">Docbook XML belirtimi (DTD) sürümlerini içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s/usr/share/xml/docbook/xsl-stylesheets"
|
||||
% get.installDIR())
|
||||
pisitools.insinto("/usr/share/xml/docbook/xsl-stylesheets/","VERSION.xsl")
|
||||
|
||||
# Don't ship the extensions
|
||||
pisitools.remove("/usr/share/xml/docbook/xsl-stylesheets/extensions/*")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "BUGS", "COPYING", "NEWS", "README",
|
||||
"RELEASE-NOTES.txt", "TODO", "VERSION")
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.system("/usr/bin/build-docbook-catalog")
|
||||
@@ -0,0 +1,52 @@
|
||||
BINDIR = /usr/bin
|
||||
DESTDIR = ..overridden in spec file..
|
||||
|
||||
all: install
|
||||
|
||||
install: install-xsl install-img install-extensions install-misc install-epub
|
||||
|
||||
install-xsl:
|
||||
mkdir -p $(DESTDIR)/{common,eclipse,fo,html,htmlhelp/doc,javahelp,lib,template,xhtml,xhtml-1_1,manpages,profiling,highlighting,roundtrip,website}
|
||||
cp common/*.dtd $(DESTDIR)/common
|
||||
cp common/*.ent $(DESTDIR)/common
|
||||
cp common/*.xml $(DESTDIR)/common
|
||||
cp common/*.xsl $(DESTDIR)/common
|
||||
cp eclipse/*.xsl $(DESTDIR)/eclipse
|
||||
cp fo/*.xml $(DESTDIR)/fo
|
||||
cp fo/*.xsl $(DESTDIR)/fo
|
||||
cp html/*.xml $(DESTDIR)/html
|
||||
cp html/*.xsl $(DESTDIR)/html
|
||||
cp htmlhelp/*.xsl $(DESTDIR)/htmlhelp
|
||||
cp javahelp/*.xsl $(DESTDIR)/javahelp
|
||||
cp lib/*.xsl $(DESTDIR)/lib
|
||||
cp template/*.xsl $(DESTDIR)/template
|
||||
cp xhtml/*.xsl $(DESTDIR)/xhtml
|
||||
cp xhtml-1_1/*.xsl $(DESTDIR)/xhtml-1_1
|
||||
cp manpages/*.xsl $(DESTDIR)/manpages
|
||||
cp profiling/*.xsl $(DESTDIR)/profiling
|
||||
cp highlighting/*.xml $(DESTDIR)/highlighting
|
||||
cp highlighting/*.xsl $(DESTDIR)/highlighting
|
||||
cp roundtrip/*.xml $(DESTDIR)/roundtrip
|
||||
cp roundtrip/*.xsl $(DESTDIR)/roundtrip
|
||||
cp roundtrip/*.dtd $(DESTDIR)/roundtrip
|
||||
cp website/*.xsl $(DESTDIR)/website
|
||||
|
||||
install-img:
|
||||
mkdir -p $(DESTDIR)/images/callouts
|
||||
cp images/*.gif $(DESTDIR)/images
|
||||
cp images/*.png $(DESTDIR)/images
|
||||
cp images/*.svg $(DESTDIR)/images
|
||||
cp images/callouts/*.png $(DESTDIR)/images/callouts
|
||||
cp images/callouts/*.gif $(DESTDIR)/images/callouts
|
||||
cp images/callouts/*.svg $(DESTDIR)/images/callouts
|
||||
|
||||
install-extensions:
|
||||
mkdir -p $(DESTDIR)/extensions
|
||||
cp -r extensions/* $(DESTDIR)/extensions
|
||||
|
||||
install-epub:
|
||||
mkdir -p $(DESTDIR)/epub
|
||||
cp -r epub/* ${DESTDIR}/epub
|
||||
|
||||
install-misc:
|
||||
cp VERSION $(DESTDIR)
|
||||
@@ -0,0 +1,110 @@
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/fo/lists.xsl docbook-xsl-1.74.0/fo/lists.xsl
|
||||
--- docbook-xsl-1.74.0.orig/fo/lists.xsl 2008-08-06 13:32:46.000000000 +0200
|
||||
+++ docbook-xsl-1.74.0/fo/lists.xsl 2008-08-06 13:41:27.000000000 +0200
|
||||
@@ -248,9 +248,17 @@
|
||||
</fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body start-indent="body-start()">
|
||||
- <fo:block>
|
||||
- <xsl:apply-templates/>
|
||||
- </fo:block>
|
||||
+ <xsl:choose>
|
||||
+ <!-- * work around broken passivetex list-item-body rendering -->
|
||||
+ <xsl:when test="$passivetex.extensions = '1'">
|
||||
+ <xsl:apply-templates/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:block>
|
||||
+ <xsl:apply-templates/>
|
||||
+ </fo:block>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
</fo:list-item-body>
|
||||
</xsl:variable>
|
||||
|
||||
@@ -446,10 +454,18 @@
|
||||
</fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body start-indent="body-start()">
|
||||
- <fo:block>
|
||||
- <xsl:apply-templates select="listitem"/>
|
||||
- </fo:block>
|
||||
- </fo:list-item-body>
|
||||
+ <xsl:choose>
|
||||
+ <!-- * work around broken passivetex list-item-body rendering -->
|
||||
+ <xsl:when test="$passivetex.extensions = '1'">
|
||||
+ <xsl:apply-templates select="listitem"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:block>
|
||||
+ <xsl:apply-templates select="listitem"/>
|
||||
+ </fo:block>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </fo:list-item-body>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:choose>
|
||||
@@ -925,9 +941,17 @@
|
||||
</fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body start-indent="body-start()">
|
||||
- <fo:block>
|
||||
- <xsl:apply-templates/>
|
||||
- </fo:block>
|
||||
+ <xsl:choose>
|
||||
+ <!-- * work around broken passivetex list-item-body rendering -->
|
||||
+ <xsl:when test="$passivetex.extensions = '1'">
|
||||
+ <xsl:apply-templates/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:block>
|
||||
+ <xsl:apply-templates/>
|
||||
+ </fo:block>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:template>
|
||||
@@ -951,9 +975,17 @@
|
||||
</fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body start-indent="body-start()">
|
||||
- <fo:block>
|
||||
- <xsl:apply-templates/>
|
||||
- </fo:block>
|
||||
+ <xsl:choose>
|
||||
+ <!-- * work around broken passivetex list-item-body rendering -->
|
||||
+ <xsl:when test="$passivetex.extensions = '1'">
|
||||
+ <xsl:apply-templates/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:block>
|
||||
+ <xsl:apply-templates/>
|
||||
+ </fo:block>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:template>
|
||||
@@ -1141,9 +1173,17 @@
|
||||
</fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body start-indent="body-start()">
|
||||
- <fo:block>
|
||||
- <xsl:apply-templates/>
|
||||
- </fo:block>
|
||||
+ <xsl:choose>
|
||||
+ <!-- * work around broken passivetex list-item-body rendering -->
|
||||
+ <xsl:when test="$passivetex.extensions = '1'">
|
||||
+ <xsl:apply-templates/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:block>
|
||||
+ <xsl:apply-templates/>
|
||||
+ </fo:block>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:template>
|
||||
@@ -0,0 +1,19 @@
|
||||
diff -urNp docbook-xsl-1.76.1-orig/manpages/other.xsl docbook-xsl-1.76.1/manpages/other.xsl
|
||||
--- docbook-xsl-1.76.1-orig/manpages/other.xsl 2010-08-27 05:14:52.000000000 +0200
|
||||
+++ docbook-xsl-1.76.1/manpages/other.xsl 2011-09-06 17:17:07.973737258 +0200
|
||||
@@ -595,7 +595,14 @@ manvolnum
|
||||
<xsl:with-param name="message-prolog">Note: </xsl:with-param>
|
||||
<xsl:with-param name="message-epilog"> (soelim stub)</xsl:with-param>
|
||||
<xsl:with-param name="content">
|
||||
- <xsl:value-of select="'.so '"/>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$man.output.in.separate.dir = 0">
|
||||
+ <xsl:value-of select="concat('.so man', $section, '/')"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <xsl:value-of select="'.so '"/> <!-- added case -->
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
<xsl:call-template name="make.adjusted.man.filename">
|
||||
<xsl:with-param name="name" select="$first.refname"/>
|
||||
<xsl:with-param name="section" select="$section"/>
|
||||
@@ -0,0 +1,394 @@
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/html/docbook.xsl docbook-xsl-1.74.0/html/docbook.xsl
|
||||
--- docbook-xsl-1.74.0.orig/html/docbook.xsl 2008-06-01 23:36:39.000000000 +0200
|
||||
+++ docbook-xsl-1.74.0/html/docbook.xsl 2008-08-06 13:37:35.000000000 +0200
|
||||
@@ -26,6 +26,7 @@
|
||||
<xsl:include href="../VERSION.xsl"/>
|
||||
<xsl:include href="param.xsl"/>
|
||||
<xsl:include href="../lib/lib.xsl"/>
|
||||
+<xsl:include href="../lib/dumpfragment.xsl"/>
|
||||
<xsl:include href="../common/l10n.xsl"/>
|
||||
<xsl:include href="../common/common.xsl"/>
|
||||
<xsl:include href="../common/utility.xsl"/>
|
||||
@@ -44,6 +45,7 @@
|
||||
<xsl:include href="graphics.xsl"/>
|
||||
<xsl:include href="xref.xsl"/>
|
||||
<xsl:include href="formal.xsl"/>
|
||||
+<xsl:include href="dtbl.xsl"/>
|
||||
<xsl:include href="table.xsl"/>
|
||||
<xsl:include href="htmltbl.xsl"/>
|
||||
<xsl:include href="sections.xsl"/>
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/html/dtbl.xsl docbook-xsl-1.74.0/html/dtbl.xsl
|
||||
--- docbook-xsl-1.74.0.orig/html/dtbl.xsl 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ docbook-xsl-1.74.0/html/dtbl.xsl 2008-08-06 13:37:35.000000000 +0200
|
||||
@@ -0,0 +1,293 @@
|
||||
+<?xml version="1.0" encoding="US-ASCII"?>
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
+ xmlns:exsl="http://exslt.org/common"
|
||||
+ xmlns:func="http://exslt.org/functions"
|
||||
+ xmlns:dtbl="http://docbook.sourceforge.net/dtbl"
|
||||
+ extension-element-prefixes="func"
|
||||
+ exclude-result-prefixes="exsl func dtbl"
|
||||
+ version="1.0">
|
||||
+
|
||||
+<func:function name="dtbl:convertLength">
|
||||
+ <xsl:param name="arbitrary.length"/>
|
||||
+
|
||||
+ <xsl:variable name="pixels.per.inch" select="96"/>
|
||||
+
|
||||
+ <xsl:variable name="unscaled.length"
|
||||
+ select="translate($arbitrary.length, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ', '')"/>
|
||||
+
|
||||
+ <xsl:variable name="units"
|
||||
+ select="translate($arbitrary.length,'+-0123456789. ', '')"/>
|
||||
+
|
||||
+ <xsl:variable name="scaled.length">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$units='in'">
|
||||
+ <xsl:value-of select="$unscaled.length * $pixels.per.inch"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:when test="$units='cm'">
|
||||
+ <xsl:value-of select="$unscaled.length * ($pixels.per.inch div 2.54)"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:when test="$units='mm'">
|
||||
+ <xsl:value-of select="$unscaled.length * ($pixels.per.inch div 25.4)"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:when test="$units='pc'">
|
||||
+ <xsl:value-of select="$unscaled.length * (($pixels.per.inch div 72) * 12)"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:when test="$units='pt'">
|
||||
+ <xsl:value-of select="$unscaled.length * ($pixels.per.inch div 72)"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:when test="$units='px' or $units=''">
|
||||
+ <xsl:value-of select="$unscaled.length"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <xsl:message terminate="no">
|
||||
+ <xsl:text>"</xsl:text>
|
||||
+ <xsl:value-of select="$units"/>
|
||||
+ <xsl:text>" is not a known unit. Applying scaling factor of 1 instead.</xsl:text>
|
||||
+ </xsl:message>
|
||||
+ <xsl:value-of select="$unscaled.length"/>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <func:result select="round($scaled.length)"/>
|
||||
+</func:function>
|
||||
+
|
||||
+<func:function name="dtbl:adjustColumnWidths">
|
||||
+ <xsl:param name="colgroup"/>
|
||||
+
|
||||
+ <xsl:if test="$adjustColumnWidths.debug">
|
||||
+ <xsl:message>
|
||||
+ <xsl:text>entering adjustColumnWidths(</xsl:text>
|
||||
+ <xsl:call-template name="dump-fragment">
|
||||
+ <xsl:with-param name="fragment" select="$colgroup"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:message>
|
||||
+ </xsl:if>
|
||||
+
|
||||
+ <xsl:variable name="expanded.colgroup">
|
||||
+ <xsl:apply-templates select="exsl:node-set($colgroup)/*" mode="dtbl-split-widths"/>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:variable name="absolute.widths.total">
|
||||
+ <xsl:value-of select="sum(exsl:node-set($expanded.colgroup)//col/@abswidth)"/>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:variable name="relative.widths.total">
|
||||
+ <xsl:value-of select="sum(exsl:node-set($expanded.colgroup)//col/@relwidth)"/>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:if test="$adjustColumnWidths.debug">
|
||||
+ <xsl:message>
|
||||
+ <xsl:text>total relative widths = (</xsl:text>
|
||||
+ <xsl:value-of select="$relative.widths.total"/>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:message>
|
||||
+ <xsl:message>
|
||||
+ <xsl:text>total absolute widths = (</xsl:text>
|
||||
+ <xsl:value-of select="$absolute.widths.total"/>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:message>
|
||||
+ </xsl:if>
|
||||
+
|
||||
+ <xsl:variable name="adjusted.colgroup">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$relative.widths.total = 0">
|
||||
+ <xsl:if test="$adjustColumnWidths.debug">
|
||||
+ <xsl:message>all widths are absolute</xsl:message>
|
||||
+ </xsl:if>
|
||||
+ <xsl:apply-templates select="exsl:node-set($expanded.colgroup)/*"
|
||||
+ mode="dtbl-use-absolute-widths"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:when test="$absolute.widths.total = 0">
|
||||
+ <xsl:if test="$adjustColumnWidths.debug">
|
||||
+ <xsl:message>all widths are relative</xsl:message>
|
||||
+ </xsl:if>
|
||||
+ <xsl:apply-templates select="exsl:node-set($expanded.colgroup)/*"
|
||||
+ mode="dtbl-use-relative-widths">
|
||||
+ <xsl:with-param name="relative.widths.total"
|
||||
+ select="$relative.widths.total"/>
|
||||
+ </xsl:apply-templates>
|
||||
+ </xsl:when>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:variable name="corrected.adjusted.colgroup">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$relative.widths.total = 0">
|
||||
+ <xsl:copy-of select="$adjusted.colgroup"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <xsl:variable name="widths.total"
|
||||
+ select="sum(exsl:node-set($adjusted.colgroup)//col/@width)"/>
|
||||
+ <xsl:variable name="n.columns"
|
||||
+ select="count(exsl:node-set($adjusted.colgroup)//col)"/>
|
||||
+ <xsl:variable name="error"
|
||||
+ select="100 - $widths.total"/>
|
||||
+ <xsl:variable name="first.bad.column"
|
||||
+ select="($n.columns - $error) + 1"/>
|
||||
+ <xsl:apply-templates select="exsl:node-set($adjusted.colgroup)/*"
|
||||
+ mode="dtbl-correct-rounding-error">
|
||||
+ <xsl:with-param name="first.bad.column"
|
||||
+ select="$first.bad.column"/>
|
||||
+ </xsl:apply-templates>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:if test="$adjustColumnWidths.debug">
|
||||
+ <xsl:message>
|
||||
+ <xsl:text>result = (</xsl:text>
|
||||
+ <xsl:call-template name="dump-fragment">
|
||||
+ <xsl:with-param name="fragment" select="$corrected.adjusted.colgroup"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:message>
|
||||
+ </xsl:if>
|
||||
+
|
||||
+ <func:result select="$corrected.adjusted.colgroup"/>
|
||||
+</func:function>
|
||||
+
|
||||
+<xsl:template match="colgroup" mode="dtbl-correct-rounding-error">
|
||||
+ <xsl:param name="first.bad.column"/>
|
||||
+
|
||||
+ <xsl:if test="$adjustColumnWidths.debug">
|
||||
+ <xsl:message>
|
||||
+ <xsl:text>first.bad.column = (</xsl:text>
|
||||
+ <xsl:value-of select="$first.bad.column"/>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:message>
|
||||
+ </xsl:if>
|
||||
+
|
||||
+ <colgroup>
|
||||
+ <xsl:for-each select="col[position() < $first.bad.column]">
|
||||
+ <xsl:element name="col">
|
||||
+ <xsl:attribute name="width">
|
||||
+ <xsl:value-of select="concat(@width, '%')"/>
|
||||
+ </xsl:attribute>
|
||||
+ </xsl:element>
|
||||
+ </xsl:for-each>
|
||||
+ <xsl:for-each select="col[position() >= $first.bad.column]">
|
||||
+ <xsl:element name="col">
|
||||
+ <xsl:attribute name="width">
|
||||
+ <xsl:value-of select="concat(@width + 1, '%')"/>
|
||||
+ </xsl:attribute>
|
||||
+ </xsl:element>
|
||||
+ </xsl:for-each>
|
||||
+ </colgroup>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="col" mode="dtbl-correct-rounding-error">
|
||||
+ <xsl:param name="relative.widths.total"/>
|
||||
+ <xsl:param name="error"/>
|
||||
+
|
||||
+ <xsl:element name="col">
|
||||
+ <xsl:attribute name="width">
|
||||
+ <xsl:value-of select="concat('', round((@relwidth div $relative.widths.total) * 100))"/>
|
||||
+ </xsl:attribute>
|
||||
+ <xsl:apply-templates mode="dtbl-use-absolute-widths"/>
|
||||
+ </xsl:element>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="colgroup" mode="dtbl-use-relative-widths">
|
||||
+ <xsl:param name="relative.widths.total"/>
|
||||
+
|
||||
+ <colgroup>
|
||||
+ <xsl:apply-templates mode="dtbl-use-relative-widths">
|
||||
+ <xsl:with-param name="relative.widths.total"
|
||||
+ select="$relative.widths.total"/>
|
||||
+ </xsl:apply-templates>
|
||||
+ </colgroup>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="col" mode="dtbl-use-relative-widths">
|
||||
+ <xsl:param name="relative.widths.total"/>
|
||||
+
|
||||
+ <xsl:element name="col">
|
||||
+ <xsl:attribute name="width">
|
||||
+ <xsl:value-of select="round((@relwidth div $relative.widths.total) * 100)"/>
|
||||
+ </xsl:attribute>
|
||||
+ <xsl:apply-templates mode="dtbl-use-absolute-widths"/>
|
||||
+ </xsl:element>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="colgroup" mode="dtbl-use-absolute-widths">
|
||||
+ <colgroup>
|
||||
+ <xsl:apply-templates mode="dtbl-use-absolute-widths"/>
|
||||
+ </colgroup>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="col" mode="dtbl-use-absolute-widths">
|
||||
+ <xsl:element name="col">
|
||||
+ <xsl:attribute name="width">
|
||||
+ <xsl:value-of select="@abswidth"/>
|
||||
+ </xsl:attribute>
|
||||
+ <xsl:apply-templates mode="dtbl-use-absolute-widths"/>
|
||||
+ </xsl:element>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="colgroup" mode="dtbl-split-widths">
|
||||
+ <colgroup>
|
||||
+ <xsl:apply-templates mode="dtbl-split-widths"/>
|
||||
+ </colgroup>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="col" mode="dtbl-split-widths">
|
||||
+
|
||||
+ <!-- width = @width ? @width : '1*' -->
|
||||
+ <xsl:variable name="width">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="@width != ''">
|
||||
+ <xsl:value-of select="@width"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <xsl:text>1*</xsl:text>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <!-- absolute.width = contains($width,'*') ? substring-after($width, '*') : $width -->
|
||||
+ <xsl:variable name="absolute.width">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="contains($width, '*')">
|
||||
+ <xsl:value-of select="substring-after($width, '*')"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <xsl:value-of select="$width"/>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:variable name="converted.absolute.width">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$absolute.width != ''">
|
||||
+ <xsl:value-of select="dtbl:convertLength($absolute.width)"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>0</xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:variable name="relative.width">
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="substring-before($width, '*') != ''">
|
||||
+ <xsl:value-of select="substring-before($width, '*')"/>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>0</xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ </xsl:variable>
|
||||
+
|
||||
+ <xsl:element name="col">
|
||||
+ <xsl:attribute name="width">
|
||||
+ <xsl:value-of select="$width"/>
|
||||
+ </xsl:attribute>
|
||||
+ <xsl:attribute name="relwidth">
|
||||
+ <xsl:value-of select="$relative.width"/>
|
||||
+ </xsl:attribute>
|
||||
+ <xsl:attribute name="abswidth">
|
||||
+ <xsl:value-of select="$converted.absolute.width"/>
|
||||
+ </xsl:attribute>
|
||||
+ <xsl:apply-templates mode="dtbl-split-widths"/>
|
||||
+ </xsl:element>
|
||||
+</xsl:template>
|
||||
+
|
||||
+</xsl:stylesheet>
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/html/table.xsl docbook-xsl-1.74.0/html/table.xsl
|
||||
--- docbook-xsl-1.74.0.orig/html/table.xsl 2008-06-01 23:36:39.000000000 +0200
|
||||
+++ docbook-xsl-1.74.0/html/table.xsl 2008-08-06 13:37:35.000000000 +0200
|
||||
@@ -5,7 +5,8 @@
|
||||
xmlns:xtbl="xalan://com.nwalsh.xalan.Table"
|
||||
xmlns:lxslt="http://xml.apache.org/xslt"
|
||||
xmlns:ptbl="http://nwalsh.com/xslt/ext/xsltproc/python/Table"
|
||||
- exclude-result-prefixes="doc stbl xtbl lxslt ptbl"
|
||||
+ xmlns:dtbl="http://docbook.sourceforge.net/dtbl"
|
||||
+ exclude-result-prefixes="doc stbl xtbl lxslt ptbl dtbl"
|
||||
version='1.0'>
|
||||
|
||||
<xsl:include href="../common/table.xsl"/>
|
||||
@@ -365,6 +366,9 @@
|
||||
<xsl:when test="$use.extensions != 0
|
||||
and $tablecolumns.extension != 0">
|
||||
<xsl:choose>
|
||||
+ <xsl:when test="function-available('dtbl:convertLength')">
|
||||
+ <xsl:value-of select="dtbl:convertLength($table.width)"/>
|
||||
+ </xsl:when>
|
||||
<xsl:when test="function-available('stbl:convertLength')">
|
||||
<xsl:value-of select="stbl:convertLength($table.width)"/>
|
||||
</xsl:when>
|
||||
@@ -389,6 +393,9 @@
|
||||
<xsl:when test="$use.extensions != 0
|
||||
and $tablecolumns.extension != 0">
|
||||
<xsl:choose>
|
||||
+ <xsl:when test="function-available('dtbl:adjustColumnWidths')">
|
||||
+ <xsl:copy-of select="dtbl:adjustColumnWidths($colgroup)"/>
|
||||
+ </xsl:when>
|
||||
<xsl:when test="function-available('stbl:adjustColumnWidths')">
|
||||
<xsl:copy-of select="stbl:adjustColumnWidths($colgroup)"/>
|
||||
</xsl:when>
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/lib/dumpfragment.xsl docbook-xsl-1.74.0/lib/dumpfragment.xsl
|
||||
--- docbook-xsl-1.74.0.orig/lib/dumpfragment.xsl 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ docbook-xsl-1.74.0/lib/dumpfragment.xsl 2008-08-06 13:37:35.000000000 +0200
|
||||
@@ -0,0 +1,30 @@
|
||||
+<?xml version="1.0" encoding="US-ASCII"?>
|
||||
+<xsl:stylesheet version="1.0"
|
||||
+ xmlns:exsl="http://exslt.org/common"
|
||||
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
+ xmlns="http://www.w3.org/1999/xhtml"
|
||||
+ exclude-result-prefixes="exsl">
|
||||
+
|
||||
+<xsl:template name="dump-fragment">
|
||||
+ <xsl:param name="fragment"/>
|
||||
+ <xsl:apply-templates select="exsl:node-set($fragment)/*" mode="dump-fragment"/>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="@*" mode="dump-fragment">
|
||||
+ <xsl:text> </xsl:text>
|
||||
+ <xsl:value-of select="local-name(.)"/>
|
||||
+ <xsl:text>="</xsl:text>
|
||||
+ <xsl:value-of select="."/>
|
||||
+ <xsl:text>"</xsl:text>
|
||||
+</xsl:template>
|
||||
+
|
||||
+<xsl:template match="*" mode="dump-fragment">
|
||||
+ <xsl:text><</xsl:text><xsl:value-of select="local-name(.)"/>
|
||||
+ <xsl:apply-templates select="@*" mode="dump-fragment"/>
|
||||
+ <xsl:text>></xsl:text>
|
||||
+ <xsl:apply-templates mode="dump-fragment"/>
|
||||
+ <xsl:text></</xsl:text><xsl:value-of select="local-name(.)"/>
|
||||
+ <xsl:text>></xsl:text>
|
||||
+</xsl:template>
|
||||
+
|
||||
+</xsl:stylesheet>
|
||||
diff -urNp docbook-xsl-1.76.0-orig/html/param.xsl docbook-xsl-1.76.0/html/param.xsl
|
||||
--- docbook-xsl-1.76.0-orig/html/param.xsl 2010-08-31 09:27:22.000000000 +0200
|
||||
+++ docbook-xsl-1.76.0/html/param.xsl 2010-09-06 11:01:07.916914161 +0200
|
||||
@@ -68,6 +68,7 @@ div.annotation-close { position: absolut
|
||||
http://docbook.sourceforge.net/release/images/annot-close.png</xsl:param>
|
||||
<xsl:param name="annotation.graphic.open">http://docbook.sourceforge.net/release/images/annot-open.png</xsl:param>
|
||||
|
||||
+<xsl:param name="adjustColumnWidths.debug" select="false()"/>
|
||||
<xsl:param name="annotation.js">
|
||||
<xsl:text>http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js</xsl:text></xsl:param>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/fo/param.xsl docbook-xsl-1.74.0/fo/param.xsl
|
||||
--- docbook-xsl-1.74.0.orig/fo/param.xsl 2008-08-06 13:32:46.000000000 +0200
|
||||
+++ docbook-xsl-1.74.0/fo/param.xsl 2008-08-06 13:38:36.000000000 +0200
|
||||
@@ -23,8 +23,8 @@
|
||||
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
|
||||
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
|
||||
<xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
||||
- <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
|
||||
- <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
|
||||
+ <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat(($body.font.master * 0.8), 'pt')"/></xsl:attribute>
|
||||
+ <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat(($body.font.master * 1.2), 'pt')"/></xsl:attribute>
|
||||
<xsl:attribute name="hyphenate">false</xsl:attribute>
|
||||
<xsl:attribute name="text-align">center</xsl:attribute>
|
||||
</xsl:attribute-set>
|
||||
@@ -334,8 +334,8 @@ set toc,title
|
||||
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
||||
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
|
||||
<xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"/></xsl:attribute>
|
||||
- <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"/></xsl:attribute>
|
||||
- <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"/></xsl:attribute>
|
||||
+ <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat(($body.font.master * 0.8),'pt')"/></xsl:attribute>
|
||||
+ <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat(($body.font.master * 1.2),'pt')"/></xsl:attribute>
|
||||
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
||||
</xsl:attribute-set>
|
||||
<xsl:attribute-set name="index.entry.properties">
|
||||
@@ -0,0 +1,281 @@
|
||||
diff -ruNp docbook-xsl-1.74.0.orig/fo/pagesetup.xsl docbook-xsl-1.74.0/fo/pagesetup.xsl
|
||||
--- docbook-xsl-1.74.0.orig/fo/pagesetup.xsl 2008-06-01 23:36:39.000000000 +0200
|
||||
+++ docbook-xsl-1.74.0/fo/pagesetup.xsl 2008-08-06 13:31:11.000000000 +0200
|
||||
@@ -1697,45 +1697,99 @@
|
||||
<xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
</xsl:call-template>
|
||||
|
||||
- <fo:table-column column-number="1">
|
||||
- <xsl:attribute name="column-width">
|
||||
- <xsl:text>proportional-column-width(</xsl:text>
|
||||
- <xsl:call-template name="header.footer.width">
|
||||
- <xsl:with-param name="location">header</xsl:with-param>
|
||||
- <xsl:with-param name="position" select="$column1"/>
|
||||
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
- <xsl:with-param name="sequence" select="$sequence"/>
|
||||
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
- </xsl:call-template>
|
||||
- <xsl:text>)</xsl:text>
|
||||
- </xsl:attribute>
|
||||
- </fo:table-column>
|
||||
- <fo:table-column column-number="2">
|
||||
- <xsl:attribute name="column-width">
|
||||
- <xsl:text>proportional-column-width(</xsl:text>
|
||||
- <xsl:call-template name="header.footer.width">
|
||||
- <xsl:with-param name="location">header</xsl:with-param>
|
||||
- <xsl:with-param name="position" select="2"/>
|
||||
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
- <xsl:with-param name="sequence" select="$sequence"/>
|
||||
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
- </xsl:call-template>
|
||||
- <xsl:text>)</xsl:text>
|
||||
- </xsl:attribute>
|
||||
- </fo:table-column>
|
||||
- <fo:table-column column-number="3">
|
||||
- <xsl:attribute name="column-width">
|
||||
- <xsl:text>proportional-column-width(</xsl:text>
|
||||
- <xsl:call-template name="header.footer.width">
|
||||
- <xsl:with-param name="location">header</xsl:with-param>
|
||||
- <xsl:with-param name="position" select="$column3"/>
|
||||
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
- <xsl:with-param name="sequence" select="$sequence"/>
|
||||
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
- </xsl:call-template>
|
||||
- <xsl:text>)</xsl:text>
|
||||
- </xsl:attribute>
|
||||
- </fo:table-column>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$passivetex.extensions != 0">
|
||||
+ <fo:table-column column-number="1">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">header</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column1"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>%</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:table-column column-number="1">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:text>proportional-column-width(</xsl:text>
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">header</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column1"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$passivetex.extensions != 0">
|
||||
+ <fo:table-column column-number="2">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">header</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="2"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>%</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:table-column column-number="2">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:text>proportional-column-width(</xsl:text>
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">header</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="2"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$passivetex.extensions != 0">
|
||||
+ <fo:table-column column-number="3">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">header</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column3"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>%</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:table-column column-number="3">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:text>proportional-column-width(</xsl:text>
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">header</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column3"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
|
||||
<fo:table-body>
|
||||
<fo:table-row>
|
||||
@@ -2021,45 +2066,99 @@
|
||||
<xsl:with-param name="sequence" select="$sequence"/>
|
||||
<xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
</xsl:call-template>
|
||||
- <fo:table-column column-number="1">
|
||||
- <xsl:attribute name="column-width">
|
||||
- <xsl:text>proportional-column-width(</xsl:text>
|
||||
- <xsl:call-template name="header.footer.width">
|
||||
- <xsl:with-param name="location">footer</xsl:with-param>
|
||||
- <xsl:with-param name="position" select="$column1"/>
|
||||
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
- <xsl:with-param name="sequence" select="$sequence"/>
|
||||
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
- </xsl:call-template>
|
||||
- <xsl:text>)</xsl:text>
|
||||
- </xsl:attribute>
|
||||
- </fo:table-column>
|
||||
- <fo:table-column column-number="2">
|
||||
- <xsl:attribute name="column-width">
|
||||
- <xsl:text>proportional-column-width(</xsl:text>
|
||||
- <xsl:call-template name="header.footer.width">
|
||||
- <xsl:with-param name="location">footer</xsl:with-param>
|
||||
- <xsl:with-param name="position" select="2"/>
|
||||
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
- <xsl:with-param name="sequence" select="$sequence"/>
|
||||
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
- </xsl:call-template>
|
||||
- <xsl:text>)</xsl:text>
|
||||
- </xsl:attribute>
|
||||
- </fo:table-column>
|
||||
- <fo:table-column column-number="3">
|
||||
- <xsl:attribute name="column-width">
|
||||
- <xsl:text>proportional-column-width(</xsl:text>
|
||||
- <xsl:call-template name="header.footer.width">
|
||||
- <xsl:with-param name="location">footer</xsl:with-param>
|
||||
- <xsl:with-param name="position" select="$column3"/>
|
||||
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
- <xsl:with-param name="sequence" select="$sequence"/>
|
||||
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
- </xsl:call-template>
|
||||
- <xsl:text>)</xsl:text>
|
||||
- </xsl:attribute>
|
||||
- </fo:table-column>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$passivetex.extensions != 0">
|
||||
+ <fo:table-column column-number="1">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">footer</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column1"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>%</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:table-column column-number="1">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:text>proportional-column-width(</xsl:text>
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">footer</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column1"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$passivetex.extensions != 0">
|
||||
+ <fo:table-column column-number="2">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">footer</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="2"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>%</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:table-column column-number="2">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:text>proportional-column-width(</xsl:text>
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">footer</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="2"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
+ <xsl:choose>
|
||||
+ <xsl:when test="$passivetex.extensions != 0">
|
||||
+ <fo:table-column column-number="3">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">footer</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column3"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>%</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:when>
|
||||
+ <xsl:otherwise>
|
||||
+ <fo:table-column column-number="3">
|
||||
+ <xsl:attribute name="column-width">
|
||||
+ <xsl:text>proportional-column-width(</xsl:text>
|
||||
+ <xsl:call-template name="header.footer.width">
|
||||
+ <xsl:with-param name="location">footer</xsl:with-param>
|
||||
+ <xsl:with-param name="position" select="$column3"/>
|
||||
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
||||
+ <xsl:with-param name="sequence" select="$sequence"/>
|
||||
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
||||
+ </xsl:call-template>
|
||||
+ <xsl:text>)</xsl:text>
|
||||
+ </xsl:attribute>
|
||||
+ </fo:table-column>
|
||||
+ </xsl:otherwise>
|
||||
+ </xsl:choose>
|
||||
|
||||
<fo:table-body>
|
||||
<fo:table-row>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>docbook-xsl</Name>
|
||||
<Homepage>http://wiki.docbook.org/topic/DocBookXslStylesheets</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Norman Walsh's XSL stylesheets for DocBook XML</Summary>
|
||||
<Description>These XSL stylesheets allow you to transform any DocBook XML document to other formats such as HTML, FO and XHTML.</Description>
|
||||
<Archive sha1sum="1d668c845bb43c65115d1a1d9542f623801cfb6f" type="tarbz2">http://sourceforge.net/projects/docbook/files/docbook-xsl/1.78.1/docbook-xsl-1.78.1.tar.bz2</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="Makefile">Makefile</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Patches>
|
||||
<Patch level="1">docbook-xsl-pagesetup.patch</Patch>
|
||||
<Patch level="1">docbook-xsl-newmethods.patch</Patch>
|
||||
<Patch level="1">docbook-xsl-non-constant-expressions.patch</Patch>
|
||||
<Patch level="1">docbook-xsl-list-item-body.patch</Patch>
|
||||
<Patch level="1">docbook-xsl-mandir.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>docbook-xsl</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>docbook-xml</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/docbook-xsl</Path>
|
||||
<Path fileType="data">/usr/share/xml</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-11-17</Date>
|
||||
<Version>1.78.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>1.78.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-22</Date>
|
||||
<Version>1.78.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-10</Date>
|
||||
<Version>1.77.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>docbook-xsl</Name>
|
||||
<Summary xml:lang="tr">Docbook XSL biçemyaprakları</Summary>
|
||||
<Description xml:lang="tr">Docbook XSL biçemyapraklarını (stylesheets) içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.rename("/usr/share/doc/sgml-common-%s" % get.srcVERSION(), get.srcNAME())
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
|
||||
os.system("/usr/bin/install-catalog --add \
|
||||
/etc/sgml/sgml-ent.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog")
|
||||
|
||||
os.system("/usr/bin/install-catalog --add \
|
||||
/etc/sgml/sgml-docbook.cat \
|
||||
/etc/sgml/sgml-ent.cat")
|
||||
|
||||
def postRemove():
|
||||
|
||||
os.system("/usr/bin/install-catalog --remove \
|
||||
/etc/sgml/sgml-ent.cat \
|
||||
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog")
|
||||
|
||||
os.system("/usr/bin/install-catalog --remove \
|
||||
/etc/sgml/sgml-docbook.cat \
|
||||
/etc/sgml/sgml-ent.cat")
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: sgml-common-0.6.3/configure.in
|
||||
===================================================================
|
||||
--- sgml-common-0.6.3.orig/configure.in
|
||||
+++ sgml-common-0.6.3/configure.in
|
||||
@@ -3,7 +3,7 @@ AC_INIT(Makefile.am)
|
||||
|
||||
AM_INIT_AUTOMAKE(sgml-common, 0.6.3)
|
||||
|
||||
-docdir='$(prefix)/doc'
|
||||
+docdir='$(prefix)/share/doc'
|
||||
AC_SUBST(docdir)
|
||||
|
||||
dnl Checks for programs.
|
||||
@@ -0,0 +1,15 @@
|
||||
Submitted by: Thomas Pegg <lnxfreak123 at insightbb dot com>
|
||||
Date: 2003-11-18
|
||||
Initial Package Version: 0.6.3
|
||||
Origin: Thomas Pegg
|
||||
Description: Fixes syntax of Makefile.am for installation of man pages,
|
||||
for use with current automake versions 1.7.8 and higher.
|
||||
|
||||
Index: sgml-common-0.6.3/doc/man/Makefile.am
|
||||
===================================================================
|
||||
--- sgml-common-0.6.3.orig/doc/man/Makefile.am
|
||||
+++ sgml-common-0.6.3/doc/man/Makefile.am
|
||||
@@ -1,2 +1 @@
|
||||
-man8dir = $(mandir)/man8
|
||||
-man8_DATA = *.8
|
||||
+man_MANS = install-catalog.8
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sgml-common</Name>
|
||||
<Homepage>http://www.linuxfromscratch.org/blfs/view/svn/pst/sgml-common.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Base ISO character entities and utilities for SGML</Summary>
|
||||
<Description>Sgml-common is a collection of entities and document type definitions (DTDs) useful for SGML processing.</Description>
|
||||
<Archive sha1sum="b7d211c19b83accb92dcb51719de65227fb4c27c" type="targz">http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common-0.6.3.tgz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">sgml-common-0.6.3-configure.in.patch</Patch>
|
||||
<Patch level="1">sgml-common-0.6.3-manpage-1.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sgml-common</Name>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/sgml</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc/sgml-common</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/sgml</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>0.6.3</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>0.6.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sgml-common</Name>
|
||||
<Summary xml:lang="tr">SGML ISO karakter nesneleri ve yardımcı programları</Summary>
|
||||
<Description xml:lang="tr">sgml-common SGML uygulamaları için kullanışlı olan içerikler ve belge tip belirtimleri (DTD) topluluğudur.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("BASH=/bin/bash")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("ChangeLog", "NEWS", "FAQ", "README", "AUTHORS", "doc/*")
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xmlto</Name>
|
||||
<Homepage>https://fedorahosted.org/xmlto/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A frontend to an XSL toolchain</Summary>
|
||||
<Description>The purpose of xmlto is to convert an XML file to the desired format using whatever means necessary.</Description>
|
||||
<Archive sha1sum="4b1daa7a15fc64176446332d55e8befa9a6d90bf" type="targz">https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.26.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>docbook-xml</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xmlto</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>docbook-xml</Dependency>
|
||||
<!-- FIXME: Disabled for now as it brings whole texlive
|
||||
<Dependency>latex-passivetex</Dependency>
|
||||
-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc/xmlto</Path>
|
||||
<Path fileType="data">/usr/share/xmlto</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>0.0.26</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-18</Date>
|
||||
<Version>0.0.25</Version>
|
||||
<Comment>Rebuild for 1.0</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-17</Date>
|
||||
<Version>0.0.25</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xmlto</Name>
|
||||
<Summary xml:lang="tr">XML ve DocBook için dönüşüm aracı</Summary>
|
||||
<Description xml:lang="tr">xmlto uygulamasının amacı verilen bir XML dosyasını istenen bir biçime dönüştürmektir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user