source: general/prog/doxygen.xml@ 67b1a0a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 67b1a0a was 67b1a0a, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Remove references to qt4 in poppler, cmake,
doxygen, qca, and pinentry

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

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