--- docbook2x-0.8.8.orig/debian/changelog +++ docbook2x-0.8.8/debian/changelog @@ -0,0 +1,219 @@ +docbook2x (0.8.8-8) unstable; urgency=low + + * debian/rules (binary-post-install): Fix manpages to talk about the renamed + commands. + + -- Daniel Leidert (dale) Sat, 06 Sep 2008 10:59:50 +0200 + +docbook2x (0.8.8-7) unstable; urgency=low + + * debian/docbook2x.doc-base (Section): Fixed accordingly to version 0.8.10 + of the doc-base manual. + * debian/watch: Fixed. + + -- Daniel Leidert (dale) Tue, 08 Jul 2008 14:53:08 +0200 + +docbook2x (0.8.8-6) unstable; urgency=low + + * debian/compat: Raised to v5. + * debian/control: Added DM-Upload-Allowed for DM status. + (Build-Depends): Raised debhelper to v5. + (Standards-Version): Raised to 3.7.3. + * debian/copyright: Fixed typo. Thanks to lintian. + * debian/docbook2x.doc-base (Document): Fixed uppercase letter. Thanks to + lintian. + * debian/patches/05_fix_439214_error_on_missing_refentry.dpatch: Added. + - xslt/man/docbook.xsl: Print a warning if no refentry element can be + found (closes: #439214). + * debian/patches/00list: Adjusted. + + -- Daniel Leidert (dale) Wed, 13 Feb 2008 18:08:08 +0100 + +docbook2x (0.8.8-5) unstable; urgency=low + + * debian/control: Homepage field transition. + * debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Added --with-html-xsl configure + option to prevent docbook2X FTBFS building twice in a row. Thanks to + Steven Cheng, Patrick Winnertz and Lucas Nussbaum (closes: #441700). + * debian/watch: Added. + * debian/patches/01_fix_static_datadir_evaluation.dpatch: Adjusted. + - Removed change in configure.ac to avoid rerunning all the autotools. + * debian/patches/04_fix_442782_preprocessor_declaration_syntax.dpatch: Added. + - Fixes preprocessor declaration syntax to be '\" (closes: #442782). + Thanks to Colin Watson for the report and the patch. + * debian/patches/00list: Adjusted. + + -- Daniel Leidert (dale) Sun, 25 Nov 2007 03:40:18 +0000 + +docbook2x (0.8.8-4) unstable; urgency=high + + [ Daniel Leidert ] + * debian/control (Depends): Added xsltproc. Thanks to Peter Eisentraut and + Adeodato Simó for the hint (closes: #420345). Further added the necessary + sp | opensp and texinfo dependencies. + * debian/patches/03_fix_420153_filename_whitespace_handling.dpatch: Added. + - First normalize the refentrytitle content and then replace spaces with + underlines to create the manpage filename (closes: #420153). Thanks to + Peter Eisentraut for reporting this issue. + * debian/patches/00list: Adjusted. + - Added 03_fix_420153_filename_whitespace_handling.dpatch. + + -- Daniel Leidert (dale) Sat, 21 Apr 2007 21:05:46 +0200 + +docbook2x (0.8.8-3) unstable; urgency=high + + [ Daniel Leidert ] + * debian/control (Depends): Added ${misc:Depends} variable to fix missing + dependency on xml-core (closes: #419419). Thanks to Kurt Roeckx for the + report. + + -- Daniel Leidert (dale) Sun, 15 Apr 2007 19:10:50 +0200 + +docbook2x (0.8.8-2) unstable; urgency=high + + [ Daniel Leidert ] + * debian/control (Build-Depends): Added xml-core and re-added dpatch.. + * debian/docbook2x.xmlcatalogs: Added to register XML catalogs. + * debian/rules: Re-added dpatch ruleset. + (binary-install/docbook2x): Register the XML catalogs shipped with the + package source (closes: #418703). + * debian/patches/01_fix_static_datadir_evaluation.dpatch: Added. Fixes the + broken ${datadir} evaluation in configure(.ac) that leads to an unusable + package. + * debian/patches/02_fix_418703_dont_use_abbreviated_sfnet_address.dpatch: + Added. Don't use the short sf.net URLs. This with the above issue probably + caused bug #418703. However, having the catalogs registered was already in + TODO. + * debian/patches/00list: Adjusted. + + -- Daniel Leidert (dale) Thu, 12 Apr 2007 16:27:10 +0200 + +docbook2x (0.8.8-1) unstable; urgency=low + + * New upstream version 0.8.8. + * Upload to unstable (closes: #409524). + + [ Daniel Leidert ] + * debian/control: Added XS-Vcs-Browser and XS-Vcs-Svn fields. + (Build-Depends): Removed dpatch dependency. + * debian/rules: Removed dpatch ruleset inclusion. + (binary-install/docbook2x): Added the upstream changelog as well. + * debian/patches/00list: + * debian/patches/01_add_missing_documentation.dpatch: Removed. Fixed + upstream. + + -- Daniel Leidert (dale) Tue, 10 Apr 2007 22:54:42 +0200 + +docbook2x (0.8.7-1) experimental; urgency=low + + * New upstream release 0.8.7 (closes: #292046). + - This release also doesn't fail to build any longer with the latest + libxml-sax-perl (closes: #409524). + + [ Daniel Leidert ] + * debian/control (Uploaders): Added myself. + (Build-Depends): Added dpatch, opensp, sp and xsltproc and removed + libxslt1-dev. + (Build-Conflicts): Added tidy to avoid further tests. + * debian/copyright: Small update. + * debian/docbook2x.doc-base: Added for registering the docbook2X HTML docs + with doc-base. + * debian/rules: Removed simple-patchsys.mk inclusion and made the makefile + smaller. Added the dpatch ruleset to apply changes. + (common-install-prehook-arch, binary-install): Fixed. The info files come + with a INFO-DIR-SECTION entry. Further there is also info documentation + for the xslt stylesheets. + (binary-post-install): Removed a lot of obsolete stuff. The Perl stuff is + not longer installed. No CVS content is installed. + (binary-post-install, DEB_CONFIGURE_EXTRA_FLAGS): Replaced the manual + program/man-page renaming with adding --program-transform-name to + configure flags. + (clean): Removed unused stuff and improved the rest a bit. + * debian/patches/01_add_missing_documentation.dpatch: Added. + - This patch adds the missing docbook2{man,texi}.html files to the + documentation. + * debian/patches/00list: Added. Apply patch(es). + + -- Daniel Leidert (dale) Sun, 25 Feb 2007 22:28:34 +0100 + +docbook2x (0.8.3-1) unstable; urgency=low + + * New upstream release. Removed all the patches that used to be in + debian/patches, since they have been applied upstream. + * debian/control: + - In Build-Depends, dropped libxml-perl and added libxml-sax-perl. + - Added Build-Conflicts on libxml2-utils, because the presence of + /usr/bin/xmllint triggers unecessary buildings in the doc + directory. + * debian/rules: Added an extra clean target for files left after building + the upstream package that are not removed by make clean. Also, make + sure that debian/examples is clean. + + -- Rafael Laboissiere Sun, 18 Jul 2004 22:24:57 +0200 + +docbook2x (0.8.2-6) unstable; urgency=low + + * debian/control: Added dependencies on ${perl:Depends}, libxml-perl, + and libtext-wrapi18n-perl. The variable ${perl:Depends} is set by + dh_perl. + + -- Rafael Laboissiere Thu, 29 Apr 2004 14:32:06 +0200 + +docbook2x (0.8.2-5) unstable; urgency=low + + * debian/patches/50-malocc-return.patch: Added this patch to fix a + serious upstream bug which was preventing the package of being built + by the ia64, hppa, sparc, and powerpc build daemons. + + -- Rafael Laboissiere Thu, 29 Apr 2004 12:12:12 +0200 + +docbook2x (0.8.2-4) unstable; urgency=low + + * debian/control: Added build-dependency on texinfo, since the makeinfo + program is needed for building the package. + + -- Rafael Laboissiere Sun, 25 Apr 2004 21:29:15 +0200 + +docbook2x (0.8.2-3) unstable; urgency=low + + * debian/control: Added build-dependency on libxml-perl. + + -- Rafael Laboissiere Sun, 25 Apr 2004 17:09:09 +0200 + +docbook2x (0.8.2-2) unstable; urgency=low + + * debian/patches/50-gentext-dingbat-template.patch: Patch for + xslt/common/gentext.xsl, defining the lacking gentext-dingbat template + (closes: #245340). + * debian/patches/50-i-element.patch: Patch for xslt/texi/biblio.xsl, + fixing wrong elements (closes: #245343). + * debian/patches/50-xml-fixes.patch: Patch for fixing XML problems in + the upstream files doc/docbook2X.xml and doc/faq.xml. + * debian/rules: + - Include cdbs' simple-patchsys.mk for coping with the patches above. + - Removed hard-coded Perl version from some installation directories + names. There is now a PERL_INSTALLPRIVLIB variable, properly + initialized through the Perl Config module (closes: #245291). + - Install Perl module in standard place, complying with the Debian + Perl Policy (closes: #245305). + - Run make clean in perl/XML/Handler directory to avoid inclusion of + extraneous patches in the Debian diff.gz file. Remove also + Makefile.old. + * debian/control: + - Added versioned build-dependency on libxslt1-dev. Also, changed + Build-Depends-Indep to Build-Depends, since the package is + Architecture: any (closes: #245285). + - Cite upstream URL homepage in debian/control in accordance with the + Debian Best Packaging Practices manual (closes: #245447) + - Added Uploaders field with Ardo, Wolfgang, and Rafael. + + -- Rafael Laboissiere Sun, 25 Apr 2004 14:45:14 +0200 + +docbook2x (0.8.2-1) unstable; urgency=low + + * Initial package. Closes: #185295. + * The file install.xml is missing from the upstream archive, but is + available at the web site. + * Beware: can only be handled with defaultlabel attribute. + + -- W. Borgert Sat, 13 Mar 2004 09:41:07 +0000 --- docbook2x-0.8.8.orig/debian/control +++ docbook2x-0.8.8/debian/control @@ -0,0 +1,23 @@ +Source: docbook2x +Section: text +Priority: optional +Maintainer: Debian XML/SGML Group +Uploaders: Ardo van Rangelrooij , W. Borgert , Rafael Laboissiere , Daniel Leidert (dale) +Build-Depends: debhelper (>= 5), cdbs (>= 0.4.21), dpatch, libxml-sax-perl, opensp, sp, texinfo, xml-core, xsltproc +Build-Conflicts: libxml2-utils, tidy +Standards-Version: 3.7.3 +Homepage: http://docbook2x.sourceforge.net +Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook2x/trunk/ +Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/docbook2x/ +DM-Upload-Allowed: yes + +Package: docbook2x +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libxml-sax-expat-perl, libtext-wrapi18n-perl, opensp | sp, texinfo, xsltproc +Recommends: docbook-xml, docbook-xsl +Description: Converts DocBook/XML documents into man pages and TeXinfo + The main tools are: + * docbook2x-man: converts a DocBook/XML refentry into a manual page, + with table support + * docbook2x-texi: converts a DocBook/XML refentry into an info page, + most usable for Emacs users --- docbook2x-0.8.8.orig/debian/compat +++ docbook2x-0.8.8/debian/compat @@ -0,0 +1 @@ +5 --- docbook2x-0.8.8.orig/debian/TODO +++ docbook2x-0.8.8/debian/TODO @@ -0,0 +1,22 @@ +Things that should (IMHO definitely) be done in the near future: + + * make the package XML policy compliant. + + - move the stylesheets and DTDs into /usr/share/xml + + * solve the conflict with the docbook-utils package binaries + (including: man-pages and docs currently use the names chosen by upstream, + not "our" tranformed binary names) + + * the man-pages contain references to files in /usr/share + [.. citing Steve Cheng ..] So you have two choices: + + 1. You can either use a sed script afterwards to fix the paths in the + installed man pages (and HTML, Texinfo documentation). + + 2. Or, force the rebuild of the documentation at your end. + After running the configure --with-html-xsl, touch doc/docbook2X.xml and + then make. (Note: don't use VPATH builds in this situation; it breaks.) + Of course you will need the xsltproc and the DocBook XSL stylesheets for + this procedure. [..] + --- docbook2x-0.8.8.orig/debian/watch +++ docbook2x-0.8.8/debian/watch @@ -0,0 +1,4 @@ +# See uscan(1) for format + +version=3 +http://sf.net/docbook2x/docbook2X-([\d\.]+)\.tar\.gz --- docbook2x-0.8.8.orig/debian/docbook2x.doc-base +++ docbook2x-0.8.8/debian/docbook2x.doc-base @@ -0,0 +1,13 @@ +Document: docbook2x +Title: docbook2X user documentation +Author: Steve Cheng +Abstract: docbook2X converts DocBook documents into man pages and + Texinfo documents. This documentation contains the man-pages, a + quick start guide, the FAQ and some information about the + project (history). +Section: Text + +Format: HTML +Index: /usr/share/doc/docbook2x/docbook2X/docbook2X.html +Files: /usr/share/doc/docbook2x/docbook2X/*.html + --- docbook2x-0.8.8.orig/debian/docbook2x.xmlcatalogs +++ docbook2x-0.8.8/debian/docbook2x.xmlcatalogs @@ -0,0 +1,19 @@ +root;public;-//Steve Cheng//DTD +root;public;-//Steve Cheng//DOCUMENT DocBook + +root;system;http://docbook2x.sf.net/latest/ +root;system;http://docbook2x.sourceforge.net/latest/ + +local;dtd/catalog.xml;/usr/share/docbook2X/dtd/catalog.xml +local;xslt/catalog.xml;/usr/share/docbook2X/xslt/catalog.xml + +package;public;-//Steve Cheng//DTD Man-XML V0.8.6//EN;/usr/share/docbook2X/dtd/catalog.xml +package;public;-//Steve Cheng//DTD Texi-XML V0.8.6//EN;/usr/share/docbook2X/dtd/catalog.xml +package;system;http://docbook2x.sourceforge.net/latest/dtd/;/usr/share/docbook2X/dtd/catalog.xml +package;system;http://docbook2x.sf.net/latest/dtd/;/usr/share/docbook2X/dtd/catalog.xml + +package;public;-//Steve Cheng//DOCUMENT DocBook Texinfo Stylesheet//EN;/usr/share/docbook2X/xslt/catalog.xml +package;public;-//Steve Cheng//DOCUMENT DocBook Man-page Stylesheet//EN;/usr/share/docbook2X/xslt/catalog.xml +package;system;http://docbook2x.sourceforge.net/latest/xslt/;/usr/share/docbook2X/xslt/catalog.xml +package;system;http://docbook2x.sf.net/latest/xslt/;/usr/share/docbook2X/xslt/catalog.xml + --- docbook2x-0.8.8.orig/debian/docbook2x.examples +++ docbook2x-0.8.8/debian/docbook2x.examples @@ -0,0 +1 @@ +debian/examples/* --- docbook2x-0.8.8.orig/debian/copyright +++ docbook2x-0.8.8/debian/copyright @@ -0,0 +1,67 @@ +This package was debianized by W. Borgert on +Sat, 2004-03-13 17:04:55 GMT 2004. + +It was downloaded from Sourceforge: + + + +Upstream Author: + + Steve Cheng + +Copyright: + + Copyright (C) 2000-2006 Steve Cheng . + + Parts have been derived from the docbook-xsl stylesheet distribution, that + is: + + Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh. + +License and Warranty for docbook2X: + + 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. + + 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 THE AUTHOR(S) 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 DEALNGS IN THE SOFTWARE. + +License and Warranty for derived parts: + + 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 al 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 s that + no possibility of confusion between the derived package and this + Software will exist. + --- docbook2x-0.8.8.orig/debian/rules +++ docbook2x-0.8.8/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/class/autotools.mk + + +PACKAGE := docbook2x + +DEB_CONFIGURE_EXTRA_FLAGS := --program-transform-name="s/^docbook2/docbook2x-/" --with-html-xsl + + +common-install-prehook-arch:: + sed "s/^INFO-DIR-SECTION Document Preparation/INFO-DIR-SECTION Text/" \ + doc/docbook2X.info > debian/docbook2X.info + sed "s/^INFO-DIR-SECTION Document Preparation/INFO-DIR-SECTION Text/" \ + xslt/documentation/docbook2man-xslt.info > debian/docbook2man-xslt.info + sed "s/^INFO-DIR-SECTION Document Preparation/INFO-DIR-SECTION Text/" \ + xslt/documentation/docbook2texi-xslt.info > debian/docbook2texi-xslt.info + +binary-install/docbook2x:: + dh_installinfo -pdocbook2x debian/docbook2X.info \ + debian/docbook2man-xslt.info \ + debian/docbook2texi-xslt.info + dh_installchangelogs doc/changes.html + dh_installxmlcatalogs + +binary-post-install/docbook2x:: + mv $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/docbook2X \ + $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/docbook2x + sed -i -e 's/docbook2man/docbook2x\\-man/g' \ + $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man1/docbook2x-man.1 + sed -i -e 's/docbook2texi/docbook2x\\-texi/g' \ + $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man1/docbook2x-texi.1 + +clean:: + make -C debian/examples clean + rm -f debian/docbook2X.info --- docbook2x-0.8.8.orig/debian/patches/00list +++ docbook2x-0.8.8/debian/patches/00list @@ -0,0 +1,5 @@ +01_fix_static_datadir_evaluation +02_fix_418703_dont_use_abbreviated_sfnet_address +03_fix_420153_filename_whitespace_handling +04_fix_442782_preprocessor_declaration_syntax +05_fix_439214_error_on_missing_refentry --- docbook2x-0.8.8.orig/debian/patches/03_fix_420153_filename_whitespace_handling +++ docbook2x-0.8.8/debian/patches/03_fix_420153_filename_whitespace_handling @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_fix_420153_filename_whitespace_handling.dpatch by +## Daniel Leidert (dale) +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Peter Eisentraut reported a regression in the whitespace handling of +## DP: refentrytitle content during filename creation: +## DP: http://bugs.debian.org/420153. The problem is, that upstream first +## DP: replaces all spaces (but not linebreaks btw) with underlines and then +## DP: it tries to normalize the result. This means, that a linebreak with +## DP: additional whitespaces results in manpage names like 'foo_ ____bar.9'. +## DP: So what we basically do in this patch is, that we first normalize the +## DP: refentrytitle and then replace any spaces left with underlines. + +@DPATCH@ +diff -urNad docbook2x-0.8.8~/xslt/man/manpage.xsl docbook2x-0.8.8/xslt/man/manpage.xsl +--- docbook2x-0.8.8~/xslt/man/manpage.xsl 2006-04-20 15:45:55.000000000 +0200 ++++ docbook2x-0.8.8/xslt/man/manpage.xsl 2007-04-20 16:19:28.000000000 +0200 +@@ -30,7 +30,7 @@ + + + +- ++ + + + +diff -urNad docbook2x-0.8.8~/xslt/man/refentry.xsl docbook2x-0.8.8/xslt/man/refentry.xsl +--- docbook2x-0.8.8~/xslt/man/refentry.xsl 2006-04-21 04:39:55.000000000 +0200 ++++ docbook2x-0.8.8/xslt/man/refentry.xsl 2007-04-20 16:21:53.000000000 +0200 +@@ -38,7 +38,11 @@ + + + +- ++ ++ ++ ++ ++ + + + + + + &emacs; modes for protocol testing languages + TTCN-3 mode +
+ debacle@debian.org +
+ + W. + Borgert + + + 2000 + W. Borgert + + 2000-07-28 +
+ + ttcn-el + + 7 + Development + + + ttcn-el + + &emacs; modes for protocol testing languages. + + + + ttcn-3-mode + + + ttcn-mode + + + tm-functions + + + + Description + + The programming modes ttcn-3-mode, + ttcn-mode, and + tm-functions for &emacs; are for programming + in the &ttcn3;, core language (Testing and Test Control Notation + - 3), &ttcnmp; format (Tree and Tabulart Combined Notation), or + the Test Manager scripts, an enhancement to the Forth + programming language, used in the Tektronix + K1297 protocol tester. + + The &ttcn3; programming mode + (ttcn-3-mode, file + ttcn3.el) does indentation, code + colourisation (so-called font-locking) and gives you an index of + test cases and other important definitions via the + Module-Index. With the command + ttcn3-parse you can run an external + TTCN3Parser or ttthreeparser, if available. The keywords are + according to the TTCN-3 BNF of 2001-10. To switch off the logo + splash screen, set the variable + ttcn3-show-logo to nil + in your ~/.emacs file. The logo is by + Patrick Andrieu, the ASCII art version by W. Borgert. This mode + is based on CC Mode, please look in + the CC Mode documentation for further + information. + + The &ttcnmp; programming mode (ttcn-mode, + file ttcn.el) is not for writing test + suites from scratch, but for fixing small errors or doing little + changes or just looking at the MP format. No indentation is + done, but some code colourisation, an index, and a menu with + some navigation functions are given. Note: For large test + suites startup might become very slow. + + If one want that &emacs; treats files with the + .mp extension automatically as + &ttcnmp; files instead of MetaPost files, add the following + lines to your ~/.emacs file: + (setq auto-mode-alist + (cons '("\\.mp\\'" . ttcn-mode) auto-mode-alist)) + + + The Test Manager programming functions + (tm-functions, file tm.el)is + an addition to the Forth programming mode + (forth-mode, file + forth.el). It includes only minor + additions to the regular Forth mode, i.e. font-locking, index + menu, and support of the Test Manager specific words. + + To enable the tm-functions by default, + add the following line to your + ~/.emacs: + (add-hook 'forth-mode-hook 'tm-functions) + + + + + Files + + All lisp source files are in + /usr/share/emacs/site-lisp/ttcn-el/. + + + Author + + These programmes are made by W. + Borgert + <debacle@debian.org>, as well as this + documentation. + + + + Thanks + + All important ideas and some code are taken from other + &emacs; modes, and adapted to work with TTCN-3, &ttcnmp; and + Test Manager files. Thanks to Csaba Koppany and Theofanis + Vassiliou-Gioles for valuable hints on current TTCN-3 keywords + and regular expressions. + + + + Copyright + + Copyright 2000 W. Borgert and released under the + GNU General Public License + (GPL). Permission is granted to copy, + distribute and/or modify this document under the terms of the + GNU Free Documentation License, Version 1.1; + with no Invariant Sections, no Front-Cover Texts and no + Back-Cover Texts. + + + Bugs + + The indentation is not correct in many cases. + + + History + + Version 0.6 released on 2001-10-10. Updated + keywords. + + Version 0.5 released on 2001-05-05. Updated + keywords. + + Version 0.4 released on 2001-02-02. Calls external + parser. + + Version 0.3 released on 2001-01-31. + ttcn3.el should now work with GNU Emacs + 21.0 and XEmacs 21.1, too. + + Version 0.2 released on 2000-07-28. Includes updates for + &ttcn3; keywords in ttcn3.el and makes + tm.el a function library instead of a major + mode. + + Version 0.1 released on 2000-03-31. Initial release. + +
--- docbook2x-0.8.8.orig/debian/examples/Makefile +++ docbook2x-0.8.8/debian/examples/Makefile @@ -0,0 +1,29 @@ +# -*- makefile -*- + +# Notes: +# 1. you must have package libxml2-python2.3 installed +# 2. your document must have a titleabbrev in the refentryinfo +# 3. your document must have a refmiscinfo with role=infodirsection + +XTR=python -c 'import sys, libxml2; \ +print libxml2.parseFile(sys.argv[1]).xpathEval(sys.argv[2])[0].content' + +all: $(patsubst %.dbk,%.info,$(wildcard *.dbk)) + +%.info: %.dbk + docbook2x-texi --info --to-stdout $< | \ + awk -v base=`basename $< .dbk` \ + -v sect="`${XTR} $< '//refmiscinfo[@role="infodirsection"]'`" \ + -v title="`${XTR} $< '/refentry/refentryinfo/titleabbrev'`" \ + 'BEGIN { p=1 } \ + /^START-INFO-DIR-ENTRY/ { print \ + "INFO-DIR-SECTION " sect "\n" $$0; p=0 } \ + /^END-INFO-DIR-ENTRY/ { p=1 } \ + /^\* / { if (p==0) { gsub(/.*\./, ""); \ + print "* " title ": (" base ")." $$0 } } \ + /^File: stdout,/ { if (p==1) { \ + gsub(/File: stdout/, "File: " base ".info"); p=2 } } \ + { if (p) { print } }' > $@ + +clean:: + rm -f *.info *~