source: general/prog/doxygen.xml@ 75457cc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 75457cc was 75457cc, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to doxygen-1.8.9.
ruby-2.2.0: fix build of capi docs and statistics to make explicit docs part.

graphviz-2.38.0: fix build with ruby-2.2.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15274 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.0 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 "753c1b135086c4771035622532652552">
10 <!ENTITY doxygen-size "4.8 MB">
11 <!ENTITY doxygen-buildsize "119 MB (with doxywizard - additional 26 MB for docs)">
12 <!ENTITY doxygen-time "1.7 SBU (with doxywizard)">
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 &lfs76_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"/>, 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 wish to build the GUI
149 front-end. If both <application>Qt4</application> and
150 <application>Qt5</application> are installed, use <command>source
151 setqt4</command>. If <application>Qt4</application> is installed in
152 <filename class="directory">/opt</filename>, issue <command>export
153 QTDIR=$QT4DIR</command>.
154 </para>
155
156 <para>
157 <option>--with-doxysearch</option>: Use this switch if
158 <application>xapian</application> is installed and you wish to build
159 external search tools (doxysearch and doxyindexer).
160 </para>
161
162 <para>
163 <option>--with-libclang</option>: Use this switch if
164 <application>llvm</application> with <application>clang</application> are
165 installed, to add support for libclang parsing.</para>
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>. See, e.g. <ulink
246 url="http://www.stack.nl/~dimitri/doxygen/manual/extsearch.html"/>.
247 </para>
248 <indexterm zone="doxygen doxyindexer">
249 <primary sortas="b-doxyindexer">doxyindexer</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="doxysearch.cgi">
255 <term><command>doxysearch.cgi</command></term>
256 <listitem>
257 <para>
258 is a CGI program to search the data indexed by
259 <command>doxyindexer</command>.
260 </para>
261 <indexterm zone="doxygen doxysearch.cgi">
262 <primary sortas="b-doxysearch.cgi">doxysearch.cgi</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 </variablelist>
268
269 </sect2>
270
271</sect1>
Note: See TracBrowser for help on using the repository browser.