source: general/prog/doxygen.xml@ 7ff0948

systemd-13485
Last change on this file since 7ff0948 was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY doxygen-download-http "http://ftp.stack.nl/pub/doxygen/doxygen-&doxygen-version;.src.tar.gz">
8 <!ENTITY doxygen-download-ftp "ftp://ftp.stack.nl/pub/doxygen/doxygen-&doxygen-version;.src.tar.gz">
9 <!ENTITY doxygen-md5sum "3d1a5c26bef358c10a3894f356a69fbc">
10 <!ENTITY doxygen-size "4.8 MB">
11 <!ENTITY doxygen-buildsize "119 MB">
12 <!ENTITY doxygen-time "1.7 SBU">
13]>
14
15<sect1 id="doxygen" xreflabel="Doxygen-&doxygen-version;">
16 <?dbhtml filename="doxygen.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Doxygen-&doxygen-version;</title>
24
25 <indexterm zone="doxygen">
26 <primary sortas="a-Doxygen">Doxygen</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Doxygen</title>
31
32 <para>
33 The <application>Doxygen</application> package contains a documentation
34 system for C++, C, Java, Objective-C, Corba IDL and to some extent PHP,
35 C# and D. It is useful for generating HTML documentation and/or an
36 off-line reference manual from a set of documented source files. There
37 is also support for generating output in RTF, PostScript, hyperlinked
38 PDF, compressed HTML, and Unix man pages. The documentation is extracted
39 directly from the sources, which makes it much easier to keep the
40 documentation consistent with the source code.
41 </para>
42
43 <para>
44 You can also configure <application>Doxygen</application> to extract
45 the code structure from undocumented source files. This is very useful
46 to quickly find your way in large source distributions. Used along with
47 <application>Graphviz</application>, you can also visualize the relations
48 between the various elements by means of include dependency graphs,
49 inheritance diagrams, and collaboration diagrams, which are all generated
50 automatically.
51 </para>
52
53 &lfs77_checked;
54
55 <bridgehead renderas="sect3">Package Information</bridgehead>
56 <itemizedlist spacing="compact">
57 <listitem>
58 <para>
59 Download (HTTP): <ulink url="&doxygen-download-http;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download (FTP): <ulink url="&doxygen-download-ftp;"/>
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download MD5 sum: &doxygen-md5sum;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Download size: &doxygen-size;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated disk space required: &doxygen-buildsize;
80 </para>
81 </listitem>
82 <listitem>
83 <para>
84 Estimated build time: &doxygen-time;
85 </para>
86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Doxygen Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
92 <para role="optional">
93 <xref linkend="graphviz"/>,
94 <xref linkend="gs"/>,
95 <xref linkend="llvm"/> (with clang),
96 <xref linkend="python2"/> or <xref linkend="python3"/>,
97 <xref linkend="qt4"/> (for doxywizard),
98 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) and
99 <xref linkend="xapian"/> (for doxyindexer)
100 </para>
101
102 <para condition="html" role="usernotes">User Notes:
103 <ulink url="&blfs-wiki;/doxygen"/>
104 </para>
105 </sect2>
106
107 <sect2 role="installation">
108 <title>Installation of Doxygen</title>
109
110 <para>
111 Install <application>Doxygen</application> by running the following
112 commands:
113 </para>
114
115<screen><userinput>./configure --prefix /usr \
116 --docdir /usr/share/doc/doxygen-&doxygen-version; &amp;&amp;
117make</userinput></screen>
118
119 <para>
120 This package does not come with a test suite.
121 </para>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make MAN1DIR=share/man/man1 install</userinput></screen>
128
129 <para>
130 If you wish to generate and install the package documentation
131 (note that man pages have already been installed), you must have
132 <application>Python</application>,
133 <application>TeX Live</application> (for HTML docs) and
134 <application>Ghostscript</application> (for PDF docs)
135 installed, then issue the following command as the
136 <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>make install_docs</userinput></screen>
140
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <para>
147 <option>--with-doxywizard</option>: Use this switch if
148 <application>Qt4</application> is installed and you
149 wish to build the GUI front-end.
150 </para>
151
152 <para>
153 <option>--with-doxysearch</option>: Use this switch if
154 you have installed <application>Xapian</application>
155 and you wish to build external search tools
156 (<command>doxysearch.cgi</command> and
157 <command>doxyindexer</command>).
158 </para>
159
160 <para>
161 <option>--with-libclang</option>: Use this switch if
162 you have installed <application>Clang</application>
163 and you wish to to add support for libclang parsing.
164 </para>
165
166 </sect2>
167
168 <sect2 role="configuration">
169 <title>Configuring Doxygen</title>
170
171 <para>
172 There is no real configuration necessary for the
173 <application>Doxygen</application> package although three additional
174 packages are required if you wish to use extended capabilities. If you
175 need to use the language translation features, you must have <xref
176 linkend="python2"/> installed. If you require formulas to create PDF
177 documentation, then you must have <xref linkend="texlive"/> installed.
178 If you require formulas to convert PostScript files to bitmaps, then
179 you must have <xref linkend="gs"/> installed.
180 </para>
181
182 </sect2>
183
184 <sect2 role="content">
185 <title>Contents</title>
186
187 <segmentedlist>
188 <segtitle>Installed Programs</segtitle>
189 <segtitle>Installed Libraries</segtitle>
190 <segtitle>Installed Directory</segtitle>
191
192 <seglistitem>
193 <seg>
194 doxygen and optionally,
195 doxywizard, doxyindexer and doxysearch.cgi
196 </seg>
197 <seg>
198 None
199 </seg>
200 <seg>
201 /usr/share/doc/doxygen-&doxygen-version;
202 </seg>
203 </seglistitem>
204 </segmentedlist>
205
206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
211 <varlistentry id="doxygen-prog">
212 <term><command>doxygen</command></term>
213 <listitem>
214 <para>
215 is a command-line based utility used to generate template
216 configuration files and then generate documentation from these
217 templates. Use <command>doxygen --help</command> for an
218 explanation of the command-line parameters.
219 </para>
220 <indexterm zone="doxygen doxygen-prog">
221 <primary sortas="b-doxygen">doxygen</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="doxywizard">
227 <term><command>doxywizard</command></term>
228 <listitem>
229 <para>
230 is a GUI front-end for configuring and
231 running <command>doxygen</command>.
232 </para>
233 <indexterm zone="doxygen doxywizard">
234 <primary sortas="b-doxywizard">doxywizard</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="doxyindexer">
240 <term><command>doxyindexer</command></term>
241 <listitem>
242 <para>
243 generates a search index called <filename>doxysearch.db</filename>
244 from one or more search data files produced by
245 <command>doxygen</command>.
246 </para>
247 <indexterm zone="doxygen doxyindexer">
248 <primary sortas="b-doxyindexer">doxyindexer</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="doxysearch.cgi">
254 <term><command>doxysearch.cgi</command></term>
255 <listitem>
256 <para>
257 is a CGI program to search the data indexed by
258 <command>doxyindexer</command>.
259 </para>
260 <indexterm zone="doxygen doxysearch.cgi">
261 <primary sortas="b-doxysearch.cgi">doxysearch.cgi</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 </variablelist>
267
268 </sect2>
269
270</sect1>
Note: See TracBrowser for help on using the repository browser.