[xml/sgml-commit] r928 - in /packages/docbook-xsl-xalan/trunk/debian: ./ examples/

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Fri Oct 12 01:26:54 UTC 2007


Author: dleidert-guest
Date: Fri Oct 12 01:26:53 2007
New Revision: 928

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=928
Log:
Initial commit. Files taken from the docbook-xsl-saxon package and adjusted
for this extension package.


Added:
    packages/docbook-xsl-xalan/trunk/debian/   (with props)
    packages/docbook-xsl-xalan/trunk/debian/README.Debian
    packages/docbook-xsl-xalan/trunk/debian/README.Debian-source
    packages/docbook-xsl-xalan/trunk/debian/ant.properties
    packages/docbook-xsl-xalan/trunk/debian/changelog
    packages/docbook-xsl-xalan/trunk/debian/compat
    packages/docbook-xsl-xalan/trunk/debian/control
    packages/docbook-xsl-xalan/trunk/debian/copyright
    packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.docs
    packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.examples
    packages/docbook-xsl-xalan/trunk/debian/examples/
    packages/docbook-xsl-xalan/trunk/debian/examples/Makefile
    packages/docbook-xsl-xalan/trunk/debian/examples/db2html.xsl
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_bstayton.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_defguide.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_imagedata.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_linenumber.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_tablewidth.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_co_linenumber_pi.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_linenumber_pi.xml
    packages/docbook-xsl-xalan/trunk/debian/examples/mycode.c
    packages/docbook-xsl-xalan/trunk/debian/examples/openlogo.png.uu
    packages/docbook-xsl-xalan/trunk/debian/examples/xalan.ext.001.xml
    packages/docbook-xsl-xalan/trunk/debian/rules   (with props)
    packages/docbook-xsl-xalan/trunk/debian/watch

Propchange: packages/docbook-xsl-xalan/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/docbook-xsl-xalan/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/README.Debian?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/README.Debian (added)
+++ packages/docbook-xsl-xalan/trunk/debian/README.Debian Fri Oct 12 01:26:53 2007
@@ -1,0 +1,25 @@
+docbook-xsl-xalan for Debian
+----------------------------
+
+The package contains an example DocBook XML file using the extensions,
+provided by this package. To create output from these files, you need (besides
+this package and libxalan2-java) libxerces2-java and
+libxml-commons-resolver1.1-java.
+
+By running
+
+  make -C /usr/share/doc/docbook-xsl-xalan/examples/ DESTDIR=/tmp
+
+two HTML files are created in /tmp (you can of course use a directory other
+than /tmp too; simply use one, where you have write permissions). The one with
+the "noext" filename part is created with xsltproc. This means, no extensions
+have been used. The file without the "noext" part is created with Xalan and
+all extensions are used.
+
+Run the command
+
+  make -C /usr/share/doc/docbook-xsl-xalan/examples/ clean DESTDIR=/tmp
+
+to remove the HTML files and the created image.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Tue, 18 Sep 2007 00:25:50 +0200

Added: packages/docbook-xsl-xalan/trunk/debian/README.Debian-source
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/README.Debian-source?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/README.Debian-source (added)
+++ packages/docbook-xsl-xalan/trunk/debian/README.Debian-source Fri Oct 12 01:26:53 2007
@@ -1,0 +1,9 @@
+docbook-xsl-xalan for Debian
+----------------------------
+
+To avoid problems with binaries and binary changes in the Debian package (e.g.
+with dpkg-source), the binaries are removed from the distributed tarball and
+the archive is repackaged for Debian. This also reduces the size of the source
+to 1/4 of the original size.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Tue, 04 Sep 2007 00:25:50 +0200

Added: packages/docbook-xsl-xalan/trunk/debian/ant.properties
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/ant.properties?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/ant.properties (added)
+++ packages/docbook-xsl-xalan/trunk/debian/ant.properties Fri Oct 12 01:26:53 2007
@@ -1,0 +1,2 @@
+javac.source=1.4
+javac.target=1.4

Added: packages/docbook-xsl-xalan/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/changelog?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/changelog (added)
+++ packages/docbook-xsl-xalan/trunk/debian/changelog Fri Oct 12 01:26:53 2007
@@ -1,0 +1,7 @@
+docbook-xsl-xalan (1.00.dfsg.1-1) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+  * Initial release (closes: #446321).
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Tue, 04 Sep 2007 00:25:50 +0200
+

Added: packages/docbook-xsl-xalan/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/compat?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/compat (added)
+++ packages/docbook-xsl-xalan/trunk/debian/compat Fri Oct 12 01:26:53 2007
@@ -1,0 +1,1 @@
+5

Added: packages/docbook-xsl-xalan/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/control?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/control (added)
+++ packages/docbook-xsl-xalan/trunk/debian/control Fri Oct 12 01:26:53 2007
@@ -1,0 +1,24 @@
+Source: docbook-xsl-xalan
+Section: text
+Priority: extra
+Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
+Uploaders: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+Build-Depends: debhelper (>= 5), cdbs
+Build-Depends-Indep: ant, java-gcj-compat-dev, libxalan2-java
+Standards-Version: 3.7.2
+Homepage: http://wiki.docbook.org/topic/DocBookXsltExtensions
+Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/docbook-xsl-xalan/
+
+Package: docbook-xsl-xalan
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime, libxalan2-java
+Conflicts: docbook-xsl (<< 1.68.1.dfsg.1-0.1)
+Enhances: docbook-xsl
+Description: Java extensions for use with DocBook XML stylesheets (Xalan)
+ These are Java extensions for use with the DocBook XML stylesheets
+ and the Xalan XSLT engine. You need these extensions to enable e.g.
+ the callouts and linenumbering extensions of the docbook-xsl suite.
+ .
+ In the past these extensions were shipped with the docbook-xsl tarball
+ distribution directly.

Added: packages/docbook-xsl-xalan/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/copyright?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/copyright (added)
+++ packages/docbook-xsl-xalan/trunk/debian/copyright Fri Oct 12 01:26:53 2007
@@ -1,0 +1,68 @@
+This package was debianized by Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+on Tue, 04 Sep 2007 00:25:50 +0200.
+
+It was downloaded from the Sourceforge.net download servers:
+
+    http://downloads.sourceforge.net/docbook/
+
+Upstream Authors: 
+
+    Norman Walsh <ndw at nwalsh.com> and
+    members of the DocBook Project <docbook-developers at sf.net>.
+
+Copyright: 
+
+    Copyright (C) 1999-2007 Norman Walsh
+    Copyright (C) 2005-2007 The DocBook Project
+
+License:
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation
+    files (the ``Software''), to deal in the Software without
+    restriction, including without limitation the rights to use,
+    copy, modify, merge, publish, distribute, sublicense, and/or
+    sell copies of the Software, and to permit persons to whom the
+    Software is furnished to do so, subject to the following
+    conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    Except as contained in this notice, the names of individuals
+    credited with contribution to this software shall not be used in
+    advertising or otherwise to promote the sale, use or other
+    dealings in this Software without prior written authorization
+    from the individuals in question.
+
+    Any stylesheet derived from this Software that is publically
+    distributed will be identified with a different name and the
+    version strings in any derived Software will be changed so that
+    no possibility of confusion between the derived package and this
+    Software will exist.
+
+    Warranty
+    --------
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT.  IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+    CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+    OTHER DEALINGS IN THE SOFTWARE.
+
+The example/test files are (C) 2007, Daniel Leidert <daniel.leidert at wgdd.de>
+and licensed under the same license as the docbook-xsl package. Several
+examples were taken from the book "DocBook XSL: The Complete Guide" with
+written permission by Bob Stayton.
+
+The Debian logo (shipped in uuencoded form in openlogo.png.uu) is
+(C) 1999 Software in the Public Interest. The license can be found
+online at http://www.debian.org/logos/: Open Use logo license
+
+    This logo or a modified version may be used by anyone to refer to the
+    Debian project, but does not indicate endorsement by the project.
+
+The Debian packaging is (C) 2007, Daniel Leidert <daniel.leidert at wgdd.de> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.docs
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.docs?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.docs (added)
+++ packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.docs Fri Oct 12 01:26:53 2007
@@ -1,0 +1,2 @@
+BUGS
+api

Added: packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.examples
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.examples?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.examples (added)
+++ packages/docbook-xsl-xalan/trunk/debian/docbook-xsl-xalan.examples Fri Oct 12 01:26:53 2007
@@ -1,0 +1,1 @@
+debian/examples/*

Added: packages/docbook-xsl-xalan/trunk/debian/examples/Makefile
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/Makefile?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/Makefile (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/Makefile Fri Oct 12 01:26:53 2007
@@ -1,0 +1,40 @@
+SRCS = xalan.ext.001.xml
+
+DESTDIR = .
+
+all: html
+
+html: openlogo.png $(SRCS:.xml=.noext.html) $(SRCS:.xml=.html)
+
+%.png : %.png.uu
+	[ -d ${DESTDIR} ] || mkdir -p ${DESTDIR}
+	uudecode < $<
+	[ -f ${DESTDIR}/$@ ] || install -m 644 $@ ${DESTDIR}/
+
+%.html : %.xml
+	[ -d ${DESTDIR} ] || mkdir -p ${DESTDIR}
+	java -cp "/usr/share/java/xalan2.jar:/usr/share/java/xml-commons-resolver-1.1.jar:/usr/share/java/docbook-xsl-xalan.jar:/usr/share/java/xercesImpl.jar:/etc/xml/resolver" \
+	  -Djava.endorsed.dirs=/usr/share/java \
+	  org.apache.xalan.xslt.Process  \
+	  -ENTITYRESOLVER org.apache.xml.resolver.tools.CatalogResolver \
+	  -URIRESOLVER org.apache.xml.resolver.tools.CatalogResolver \
+	  -out ${DESTDIR}/$@ \
+	  -in $< \
+	  -xsl db2html.xsl \
+	  -param use.extensions 1
+
+%.noext.html : %.xml
+	[ -d ${DESTDIR} ] || mkdir -p ${DESTDIR}
+	xsltproc --xinclude --nonet -o ${DESTDIR}/$@ \
+	         --param use.extensions 0 \
+	         db2html.xsl $<
+
+validate: check
+
+check:
+	xmllint --xinclude --nonet --noout --postvalid $(SRCS)
+
+clean:
+	rm -f ${DESTDIR}/*.html ${DESTDIR}/*.png
+
+.PHONY: all check clean html validate

Added: packages/docbook-xsl-xalan/trunk/debian/examples/db2html.xsl
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/db2html.xsl?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/db2html.xsl (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/db2html.xsl Fri Oct 12 01:26:53 2007
@@ -1,0 +1,23 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns="http://www.w3.org/1999/xhtml"
+                version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
+
+<xsl:output method="html"
+            indent="yes"
+            encoding="utf-8"
+            doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
+            doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
+
+<xsl:param name="callouts.extension" select="'1'"/>
+<xsl:param name="callout.graphics.path" select="'http://docbook.sourceforge.net/release/xsl/current/images/callouts/'"/>
+<xsl:param name="graphicsize.extension" select="'1'"/>
+<xsl:param name="linenumbering.extension" select="'1'"/>
+<!-- <xsl:param name="linenumbering.everyNth" select="'1'"/> -->
+<xsl:param name="tablecolumns.extension" select="'1'"/>
+<xsl:param name="textinsert.extension" select="'1'"/>
+
+</xsl:stylesheet>
+

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_bstayton.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_bstayton.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_bstayton.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_bstayton.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,27 @@
+<programlisting>
+#ifndef _My_Parser_h_  <co  id="condition-co"  linkends="condition" /> 
+#define _My_Parser_h_
+#include "MyFetch.h"   <co id="headerfile-co" linkends="headerfile" />
+class My_Parser  <co id="classdef-co" linkends="classdef" />
+{
+public:
+        //
+        // Construction/Destruction
+        //
+        My_Parser();  <coref  linkend="classdef-co"/>
+        virtual      ~My_Parser() = 0;
+        virtual int  parse(MyFetch &amp;fetcher) = 0;
+};
+#endif
+</programlisting>
+<calloutlist>
+  <callout arearefs="condition-co" id="condition">
+    <para>Make this conditional.</para>
+  </callout>
+  <callout arearefs="headerfile-co" id="headerfile">
+    <para>Load necessary constants.</para>
+  </callout>
+  <callout arearefs="classdef-co" id="classdef">
+    <para>Define new class</para>
+  </callout>
+</calloutlist>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_defguide.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_defguide.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_defguide.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_co_defguide.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,30 @@
+<programlistingco>
+  <areaspec>
+    <areaset id="ex.plco.const" coords="">
+      <area id="ex.plco.c1" coords='3'/>
+      <area id="ex.plco.c2" coords='5'/>
+    </areaset>
+    <area id="ex.plco.ret" coords='7'/>
+    <area id="ex.plco.dest" coords='7'/>
+  </areaspec>
+  <programlisting>sub do_nothing_useful {
+    my($a, $b, $c);
+    $a = new A;
+    $a->does_nothing_either();
+    $b = new B;
+    $c = "frog";
+    return ($a, $c);
+}
+  </programlisting>
+  <calloutlist>
+    <callout arearefs="ex.plco.const">
+      <para>These are calls to the constructor <function>new</function> in the object classes.</para>
+    </callout>
+    <callout arearefs="ex.plco.ret">
+     <para>This function returns a two-element list.</para>
+    </callout>
+    <callout arearefs="ex.plco.dest">
+      <para>The <emphasis>destructor</emphasis> (<function>DESTROY</function>) for the object <literal>$b</literal> will be called automatically for this object since there can be no other references to it outside this function.</para>
+    </callout>
+  </calloutlist>
+</programlistingco>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_imagedata.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_imagedata.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_imagedata.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_imagedata.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,40 @@
+<para>
+  <inlinemediaobject>
+    <imageobject role="html">
+      <imagedata width="1.8in" fileref="openlogo.png" align="center" format="PNG"/>
+    </imageobject>
+    <textobject>
+      <phrase>DocBook book cover image</phrase>
+    </textobject>
+  </inlinemediaobject>
+</para>
+<para>
+  <inlinemediaobject>
+    <imageobject role="html">
+      <imagedata fileref="openlogo.png" align="center" format="PNG"/>
+    </imageobject>
+    <textobject>
+      <phrase>DocBook book cover image</phrase>
+    </textobject>
+  </inlinemediaobject>
+</para>
+<para>
+  <inlinemediaobject>
+    <imageobject role="html">
+      <imagedata contentwidth="60%" fileref="openlogo.png" align="center" format="PNG"/>
+    </imageobject>
+    <textobject>
+      <phrase>DocBook book cover image</phrase>
+    </textobject>
+  </inlinemediaobject>
+</para>
+<para>
+  <inlinemediaobject>
+    <imageobject role="html">
+      <imagedata width="60%" fileref="openlogo.png" align="center" format="PNG"/>
+    </imageobject>
+    <textobject>
+      <phrase>DocBook book cover image</phrase>
+    </textobject>
+  </inlinemediaobject>
+</para>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_linenumber.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_linenumber.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_linenumber.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_linenumber.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,9 @@
+<programlisting linenumbering="numbered">sub do_nothing_useful {
+    my($a, $b, $c);
+    $a = new A;
+    $a->does_nothing_either();
+    $b = new B;
+    $c = "frog";
+    return ($a, $c);
+}
+</programlisting>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_tablewidth.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_tablewidth.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_tablewidth.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_tablewidth.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,45 @@
+<informaltable frame='all'>
+<tgroup cols='5' align='left' colsep='1' rowsep='1'>
+<colspec colname="c1" colwidth="0.5*"/>
+<colspec colname="c2" colwidth="2*"/>
+<colspec colname="c3" colwidth="1.3*"/>
+<colspec colnum="5" colname="c5"/>
+<thead>
+<row>
+  <entry namest="c1" nameend="c2" align="center">Horizontal Span</entry>
+  <entry>a3</entry>
+  <entry>a4</entry>
+  <entry>a5</entry>
+</row>
+</thead>
+<tfoot>
+<row>
+  <entry>f1</entry>
+  <entry>f2</entry>
+  <entry>f3</entry>
+  <entry>f4</entry>
+  <entry>f5</entry>
+</row>
+</tfoot>
+<tbody>
+<row>
+  <entry>b1</entry>
+  <entry>b2</entry>
+  <entry>b3</entry>
+  <entry>b4</entry>
+  <entry morerows='1' valign='middle'><para>  <!-- Pernicous Mixed Content -->
+  Vertical Span</para></entry>
+</row>
+<row>
+  <entry>c1</entry>
+  <entry namest="c2" nameend="c3" align='center' morerows='1' valign='bottom'>Span Both</entry>
+  <entry>c4</entry>
+</row>
+<row>
+  <entry>d1</entry>
+  <entry>d4</entry>
+  <entry>d5</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,1 @@
+<programlisting><textobject><textdata fileref="mycode.c" /></textobject></programlisting>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_co_linenumber_pi.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_co_linenumber_pi.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_co_linenumber_pi.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_co_linenumber_pi.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,19 @@
+<programlistingco>
+  <areaspec units="linecolumn">
+    <area id="condition-co2" linkends="condition2" coords="1 23"/>
+    <area id="headerfile-co2" linkends="headerfile2" coords="3 23"/>
+    <area id="classdef-co2" linkends="classdef2" coords="4 18"/>
+  </areaspec> 
+  <programlisting linenumbering="numbered" startinglinenumber="4"><?dbhtml linenumbering.everyNth="1"?><textobject><textdata  fileref="mycode.c" /></textobject></programlisting>
+  <calloutlist>
+    <callout arearefs="condition-co2"  id="condition2" >
+      <para>Make this conditional.</para>
+    </callout>
+    <callout arearefs="headerfile-co2" id="headerfile2">
+      <para>Load necessary constants.</para>
+    </callout>
+    <callout arearefs="classdef-co2" id="classdef2">
+      <para>Define new class</para>
+    </callout>
+  </calloutlist>
+</programlistingco>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_linenumber_pi.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_linenumber_pi.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_linenumber_pi.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/ex_textdata_linenumber_pi.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,1 @@
+<programlisting linenumbering="numbered"><?dbhtml linenumbering.everyNth="2" linenumbering.separator=" &gt;" linenumbering.width="2"?><?dbfo linenumbering.everyNth="2" linenumbering.separator=" &gt;" linenumbering.width="2"?><textobject><textdata  fileref="mycode.c" /></textobject></programlisting>

Added: packages/docbook-xsl-xalan/trunk/debian/examples/mycode.c
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/mycode.c?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/mycode.c (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/mycode.c Fri Oct 12 01:26:53 2007
@@ -1,0 +1,14 @@
+#ifndef _My_Parser_h_
+#define _My_Parser_h_
+#include "MyFetch.h"
+class My_Parser
+{
+public:
+        //
+        // Construction/Destruction
+        //
+        My_Parser();
+        virtual      ~My_Parser() = 0;
+        virtual int  parse(MyFetch &amp;fetcher) = 0;
+};
+#endif

Added: packages/docbook-xsl-xalan/trunk/debian/examples/openlogo.png.uu
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/openlogo.png.uu?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/openlogo.png.uu (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/openlogo.png.uu Fri Oct 12 01:26:53 2007
@@ -1,0 +1,23 @@
+begin 644 openlogo.png
+MB5!.1PT*&@H````-24A$4@```#(````]"`,```#8M\I6````8U!,5$7___\`
+M``#'`#9_?W]`0$#[[_++$$/QO\WC?YK50&@@("#2,%SXW^;JG[._O[_TS]D0
+M$!#FCZ?.($\S,S/<8(+94'7O[^]P<'!@8&"/CX_@<(Y04%"?GY_?W]_,S,SM
+MK\"OKZ_JT4WM`````6)+1T0`B`4=2`````EP2%ES```+$@``"Q(!TMU^_```
+M``=T24U%!](!`A8&`3V]OFT```*6241!5'B<[9778NL@#(8!FV&\]TKBOO]3
+M5 at +/!-LGO3[J107F0]*/((2X+*X"^,M3YT>'<278;&*(_ at 6;5L!:(.]"A.S#
+MADLBM2%$GG(817%@AM4M4=1;`5+<,&;3VI%I?D;$F%/,CY,1QA'<"2@"&X:?
+MWR8,HYP(KYV$27>H'?.0`12^$3Q6*K=#"?4YHZAA'WX2Q:!4'9N!@`I=2%HP
+M%BT#.=,RLID)9^.D._FY.*BJ&',J!@JOW907QYP9<R8&1:Y^L06)+1(YB`.R
+MQ2.X-MA].B+AAJS2F:J#DQL at 6;#Z8A$BQ:(X])CSINV1>NDICDL+5KG;4K)-
+MIMID)H/4?J at CIV!8_A)=!N&J*H^9.&O]:'<N51 at R97*#2U><OQABTXEC'%&K
+M"IJH<E\5N_6AD541H.7.,UP,[^1.?AX/2_>?&]S8X&;)NZGWI^+>N#AIO^LP
+M5Z^<TT#9;\/`FQ5^R\B[1]MA<#CUW6%\Q/E#;E'(PMM3?[=<N!_:*^-Q4`S3
+MM^D1*>6WD?[;7VRZE#GIR]EKDEY;+[YN at H[Z"U(N+ORF3Q>(MR*;RT/W4WR!
+M0,3]DN?._RDIF$^:-J.T1>214?TBO9^19(0YW9.F*_V6XBQ:`AY\\$E+2R^C
+MGD<U;J&!I3"7^3!\$9^"1^EHD!$3@:V?E#;D036L[$`.FO2`O'I(#_8!%KA%
+M)$H?!NEI:4("\B0-_`??9NX#XLT;STAB!AY$]DN#P*R>$<\4>HI8L_.^1:"6
+MUM/G2+D36=-'`DY&?YR)M6;PP/(7!&IY812S7_:.C#1[-MHHUN'QS1]+4`^1
+MGO0?M?S8$C+447<CB*R]%G=''<P1891NV<@8GO6(RGJXP,I0)MBJ]/F"J=Z'
+<$_1Q=8<:_@(N8!M"Y5B6E`````!)14Y$KD)@@@``
+`
+end

Added: packages/docbook-xsl-xalan/trunk/debian/examples/xalan.ext.001.xml
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/examples/xalan.ext.001.xml?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/examples/xalan.ext.001.xml (added)
+++ packages/docbook-xsl-xalan/trunk/debian/examples/xalan.ext.001.xml Fri Oct 12 01:26:53 2007
@@ -1,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+          "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
+
+	<!ENTITY ex_co_defguide.xml               SYSTEM "ex_co_defguide.xml">
+	<!ENTITY ex_co_bstayton.xml               SYSTEM "ex_co_bstayton.xml">
+	<!ENTITY ex_linenumber.xml                SYSTEM "ex_linenumber.xml">
+	<!ENTITY ex_textdata.xml                  SYSTEM "ex_textdata.xml">
+	<!ENTITY ex_textdata_linenumber_pi.xml    SYSTEM "ex_textdata_linenumber_pi.xml">
+	<!ENTITY ex_textdata_co_linenumber_pi.xml SYSTEM "ex_textdata_co_linenumber_pi.xml">
+	<!ENTITY ex_tablewidth.xml                SYSTEM "ex_tablewidth.xml">
+	<!ENTITY ex_imagedata.xml                 SYSTEM "ex_imagedata.xml">
+]>
+
+<article id="xalan.ext.001">
+
+<articleinfo>
+<title>Unit Test: xalan.ext.001.xml</title>
+<releaseinfo role="SVN">$Id$</releaseinfo>
+<author>
+  <firstname>Daniel</firstname>
+  <surname>Leidert</surname>
+  <email>daniel.leidert at wgdd.de</email>
+</author>
+<legalnotice>
+  <para>An article from the docbook-xsl testdocs repository was used for this test. Several examples were taken from <personname><firstname>Bob</firstname><surname>Staytons</surname></personname> book <citetitle pubwork="book">DocBook XSL: The Complete Guide</citetitle> (with written permission by <personname><firstname>Bob</firstname><surname>Stayton</surname></personname>) and <personname><firstname>Norman</firstname><surname>Walshs</surname></personname> book <citetitle pubwork="book">DocBook: The Definitive Guide</citetitle>. The file is provided under the same license as the docbook-xsl package.</para>
+  <para>The open Debian logo was taken from <ulink url="http://www.debian.org/logos/"/>.</para>
+</legalnotice>
+<abstract>
+  <para>This is the abstract.</para>
+  <para>It has several paras. This one.</para>
+  <para>And here is another one.</para>
+</abstract>
+</articleinfo>
+
+<para>This is an test for the extensions provided by the docbook-xsl-xalan extensions.</para>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://docbook.org/tdg/en/html/programlistingco.html</bibliosource>
+</blockinfo>
+<title><parameter>callouts.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_co_defguide.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_co_defguide.xml;
+</example>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html#Callouts</bibliosource>
+</blockinfo>
+<title><parameter>callouts.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_co_bstayton.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_co_bstayton.xml;
+</example>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://docbook.org/tdg/en/html/programlistingco.html</bibliosource>
+</blockinfo>
+<title><parameter>linenumbering.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_linenumber.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_linenumber.xml;
+</example>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html</bibliosource>
+</blockinfo>
+<title><parameter>textinsert.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_textdata.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_textdata.xml;
+</example>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html#LineNumbering</bibliosource>
+</blockinfo>
+<title><parameter>linenumbering.extension</parameter> and <parameter>textinsert.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_textdata_linenumber_pi.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_textdata_linenumber_pi.xml;
+</example>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html#Callouts</bibliosource>
+</blockinfo>
+<title><parameter>callouts.extension</parameter>, <parameter>linenumbering.extension</parameter> and <parameter>textinsert.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_textdata_co_linenumber_pi.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_textdata_co_linenumber_pi.xml;
+</example>
+
+<example>
+<blockinfo>
+<bibliosource class="uri">http://docbook.org/tdg/en/html/table.html</bibliosource>
+<bibliosource class="uri">http://www.sagehill.net/docbookxsl/ColumnWidths.html</bibliosource>
+</blockinfo>
+<title><parameter>tablecolumns.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_tablewidth.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_tablewidth.xml;
+</example>
+
+<example>
+<!-- <blockinfo>
+<bibliosource class="uri"></bibliosource>
+</blockinfo> -->
+<title><parameter>graphicsize.extension</parameter></title>
+<para>XML code:</para>
+<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_imagedata.xml" parse="text"></xi:include></screen>
+<para>Result:</para>
+&ex_imagedata.xml;
+</example>
+
+<ackno>Thanks to Bob Stayton for his written permission to use the examples found in his book <ulink url="http://www.sagehill.net/docbookxsl/"><citetitle>DocBook XSL: The Complete Guide</citetitle></ulink>.</ackno>
+
+</article>

Added: packages/docbook-xsl-xalan/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/rules?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/rules (added)
+++ packages/docbook-xsl-xalan/trunk/debian/rules Fri Oct 12 01:26:53 2007
@@ -1,0 +1,45 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+PACKAGE := docbook-xsl-xalan
+
+version  = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$$/\1/p' )
+uversion = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)\.dfsg.*$$/\1/p' )
+
+DEB_JARS += xalan2
+ANT_ARGS += -Dplatform.active=debian \
+            -Dplatforms.debian.home=$(JAVA_HOME) \
+            -Djavac.classpath=$(DEB_CLASSPATH) \
+            -Ddist.javadoc.dir=api \
+            -Ddist.jar=$(PACKAGE)_$(uversion).jar
+
+clean::
+	# workaround a bug, see sf.net #1792043
+	rm -f $(PACKAGE)_$(uversion).jar
+	$(MAKE) -C debian/examples/ clean
+
+binary-post-install/$(PACKAGE)::
+	echo $(version)
+	dh_install -p$(PACKAGE) $(PACKAGE)_$(uversion).jar usr/share/java
+	dh_link -p$(PACKAGE) usr/share/java/$(PACKAGE)_$(uversion).jar usr/share/java/$(PACKAGE).jar
+
+
+# The following code is used to create the .orig.tar.gz tarball.
+# Use it to prepare a .orig tarball for a release.
+#
+.PHONY: get-orig-source
+get-orig-source:
+	set -ex ; \
+	TMPDIR=`mktemp -d $(PACKAGE)-$(version).orig` ; \
+	wget -P "$$TMPDIR" \
+	    http://downloads.sourceforge.net/docbook/$(PACKAGE)-$(uversion).tar.bz2 ; \
+	tar --directory="$$TMPDIR" -xjf "$$TMPDIR"/$(PACKAGE)-$(uversion).tar.bz2 ; \
+	$(DEB_ANT_INVOKE) -f "$$TMPDIR"/$(PACKAGE)-$(uversion)/build.xml/ $(DEB_ANT_CLEAN_TARGET) ; \
+	mv "$$TMPDIR"/$(PACKAGE)-$(uversion) "$$TMPDIR"/$(PACKAGE)-$(version).orig ; \
+	GZIP=-9 tar --directory="$$TMPDIR" -czf \
+	    $(CURDIR)/$(PACKAGE)_$(version).orig.tar.gz \
+	    $(PACKAGE)-$(version).orig ; \
+	rm -rf "$$TMPDIR"

Propchange: packages/docbook-xsl-xalan/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/docbook-xsl-xalan/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-xalan/trunk/debian/watch?rev=928&op=file
==============================================================================
--- packages/docbook-xsl-xalan/trunk/debian/watch (added)
+++ packages/docbook-xsl-xalan/trunk/debian/watch Fri Oct 12 01:26:53 2007
@@ -1,0 +1,5 @@
+# See uscan(1) for format
+
+version=3
+opts=dversionmangle=s/\.dfsg\.\d+$// \
+ http://sf.net/docbook/docbook-xsl-xalan-([\d\.]+)\.tar\.gz




More information about the debian-xml-sgml-commit mailing list