tags 393665 patch thanks Hi,
this is the situation: - db2latex-xsl is RC buggy, dead upstream and should be superceded by dblatex - There is only one dependency on it left in the archive (sarge, sid and testing[1]), and this is cdbs - cdbs can build its documentation with dblatex as well. The patch for this is by W. Borgert <[EMAIL PROTECTED]>, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327616;msg=25 I have refined it (only one small change that was already suggested by Wolfgang) and attach it again here fo reference. - The problems mentioned later in #327616 by Andreas Hoehnen, the fact that the PS documentation cannot be created, is not an issue: cdbs does not want to create PS documentation. Moreover, the error is small, well-known and easy to fix, I've reported a bug against dblatex, with a patch. Taking this together, I think there is no reason not to apply the attached patch in an upload of cdbs targetted at testing, and after that removing db2latex-xsl again (and getting the RC bug count down by 1 more). And while we're at it, db2latex-xsl should be removed from the complete archive. Note that the so-called maintainer of that package, Debian XML/SGML Group <[EMAIL PROTECTED]>, never revealed themselves in this whole thing, and probably nobody cares any more. Its other RC bug was fixed by me in an NMU and has not been acknowledged since 10 months. Regards, Frank [1] as shown by $ grep-dctrl -s Package \ > \( -F Build-Depends db2latex-xsl \) -o \ > \( -F Build-Depends-Indep db2latex-xsl \) -o \ > \( -F Depends db2latex-xsl \) -o \ > \( -F Recommends db2latex-xsl \) -o \ > \( -F Suggests db2latex-xsl \) \ > /var/lib/apt/lists/*Sources Package: cdbs Package: cdbs $ -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)
diff -Nur cdbs-0.4.46.orig/debian/control cdbs-0.4.46.new/debian/control --- cdbs-0.4.46.orig/debian/control 2006-07-13 22:35:07.000000000 +0200 +++ cdbs-0.4.46.new/debian/control 2006-10-25 17:59:59.000000000 +0200 @@ -2,7 +2,7 @@ Section: devel Priority: optional Maintainer: CDBS Hackers <[EMAIL PROTECTED]> -Build-Depends-Indep: debhelper (>= 5), graphviz, realpath, fakeroot, python-dev, python2.3, python2.4, libxml2-utils, xsltproc, docbook-xml, docbook-xsl, db2latex-xsl, tetex-extra, ant, kaffe, sharutils, gs-common +Build-Depends-Indep: debhelper (>= 5), graphviz, realpath, fakeroot, python-dev, python2.3, python2.4, libxml2-utils, xsltproc, docbook-xml, docbook-xsl, dblatex, ant, kaffe, sharutils, gs-common Uploaders: Jeff Bailey <[EMAIL PROTECTED]>, Jonas Smedegaard <[EMAIL PROTECTED]>, Marc Dequènes (Duck) <[EMAIL PROTECTED]>, Peter Eisentraut <[EMAIL PROTECTED]> Standards-Version: 3.7.2 diff -Nur cdbs-0.4.46.orig/doc/cdbs-doc-latex.xsl cdbs-0.4.46.new/doc/cdbs-doc-latex.xsl --- cdbs-0.4.46.orig/doc/cdbs-doc-latex.xsl 2006-06-13 23:28:26.000000000 +0200 +++ cdbs-0.4.46.new/doc/cdbs-doc-latex.xsl 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0' - xmlns="http://www.w3.org/TR/xhtml1/transitional" - exclude-result-prefixes="#default"> - -<xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/> - -<xsl:variable name="use.extentions">1</xsl:variable> -<xsl:variable name="latex.use.parskip">1</xsl:variable> -<xsl:variable name="admon.graphics.path">/usr/share/xml/docbook/stylesheet/db2latex/latex/figures</xsl:variable> -<xsl:variable name="l10n.gentext.default.language">en</xsl:variable> -<xsl:variable name="latex.documentclass.common"></xsl:variable> -<xsl:variable name="latex.babel.language"></xsl:variable> -<xsl:template name="latex.float.preamble" /> - -</xsl:stylesheet> diff -Nur cdbs-0.4.46.orig/doc/cdbs-doc.xml cdbs-0.4.46.new/doc/cdbs-doc.xml --- cdbs-0.4.46.orig/doc/cdbs-doc.xml 2006-06-13 00:24:07.000000000 +0200 +++ cdbs-0.4.46.new/doc/cdbs-doc.xml 2006-10-25 18:02:36.000000000 +0200 @@ -2303,7 +2303,7 @@ xsltproc (from <ulink url="http://xmlsoft.org/XSLT/">libxslt</ulink>), using the <ulink url="http://nwalsh.com/">N. Walsh</ulink> and <ulink - url="http://db2latex.sourceforge.net/">DB2LaTeX</ulink> XLST + url="http://dblatex.sourceforge.net/">dblatex</ulink> XLST stylesheets, and converted with <ulink url="http://www.latex-project.org/">LaTeX</ulink> tools (latex, mkindex, pdflatex & dvips) / <ulink diff -Nur cdbs-0.4.46.orig/doc/Makefile cdbs-0.4.46.new/doc/Makefile --- cdbs-0.4.46.orig/doc/Makefile 2006-06-14 00:22:54.000000000 +0200 +++ cdbs-0.4.46.new/doc/Makefile 2006-10-25 17:59:59.000000000 +0200 @@ -3,35 +3,20 @@ graphics = buildcore depgraph xmllint-stamp-%: %.xml - xmllint --xinclude --postvalid --noblanks --noout $< + xmllint --nonet --xinclude --postvalid --noblanks --noout $< touch $@ html: cdbs-doc.html %.html: %.xml xmllint-stamp-% cdbs-doc-xhtml.xsl $(graphics:%=%.png) - xsltproc --xinclude -o $@ cdbs-doc-xhtml.xsl $< - -%.tex-pdf: %.xml xmllint-stamp-% cdbs-doc-latex.xsl - xsltproc --xinclude --stringparam graphic.default.extension pdf -o $@ cdbs-doc-latex.xsl $< - -%.tex-ps: %.xml xmllint-stamp-% cdbs-doc-latex.xsl - xsltproc --xinclude --stringparam graphic.default.extension eps -o $@ cdbs-doc-latex.xsl $< - -dvi: cdbs-doc.dvi -%.dvi: %.tex-ps $(graphics:%=%.eps) -# 3 passes to avoid undefined references - latex $< - mkindex $< - latex $< - latex $< + xsltproc --nonet --xinclude -o $@ cdbs-doc-xhtml.xsl $< pdf: cdbs-doc.pdf -%.pdf: %.tex-pdf $(graphics:%=%.pdf) - pdflatex $< - pdflatex $< +%.pdf: %.xml xmllint-stamp-% $(graphics:%=%.pdf) + dblatex -T db2latex $< ps: cdbs-doc.ps -%.ps: %.dvi - dvips $< +%.ps: %.xml xmllint-stamp-% $(graphics:%=%.eps) + dblatex -T db2latex -t ps -f eps $< txt: cdbs-doc.txt %.txt: %.html