[fdca4266] | 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" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5600683] | 7 | <!ENTITY gtk-doc-download-http "&gnome-download-http;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.bz2">
|
---|
[0e5a229a] | 9 | <!ENTITY gtk-doc-md5sum "2b64763c7cd314742fbfe29bba6e9890">
|
---|
| 10 | <!ENTITY gtk-doc-size "644 KB">
|
---|
| 11 | <!ENTITY gtk-doc-buildsize "8 MB">
|
---|
[5600683] | 12 | <!ENTITY gtk-doc-time "less than 0.1 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[a294e133] | 15 | <sect1 id="gtk-doc" xreflabel="GTK-Doc->k-doc-version;">
|
---|
[effdc6af] | 16 | <?dbhtml filename="gtk-doc.html"?>
|
---|
[fc7afd0c] | 17 |
|
---|
[effdc6af] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[fc7afd0c] | 22 |
|
---|
[effdc6af] | 23 | <title>GTK-Doc->k-doc-version;</title>
|
---|
[fc7afd0c] | 24 |
|
---|
[effdc6af] | 25 | <indexterm zone="gtk-doc">
|
---|
| 26 | <primary sortas="a-GTK-Doc">GTK-Doc</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GTK-Doc</title>
|
---|
[fc7afd0c] | 31 |
|
---|
[8d77de6] | 32 | <para>The <application>GTK-Doc</application> package
|
---|
[104733c] | 33 | contains a code documenter. This is useful for extracting specially formatted
|
---|
[8d77de6] | 34 | comments from the code to create API documentation. This
|
---|
| 35 | package is <emphasis>optional</emphasis>; if it is not installed, packages will
|
---|
| 36 | not build the documentation. This does not mean that you will not have any
|
---|
| 37 | documentation. If <application>GTK-Doc</application> is not
|
---|
[d9962703] | 38 | available, the install process will copy any pre-built documentation to your
|
---|
[effdc6af] | 39 | system.</para>
|
---|
[fc7afd0c] | 40 |
|
---|
[effdc6af] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url=">k-doc-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url=">k-doc-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: >k-doc-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: >k-doc-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: >k-doc-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: >k-doc-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
[fc7afd0c] | 62 |
|
---|
[effdc6af] | 63 | <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
---|
[fc7afd0c] | 64 |
|
---|
[effdc6af] | 65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[646877b] | 66 | <para role="required"><xref linkend="gnome-doc-utils"/>,
|
---|
[2e46c65] | 67 | <xref linkend="DocBook"/>, and
|
---|
[effdc6af] | 68 | <xref linkend="docbook-xsl"/></para>
|
---|
[fc7afd0c] | 69 |
|
---|
[64c6acb] | 70 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 71 | <para role="optional"><xref linkend="python"/></para>
|
---|
| 72 |
|
---|
[effdc6af] | 73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[358241d1] | 74 | <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
|
---|
[25a19d85] | 75 | <xref linkend="scrollkeeper"/>,
|
---|
| 76 | <xref linkend="openjade"/>,
|
---|
[64c6acb] | 77 | <xref linkend="sgml-dtd"/>,
|
---|
| 78 | <xref linkend="docbook-dsssl"/>, also
|
---|
| 79 | <xref linkend="glib2"/> (for the testsuite)</para>
|
---|
[fc7afd0c] | 80 |
|
---|
[1039de3] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 83 |
|
---|
[effdc6af] | 84 | </sect2>
|
---|
[fc7afd0c] | 85 |
|
---|
[effdc6af] | 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of GTK-Doc</title>
|
---|
| 88 |
|
---|
[0e5a229a] | 89 | <note>
|
---|
| 90 | <para>If you installed the <xref linkend="scrollkeeper"/> package and
|
---|
| 91 | then followed it with <xref linkend="rarian"/> package, there will be
|
---|
| 92 | Scrollkeeper files missing (Rarian removed them) and the build will
|
---|
| 93 | fail. In this instance you should add the paramater
|
---|
| 94 | <option>--disable-scrollkeeper</option> to the
|
---|
| 95 | <command>./configure</command> command shown below.</para>
|
---|
| 96 | </note>
|
---|
| 97 |
|
---|
[8d77de6] | 98 | <para>Install <application>GTK-Doc</application> by running
|
---|
[effdc6af] | 99 | the following commands:</para>
|
---|
| 100 |
|
---|
[62acbed] | 101 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[2e46c65] | 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
[0e5a229a] | 104 | <para>To test the results, issue <command>make check</command>.</para>
|
---|
| 105 |
|
---|
[effdc6af] | 106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 107 |
|
---|
[effdc6af] | 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 109 |
|
---|
[0e5a229a] | 110 | <!-- <para>The test suite requires that the package has been installed first, but
|
---|
[62acbed] | 111 | there's no reason to run it as there is a missing file which causes the test
|
---|
| 112 | suite to fail. If you insist on seeing the results, an an unprivileged user
|
---|
[0e5a229a] | 113 | run: <command>make check</command>.</para> -->
|
---|
[64c6acb] | 114 |
|
---|
[effdc6af] | 115 | </sect2>
|
---|
[fc7afd0c] | 116 |
|
---|
[62acbed] | 117 | <!-- <sect2 role="commands">
|
---|
[2e46c65] | 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[62acbed] | 120 | \<\!\-\- no scrollkeeper files with this version
|
---|
[56ce09e] | 121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[62acbed] | 122 | href="../../xincludes/scrollkeeper-dir.xml"/> \-\-\>
|
---|
[2e46c65] | 123 |
|
---|
[62acbed] | 124 | </sect2> -->
|
---|
[2e46c65] | 125 |
|
---|
[effdc6af] | 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Programs</segtitle>
|
---|
| 131 | <segtitle>Installed Libraries</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 133 |
|
---|
[effdc6af] | 134 | <seglistitem>
|
---|
[64c6acb] | 135 | <seg>gtkdocize, gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdoc-mkdb,
|
---|
| 136 | gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mktmpl, gtkdoc-rebase, gtkdoc-scan,
|
---|
| 137 | gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
---|
[effdc6af] | 138 | <seg>None</seg>
|
---|
[25a19d85] | 139 | <seg>The following subdirectories of /usr/share/:
|
---|
[64c6acb] | 140 | <!--doc/gtk-doc->k-doc-version;, -->
|
---|
[25a19d85] | 141 | gnome/help/gtk-doc-manual,
|
---|
| 142 | gtk-doc/data and
|
---|
| 143 | {omf,sgml}/gtk-doc</seg>
|
---|
[effdc6af] | 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
[fc7afd0c] | 146 |
|
---|
[effdc6af] | 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 151 |
|
---|
[effdc6af] | 152 | <varlistentry id="gtkdoc">
|
---|
| 153 | <term><command>gtkdoc*</command></term>
|
---|
| 154 | <listitem>
|
---|
[64c6acb] | 155 | <para>these are all shell, <application>Perl</application>, or
|
---|
| 156 | <application>Python</application> scripts used by
|
---|
[8d77de6] | 157 | package <filename>Makefile</filename> scripts to generate
|
---|
[effdc6af] | 158 | documentation for the package being built.</para>
|
---|
| 159 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 160 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
[fc7afd0c] | 164 |
|
---|
[effdc6af] | 165 | </variablelist>
|
---|
[fc7afd0c] | 166 |
|
---|
[effdc6af] | 167 | </sect2>
|
---|
[fc7afd0c] | 168 |
|
---|
[832650c] | 169 | </sect1>
|
---|