Please unblock xmlto/0.0.20-3
Please unblock xmlto:
> xmlto (0.0.20-3) unstable; urgency=low
>
> * debian/control (Suggests): Added xmltex now providing passivetex
> (closes: #416622, #440518). Thanks to Robert Wohlrab.
> (Description): Added information about fop/docbook-xsl as
> alternative to passivetex.
> * debian/patches/499200_cannot_parse_XSLTPARAMS.dpatch: Added.
> - xmlto.in: Fixed error message using --stringparam switch
> (closes: #499200). Thanks to Zed Pobre.
> * debian/patches/00list: Adjusted.
These fixes 2 important bugs:
#416622, #440518: passivetex had been removed a while ago. Now a user
informed me that it has been re-added as part of the xmltex package. So
xmltex has been added to Suggests in debian/control. This re-adds
important functionality to the package (DVI/PDF/PS output).
#499200: Using the --stringparam option results in an error just because
a variable was not declared as a variable. The fix was pretty easy
(debian/patches/499200_cannot_parse_XSLTPARAMS.dpatch).
Further the description in debian/control has been extended by one
sentence to tell about docbook-xsl/fop as alternative to passivetex.
The debdiff is attached. The changes are safe.
Regards, Daniel
diff -u xmlto-0.0.20/debian/control xmlto-0.0.20/debian/control
--- xmlto-0.0.20/debian/control
+++ xmlto-0.0.20/debian/control
@@ -3,7 +3,9 @@
Priority: optional
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Uploaders: Daniel Leidert (dale) <daniel.leidert@wgdd.de>
-Build-Depends: debhelper (>> 5), dpatch, docbook-xsl (>= 1.64.1.0), docbook-xml (>= 4.2-8), xsltproc (>= 1.0.29), libxml2-utils, libpaper-utils, sgml-base
+Build-Depends: debhelper (>> 5), dpatch, docbook-xsl (>= 1.64.1.0),
+ docbook-xml (>= 4.2-8), xsltproc (>= 1.0.29), libxml2-utils,
+ libpaper-utils, sgml-base
Standards-Version: 3.7.3
Homepage: http://cyberelk.net/tim/software/xmlto/
Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/xmlto/trunk/
@@ -14,7 +16,7 @@
Architecture: any
Depends: ${shlibs:Depends}, xsltproc (>= 1.1.12-8), docbook-xsl (>= 1.64.1.0), docbook-xml (>= 4.2-8), debianutils (>= 1.16), libxml2-utils, sgml-base
Recommends: libpaper-utils
-Suggests: fop | passivetex (>= 1.23), w3m | lynx | links
+Suggests: fop | passivetex (>= 1.23) | xmltex (>= 1.9.debian.1), w3m | lynx | links
Description: XML-to-any converter
xmlto is a front-end to an XSL toolchain. It chooses an appropriate
stylesheet for the conversion you want and applies it using an external
@@ -29 +31 @@
- required.
+ required. Alternatively docbook-xsl and fop produce PDF and PS output.
diff -u xmlto-0.0.20/debian/changelog xmlto-0.0.20/debian/changelog
--- xmlto-0.0.20/debian/changelog
+++ xmlto-0.0.20/debian/changelog
@@ -1,3 +1,16 @@
+xmlto (0.0.20-3) unstable; urgency=low
+
+ * debian/control (Suggests): Added xmltex now providing passivetex
+ (closes: #416622, #440518). Thanks to Robert Wohlrab.
+ (Description): Added information about fop/docbook-xsl as
+ alternative to passivetex.
+ * debian/patches/499200_cannot_parse_XSLTPARAMS.dpatch: Added.
+ - xmlto.in: Fixed error message using --stringparam switch
+ (closes: #499200). Thanks to Zed Pobre.
+ * debian/patches/00list: Adjusted.
+
+ -- Daniel Leidert (dale) <daniel.leidert@wgdd.de> Thu, 09 Oct 2008 11:03:38 +0200
+
xmlto (0.0.20-2) unstable; urgency=low
* debian/rules (get-orig-source): Use uscan and its --repack feature.
diff -u xmlto-0.0.20/debian/patches/00list xmlto-0.0.20/debian/patches/00list
--- xmlto-0.0.20/debian/patches/00list
+++ xmlto-0.0.20/debian/patches/00list
@@ -2,0 +3 @@
+499200_cannot_parse_XSLTPARAMS
only in patch2:
unchanged:
--- xmlto-0.0.20.orig/debian/patches/499200_cannot_parse_XSLTPARAMS.dpatch
+++ xmlto-0.0.20/debian/patches/499200_cannot_parse_XSLTPARAMS.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 499200_cannot_parse_XSLTPARAMS.dpatch by Daniel Leidert (dale) <daniel.leidert@wgdd.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: * xmlto.in: Using the --stringparam option results in an error message:
+## DP: 'warning: failed to load external entity "XSLTPARAMS" [..]'. The patch
+## DP: has been suggested by Zed Pobre.
+## DP:
+## DP: <URL:http://bugs.debian.org/499200>
+
+@DPATCH@
+diff -urNad trunk~/xmlto.in trunk/xmlto.in
+--- trunk~/xmlto.in 2008-10-09 10:47:10.000000000 +0200
++++ trunk/xmlto.in 2008-10-09 10:48:23.000000000 +0200
+@@ -272,8 +272,8 @@
+ ;;
+ --stringparam)
+ MYPARAM="$2"
+- XSLTPARAMS="XSLTPARAMS --stringparam ${MYPARAM%=*}"
+- XSLTPARAMS="XSLTPARAMS $MYPARAM#*=}"
++ XSLTPARAMS="$XSLTPARAMS --stringparam ${MYPARAM%=*}"
++ XSLTPARAMS="$XSLTPARAMS $MYPARAM#*=}"
+ shift 2
+ ;;
+ --noclean)
Reply to: