debian/0000755000000000000000000000000011770174352007175 5ustar debian/watch0000644000000000000000000000131611770174333010226 0ustar # See uscan(1) for format # # NOTE: You need to call the get-orig-source target in debian/rules. # NOTE: uupdate will *NOT* work, because we need to get the source from SVN. version=3 opts=\ uversionmangle=s/^/2.0.17+svn/,\ downloadurlmangle=s#\?view.*$#/trunk/defguide.tar.gz\?view=tar#,\ filenamemangle=s#^.*revision=(\d+)$#docbook-defguide-2.0.17+svn$1.tar.gz# \ http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/defguide/ .*revision=(\d+)$ # TODO: parent=1 auf en/ # http://viewvc.tigris.org/source/browse/*checkout*/viewvc/trunk/docs/url-reference.html#tarball-view # debian /bin/sh debian/get-orig-source.sh # #opts=dversionmangle=s/\+svn.*$//g \ # http://docbook.org/tdg/ en/tdg-en-html-([\d\.]+).zip debian/README.source0000644000000000000000000000033611770174333011355 0ustar docbook-defguide source for Debian ---------------------------------- Building the package requires quite some time depending on the Java runtime and the hardware used. -- Daniel Leidert , 2012. debian/README.Debian0000644000000000000000000000057411770174333011243 0ustar DocBook: The Definitive Guide for Debian ---------------------------------------- NOTE: The book starts with html/docbook.html, NOT with html/index.html. See also http://bugs.debian.org/135296. Please feel free to report all issues you find, even if this book can be considered to not being actively developed anymore. -- Daniel Leidert , 2012. debian/rules0000755000000000000000000000134011770174333010252 0ustar #!/usr/bin/make -f JAVA = /usr/lib/jvm/default-java/bin/java BASEDIR = html/ PACKAGE = docbook-defguide %: dh $@ --parallel override_dh_auto_configure: override_dh_auto_install: override_dh_auto_build: $(MAKE) -C en tdg.xml all JAVA=$(JAVA) BASEDIR=$(BASEDIR) override_dh_installdirs: dh_installdirs echo "# " > \ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/html/.htaccess echo "DirectoryIndex docbook.html" >> \ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/html/.htaccess override_dh_compress: dh_compress -i -Xusr/share/doc/docbook-defguide/html override_dh_clean: $(MAKE) -C en clean (cd en && $(RM) $(BASEDIR)/*.html stylesheets/html-titlepage.xsl bookinfo.xml) dh_clean debian/copyright0000644000000000000000000001416711770174333011140 0ustar This package was debianized by Yann Dirson in May 2002. It maintained since late 2007 by Daniel Leidert . It was downloaded from the docbook SVN repository at http://docbook.svn.sourceforge.net Upstream Authors: Norman Walsh Leonard Muellner Bob Stayton Dongsheng Song (Chinese translator) Dorian Deng (Chinese translator) Copyright: Copyright (C) 2004-2006 Norman Walsh. Portions Copyright (C) 1999-2003 O'Reilly & Associates, Inc. License: GFDL 1.1 or any later version Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. On Debian systems the text of the GNU Free Documentation License (GFDL) Version 1.2 is available in the file `/usr/share/common-licenses/GFDL-1.2'. A copy of the GFDL 1.1 is also included in the book in Appendix H. Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly & Associates, Inc. The association between the image of a duck and the topic of DocBook is a trademark of O'Reilly & Associates, Inc. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and other countries. O'Reilly & Associates, Inc. is independent of Sun Microsystems. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly & Associates, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ===== en/schema/dbebnf.dtd ========================================== Copyright (C) 2000, 2001, 2002, 2003, 2004 Organization for the Advancement of Structured Information Standards (OASIS). Permission to use, copy, modify and distribute the DocBook EBNF Module 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 DocBook EBNF Module in any way, label your DTD as a variant of DocBook. See the maintenance documentation for more information. These files are also shipped as part of the docbook-ebnf package. http://packages.debian.org/changelogs/pool/main/d/docbook-ebnf/current/copyright ===== en/schema/$(DocBook 4.5 copy) ================================= Copyright 1992-2006 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). 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 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. These files are also shipped as part of the docbook-xml package. http://packages.debian.org/changelogs/pool/main/d/docbook-xml/current/copyright ===== zh/xml2po/* =================================================== Copyright (c) 2004, 2005, 2006 Danilo Ĺ egan . This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL'. These files are also shipped as part of the the gnome-doc-utils package. http://packages.debian.org/changelogs/pool/main/g/gnome-doc-utils/current/copyright ===== */build/lib/*.ent ============================================= Copyright (C) 2001, 2002 Organization for the Advancement of Structured Information Standards (OASIS). Permission to use, copy, modify and distribute this entity set 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 entities for any purpose. It is provided "as is" without expressed or implied warranty. Portions Copyright (C) 1986 International Organization for Standardization Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. These files are also shipped as part of the sgml-data package. http://packages.debian.org/changelogs/pool/main/s/sgml-data/current/copyright debian/source/0000755000000000000000000000000011770174352010475 5ustar debian/source/format0000644000000000000000000000001411663231325011676 0ustar 3.0 (quilt) debian/docbook-defguide.docs0000644000000000000000000000001211770174333013231 0ustar en/README debian/TODO0000644000000000000000000000054010731041300007642 0ustar DocBook: The Definitive Guide for Debian ---------------------------------------- NORMAL: + create WhatsNew from svn2cl + check for dead links + check for the broken example for a *co WISHLIST: + package expanded/unexpanded separated? + package Chinese version? -- Daniel Leidert , somewhere at the end of 2007. debian/docbook-defguide.install0000644000000000000000000000015111770174333013753 0ustar en/html usr/share/doc/docbook-defguide/ en/figures/100dpi/* usr/share/doc/docbook-defguide/html/figures/ debian/compat0000644000000000000000000000000211663231325010366 0ustar 7 debian/docbook-defguide.doc-base0000644000000000000000000000106710766643510013773 0ustar Document: docbook-defguide Title: DocBook: The Definitive Guide Author: Norman Walsh, Leonard Muellner, and Bob Stayton Abstract: The official reference manual for the DocBook 4.x SGML and XML DTD. This version is an evolution of the book of the same name published by O'Reilly (which documented DocBook 3.1). . This is a work in progress, which attempts to fully document DocBook 4.5, but may be inconsistent in some places. Section: Text Format: HTML Index: /usr/share/doc/docbook-defguide/html/docbook.html Files: /usr/share/doc/docbook-defguide/html/*.html debian/control0000644000000000000000000000263411770174333010604 0ustar Source: docbook-defguide Section: doc Priority: optional Maintainer: Daniel Leidert (dale) Build-Depends: debhelper (>> 7.0.50~) Build-Depends-Indep: default-jre-headless | gcj-jre-headless, docbook-ebnf (>> 1.2~cr1), docbook-xml (>= 4.5), docbook-xsl, docbook-xsl-saxon-gcj, libsaxon-java-gcj (>> 1:6.5), libxerces2-java-gcj, libxml-commons-resolver1.1-java-gcj, xml-core, xsltproc Standards-Version: 3.9.3 Homepage: http://docbook.org/tdg/ Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-defguide/trunk/ Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/docbook-defguide/trunk/ DM-Upload-Allowed: yes Package: docbook-defguide Architecture: all Depends: ${misc:Depends} Suggests: docbook, docbook-xml Replaces: docbook-book Provides: docbook-book Conflicts: docbook-book Description: DocBook: The Definitive Guide - HTML version The official reference manual for the DocBook 4.x SGML and XML DTD, by Norman Walsh, Leonard Muellner, and Bob Stayton. This version is an evolution of the book of the same name published by O'Reilly (which documented DocBook 3.1). . This is a work in progress, which attempts to fully document DocBook 4.5, but may be inconsistent in some places. debian/patches/0000755000000000000000000000000011770174352010624 5ustar debian/patches/misc_fixes.patch0000644000000000000000000001253111770174333013777 0ustar Description: Use the generic resources, not local copies shipped with the source: * en/schema/tdg.dtd: The TDG should be DocBook XML v4.5. Also use the Public ID for DocBook EBNF. * ru/stylesheets/identity.xsl: Ditto. Do not use a System ID that points to the local copy. . * en/stylesheets/htmlhelp.xsl: Use the online location for the current docbook-xsl distribution. The references directory only exists in SVN and not in our tarball. * ru/stylesheets/htmlhelp.xsl: Ditto. * stylesheets/defchunk.xsl: Ditto. * stylesheets/defguide.xsl: Ditto. * en/Makefile: Ditto. . * en/stylesheets/chunk.xsl: Fixed pi-template names. * ru/stylesheets/chunk.xsl: Ditto. * stylesheets/defchunk.xsl: Ditto. . * en/stylesheets/html-titlepage.xml: Removed wrong namespace. Author: Daniel Leidert Origin: Debian Forwarded: not-needed Last-Update: 2012-06-19 --- a/en/Makefile +++ b/en/Makefile @@ -52,7 +52,7 @@ $(XSLT) $(SOURCE) $(SSCHUNK) /dev/null base.dir=$(BASEDIR) html.ext=$(HTMLEXT) rootid=index stylesheets/html-titlepage.xsl: stylesheets/html-titlepage.xml - $(XSLT) $< ../../xsl/template/titlepage.xsl $@ + $(XSLT) $< http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl $@ fochunks: $(XSLT) $(SOURCE) $(SSFO) partI.fo rootid=docbook-intro $(STYLEOPT) --- a/en/schema/tdg.dtd +++ b/en/schema/tdg.dtd @@ -1,5 +1,6 @@ - - + %dbebnf; --- a/en/stylesheets/chunk.xsl +++ b/en/stylesheets/chunk.xsl @@ -111,10 +111,10 @@ - + - + --- a/en/stylesheets/htmlhelp.xsl +++ b/en/stylesheets/htmlhelp.xsl @@ -11,7 +11,7 @@ ******************************************************************** --> - + --- a/ru/stylesheets/chunk.xsl +++ b/ru/stylesheets/chunk.xsl @@ -111,10 +111,10 @@ - + - + --- a/ru/stylesheets/htmlhelp.xsl +++ b/ru/stylesheets/htmlhelp.xsl @@ -11,8 +11,8 @@ ******************************************************************** --> - - + + --- a/ru/stylesheets/identity.xsl +++ b/ru/stylesheets/identity.xsl @@ -5,7 +5,8 @@ version="1.0"> + doctype-public="-//OASIS//DTD DocBook EBNF Module V1.2CR1//EN" + doctype-system="http://www.oasis-open.org/docbook/xml/ebnf/1.2CR1/dbebnf.dtd"/> --- a/stylesheets/defchunk.xsl +++ b/stylesheets/defchunk.xsl @@ -12,7 +12,7 @@ to avoid chunking. --> - + - + - + --- a/stylesheets/defguide.xsl +++ b/stylesheets/defguide.xsl @@ -5,7 +5,7 @@ exclude-result-prefixes="scvs xcvs" version="1.0"> - + debian/patches/series0000644000000000000000000000004211663231325012030 0ustar buildtools.patch misc_fixes.patch debian/patches/buildtools.patch0000644000000000000000000000464311770174333014033 0ustar Description: Debians own simplified buildsystem Author: Daniel Leidert (dale) Bug-Debian: http://bugs.debian.org/642256 Origin: Debian Forwarded: not-needed Last-Update: 2011-11-23 --- /dev/null +++ b/buildtools/saxon.sh @@ -0,0 +1,42 @@ +#!/bin/sh +# +# Written for the Debian distribution by Daniel Leidert, 2007. +# Released under GPL v2. +# +# This is a small and custom script so we don't need upstreams build +# environment. Further this shall help to decrease the number of changes we +# need to make to upstreams build process. + +set -e + +JAVA=${JAVA:-java} + +DEFAULT_CLASSPATH="/usr/share/java/saxon.jar:/usr/share/java/docbook-xsl-saxon.jar:/usr/share/java/xml-resolver.jar:/usr/share/java/xercesImpl.jar:/etc/xml/resolver/" + +CLASSPATH=${CLASSPATH:-$DEFAULT_CLASSPATH} + +MY_XML=$1 +shift +MY_XSL=$1 +shift +MY_OUT=$1 +shift + +MY_OPT=$* + +$JAVA -cp $CLASSPATH -Xms512M -Xmx1024M \ + -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \ + -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \ + 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 $MY_OUT $MY_XML $MY_XSL $MY_OPT \ + use.extensions=1 \ + graphicsize.extension=0 \ + admon.graphics.path=figures/admon/ \ + callout.graphics.path=figures/callouts/ \ + chunker.output.indent=yes + +exit 0 --- /dev/null +++ b/buildtools/Makefile.incl @@ -0,0 +1,8 @@ +# Written for the Debian distribution by Daniel Leidert, 2007. +# Released under GPL v2. +# +# This is a small and custom Makefile.incl so we don't need upstreams build +# environment. Further this shall help to decrease the number of changes we +# need to make to upstreams build process. + +XSLT = JAVA="$(JAVA)" CLASSPATH="$(CLASSPATH)" /bin/sh ../buildtools/saxon.sh --- a/en/Makefile +++ b/en/Makefile @@ -1,4 +1,4 @@ -include ../../buildtools/Makefile.incl +include ../buildtools/Makefile.incl SSTITLEPG=stylesheets/html-titlepage.xsl SSCHUNK=stylesheets/chunk.xsl @@ -79,5 +79,6 @@ grep -v " Wed, 20 Jun 2012 00:10:40 +0200 docbook-defguide (2.0.17+svn7549-4) unstable; urgency=low * buildtools/saxon.sh (DEFAULT_CLASSPATH): Fix catalog resolver jar name (closes: #642256). * buildtools/Makefile.incl, buildtools/saxon.sh: Moved into debian/patches/buildtools.patch. * debian/compat: Increased dh compatibility level. * debian/control (Build-Depends): Removed dpatch. Increased dh version. Fixed debhelper-but-no-misc-depends. (Standards-Version): Bumped to 3.9.2. * debian/docbook-defguide.dirs: Added. * debian/docbook-defguide.docs: Ditto. * debian/docbook-defguide.install: Ditto. * debian/rules: Rewritten for dh 7. * debian/source.lintian-overrides: Dropped. * debian/source/format: Added for version 3.0 (quilt). * debian/README.Debian: Moved a comment to debian/README.source. * debian/README.source: Added with a note from debian/README.Debian. * debian/patches/01_misc_fixes.dpatch: Transformed to quilt and renamed to debian/patches/misc_fixes.patch. * debian/patches/00list: Renamed to debian/patches/series and adjusted. -- Daniel Leidert (dale) Wed, 23 Nov 2011 18:52:38 +0100 docbook-defguide (2.0.17+svn7549-3) unstable; urgency=low * debian/control (Build-Depends-Indep): java-gcj-compat is not available anymore on alpha, arm, hppa and hurd-i386. * debian/docbook-defguide.doc-base (Section): Fixed accordingly to version 0.8.10 of the doc-base manual. * debian/rules (install): Fixed bashism. * debian/source.lintian-overrides: Added to override patch-system-but-direct-changes-in-diff warning, because file creation is intended. -- Daniel Leidert (dale) Thu, 01 May 2008 03:55:09 +0200 docbook-defguide (2.0.17+svn7549-2) unstable; urgency=low * debian/control: Added Vcs fields. Added DM-Upload-Allowed for DM status. (Build-Depends-Indep): Build-depend on the recently introduced -gcj packages with native code to speed up the build process (closes: #459043). * debian/watch: Slightly improved to ignore the SVN version part. -- Daniel Leidert (dale) Tue, 05 Feb 2008 02:20:50 +0100 docbook-defguide (2.0.17+svn7549-1) unstable; urgency=low * New upstream release 2.0.17 (finally closes: #257715). - Creates missing pages (closes: #208031). - Fixes several broken links (closes: #248364, #280740). - Drops printing glyphs via external URIs (closes: #173710). - Norman Walsh relicensed the TDG as of version 2.0.17 without the back-cover text clause (closes: #280485). Many thanks to you, Norm! * buildtools/Makefile.incl: Added my own small and custom build system to not rely on upstreams one. This should also reduce the size of necessary changes to the build system. * buildtools/saxon.sh: Ditto. * debian/compat: Update to newer compatibility level 5. * debian/control: Added Homepage field. (Maintainer): New maintainer (closes: #295579). (Standards-Version): Updated to latest 3.7.3. (Build-Depends, Build-Depends-Indep): Updated/adjusted. (Description): Updated. * debian/copyright: Updated. Added information about newly added source files (xml2po/entities/docbook-xml/sgml-data). * debian/docbook-defguide.doc-base (Abstract): Updated. (Section): Fixed to apply to latest menu spec. * debian/rules: Added get-orig-source target to retreive the source via SVN. Added dpatch infrastructure. Removed obsolete stuff and fixed the build system (cleanup). (install): Added .htaccess file - provide docbook.html as directory index (closes: #135296). * debian/watch: Added (crude, but it should work). * debian/README.Debian: Updated. * debian/patches/01_misc_fixes.dpatch: Added. Fixes to make the package build (we are not inside the projects SVN). * debian/patches/00list: Added. -- Daniel Leidert (dale) Sun, 16 Dec 2007 14:25:22 +0100 docbook-defguide (2.0.8-2) unstable; urgency=low * QA Group upload orphaning this package * debian/copyright: Updated the address of the FSF * debian/docbook-defguide.doc-base: removed bogus sentence (closes: #217408) -- Andrew Pollock Wed, 1 Mar 2006 11:17:59 -0800 docbook-defguide (2.0.8-1.1) unstable; urgency=high * NMU. * High-urgency upload for sarge-targetted RC bugfix * Add the complete FDL license text to debian/copyright (closes: #280807). * Add %use-id-as-filename% and %html-ext%=".html" dssl directives to defguide.dsl to get the nice filenames.html available in the previous version of the package; thanks to Paul Brossier for the fix. -- Steve Langasek Fri, 3 Dec 2004 18:31:00 -0800 docbook-defguide (2.0.8-1) unstable; urgency=low * Fixed generation of xrefs to elements (Closes: #187963). -- Yann Dirson Mon, 7 Apr 2003 21:06:47 +0200 docbook-defguide (2.0.8) unstable; urgency=low * New upstream release. * Requires docbook-ebnf 1.1CR1. * Add build-dep on docbook-ebnf. * Added "-O -D`pwd`" to docbook-2-html invocation. * Override (parse-starttag-pi) from dblib.dsl with a stub, since (parse-pi-attribute) makes far too many assumptions to be fixed rapidly. * All the above closes: #165300. Thanks to Roland Mas and Ray Dassen for their work on this package. * Override %callout-graphics-path% and %callout-graphics-extension% to find callout graphics (Closes: #178929). * Override %admon-graphics% and %admon-graphics-path% to get graphics for admonitions. * Prevent docbook-defguide/html/changelog.html from being compressed, since that's part of the book. -- Yann Dirson Thu, 3 Apr 2003 12:16:41 +0200 docbook-defguide (2.0.3-2) unstable; urgency=low * Use Build-depends-indep instead of Build-depends. * Run tidy(1) on generated HTML. * Install figures. * Made the stylesheet display in the ToC the glyphs matching the "revision" attribute from refentries. * Fixed doc-base section. * Install docs into subdir named html/, not book-html/. -- Yann Dirson Sat, 18 May 2002 18:47:55 +0200 docbook-defguide (2.0.3-1) unstable; urgency=low * Initial release - indeed a brand new package to replace former docbook-book (Closes: #144109). * Format using an ad-hoc customization layer above the DocBook modular stylesheets. Only creates cross-refs to element reference-pages for now. -- Yann Dirson Fri, 17 May 2002 01:17:36 +0200 debian/docbook-defguide.dirs0000644000000000000000000000005411663231325013244 0ustar usr/share/doc/docbook-defguide/html/figures