From Graham Bloice:
[obnox/wireshark/wip.git] / docbook / README.txt
index 67c1f44d219838f07a53d56cea284b7f6bfa8802..23c26301237d6c4c8119d933b3e17c756994bb78 100644 (file)
@@ -2,11 +2,11 @@ $Id$
 
 This directory contains the source files needed to build the:
 
-Ethereal User's guide
+Wireshark User's guide
 
 and the:
 
-Ethereal Developer's Guide  (in an early state, currently very win32 related).
+Wireshark Developer's Guide  (in an early state).
 
 To build both Guide's, just do 'make', but see requirements below.
 
@@ -90,7 +90,26 @@ jimi:                N/A - build yourself - see above
 
 Packages for Gentoo
 -------------------
-TODO
+Like with all packages do...
+Check dependencies: emerge -p <package>
+Install it:         emerge <package>
+
+Tool/File      Package                  Opt./Mand.   Comments
+---------      -------                  ----------   --------
+xsltproc:      libxslt                  M            XSLT processer. A very fast processor writtin in C.
+xmllint:       libxml2                  O            Xml Validator. You probably want to install that.
+fop:           fop                      O            Only needed to generate PDFs. Has a lot of JAVA dependencies.
+docbook.xsl:   docbook-xsl-stylesheets  M            Necessary docbook catalogs are built automatically by portage in /etc/xml and /etc/sgml
+chunk.xsl:     docbook-xsl-stylesheets  M              using "/usr/bin/build-docbook-catalog".
+htmlhelp.xsl:  docbook-xsl-stylesheets  M              So docbook runs out of the box on Gentoo.
+docbookx.dtd:  docbook-xml-dtd          M
+jimi:          sun-jimi                 O            Jimi is a class library for managing images. Used by fop.
+Quanta+         quanta or kdewebdev      O            Nice HTML/XML/SGML and Docbook editor with Syntaxhighlighting, Autocompletion, etc.
+
+Tip: The actual DTD version of Gentoo is 4.4, but wireshark docs still use 4.2.
+     To be able to generate the docs, change the version in the second line of developer-guide.xml
+     or install an older version of the DTD.
+     See into the Gentoo handbook howto unmask old versions.
 
 Packages for Fedora Core
 ------------------------
@@ -98,7 +117,16 @@ TODO
 
 Packages for Debian
 -------------------
-TODO
+Tool/File      Package
+---------      -------
+xsltproc:      libxslt
+xmllint:       libxml2-utils
+fop:           fop
+docbook.xsl:   docbook-xsl
+chunk.xsl:     docbook-xsl
+htmlhelp.xsl:  docbook-xsl
+docbookx.dtd:  docbook-xml
+jimi:          N/A - build yourself - see above
 
 Makefile:
 ---------
@@ -110,7 +138,7 @@ all
 Will generate both guide's in all available output formats (see below).
 
 make wsug
-Will generate Ethereal User's Guide in all available output formats.
+Will generate Wireshark User's Guide in all available output formats.
 
 make wsug_html
 The HTML file is generated using xsltproc and the XSL stylesheets from 
@@ -128,9 +156,9 @@ The PDF is generated using an intermediate format named XSL-FO (XSL
 formatting objects). xsltproc converts the XML to a FO file, and then fop 
 (apache's formatting object processor) is used to generate the PDF document, 
 in US letter or A4 paper format.
-TIPP: You will get lot's of INFO/WARNING/ERROR messages when generating pdf, 
+TIP: You will get lot's of INFO/WARNING/ERROR messages when generating pdf, 
 but conversation works just fine.
-output: user-guide.pdf
+output: user-guide-us.pdf user-guide-a4.pdf
 
 make wsug_chm
 On Win32 platforms, the "famous" HTML help format can be generated by using a 
@@ -138,10 +166,10 @@ special HTML chunked conversion and then use the htmlhelp compiler from
 Microsoft.
 output: htmlhelp.chm
 
-Using the prefix edg_ instead of wsug_ will build the same targets but for the 
-Ethereal Developer's Guide.
+Using the prefix wsdg_ instead of wsug_ will build the same targets but for the 
+Wireshark Developer's Guide.
 
-The makefile is written to be run with gmake on unix/linux platforms. Win32 
+The makefile is written to be run with gmake on UNIX/Linux platforms. Win32 
 platforms have to use the cygwin environment (Microsoft nmake is not 
 supported).
 
@@ -165,3 +193,4 @@ http://www.codeproject.com/winhelp/docbook_howto.asp
 FO Parameter Reference
 by Norman Walsh
 http://docbook.sourceforge.net/release/xsl/current/doc/fo/
+