[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 |
|
---|
[a1fd0f2] | 7 | <!ENTITY doxygen-download-http "http://ftp.stack.nl/pub/users/dimitri/doxygen-&doxygen-version;.src.tar.gz">
|
---|
[faa80ab] | 8 | <!ENTITY doxygen-download-ftp "ftp://ftp.stack.nl/pub/users/dimitri/doxygen-&doxygen-version;.src.tar.gz">
|
---|
[9b0ae12] | 9 | <!ENTITY doxygen-md5sum "2d6ea20a9d850d94321cee78bab7bb87">
|
---|
| 10 | <!ENTITY doxygen-size "3.8 MB">
|
---|
| 11 | <!ENTITY doxygen-buildsize "48 MB">
|
---|
| 12 | <!ENTITY doxygen-time "1.5 SBU (includes building the GUI frontend)">
|
---|
[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 |
|
---|
[a1fd0f2] | 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
|
---|
[1bbef1e] | 39 | documentation consistent with the source code.</para>
|
---|
| 40 |
|
---|
[a1fd0f2] | 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
|
---|
[6722219] | 44 | <application>Graphviz</application>, you can also visualize the relations
|
---|
[7cd76d62] | 45 | between the various elements by means of include dependency graphs,
|
---|
| 46 | inheritance diagrams, and collaboration diagrams, which are all generated
|
---|
[1bbef1e] | 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>
|
---|
[56e902b] | 74 | <para role="optional"><xref linkend="qt4"/> (for doxywizard),
|
---|
[e41e360] | 75 | <xref linkend="graphviz"/>,
|
---|
[6e5f13bd] | 76 | <xref linkend="python"/>,
|
---|
[e41e360] | 77 | <xref linkend="tetex"/>,
|
---|
[aa8ef3bc] | 78 | <!-- <xref linkend="espgs"/> or --><xref linkend="gs"/></para>
|
---|
[1bbef1e] | 79 |
|
---|
[1039de3] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/doxygen"/></para>
|
---|
| 82 |
|
---|
[1bbef1e] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Doxygen</title>
|
---|
| 87 |
|
---|
[56e902b] | 88 | <note><para>If you have both <xref linkend='qt'/> and <xref linkend='qt4'/>
|
---|
| 89 | installed, be sure to set the environment variable QTDIR to point to the
|
---|
| 90 | <application>Qt4</application> top level directory if you add the
|
---|
| 91 | <option>--with-doxywizard</option> option.</para></note>
|
---|
| 92 |
|
---|
[7cd76d62] | 93 | <para>Install <application>Doxygen</application> by running the following
|
---|
[1bbef1e] | 94 | commands:</para>
|
---|
| 95 |
|
---|
[e41e360] | 96 | <screen><userinput>./configure --prefix /usr \
|
---|
[199a5c9a] | 97 | --docdir /usr/share/doc/doxygen-&doxygen-version; &&
|
---|
[1bbef1e] | 98 | make</userinput></screen>
|
---|
[d260aaf4] | 99 |
|
---|
[a1fd0f2] | 100 | <para>This package does not come with a test suite.</para>
|
---|
| 101 |
|
---|
[1bbef1e] | 102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d260aaf4] | 103 |
|
---|
[1bbef1e] | 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[faa80ab] | 105 |
|
---|
[a1fd0f2] | 106 | <para>If you wish to generate and install the package documentation
|
---|
| 107 | (note that man pages have already been installed), you must have
|
---|
[520f6b4f] | 108 | <application>Python</application>, <application>teTeX</application> (for
|
---|
[6e5f13bd] | 109 | HTML docs) and <application>Ghostscript</application> (for PDF docs)
|
---|
| 110 | installed, then issue the following command as the
|
---|
[30d63593] | 111 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[a1fd0f2] | 112 |
|
---|
| 113 | <screen role="root"><userinput>make install_docs</userinput></screen>
|
---|
| 114 |
|
---|
[1bbef1e] | 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[7cd76d62] | 120 | <para><option>--with-doxywizard</option>: Use this parameter if
|
---|
[56e902b] | 121 | <application>Qt4</application> is installed and you wish to build the
|
---|
[1bbef1e] | 122 | GUI front-end.</para>
|
---|
| 123 |
|
---|
[a1fd0f2] | 124 | </sect2>
|
---|
[1bbef1e] | 125 |
|
---|
[a1fd0f2] | 126 | <sect2 role="configuration">
|
---|
| 127 | <title>Configuring Doxygen</title>
|
---|
[1bbef1e] | 128 |
|
---|
[a1fd0f2] | 129 | <para>There is no real configuration necessary for the
|
---|
| 130 | <application>Doxygen</application> package although three additional
|
---|
[919683dc] | 131 | packages are required if you wish to use extended capabilities. If you
|
---|
[a1fd0f2] | 132 | need to use the language translation features, you must have
|
---|
| 133 | <xref linkend="python"/> installed. If you require formulas to
|
---|
[520f6b4f] | 134 | create PDF documentation, then you must have <xref linkend="tetex"/>
|
---|
[a1fd0f2] | 135 | installed. If you require formulas to convert PostScript files to bitmaps,
|
---|
[aa8ef3bc] | 136 | then you must have <xref linkend="gs"/><!-- or <xref linkend="espgs"/> -->
|
---|
[a1fd0f2] | 137 | installed.</para>
|
---|
[1bbef1e] | 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
| 147 | <segtitle>Installed Directory</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
[a1fd0f2] | 150 | <seg>doxygen, doxytag, and optionally, doxywizard</seg>
|
---|
[1bbef1e] | 151 | <seg>None</seg>
|
---|
| 152 | <seg>/usr/share/doc/doxygen</seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="doxygen-prog">
|
---|
| 162 | <term><command>doxygen</command></term>
|
---|
| 163 | <listitem>
|
---|
[7cd76d62] | 164 | <para>is a command-line based utility used to generate template
|
---|
| 165 | configuration files and then generate documentation from these templates. Use
|
---|
| 166 | <command>doxygen --help</command> for an explanation of the command-line
|
---|
[1bbef1e] | 167 | parameters.</para>
|
---|
| 168 | <indexterm zone="doxygen doxygen-prog">
|
---|
| 169 | <primary sortas="b-doxygen">doxygen</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="doxytag">
|
---|
| 175 | <term><command>doxytag</command></term>
|
---|
| 176 | <listitem>
|
---|
[7cd76d62] | 177 | <para>is used to generate a tag file and/or a search index for a set
|
---|
[1bbef1e] | 178 | of HTML files.</para>
|
---|
| 179 | <indexterm zone="doxygen doxytag">
|
---|
| 180 | <primary sortas="b-doxytag">doxytag</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="doxywizard">
|
---|
| 186 | <term><command>doxywizard</command></term>
|
---|
| 187 | <listitem>
|
---|
[7cd76d62] | 188 | <para>is a GUI front-end for configuring and
|
---|
[1bbef1e] | 189 | running <command>doxygen</command>.</para>
|
---|
| 190 | <indexterm zone="doxygen doxywizard">
|
---|
| 191 | <primary sortas="b-doxywizard">doxywizard</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 | </variablelist>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
[faa80ab] | 198 |
|
---|
| 199 | </sect1>
|
---|