debian/ 0000755 0000000 0000000 00000000000 11755272320 007172 5 ustar debian/watch 0000644 0000000 0000000 00000000264 11755271745 010237 0 ustar # See uscan(1) for format
version=3
opts=dversionmangle=s/\.dfsg\.\d+$// \
http://sf.net/docbook/docbook-xsl-saxon-([\d\.]+)\.tar\.gz \
debian /bin/sh debian/get-orig-source.sh
debian/tdg_examples_permission.eml 0000644 0000000 0000000 00000006226 11006063747 014623 0 ustar From bobs@sagehill.net Tue Sep 18 18:49:27 2007
Return-Path:
Received: from leidi ([unix socket]) (authenticated user=dl bits=0) by
leidi (Cyrus v2.1.18-IPv6-Debian-2.1.18-5.2) with LMTP; Tue, 18 Sep 2007
18:49:27 +0200
X-Sieve: CMU Sieve 2.2
Return-path:
X-Spam-BAYES: 0.5000
X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on leidi
X-Spam-Status: No, score=0.0 required=8.0 tests=BAYES_50,STOX_REPLY_TYPE
autolearn=ham version=3.2.1
X-Spam-Pyzor: Reported 0 times.
X-Spam-DCCR: leidi 1060; Body=1 Fuz1=1 Fuz2=1
X-Spam-Level:
X-Spam-RBL: [10 www4-sec.cruzio.com., 5
www.sagehill.net.] [63.249.72.176]
X-Spam-DCCB: URT
X-Spam-Sprachen:
Envelope-to: dl@localhost
Delivery-date: Tue, 18 Sep 2007 18:47:41 +0200
Received: from localhost ([127.0.0.1] ident=fetchmail) by leidi.wgdd.de
with esmtp (Exim 3.36 #1 (Debian)) id 1IXgEf-0005uY-01 for ;
Tue, 18 Sep 2007 18:47:41 +0200
Received: from imap.wgdd.de by localhost with IMAP (fetchmail-6.3.8) for
(single-drop); Tue, 18 Sep 2007 18:47:41 +0200 (CEST)
Received: from mail.cruzio.com ([63.249.95.37]) by mail.wgdd.de with esmtp
(Exim 4.63) (envelope-from ) id 1IXfzX-0000zZ-PJ for
daniel.leidert@wgdd.de; Tue, 18 Sep 2007 18:32:21 +0200
Received: from totoro (dsl-74-220-70-27.cruzio.com [74.220.70.27]) by
mail.cruzio.com with SMTP id l8IGVsmR096954 for ;
Tue, 18 Sep 2007 09:31:55 -0700 (PDT)
Message-ID: <081101c7fa11$59ef46f0$6400a8c0@totoro>
From: "Bob Stayton"
To: "Daniel Leidert"
References: <1190112260.9556.25.camel@localhost>
Subject: Re: Using examples from your book in a testdoc
Date: Tue, 18 Sep 2007 09:31:22 -0700
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.499999, version=1.1.5
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.4 with clamscan / ClamAV
0.91.2/4322/Tue Sep 18 18:00:54 2007
X-Evolution-Source: imap://dl@127.0.0.1/
Content-Transfer-Encoding: 8bit
That's ok with me. I'm happy to help.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Daniel Leidert"
To: "Bob Stayton"
Sent: Tuesday, September 18, 2007 3:44 AM
Subject: Using examples from your book in a testdoc
> Hello,
>
> I'm currently writing a testcase for the docbook-xsl Java extensions.
> The test-doc is considered to be included in the Debian package (and
> probably in the docbook SVN repository too), so I can test the package.
> Now I'm using several example you showed in your book (e.g. from
> http://www.sagehill.net/docbookxsl/AnnotateListing.html). So my
> questions is: Am I allowed to use them and distribute the test-doc as
> part of the Debian package? The source of course contains the necessary
> information, where the examples were taken.
>
> Regards, Daniel
>
>
>
debian/README.source 0000644 0000000 0000000 00000000630 11755271745 011362 0 ustar docbook-xsl-saxon 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) Tue, 04 Sep 2007 00:25:50 +0200
debian/get-orig-source.sh 0000755 0000000 0000000 00000001451 11755271745 012557 0 ustar #!/bin/sh
set -ex
UPSTREAM_VERSION=$2
ORIG_TARBALL=$3
REAL_TARBALL=`readlink -f ${ORIG_TARBALL}`
WORKING_DIR=`dirname ${ORIG_TARBALL}`
ORIG_TARBALL_DFSG=`echo ${ORIG_TARBALL} | sed -e "s/\(${UPSTREAM_VERSION}\)\(\.orig\)/\1+dfsg\2/g"`
ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL_DFSG} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"`
ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}`
mkdir -p ${ORIG_TARBALL_DIR}
tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xzf ${REAL_TARBALL} || exit 1
rm -f ${ORIG_TARBALL} ${REAL_TARBALL}
ant -f ${ORIG_TARBALL_DIR}/build.xml \
-Dplatform.active=debian \
-Dplatforms.debian.home=/usr/lib/jvm/default-java \
clean
GZIP=-9 tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL_DFSG} ${ORIG_TARBALL_DIR_STRIP} || exit 1
exit 0
debian/README.Debian 0000644 0000000 0000000 00000001644 10674005114 011232 0 ustar docbook-xsl-saxon 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 libsaxon-java) libxerces2-java and
libxml-commons-resolver1.1-java.
By running
make -C /usr/share/doc/docbook-xsl-saxon/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 Saxon and
all extensions are used.
Run the command
make -C /usr/share/doc/docbook-xsl-saxon/examples/ clean DESTDIR=/tmp
to remove the HTML files and the created image.
-- Daniel Leidert (dale) Tue, 18 Sep 2007 00:25:50 +0200
debian/rules 0000755 0000000 0000000 00000002253 11755271745 010266 0 ustar #!/usr/bin/make -f
#export DH_VERBOSE=1
PACKAGE = docbook-xsl-saxon
include /usr/share/gcj/debian_defaults
ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
with_gcj_native := yes
endif
export JAVA_HOME = /usr/lib/jvm/default-java
export CLASSPATH = /usr/share/java/saxon.jar
uversion = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)\.dfsg.*$$/\1/p' )
ANT_ARGS += -lib /usr/share/java \
-Dplatform.active=debian \
-Dplatforms.debian.home=$(JAVA_HOME) \
-Djavac.classpath=$(CLASSPATH) \
-Ddist.javadoc.dir=api \
-Ddist.jar=$(PACKAGE).jar
%:
dh $@ --buildsystem=ant --with=javahelper --parallel
override_dh_auto_clean:
dh_auto_clean -- $(ANT_ARGS)
$(MAKE) -C debian/examples/ clean
override_dh_auto_build:
dh_auto_build -- $(ANT_ARGS)
override_jh_installlibs:
jh_installlibs -pdocbook-xsl-saxon --upstream-version=$(uversion)
ifeq ($(with_gcj_native),yes)
dh_nativejava -pdocbook-xsl-saxon-gcj
endif
#override_dh_link:
# dh_link -pdocbook-xsl-saxon usr/share/java/$(PACKAGE)_$(uversion).jar usr/share/java/$(PACKAGE).jar
override_dh_compress:
dh_compress -Xusr/share/doc/docbook-xsl-saxon/examples
debian/copyright 0000644 0000000 0000000 00000006025 11755271745 011142 0 ustar This package was debianized by Daniel Leidert (dale) 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 and
members of the DocBook Project .
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 publicly
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 Copyright (C) 2007 Daniel Leidert
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.
You can find a copy in tdg_examples_permission.eml.
The Debian logo (shipped in uuencoded form in openlogo.png.uu) is Copyright
(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 Copyright (C) 2007-2009 Daniel Leidert
and is licensed under the GPL, either version 2 of
the License, or (at your option) any later version. See the file
`/usr/share/common-licenses/GPL-2'.
debian/source/ 0000755 0000000 0000000 00000000000 11755272013 010471 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11755271745 011712 0 ustar 3.0 (quilt)
debian/compat 0000644 0000000 0000000 00000000002 11755271745 010402 0 ustar 7
debian/control 0000644 0000000 0000000 00000003454 11755271745 010615 0 ustar Source: docbook-xsl-saxon
Section: text
Priority: extra
Maintainer: Debian XML/SGML Group
Uploaders: Daniel Leidert (dale)
Build-Depends: ant,
debhelper (>> 7.0.50~),
default-jdk,
default-jdk-doc,
gcj-native-helper,
javahelper,
libsaxon-java (>> 1:6.5)
Standards-Version: 3.9.3
Homepage: http://wiki.docbook.org/topic/DocBookXsltExtensions
Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/
Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/
DM-Upload-Allowed: yes
Package: docbook-xsl-saxon
Architecture: all
Depends: libsaxon-java (>> 1:6.5), ${java:Depends}, ${misc:Depends}
Recommends: ${java:Recommends}
Breaks: docbook-xsl (<< 1.68.1.dfsg.1-0.1)
Enhances: docbook-xsl
Description: Java extensions for use with DocBook XML stylesheets (Saxon)
These are Java extensions for use with the DocBook XML stylesheets
and the Saxon 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.
Package: docbook-xsl-saxon-gcj
Architecture: any
Depends: docbook-xsl-saxon (>= ${source:Version}),
libsaxon-java-gcj (>> 1:6.5),
${misc:Depends},
${shlibs:Depends}
Description: Java extensions for use with DocBook XML stylesheets (native code)
These are Java extensions for use with the DocBook XML stylesheets
and the Saxon XSLT engine. You need these extensions to enable e.g.
the callouts and linenumbering extensions of the docbook-xsl suite.
.
This package contains the natively compiled code for use by gij.
debian/docbook-xsl-saxon.examples 0000644 0000000 0000000 00000000022 10674005114 014270 0 ustar debian/examples/*
debian/patches/ 0000755 0000000 0000000 00000000000 11755272013 010620 5 ustar debian/patches/series 0000644 0000000 0000000 00000000031 11755271745 012042 0 ustar debian_build_fixes.patch
debian/patches/debian_build_fixes.patch 0000644 0000000 0000000 00000001560 11755271745 015455 0 ustar Author: Daniel Leidert
Description: Changed hard-coded file references in "clean" target.
Bug: http://sourceforge.net/tracker/?func=detail&aid=1792043&group_id=21935&atid=373747
Origin: http://docbook.svn.sourceforge.net/viewvc/docbook?view=revision&revision=7438
Forwarded: yes
--- a/nbproject/build-impl.xml
+++ b/nbproject/build-impl.xml
@@ -563,9 +563,9 @@
-->
-
-
-
+
+
+
debian/docbook-xsl-saxon.javadoc 0000644 0000000 0000000 00000000004 11755271745 014101 0 ustar api
debian/docbook-xsl-saxon.docs 0000644 0000000 0000000 00000000050 11755271745 013423 0 ustar BUGS
debian/tdg_examples_permission.eml
debian/examples/ 0000755 0000000 0000000 00000000000 11755272013 011007 5 ustar debian/examples/ex_textdata_co_linenumber_pi.xml 0000644 0000000 0000000 00000001501 10674005114 017424 0 ustar
Make this conditional.
Define new class
debian/examples/ex_co_defguide.xml 0000644 0000000 0000000 00000002046 10674005114 014457 0 ustar
sub do_nothing_useful {
my($a, $b, $c);
$a = new A;
$a->does_nothing_either();
$b = new B;
$c = "frog";
return ($a, $c);
}
These are calls to the constructor new in the object classes.
This function returns a two-element list.
The destructor (DESTROY) for the object $b will be called automatically for this object since there can be no other references to it outside this function.
debian/examples/ex_textdata.xml 0000644 0000000 0000000 00000000132 10674005114 014032 0 ustar
debian/examples/Makefile 0000644 0000000 0000000 00000002504 10706543332 012450 0 ustar SRCS = saxon.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 -o /dev/stdout < $< > ${DESTDIR}/$@
%.html : %.xml
[ -d ${DESTDIR} ] || mkdir -p ${DESTDIR}
java -cp "/usr/share/java/saxon.jar:/usr/share/java/xml-commons-resolver-1.1.jar:/usr/share/java/docbook-xsl-saxon.jar:/usr/share/java/xercesImpl.jar:/etc/xml/resolver" \
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration \
com.icl.saxon.StyleSheet \
-x org.apache.xml.resolver.tools.ResolvingXMLReader \
-y org.apache.xml.resolver.tools.ResolvingXMLReader \
-r org.apache.xml.resolver.tools.CatalogResolver \
-u -o ${DESTDIR}/$@ $< db2html.xsl \
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
debian/examples/ex_linenumber.xml 0000644 0000000 0000000 00000000316 10674005114 014360 0 ustar sub do_nothing_useful {
my($a, $b, $c);
$a = new A;
$a->does_nothing_either();
$b = new B;
$c = "frog";
return ($a, $c);
}
debian/examples/ex_textdata_linenumber_pi.xml 0000644 0000000 0000000 00000000454 10674005114 016751 0 ustar
debian/examples/openlogo.png.uu 0000644 0000000 0000000 00000002341 10674005114 013762 0 ustar 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@+/!-LGO3[J107F0]*/((2X+*X"^,M3YT>'<278;&*(_@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!@JOW907QYP9NDICDL+5KG;4K)-
MIMID)H/4?J@CIV!8_A)=!N&J*H^9.&O]:'?&]S8X&;)NZGWI^+>N#AIO^LP
M5Z^6WD?[;7VRZE#GIR]EKDEY;+[YN@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$<\4>HI8L_.^1:"6
MUM/G2+D36=-'`DY&?YR)M6;PP/(7!&IY812S7_:.C#1[-MHHUN'QS1]+4`^1
MGO0?M?S8$C+447