1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY doxygen-download-http "http://ftp.stack.nl/pub/users/dimitri/doxygen-&doxygen-version;.src.tar.gz">
|
---|
8 | <!ENTITY doxygen-download-ftp "ftp://ftp.stack.nl/pub/users/dimitri/doxygen-&doxygen-version;.src.tar.gz">
|
---|
9 | <!ENTITY doxygen-md5sum "ebf11130bec7987e9b69b1e0301d151a">
|
---|
10 | <!ENTITY doxygen-size "2.8 MB">
|
---|
11 | <!ENTITY doxygen-buildsize "48.4 MB">
|
---|
12 | <!ENTITY doxygen-time "1.5 SBU">
|
---|
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>The <application>Doxygen</application> package contains a
|
---|
33 | documentation system for C++, C, Java, Objective-C, Corba IDL and to some
|
---|
34 | extent PHP, C# and D. This is useful for generating HTML documentation
|
---|
35 | and/or an off-line reference manual from a set of documented source files.
|
---|
36 | There 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.</para>
|
---|
40 |
|
---|
41 | <para>You can also configure <application>Doxygen</application> to extract
|
---|
42 | the code structure from undocumented source files. This is very useful to
|
---|
43 | quickly find your way in large source distributions. Used along with
|
---|
44 | <application>Graphviz</application>, you can also visualize the relations
|
---|
45 | between the various elements by means of include dependency graphs,
|
---|
46 | inheritance diagrams, and collaboration diagrams, which are all generated
|
---|
47 | automatically.</para>
|
---|
48 |
|
---|
49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
50 | <itemizedlist spacing="compact">
|
---|
51 | <listitem>
|
---|
52 | <para>Download (HTTP): <ulink url="&doxygen-download-http;"/></para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Download (FTP): <ulink url="&doxygen-download-ftp;"/></para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Download MD5 sum: &doxygen-md5sum;</para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Download size: &doxygen-size;</para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>Estimated disk space required: &doxygen-buildsize;</para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>Estimated build time: &doxygen-time;</para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">Doxygen Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
74 | <para role="optional"><xref linkend="qt"/>,
|
---|
75 | <xref linkend="tetex"/>,
|
---|
76 | <xref linkend="python"/>,
|
---|
77 | <xref linkend="espgs"/> or <xref linkend="gs"/>, and
|
---|
78 | <xref linkend="graphviz"/></para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/doxygen"/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of Doxygen</title>
|
---|
87 |
|
---|
88 | <para>Install <application>Doxygen</application> by running the following
|
---|
89 | commands:</para>
|
---|
90 |
|
---|
91 | <screen><userinput>rm src/unistd.h &&
|
---|
92 | ./configure --prefix /usr --docdir /usr/share/doc &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>This package does not come with a test suite.</para>
|
---|
96 |
|
---|
97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
98 |
|
---|
99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
100 |
|
---|
101 | <para>If you wish to generate and install the package documentation
|
---|
102 | (note that man pages have already been installed), you must have
|
---|
103 | <application>Python</application>, <application>teTeX</application> (for
|
---|
104 | HTML docs) and <application>Ghostscript</application> (for PDF docs)
|
---|
105 | installed, then issue the following command as the
|
---|
106 | <systemitem class="username">root</systemitem> user:</para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make install_docs</userinput></screen>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="commands">
|
---|
113 | <title>Command Explanations</title>
|
---|
114 |
|
---|
115 | <para><command>rm src/unistd.h</command>: There is a bug in
|
---|
116 | <application>Flex</application>-&lfs-flex-version; which causes
|
---|
117 | <command>make</command> to use this file instead of the system
|
---|
118 | installed version. Removing this file allows the GUI front-end to build
|
---|
119 | successfully. This command is not required if you don't pass the
|
---|
120 | <option>--with-doxywizard</option> parameter (but won't affect the build
|
---|
121 | otherwise).</para>
|
---|
122 |
|
---|
123 | <para><option>--with-doxywizard</option>: Use this parameter if
|
---|
124 | <application>Qt</application> is installed and you wish to build the
|
---|
125 | GUI front-end.</para>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="configuration">
|
---|
130 | <title>Configuring Doxygen</title>
|
---|
131 |
|
---|
132 | <para>There is no real configuration necessary for the
|
---|
133 | <application>Doxygen</application> package although three additional
|
---|
134 | packages are required if you wish to use extended capabilities. If you
|
---|
135 | need to use the language translation features, you must have
|
---|
136 | <xref linkend="python"/> installed. If you require formulas to
|
---|
137 | create PDF documentation, then you must have <xref linkend="tetex"/>
|
---|
138 | installed. If you require formulas to convert PostScript files to bitmaps,
|
---|
139 | then you must have <xref linkend="gs"/> or <xref linkend="espgs"/>
|
---|
140 | installed.</para>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="content">
|
---|
145 | <title>Contents</title>
|
---|
146 |
|
---|
147 | <segmentedlist>
|
---|
148 | <segtitle>Installed Programs</segtitle>
|
---|
149 | <segtitle>Installed Libraries</segtitle>
|
---|
150 | <segtitle>Installed Directory</segtitle>
|
---|
151 |
|
---|
152 | <seglistitem>
|
---|
153 | <seg>doxygen, doxytag, and optionally, doxywizard</seg>
|
---|
154 | <seg>None</seg>
|
---|
155 | <seg>/usr/share/doc/doxygen</seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="doxygen-prog">
|
---|
165 | <term><command>doxygen</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>is a command-line based utility used to generate template
|
---|
168 | configuration files and then generate documentation from these templates. Use
|
---|
169 | <command>doxygen --help</command> for an explanation of the command-line
|
---|
170 | parameters.</para>
|
---|
171 | <indexterm zone="doxygen doxygen-prog">
|
---|
172 | <primary sortas="b-doxygen">doxygen</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="doxytag">
|
---|
178 | <term><command>doxytag</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>is used to generate a tag file and/or a search index for a set
|
---|
181 | of HTML files.</para>
|
---|
182 | <indexterm zone="doxygen doxytag">
|
---|
183 | <primary sortas="b-doxytag">doxytag</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | <varlistentry id="doxywizard">
|
---|
189 | <term><command>doxywizard</command></term>
|
---|
190 | <listitem>
|
---|
191 | <para>is a GUI front-end for configuring and
|
---|
192 | running <command>doxygen</command>.</para>
|
---|
193 | <indexterm zone="doxygen doxywizard">
|
---|
194 | <primary sortas="b-doxywizard">doxywizard</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 | </variablelist>
|
---|
199 |
|
---|
200 | </sect2>
|
---|
201 |
|
---|
202 | </sect1>
|
---|