source: general/prog/doxygen.xml@ 42285880

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 42285880 was 42285880, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to scons-2.3.5.
Update to doxygen-1.8.10.
Update to libpcap-1.7.4.
Update to cups-filters-1.0.70.

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

  • Property mode set to 100644
File size: 9.4 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 "79767ccd986f12a0f949015efb5f058f">
10 <!ENTITY doxygen-size "4.6 MB">
11 <!ENTITY doxygen-buildsize "174 MB (with all programs, docs and tests)">
12 <!ENTITY doxygen-time "2.4 SBU (with all programs, docs and tests)">
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; &gcc5_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">Required</bridgehead>
92 <para role="required">
93 <xref linkend="cmake"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="graphviz"/>,
99 <xref linkend="gs"/>,
100 <xref linkend="libxml2"/>,
101 <xref linkend="llvm"/> (with clang),
102 <xref linkend="python2"/> or <xref linkend="python3"/>,
103 <xref linkend="qt4"/> (for doxywizard),
104 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) and
105 <xref linkend="xapian"/> (for doxyindexer)
106 </para>
107
108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/doxygen"/>
110 </para>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of Doxygen</title>
115
116 <para>
117 Install <application>Doxygen</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>cmake -G "Unix Makefiles" \
122 -DCMAKE_BUILD_TYPE=Release \
123 -DCMAKE_INSTALL_PREFIX=/usr \
124 .. &amp;&amp;
125
126make</userinput></screen>
127
128 <para>
129 To test the results, issue: <command>make tests</command>.
130 </para>
131
132 <para>
133 If you wish to generate the package documentation, you must have
134 <application>Python</application>, <application>TeX Live</application>
135 (for HTML docs) and <application>Ghostscript</application> (for PDF docs)
136 installed, then issue the following command:
137 </para>
138
139<screen><userinput>sed -i 's:man/man1:share/&amp;:' ../doc/CMakeLists.txt &amp;&amp;
140
141cmake -DDOC_INSTALL_DIR=share/doc/doxygen-&doxygen-version; -Dbuild_doc=ON .. &amp;&amp;
142
143make docs</userinput></screen>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>make install &amp;&amp;
150install -vm644 ../doc/*.1 /usr/man/man1</userinput></screen>
151
152 <para>
153
154 If you generated the package documentation, install with the following
155 command, as the <systemitem class="username">root</systemitem> user:
156 </para>
157
158<screen role="root"><userinput>make docs install</userinput></screen>
159
160 </sect2>
161
162 <sect2 role="commands">
163 <title>Command Explanations</title>
164
165 <para>
166 <command>sed -i ... CMakeLists.txt</command>: Fixes the directory where
167 the man pages are installed.
168 </para>
169
170 <para>
171 <option>-Dbuild_wizard=ON</option>: Use this switch if
172 <application>Qt4</application> is installed and you wish to build the GUI
173 front-end.
174 </para>
175
176 <para>
177 <option>-Dbuild_search=ON</option>: Use this switch if
178 <application>xapian</application> is installed and you wish to build
179 external search tools (<command>doxysearch.cgi</command> and
180 <command>doxyindexer)</command>.
181 </para>
182
183 <para>
184 <option>-Duse_libclang=ON</option>: Use this switch if
185 <application>llvm</application> with <application>clang</application> are
186 installed, to add support for libclang parsing.
187 </para>
188
189 </sect2>
190
191 <sect2 role="configuration">
192 <title>Configuring Doxygen</title>
193
194 <para>
195 There is no real configuration necessary for the
196 <application>Doxygen</application> package although three additional
197 packages are required if you wish to use extended capabilities. If you
198 need to use the language translation features, you must have <xref
199 linkend="python2"/> installed. If you require formulas to create PDF
200 documentation, then you must have <xref linkend="texlive"/> installed.
201 If you require formulas to convert PostScript files to bitmaps, then
202 you must have <xref linkend="gs"/> installed.
203 </para>
204
205 </sect2>
206
207 <sect2 role="content">
208 <title>Contents</title>
209
210 <segmentedlist>
211 <segtitle>Installed Programs</segtitle>
212 <segtitle>Installed Libraries</segtitle>
213 <segtitle>Installed Directory</segtitle>
214
215 <seglistitem>
216 <seg>
217 doxygen and optionally,
218 doxywizard, doxyindexer and doxysearch.cgi
219 </seg>
220 <seg>
221 None
222 </seg>
223 <seg>
224 /usr/share/doc/doxygen-&doxygen-version;
225 </seg>
226 </seglistitem>
227 </segmentedlist>
228
229 <variablelist>
230 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
231 <?dbfo list-presentation="list"?>
232 <?dbhtml list-presentation="table"?>
233
234 <varlistentry id="doxygen-prog">
235 <term><command>doxygen</command></term>
236 <listitem>
237 <para>
238 is a command-line based utility used to generate template
239 configuration files and then generate documentation from these
240 templates. Use <command>doxygen --help</command> for an
241 explanation of the command-line parameters.
242 </para>
243 <indexterm zone="doxygen doxygen-prog">
244 <primary sortas="b-doxygen">doxygen</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="doxywizard">
250 <term><command>doxywizard</command></term>
251 <listitem>
252 <para>
253 is a GUI front-end for configuring and
254 running <command>doxygen</command>.
255 </para>
256 <indexterm zone="doxygen doxywizard">
257 <primary sortas="b-doxywizard">doxywizard</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="doxyindexer">
263 <term><command>doxyindexer</command></term>
264 <listitem>
265 <para>
266 generates a search index called <filename>doxysearch.db</filename>
267 from one or more search data files produced by
268 <command>doxygen</command>. See, e.g. <ulink
269 url="http://www.stack.nl/~dimitri/doxygen/manual/extsearch.html"/>.
270 </para>
271 <indexterm zone="doxygen doxyindexer">
272 <primary sortas="b-doxyindexer">doxyindexer</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="doxysearch.cgi">
278 <term><command>doxysearch.cgi</command></term>
279 <listitem>
280 <para>
281 is a CGI program to search the data indexed by
282 <command>doxyindexer</command>.
283 </para>
284 <indexterm zone="doxygen doxysearch.cgi">
285 <primary sortas="b-doxysearch.cgi">doxysearch.cgi</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 </variablelist>
291
292 </sect2>
293
294</sect1>
Note: See TracBrowser for help on using the repository browser.