source: general/prog/doxygen.xml@ d0d2c85a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 d0d2c85a was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 9.9 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
[c6b192c]7 <!ENTITY doxygen-download-http "https://doxygen.nl/files/doxygen-&doxygen-version;.src.tar.gz">
[01f594b]8 <!ENTITY doxygen-download-ftp " ">
[d5f6e8e]9 <!ENTITY doxygen-md5sum "1513a1f6c0003dcf1d840e0420953857">
[372597e]10 <!ENTITY doxygen-size "4.9 MB">
[d5f6e8e]11 <!ENTITY doxygen-buildsize "177 MB (with tests)">
12 <!ENTITY doxygen-time "1.1 SBU (using parallelism=4; with tests)">
[faa80ab]13]>
14
[cef3a2f]15<sect1 id="doxygen" xreflabel="Doxygen-&doxygen-version;">
[1bbef1e]16 <?dbhtml filename="doxygen.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Doxygen-&doxygen-version;</title>
23
24 <indexterm zone="doxygen">
25 <primary sortas="a-Doxygen">Doxygen</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Doxygen</title>
30
[8f1699f2]31 <para>
32 The <application>Doxygen</application> package contains a documentation
33 system for C++, C, Java, Objective-C, Corba IDL and to some extent PHP,
34 C# and D. It is useful for generating HTML documentation and/or an
35 off-line reference manual from a set of documented source files. There
36 is also support for generating output in RTF, PostScript, hyperlinked
37 PDF, compressed HTML, and Unix man pages. The documentation is extracted
38 directly from the sources, which makes it much easier to keep the
39 documentation consistent with the source code.
40 </para>
41
42 <para>
43 You can also configure <application>Doxygen</application> to extract
44 the code structure from undocumented source files. This is very useful
45 to quickly find your way in large source distributions. Used along with
46 <application>Graphviz</application>, you can also visualize the relations
47 between the various elements by means of include dependency graphs,
48 inheritance diagrams, and collaboration diagrams, which are all generated
49 automatically.
50 </para>
[1bbef1e]51
[eef74ab]52 &lfs101_checked;
[778be14]53
[1bbef1e]54 <bridgehead renderas="sect3">Package Information</bridgehead>
55 <itemizedlist spacing="compact">
56 <listitem>
[8f1699f2]57 <para>
58 Download (HTTP): <ulink url="&doxygen-download-http;"/>
59 </para>
[1bbef1e]60 </listitem>
61 <listitem>
[8f1699f2]62 <para>
63 Download (FTP): <ulink url="&doxygen-download-ftp;"/>
64 </para>
[1bbef1e]65 </listitem>
66 <listitem>
[8f1699f2]67 <para>
68 Download MD5 sum: &doxygen-md5sum;
69 </para>
[1bbef1e]70 </listitem>
71 <listitem>
[8f1699f2]72 <para>
73 Download size: &doxygen-size;
74 </para>
[1bbef1e]75 </listitem>
76 <listitem>
[8f1699f2]77 <para>
78 Estimated disk space required: &doxygen-buildsize;
79 </para>
[1bbef1e]80 </listitem>
81 <listitem>
[8f1699f2]82 <para>
83 Estimated build time: &doxygen-time;
84 </para>
[1bbef1e]85 </listitem>
86 </itemizedlist>
[13d0d6f0]87<!--
[b4ea593]88 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
89 <itemizedlist spacing='compact'>
90 <listitem>
[de33b2a]91 <para>
92 Required patch: <ulink
93 url="&patch-root;/doxygen-&doxygen-version;-flex_2_6_0_fix-1.patch"/>
94 </para>
[b4ea593]95 </listitem>
[13d0d6f0]96 </itemizedlist>-->
97
[1bbef1e]98 <bridgehead renderas="sect3">Doxygen Dependencies</bridgehead>
99
[42285880]100 <bridgehead renderas="sect4">Required</bridgehead>
101 <para role="required">
[3fb270d]102 <xref linkend="cmake"/> and
103 <xref linkend="git"/>
[42285880]104 </para>
105
[1bbef1e]106 <bridgehead renderas="sect4">Optional</bridgehead>
[8f1699f2]107 <para role="optional">
108 <xref linkend="graphviz"/>,
109 <xref linkend="gs"/>,
[9e3d18a7]110 <xref linkend="libxml2"/> (required for the tests),
[75457cc]111 <xref linkend="llvm"/> (with clang),
[8b0496b]112 <!-- Can someone check this? With LLVM7, it fails to build. -->
[60ddbaf]113 <xref linkend="python2"/>,
[13d0d6f0]114 <xref linkend="qt5"/> (for doxywizard),
[d5f6e8e]115 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
116 <xref linkend="xapian"/> (for doxyindexer), and
117 <ulink url="https://javacc.github.io/javacc/">javacc</ulink>
[8f1699f2]118 </para>
[1bbef1e]119
[1039de3]120 <para condition="html" role="usernotes">User Notes:
[8f1699f2]121 <ulink url="&blfs-wiki;/doxygen"/>
122 </para>
[1bbef1e]123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of Doxygen</title>
127
[7b794c2]128<!-- hopefully should be only needed for 1.9.1 -->
129 <para>
130 Remove a spurious file that prevents building the documentation:
131 </para>
132
133<screen><userinput>rm src/._xmlgen.cpp</userinput></screen>
134
[8f1699f2]135 <para>
136 Install <application>Doxygen</application> by running the following
137 commands:
138 </para>
[1bbef1e]139
[c41843e]140<screen><userinput>mkdir -v build &amp;&amp;
141cd build &amp;&amp;
142
143cmake -G "Unix Makefiles" \
[42285880]144 -DCMAKE_BUILD_TYPE=Release \
145 -DCMAKE_INSTALL_PREFIX=/usr \
[88499366]146 -Wno-dev .. &amp;&amp;
[42285880]147
[1bbef1e]148make</userinput></screen>
[d260aaf4]149
[8f1699f2]150 <para>
[f2abc73]151 To test the results, issue: <command>make tests</command>.
[8f1699f2]152 </para>
[a1fd0f2]153
[42285880]154 <para>
155 If you wish to generate the package documentation, you must have
156 <application>Python</application>, <application>TeX Live</application>
157 (for HTML docs) and <application>Ghostscript</application> (for PDF docs)
158 installed, then issue the following command:
159 </para>
160
[a42c273]161<screen remap="doc"><userinput>cmake -DDOC_INSTALL_DIR=share/doc/doxygen-&doxygen-version; -Dbuild_doc=ON .. &amp;&amp;
[42285880]162
163make docs</userinput></screen>
164
[8f1699f2]165 <para>
166 Now, as the <systemitem class="username">root</systemitem> user:
167 </para>
[d260aaf4]168
[42285880]169<screen role="root"><userinput>make install &amp;&amp;
[bd4f0143]170install -vm644 ../doc/*.1 /usr/share/man/man1</userinput></screen>
[a1fd0f2]171
[13d0d6f0]172 <para>
173 If you have generated the package documentation, then the man pages are
174 automatically installed, and you do not need to run the last
175 <command>install ...</command> command.
176 </para>
177
[1bbef1e]178 </sect2>
179
180 <sect2 role="commands">
181 <title>Command Explanations</title>
182
[42285880]183 <para>
184 <option>-Dbuild_wizard=ON</option>: Use this switch if
[88499366]185 <application>Qt5</application> is installed and you wish to build the GUI
[42285880]186 front-end.
[8f1699f2]187 </para>
[1bbef1e]188
[75457cc]189 <para>
[42285880]190 <option>-Dbuild_search=ON</option>: Use this switch if
[75457cc]191 <application>xapian</application> is installed and you wish to build
[38b3eab]192 external search tools (<command>doxysearch.cgi</command> and
193 <command>doxyindexer)</command>.
[75457cc]194 </para>
[88499366]195<!--
[13d0d6f0]196 <para>
197 <option>-Dforce_qt4=ON</option>: Use this switch to build
198 <command>doxywizard</command> with Qt4 even if Qt5 is installed.
[88499366]199 </para>-->
[13d0d6f0]200
[75457cc]201 <para>
[42285880]202 <option>-Duse_libclang=ON</option>: Use this switch if
[75457cc]203 <application>llvm</application> with <application>clang</application> are
[42285880]204 installed, to add support for libclang parsing.
205 </para>
206
[a1fd0f2]207 </sect2>
[1bbef1e]208
[a1fd0f2]209 <sect2 role="configuration">
210 <title>Configuring Doxygen</title>
[1bbef1e]211
[8f1699f2]212 <para>
213 There is no real configuration necessary for the
214 <application>Doxygen</application> package although three additional
215 packages are required if you wish to use extended capabilities. If you
216 need to use the language translation features, you must have <xref
217 linkend="python2"/> installed. If you require formulas to create PDF
218 documentation, then you must have <xref linkend="texlive"/> installed.
219 If you require formulas to convert PostScript files to bitmaps, then
220 you must have <xref linkend="gs"/> installed.
221 </para>
[1bbef1e]222
223 </sect2>
224
225 <sect2 role="content">
226 <title>Contents</title>
227
228 <segmentedlist>
229 <segtitle>Installed Programs</segtitle>
[c3c56b2]230 <segtitle>Installed Libraries</segtitle>
[1bbef1e]231 <segtitle>Installed Directory</segtitle>
232
233 <seglistitem>
[8f1699f2]234 <seg>
[75457cc]235 doxygen and optionally,
236 doxywizard, doxyindexer and doxysearch.cgi
[8f1699f2]237 </seg>
[c3c56b2]238 <seg>
239 None
240 </seg>
[8f1699f2]241 <seg>
242 /usr/share/doc/doxygen-&doxygen-version;
243 </seg>
[1bbef1e]244 </seglistitem>
245 </segmentedlist>
246
247 <variablelist>
248 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
249 <?dbfo list-presentation="list"?>
250 <?dbhtml list-presentation="table"?>
251
252 <varlistentry id="doxygen-prog">
253 <term><command>doxygen</command></term>
254 <listitem>
[8f1699f2]255 <para>
256 is a command-line based utility used to generate template
257 configuration files and then generate documentation from these
258 templates. Use <command>doxygen --help</command> for an
[4c24eb0a]259 explanation of the command-line parameters
[8f1699f2]260 </para>
[1bbef1e]261 <indexterm zone="doxygen doxygen-prog">
262 <primary sortas="b-doxygen">doxygen</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="doxywizard">
268 <term><command>doxywizard</command></term>
269 <listitem>
[8f1699f2]270 <para>
271 is a GUI front-end for configuring and
[4c24eb0a]272 running <command>doxygen</command>
[8f1699f2]273 </para>
[1bbef1e]274 <indexterm zone="doxygen doxywizard">
275 <primary sortas="b-doxywizard">doxywizard</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
[8f1699f2]279
[75457cc]280 <varlistentry id="doxyindexer">
281 <term><command>doxyindexer</command></term>
282 <listitem>
283 <para>
284 generates a search index called <filename>doxysearch.db</filename>
285 from one or more search data files produced by
[4c24eb0a]286 <command>doxygen</command>. See, e.g.
287 <ulink url="https://javacc.github.io/javacc/"/>
[75457cc]288 </para>
289 <indexterm zone="doxygen doxyindexer">
290 <primary sortas="b-doxyindexer">doxyindexer</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="doxysearch.cgi">
296 <term><command>doxysearch.cgi</command></term>
297 <listitem>
298 <para>
299 is a CGI program to search the data indexed by
[4c24eb0a]300 <command>doxyindexer</command>
[75457cc]301 </para>
302 <indexterm zone="doxygen doxysearch.cgi">
303 <primary sortas="b-doxysearch.cgi">doxysearch.cgi</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
[1bbef1e]308 </variablelist>
309
310 </sect2>
[faa80ab]311
312</sect1>
Note: See TracBrowser for help on using the repository browser.