source: general/prog/doxygen.xml@ 33c9d33

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 33c9d33 was 33c9d33, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Tags

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

  • Property mode set to 100644
File size: 9.2 KB
RevLine 
[faa80ab]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[faa80ab]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[778be14]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">
[42285880]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)">
[faa80ab]13]>
14
[cef3a2f]15<sect1 id="doxygen" xreflabel="Doxygen-&doxygen-version;">
[1bbef1e]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
[8f1699f2]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>
[1bbef1e]52
[33c9d33]53 &lfs78_checked;
[778be14]54
[1bbef1e]55 <bridgehead renderas="sect3">Package Information</bridgehead>
56 <itemizedlist spacing="compact">
57 <listitem>
[8f1699f2]58 <para>
59 Download (HTTP): <ulink url="&doxygen-download-http;"/>
60 </para>
[1bbef1e]61 </listitem>
62 <listitem>
[8f1699f2]63 <para>
64 Download (FTP): <ulink url="&doxygen-download-ftp;"/>
65 </para>
[1bbef1e]66 </listitem>
67 <listitem>
[8f1699f2]68 <para>
69 Download MD5 sum: &doxygen-md5sum;
70 </para>
[1bbef1e]71 </listitem>
72 <listitem>
[8f1699f2]73 <para>
74 Download size: &doxygen-size;
75 </para>
[1bbef1e]76 </listitem>
77 <listitem>
[8f1699f2]78 <para>
79 Estimated disk space required: &doxygen-buildsize;
80 </para>
[1bbef1e]81 </listitem>
82 <listitem>
[8f1699f2]83 <para>
84 Estimated build time: &doxygen-time;
85 </para>
[1bbef1e]86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Doxygen Dependencies</bridgehead>
90
[42285880]91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required">
93 <xref linkend="cmake"/>
94 </para>
95
[1bbef1e]96 <bridgehead renderas="sect4">Optional</bridgehead>
[8f1699f2]97 <para role="optional">
98 <xref linkend="graphviz"/>,
99 <xref linkend="gs"/>,
[42285880]100 <xref linkend="libxml2"/>,
[75457cc]101 <xref linkend="llvm"/> (with clang),
102 <xref linkend="python2"/> or <xref linkend="python3"/>,
103 <xref linkend="qt4"/> (for doxywizard),
[2d98031c]104 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) and
[75457cc]105 <xref linkend="xapian"/> (for doxyindexer)
[8f1699f2]106 </para>
[1bbef1e]107
[1039de3]108 <para condition="html" role="usernotes">User Notes:
[8f1699f2]109 <ulink url="&blfs-wiki;/doxygen"/>
110 </para>
[1bbef1e]111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of Doxygen</title>
115
[8f1699f2]116 <para>
117 Install <application>Doxygen</application> by running the following
118 commands:
119 </para>
[1bbef1e]120
[c41843e]121<screen><userinput>mkdir -v build &amp;&amp;
122cd build &amp;&amp;
123
124cmake -G "Unix Makefiles" \
[42285880]125 -DCMAKE_BUILD_TYPE=Release \
126 -DCMAKE_INSTALL_PREFIX=/usr \
127 .. &amp;&amp;
128
[1bbef1e]129make</userinput></screen>
[d260aaf4]130
[8f1699f2]131 <para>
[42285880]132 To test the results, issue: <command>make tests</command>.
[8f1699f2]133 </para>
[a1fd0f2]134
[42285880]135 <para>
136 If you wish to generate the package documentation, you must have
137 <application>Python</application>, <application>TeX Live</application>
138 (for HTML docs) and <application>Ghostscript</application> (for PDF docs)
139 installed, then issue the following command:
140 </para>
141
142<screen><userinput>sed -i 's:man/man1:share/&amp;:' ../doc/CMakeLists.txt &amp;&amp;
143
144cmake -DDOC_INSTALL_DIR=share/doc/doxygen-&doxygen-version; -Dbuild_doc=ON .. &amp;&amp;
145
146make docs</userinput></screen>
147
[8f1699f2]148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
[d260aaf4]151
[42285880]152<screen role="root"><userinput>make install &amp;&amp;
[bd4f0143]153install -vm644 ../doc/*.1 /usr/share/man/man1</userinput></screen>
[a1fd0f2]154
[1bbef1e]155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
[8f1699f2]160 <para>
[42285880]161 <command>sed -i ... CMakeLists.txt</command>: Fixes the directory where
162 the man pages are installed.
163 </para>
164
165 <para>
166 <option>-Dbuild_wizard=ON</option>: Use this switch if
[75457cc]167 <application>Qt4</application> is installed and you wish to build the GUI
[42285880]168 front-end.
[8f1699f2]169 </para>
[1bbef1e]170
[75457cc]171 <para>
[42285880]172 <option>-Dbuild_search=ON</option>: Use this switch if
[75457cc]173 <application>xapian</application> is installed and you wish to build
[38b3eab]174 external search tools (<command>doxysearch.cgi</command> and
175 <command>doxyindexer)</command>.
[75457cc]176 </para>
177
178 <para>
[42285880]179 <option>-Duse_libclang=ON</option>: Use this switch if
[75457cc]180 <application>llvm</application> with <application>clang</application> are
[42285880]181 installed, to add support for libclang parsing.
182 </para>
183
[a1fd0f2]184 </sect2>
[1bbef1e]185
[a1fd0f2]186 <sect2 role="configuration">
187 <title>Configuring Doxygen</title>
[1bbef1e]188
[8f1699f2]189 <para>
190 There is no real configuration necessary for the
191 <application>Doxygen</application> package although three additional
192 packages are required if you wish to use extended capabilities. If you
193 need to use the language translation features, you must have <xref
194 linkend="python2"/> installed. If you require formulas to create PDF
195 documentation, then you must have <xref linkend="texlive"/> installed.
196 If you require formulas to convert PostScript files to bitmaps, then
197 you must have <xref linkend="gs"/> installed.
198 </para>
[1bbef1e]199
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Programs</segtitle>
[c3c56b2]207 <segtitle>Installed Libraries</segtitle>
[1bbef1e]208 <segtitle>Installed Directory</segtitle>
209
210 <seglistitem>
[8f1699f2]211 <seg>
[75457cc]212 doxygen and optionally,
213 doxywizard, doxyindexer and doxysearch.cgi
[8f1699f2]214 </seg>
[c3c56b2]215 <seg>
216 None
217 </seg>
[8f1699f2]218 <seg>
219 /usr/share/doc/doxygen-&doxygen-version;
220 </seg>
[1bbef1e]221 </seglistitem>
222 </segmentedlist>
223
224 <variablelist>
225 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
226 <?dbfo list-presentation="list"?>
227 <?dbhtml list-presentation="table"?>
228
229 <varlistentry id="doxygen-prog">
230 <term><command>doxygen</command></term>
231 <listitem>
[8f1699f2]232 <para>
233 is a command-line based utility used to generate template
234 configuration files and then generate documentation from these
235 templates. Use <command>doxygen --help</command> for an
236 explanation of the command-line parameters.
237 </para>
[1bbef1e]238 <indexterm zone="doxygen doxygen-prog">
239 <primary sortas="b-doxygen">doxygen</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="doxywizard">
245 <term><command>doxywizard</command></term>
246 <listitem>
[8f1699f2]247 <para>
248 is a GUI front-end for configuring and
249 running <command>doxygen</command>.
250 </para>
[1bbef1e]251 <indexterm zone="doxygen doxywizard">
252 <primary sortas="b-doxywizard">doxywizard</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
[8f1699f2]256
[75457cc]257 <varlistentry id="doxyindexer">
258 <term><command>doxyindexer</command></term>
259 <listitem>
260 <para>
261 generates a search index called <filename>doxysearch.db</filename>
262 from one or more search data files produced by
263 <command>doxygen</command>. See, e.g. <ulink
264 url="http://www.stack.nl/~dimitri/doxygen/manual/extsearch.html"/>.
265 </para>
266 <indexterm zone="doxygen doxyindexer">
267 <primary sortas="b-doxyindexer">doxyindexer</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="doxysearch.cgi">
273 <term><command>doxysearch.cgi</command></term>
274 <listitem>
275 <para>
276 is a CGI program to search the data indexed by
277 <command>doxyindexer</command>.
278 </para>
279 <indexterm zone="doxygen doxysearch.cgi">
280 <primary sortas="b-doxysearch.cgi">doxysearch.cgi</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
[1bbef1e]285 </variablelist>
286
287 </sect2>
[faa80ab]288
289</sect1>
Note: See TracBrowser for help on using the repository browser.