--- docbook-simple-1.1.orig/docbook-simple-1.0/catalog.xml +++ docbook-simple-1.1/docbook-simple-1.0/catalog.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- docbook-simple-1.1.orig/docbook-simple-1.0/catalog +++ docbook-simple-1.1/docbook-simple-1.0/catalog @@ -0,0 +1,46 @@ + -- ...................................................................... -- + -- This catalog was written for the Debian system ....................... -- + -- ...................................................................... -- + + -- ...................................................................... -- + -- Prefer PUBID to SYSID ................................................ -- +OVERRIDE YES + + -- ...................................................................... -- + -- catalog entry for docbook docbook-simple v1.0 ........................ -- +PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN" + "sdocbook.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" + "sdocbook.dtd" +SYSTEM "http://docbook.org/xml/simple/1.0/sdocbook.dtd" + "sdocbook.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook XML V1.0//EN" + "/usr/share/xml/declaration/xml.dcl" + +PUBLIC "-//OASIS//DTD Simplified DocBook XML Customization V1.0//EN" + "sdocbook-custom.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook-custom.dtd" + "sdocbook-custom.dtd" +SYSTEM "http://docbook.org/xml/simple/1.0/sdocbook-custom.dtd" + "sdocbook-custom.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook XML Customization V1.0//EN" + "/usr/share/xml/declaration/xml.dcl" + +PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN" + "sdocbookref.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref.dtd" + "sdocbookref.dtd" +SYSTEM "http://docbook.org/xml/simple/1.0/sdocbookref.dtd" + "sdocbookref.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN" + "/usr/share/xml/declaration/xml.dcl" + +PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN" + "sdocbookref-custom.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref-custom.dtd" + "sdocbookref-custom.dtd" +SYSTEM "http://docbook.org/xml/simple/1.0/sdocbookref-custom.dtd" + "sdocbookref-custom.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN" + "/usr/share/xml/declaration/xml.dcl" + --- docbook-simple-1.1.orig/debian/rules +++ docbook-simple-1.1/debian/rules @@ -0,0 +1,133 @@ +#!/usr/bin/make -f +# rules for docbook-simple + +#export DH_VERBOSE=1 + +PACKAGE := docbook-simple + +include /usr/share/dpatch/dpatch.make + + +debian/docbook-simple.install: + set -ex ; \ + touch $@ ; \ + for dbs in docbook-simple-* ; do \ + dbsver=`echo $${dbs} | sed -e 's/docbook-simple-//g'` ; \ + echo "$${dbs}/catalog.xml usr/share/xml/docbook/custom/simple/$${dbsver}" >> $@ ; \ + echo "$${dbs}/*.mod usr/share/xml/docbook/custom/simple/$${dbsver}" >> $@ ; \ + echo "$${dbs}/sdocbook.dtd usr/share/xml/docbook/custom/simple/$${dbsver}" >> $@ ; \ + echo "$${dbs}/sdocbookref.dtd usr/share/xml/docbook/custom/simple/$${dbsver}" >> $@ ; \ + echo "$${dbs}/*.css usr/share/xml/docbook/custom/simple/$${dbsver}/css" >> $@ ; \ + echo "$${dbs}/sdocbook*-custom.dtd etc/sgml/docbook-simple/$${dbsver}" >> $@ ; \ + echo >> $@ ; \ + done + +debian/docbook-simple.links: + set -ex ; \ + touch $@ ; \ + cat $@.in >> $@ ; \ + for dbs in docbook-simple-*/sdocbook-custom.dtd docbook-simple-*/sdocbookref-custom.dtd ; do \ + dbsdtd=`echo $${dbs} | sed -e 's/docbook-simple-//g'` ; \ + echo -n "etc/sgml/docbook-simple/$${dbsdtd} " >> $@ && \ + echo "usr/share/xml/docbook/custom/simple/$${dbsdtd}" >> $@ ; \ + done + +debian/docbook-simple.sgmlcatalogs: + set -ex ; \ + touch $@ ; \ + for dbs in docbook-simple-* ; do \ + dbsver=`echo $${dbs} | sed -e 's/docbook-simple-//g'` ; \ + echo "$${dbs}/catalog /usr/share/xml/docbook/custom/simple/$${dbsver}/catalog" >> $@ ; \ + done + +debian/docbook-simple.xmlcatalogs: + set -ex ; \ + touch $@ ; \ + cat $@.in >> $@ ; \ + for dbscat in docbook-simple-*/catalog.xml ; do \ + dbsver=`echo $${dbscat} | sed -e 's/docbook-simple-//g' -e 's/\/catalog.xml//g'` ; \ + echo "local;$${dbscat};/usr/share/xml/docbook/custom/simple/$${dbsver}/catalog.xml" >> $@ ; \ + sysids=`egrep -e "> $@ ; \ + done ; \ + pubids=`egrep -e "> $@ ; \ + done ; \ + echo >> $@ ; \ + done ; \ + sed -i -e 's/\ ;\/usr/;\/usr/g' $@ + +build: patch-stamp build-stamp + +build-stamp: debian/docbook-simple.install \ + debian/docbook-simple.links \ + debian/docbook-simple.sgmlcatalogs \ + debian/docbook-simple.xmlcatalogs + dh_testdir + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp patch-stamp + rm -f debian/docbook-simple.install \ + debian/docbook-simple.links \ + debian/docbook-simple.sgmlcatalogs \ + debian/docbook-simple.xmlcatalogs + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + +# Build architecture-independent files here. +binary-arch: build install +# We have nothing to do. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdirs + dh_install + dh_installdocs + dh_installexamples + dh_installchangelogs + dh_link + dh_installcatalogs + dh_installxmlcatalogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + +# This following code is used to create the .orig.tar.gz tarball. +# Use it to prepare it for a new release. + +version=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*/\1/p') + +.PHONY: get-orig-source +get-orig-source: + set -ex ; \ + TMPDIR=`mktemp -d docbook-simple-$(version).orig` ; \ + for dbs in 1.0 1.1 ; do \ + mkdir -p "$$TMPDIR"/docbook-simple-$${dbs} ; \ + dbszip=docbook-simple-$${dbs}.zip ; \ + wget -P "$$TMPDIR" http://www.oasis-open.org/docbook/xml/simple/$${dbs}/"$$dbszip" ; \ + unzip -d "$$TMPDIR"/docbook-simple-$${dbs} "$$TMPDIR"/"$$dbszip" ; \ + rm -f "$$TMPDIR"/"$$dbszip" ; \ + done; \ + find "$$TMPDIR" -type f ! -perm 644 -exec chmod 644 "{}" ";" ; \ + GZIP=-9 tar -czf $(CURDIR)/docbook-simple_${version}.orig.tar.gz "$$TMPDIR" ; \ + rm -rf "$$TMPDIR" + --- docbook-simple-1.1.orig/debian/control +++ docbook-simple-1.1/debian/control @@ -0,0 +1,22 @@ +Source: docbook-simple +Section: text +Priority: optional +Maintainer: Debian XML/SGML Group +Uploaders: Daniel Leidert (dale) +Build-Depends: debhelper (>> 5), dpatch +Build-Depends-Indep: xml-core +Standards-Version: 3.7.3 +Homepage: http://www.oasis-open.org/docbook/xml/simple/ +Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-simple/trunk/ +Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/docbook-simple/trunk/ +DM-Upload-Allowed: yes + +Package: docbook-simple +Architecture: all +Depends: ${misc:Depends}, sgml-data (>= 2.0.2), docbook-xml (>= 4.2-7), xml-core (>= 0.12) +Suggests: docbook-xsl +Replaces: docbook-xml-simple +Description: simplified DocBook XML Doctype and css stylesheets + The Simplified DocBook is a small subset of the DocBook DTD. + It has ~100 elements, rather than the >350 elements in the + full DocBook DTD. A good choice when full DocBook is overkill. --- docbook-simple-1.1.orig/debian/README.Debian +++ docbook-simple-1.1/debian/README.Debian @@ -0,0 +1,104 @@ +docbook-simple for Debian +----------------------------- +The Simplified DocBook XML DTD is a small subset of the DocBook XML DTD +having only ~100 elements. The full version has >350 elements. + +Online documentation of the content models for this dtd is here: + http://www.oasis-open.org/docbook/xml/simple/ + +This DTD only supports simple documents, e.g. 'article' or 'refentry', rather +than the more complex documents like 'book' or 'set' which is supported by the +full docbook DTD. + + +I. How to write an article that uses the Simplified Docbook DTDs: +================================================================== + +Use one of the following two prologs in your XML file to use +the Simplified DocBook Document Type in your document prolog: + +EITHER -------------------------------------------------------------- + + + +
+... +
+ +OR ------------------------------------------------------------------ + +if you wish to customize the Simplified DocBook DTD... + + + +
+... +
+ + + +II. How to write a manual page that uses the Simplified DocBook DTDs: +====================================================================== + +The sdocbookref.dtd (and sdocbookref-custom.dtd) provide a simplified subset +of DocBook to support writing manual pages. + +Use one of the following two prologs in your XML file to use +the Simplified DocBook Document Type in your document prolog: + +EITHER -------------------------------------------------------------- + + + + +... + + + +OR ------------------------------------------------------------------ + +if wish to customize the Simplified Refentry DTD... + + + + +... + + + + +III. How to validate a document that uses the Simplified Docbook DTD: +====================================================================== + +If you have the libxml2 package installed, then you can use the +command 'xmllint' to validate a document. + +The following is the contents of a file named "simple.xml": + + + +
+This is a test. +
+ +Then this document can be validated using: +SGML_CATALOG_FILES=/etc/sgml/catalog xmllint --valid --catalogs simple.xml + +See also the Makefile and examples in /usr/share/doc/docbook-simple/examples/. + +Acknowledgement: This is revision of an extensive README originally written by + Susan Kleinmann . The revision was written by + Mark Johnson and edited by Daniel Leidert. + + -- Daniel Leidert , Sun, 15 Apr 2007 02:01:35 +0200 + --- docbook-simple-1.1.orig/debian/watch +++ docbook-simple-1.1/debian/watch @@ -0,0 +1,4 @@ +# See uscan(1) for format + +version=3 +http://www.oasis-open.org/docbook/xml/simple/1\.([\d]+)/docbook-simple-([\d\.]+).zip --- docbook-simple-1.1.orig/debian/copyright +++ docbook-simple-1.1/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by Mark Johnson on +Mon, 26 Jan 2004 17:46:39 -0500. It is currently maintained by +Daniel Leidert as part of the Debian XML/SGML group. + +It was downloaded from + + http://www.oasis-open.org/docbook/xml/simple/ + + See the get-orig-source target in debian/rules for more information about + the assembling of this package source. + +Upstream Author: + + The DocBook Technical Committee + +Copyright: + + Copyright 1992-2002 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + +License and Warranty: + + Permission to use, copy, modify and distribute the DocBook XML DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the Simplified DocBook DTD in any way, except for + declaring and referencing additional sets of general entities and + declaring additional notations, label your DTD as a variant of + DocBook. See the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + --- docbook-simple-1.1.orig/debian/source.lintian-overrides +++ docbook-simple-1.1/debian/source.lintian-overrides @@ -0,0 +1,3 @@ +## Because this is a compilation of upstream sources and because I don't want +## to create files by a patch system, I hereby overwrite the lintian warnings: +docbook-simple source: patch-system-but-direct-changes-in-diff --- docbook-simple-1.1.orig/debian/docbook-simple.xmlcatalogs.in +++ docbook-simple-1.1/debian/docbook-simple.xmlcatalogs.in @@ -0,0 +1,4 @@ +root;public;-//OASIS//DTD Simplified DocBook +root;system;http://www.oasis-open.org/docbook/xml/simple/ +root;system;http://docbook.org/xml/simple/ + --- docbook-simple-1.1.orig/debian/docbook-simple.dirs +++ docbook-simple-1.1/debian/docbook-simple.dirs @@ -0,0 +1,2 @@ +usr/share/sgml/docbook/custom +etc/sgml/docbook-simple --- docbook-simple-1.1.orig/debian/changelog +++ docbook-simple-1.1/debian/changelog @@ -0,0 +1,173 @@ +docbook-simple (1.1-4.2) unstable; urgency=high + + [ Helmut Grohne ] + * Non-maintainer upload. + * Demote Pre-Depends on xml-core to Depends. It was used to fix upgrades + from etch to lenny, but this is no longer necessary. Closes: #706073. + + -- Julien Cristau Wed, 24 Apr 2013 16:18:01 +0200 + +docbook-simple (1.1-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Rebuild against debhelper (>= 9.20120528) to fix postinst that + unconditionally overwrites files in /etc (see: #477751, closes: #675479). + Thanks to Helmut Grohne for the bug report. + + -- Jakub Wilk Sat, 09 Jun 2012 11:47:26 +0200 + +docbook-simple (1.1-4) unstable; urgency=low + + * debian/compat: Raised to v5. + * debian/control: Vcs fields transition. Added DM-Upload-Allowed. + (Vcs-Svn): Fixed location. + (Build-Depends): Raised debhelper to v5. + (Standards-Version): Raised to 3.7.3. + (Depends): Moved xml-core to Pre-Depends and increased the version to 0.12 + (#482140). + * debian/rules (debian/docbook-simple.install): Fix bashisms. + (debian/docbook-simple.xmlcatalogs): Use `sed -i' and do not create a + temporary file. + * debian/source.lintian-overrides: Added to override + patch-system-but-direct-changes-in-diff warning, because file creation is + intended. + + -- Daniel Leidert (dale) Sun, 26 Oct 2008 14:50:23 +0100 + +docbook-simple (1.1-3) unstable; urgency=low + + * debian/control: Homepage field transition. + * debian/docbook-simple.preinst: Just a small rewrite. + * debian/watch: Added watch file. + + -- Daniel Leidert (dale) Wed, 26 Sep 2007 22:16:05 +0200 + +docbook-simple (1.1-2) unstable; urgency=low + + * docbook-simple-1.0/catalog: Added DTDDECL declarations for convenience. + * docbook-simple-1.1/catalog: Ditto. + * debian/control (Maintainer, Uploaders): Set the Debian XML/SGML team as + maintainer. + * debian/rules: Removed bashisms (closes: #422115). Thanks to Sebastian + Dröge for the report. + + -- Daniel Leidert (dale) Thu, 03 May 2007 19:49:00 +0200 + +docbook-simple (1.1-1) unstable; urgency=low + + * New maintainer, because Mark seems MIA. + * Acknowledge NMU (closes: #232215). Thanks to Arnaud Vandyck. + * Added version 1.1 (closes: #414258). + + [ Daniel Leidert ] + * debian/catalog: Copied to docbook-simple-1.x and removed. + * debian/catalog.xml: Likewise. + * docbook-simple-1.0/catalog: Added and polished. Added docbook.org SYSTEM + IDs. + * docbook-simple-1.0/catalog.xml: Likewise. + * docbook-simple-1.1/catalog: Likewise. + * docbook-simple-1.1/catalog.xml: Likewise. + * debian/control: Added XS-Vcs-* fields. + (Maintainer): Hijacked the package, because Mark seems MIA. + (Uploaders): Added the Debian XML/SGML Group. + (Build-Depends): Added dpatch to apply changes. + (Build-Depends-Indep): Moved debheloper to Build-Depends. + (Standards-Version): Bump to latest standards version 3.7.2. + (Depends): Added sgml-data. + (Description): Fixed a lintian warning for the short description and + improved the wording of the long description. Removed the author + information, that's part of copyright. + * debian/copyright: Updated and polished. + * debian/docbook-simple.dirs: Removed directories created by dh_install. + Added customization directory. + * debian/docbook-simple.examples: Added. Installs the examples from + debian/examples/ to test the DTD and catalogs. + * debian/docbook-simple.install: Removed. Created by debian/rules now. + * debian/docbook-simple.links: Renamed to debian/docbook-simple.links.in. + Removed the 1.0CR2 symlinks. + * debian/docbook-simple.links.in: Added. Contains the static link + information. The non-static content is added by debian/rules. Added the + compatibility symlink from debian/docbook-simple.postinst. + * debian/docbook-simple.postinst: Removed. The interesting directory removal + was moved into debian/docbook-simple.preinst. + * debian/docbook-simple.preinst: Added. See above. + * debian/docbook-simple.postrm: Removed empty debhelper script. + * debian/docbook-simple.prerm: Likewise. + * debian/docbook-simple.sgmlcatalogs: Removed. Created by debian/rules now. + * debian/docbook-simple.xmlcatalogs: Renamed to + debian/docbook-simple.xmlcatalogs.in. + * debian/docbook-simple.xmlcatalogs.in: Added. Contains the static XML + catalog stuff. The non-static content is added by debian/rules. + * debian/README.Debian: Slightly updated. + * debian/rules: Added get-orig-source target to create the tarball. Added + targets to create debian/docbook-simple.install, + debian/docbook-simple.links, debian/docbook-simple.sgmlcatalogs and + debian/docbook-simple.xmlcatalogs. Added dpatch infrastructure. + * debian/examples/*: Added several examples to test the catalogs and DTDs. + The Makefile was taken from the docbook-xml package. + * debian/patches/01_use_the_entities_from_sgml_data.dpatch: Added. + - Uses the entity SYSTEM IDs when installed with sgml-data. + * debian/patches/02_fix_custom_fpi_in_comments.dpatch: Added. + - Fixes the comments in the custom DTD to suggest the csutom version FPIs. + * debian/patches/00list: Added. + + -- Daniel Leidert (dale) Sun, 15 Apr 2007 20:00:04 +0200 + +docbook-simple (1.0.0-6.1) unstable; urgency=low + + * Added Replaces: docbook-xml-simple. (closes: #232215) + * Changed Build-Depends to Build-Depends-Indep + * Added Build-Depends-Indep: xml-core. + + -- Arnaud Vandyck Fri, 19 Mar 2004 16:21:42 +0100 + +docbook-simple (1.0.0-6) unstable; urgency=low + + * Better fix for compatibility symlink. + * Changed rules to use dh_installxmlcatalogs. + + -- Mark Johnson Mon, 9 Feb 2004 18:23:55 -0500 + +docbook-simple (1.0.0-5) unstable; urgency=low + + * Fixed compatibility symlink. + + -- Mark Johnson Fri, 30 Jan 2004 20:56:19 -0500 + +docbook-simple (1.0.0-4) unstable; urgency=low + + * Added dependency on xml-core & xml-base. + + -- Mark Johnson Mon, 26 Jan 2004 18:13:04 -0500 + +docbook-simple (1.0.0-3) unstable; urgency=low + + * Added xml catalog support. + * Changed to debhelper config files. + * Migrated package to /usr/share/xml + + -- Mark Johnson Mon, 26 Jan 2004 17:46:21 -0500 + +docbook-simple (1.0.0-2) unstable; urgency=low + + * Fixed Description formatting in debian/control. + + -- Mark Johnson Wed, 19 Nov 2003 17:59:57 -0500 + +docbook-simple (1.0.0-1) unstable; urgency=low + + * New upstream release. + + -- Mark Johnson Fri, 7 Nov 2003 18:13:10 -0500 + +docbook-simple (1.0cr2-1) unstable; urgency=low + + * New upstream release. (Earlier releases are still available as + docbook-xml-simple.) + + -- Susan Kleinmann Sat, 7 Sep 2002 07:08:34 -0400 + +Local variables: +mode: debian-changelog +End: + --- docbook-simple-1.1.orig/debian/compat +++ docbook-simple-1.1/debian/compat @@ -0,0 +1 @@ +5 --- docbook-simple-1.1.orig/debian/docbook-simple.examples +++ docbook-simple-1.1/debian/docbook-simple.examples @@ -0,0 +1 @@ +debian/examples/* --- docbook-simple-1.1.orig/debian/docbook-simple.links.in +++ docbook-simple-1.1/debian/docbook-simple.links.in @@ -0,0 +1 @@ +usr/share/xml/docbook/custom/simple usr/share/sgml/docbook/custom/simple --- docbook-simple-1.1.orig/debian/docbook-simple.preinst +++ docbook-simple-1.1/debian/docbook-simple.preinst @@ -0,0 +1,15 @@ +#! /bin/sh +# preinst script for docbook-simple +# +# see: dh_installdeb(1) + +set -e + +# workaround the lack of good solution to migrate a directory to a +# compat symlink +if [ -d /usr/share/sgml/docbook/custom/simple ] +then + rm -rf /usr/share/sgml/docbook/custom/simple +fi + +#DEBHELPER# --- docbook-simple-1.1.orig/debian/patches/00list +++ docbook-simple-1.1/debian/patches/00list @@ -0,0 +1,2 @@ +01_use_the_entities_from_sgml_data +02_fix_custom_fpi_in_comments --- docbook-simple-1.1.orig/debian/patches/02_fix_custom_fpi_in_comments.dpatch +++ docbook-simple-1.1/debian/patches/02_fix_custom_fpi_in_comments.dpatch @@ -0,0 +1,92 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_fix_custom_fpi_in_comments.dpatch by Daniel Leidert (dale) +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: * docbook-simple-1.*/*-custom.dtd: If using a customized DTD version, a +## DP: custom FPI should be used to not conflict with the original DTD. So +## DP: this patch simply fixes the starting comment, so people (hopefully) +## DP: do not try to use the same FPI for the customized and original DTD. +## DP: +## DP: + +@DPATCH@ +diff -urNad docbook-simple-1.1~/docbook-simple-1.0/sdocbook-custom.dtd docbook-simple-1.1/docbook-simple-1.0/sdocbook-custom.dtd +--- docbook-simple-1.1~/docbook-simple-1.0/sdocbook-custom.dtd 2003-01-15 23:46:24.000000000 +0100 ++++ docbook-simple-1.1/docbook-simple-1.0/sdocbook-custom.dtd 2007-04-15 03:07:53.000000000 +0200 +@@ -33,13 +33,13 @@ + + +diff -urNad docbook-simple-1.1~/docbook-simple-1.0/sdocbookref-custom.dtd docbook-simple-1.1/docbook-simple-1.0/sdocbookref-custom.dtd +--- docbook-simple-1.1~/docbook-simple-1.0/sdocbookref-custom.dtd 2003-01-15 23:46:24.000000000 +0100 ++++ docbook-simple-1.1/docbook-simple-1.0/sdocbookref-custom.dtd 2007-04-15 03:07:53.000000000 +0200 +@@ -34,13 +34,13 @@ + RefEntry XML DTD. Please use the following formal public identifier + to identify it: + +- "-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN" ++ "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN" + + For example: + + + --> + +diff -urNad docbook-simple-1.1~/docbook-simple-1.1/sdocbook-custom.dtd docbook-simple-1.1/docbook-simple-1.1/sdocbook-custom.dtd +--- docbook-simple-1.1~/docbook-simple-1.1/sdocbook-custom.dtd 2005-04-01 23:04:30.000000000 +0200 ++++ docbook-simple-1.1/docbook-simple-1.1/sdocbook-custom.dtd 2007-04-15 03:07:53.000000000 +0200 +@@ -33,13 +33,13 @@ + + +diff -urNad docbook-simple-1.1~/docbook-simple-1.1/sdocbookref-custom.dtd docbook-simple-1.1/docbook-simple-1.1/sdocbookref-custom.dtd +--- docbook-simple-1.1~/docbook-simple-1.1/sdocbookref-custom.dtd 2005-04-01 23:04:30.000000000 +0200 ++++ docbook-simple-1.1/docbook-simple-1.1/sdocbookref-custom.dtd 2007-04-15 03:07:53.000000000 +0200 +@@ -34,13 +34,13 @@ + RefEntry XML DTD. Please use the following formal public identifier + to identify it: + +- "-//OASIS//DTD Simplified DocBook RefEntry XML V1.1//EN" ++ "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.1//EN" + + For example: + + + --> + --- docbook-simple-1.1.orig/debian/patches/01_use_the_entities_from_sgml_data.dpatch +++ docbook-simple-1.1/debian/patches/01_use_the_entities_from_sgml_data.dpatch @@ -0,0 +1,66 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_use_the_entities_from_sgml_data.dpatch by Daniel Leidert (dale) +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: * docbook-simple-1.*/sdbcent.mod: Reference the SYSTEM-IDs of the +## DP: entities, if installed with the sgml-data package. This should only +## DP: be done as long as http://bugs.debian.org/383507 is not solved. Then +## DP: we should use the online SYSTEM IDs. +## DP: +## DP: +## DP: +## DP: for i in `find . -type f` ; do \ +## DP: sed -e 's/^\"..\/..\/xmlcharent\/iso-/\"\/usr\/share\/xml\/entities\/xml-iso-entities-8879\.1986\/ISO/g' \ +## DP: < $i > $i.new ; \ +## DP: mv $i.new $i ; \ +## DP: done + +@DPATCH@ +diff -urNad docbook-simple-1.1~/docbook-simple-1.0/sdbcent.mod docbook-simple-1.1/docbook-simple-1.0/sdbcent.mod +--- docbook-simple-1.1~/docbook-simple-1.0/sdbcent.mod 2003-01-15 23:46:24.000000000 +0100 ++++ docbook-simple-1.1/docbook-simple-1.0/sdbcent.mod 2007-04-15 02:50:08.000000000 +0200 +@@ -50,17 +50,17 @@ + + ++"/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOlat1.ent"> + %ISOlat1; + + ++"/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOnum.ent"> + %ISOnum; + + ++"/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOpub.ent"> + %ISOpub; + + +diff -urNad docbook-simple-1.1~/docbook-simple-1.1/sdbcent.mod docbook-simple-1.1/docbook-simple-1.1/sdbcent.mod +--- docbook-simple-1.1~/docbook-simple-1.1/sdbcent.mod 2005-04-01 23:04:30.000000000 +0200 ++++ docbook-simple-1.1/docbook-simple-1.1/sdbcent.mod 2007-04-15 02:51:03.000000000 +0200 +@@ -50,17 +50,17 @@ + + ++"/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOlat1.ent"> + %ISOlat1; + + ++"/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOnum.ent"> + %ISOnum; + + ++"/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOpub.ent"> + %ISOpub; + + --- docbook-simple-1.1.orig/debian/examples/test-bad-si-1.0.xml +++ docbook-simple-1.1/debian/examples/test-bad-si-1.0.xml @@ -0,0 +1,10 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-bad-si-1.1.xml +++ docbook-simple-1.1/debian/examples/test-bad-si-1.1.xml @@ -0,0 +1,10 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-si-url-docbook.org-1.1.xml +++ docbook-simple-1.1/debian/examples/test-si-url-docbook.org-1.1.xml @@ -0,0 +1,9 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-si-url-oasis-1.1.xml +++ docbook-simple-1.1/debian/examples/test-si-url-oasis-1.1.xml @@ -0,0 +1,9 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/Makefile +++ docbook-simple-1.1/debian/examples/Makefile @@ -0,0 +1,29 @@ + +SRCS := $(wildcard *.xml) +NSGMLS := $(shell if command -v onsgmls 2>/dev/null; then \ + : ;\ + elif command -v nsgmls 2>/dev/null; then \ + : ;\ + else \ + echo "false" ;\ + echo "warning: no nsgmls found" >&2 ;\ + fi) + +NSGMLSARGS := -m/usr/share/sgml/declaration/xml.soc + +# settings for XML files +export SP_CHARSET_FIXED = YES +export SP_ENCODING = XML + +.PHONY: validate +validate: $(addsuffix .nsgmls,$(SRCS)) $(addsuffix .xmllint,$(SRCS)) + +%.xmllint : % + xmllint --nonet --noout --valid $< + +%.nsgmls : % + $(NSGMLS) -E1 -wxml -wall $(NSGMLSARGS) -gues $< + +.PHONY: clean +clean: + rm -f *.html *~ --- docbook-simple-1.1.orig/debian/examples/test-si-1.1.xml +++ docbook-simple-1.1/debian/examples/test-si-1.1.xml @@ -0,0 +1,9 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-si-url-oasis-1.0.xml +++ docbook-simple-1.1/debian/examples/test-si-url-oasis-1.0.xml @@ -0,0 +1,9 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-custom-1.1.xml +++ docbook-simple-1.1/debian/examples/test-custom-1.1.xml @@ -0,0 +1,10 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-si-url-docbook.org-1.0.xml +++ docbook-simple-1.1/debian/examples/test-si-url-docbook.org-1.0.xml @@ -0,0 +1,9 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-custom-1.0.xml +++ docbook-simple-1.1/debian/examples/test-custom-1.0.xml @@ -0,0 +1,10 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-si-1.0.xml +++ docbook-simple-1.1/debian/examples/test-si-1.0.xml @@ -0,0 +1,9 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-1.0.xml +++ docbook-simple-1.1/debian/examples/test-1.0.xml @@ -0,0 +1,10 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/debian/examples/test-1.1.xml +++ docbook-simple-1.1/debian/examples/test-1.1.xml @@ -0,0 +1,10 @@ + + +
+ foo +
+ bar + foo +
+
--- docbook-simple-1.1.orig/docbook-simple-1.1/catalog.xml +++ docbook-simple-1.1/docbook-simple-1.1/catalog.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- docbook-simple-1.1.orig/docbook-simple-1.1/catalog +++ docbook-simple-1.1/docbook-simple-1.1/catalog @@ -0,0 +1,46 @@ + -- ...................................................................... -- + -- This catalog was written for the Debian system ....................... -- + -- ...................................................................... -- + + -- ...................................................................... -- + -- Prefer PUBID to SYSID ................................................ -- +OVERRIDE YES + + -- ...................................................................... -- + -- catalog entry for docbook docbook-simple v1.1 ........................ -- +PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.1//EN" + "sdocbook.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbook.dtd" + "sdocbook.dtd" +SYSTEM "http://docbook.org/xml/simple/1.1/sdocbook.dtd" + "sdocbook.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook XML V1.1//EN" + "/usr/share/xml/declaration/xml.dcl" + +PUBLIC "-//OASIS//DTD Simplified DocBook XML Customization V1.1//EN" + "sdocbook-custom.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbook-custom.dtd" + "sdocbook-custom.dtd" +SYSTEM "http://docbook.org/xml/simple/1.1/sdocbook-custom.dtd" + "sdocbook-custom.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook XML Customization V1.1//EN" + "/usr/share/xml/declaration/xml.dcl" + +PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML V1.1//EN" + "sdocbookref.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbookref.dtd" + "sdocbookref.dtd" +SYSTEM "http://docbook.org/xml/simple/1.1/sdocbookref.dtd" + "sdocbookref.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook RefEntry XML V1.1//EN" + "/usr/share/xml/declaration/xml.dcl" + +PUBLIC "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.1//EN" + "sdocbookref-custom.dtd" +SYSTEM "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbookref-custom.dtd" + "sdocbookref-custom.dtd" +SYSTEM "http://docbook.org/xml/simple/1.1/sdocbookref-custom.dtd" + "sdocbookref-custom.dtd" +DTDDECL "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.1//EN" + "/usr/share/xml/declaration/xml.dcl" +