[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 |
|
---|
[6a513a4] | 7 | <!ENTITY gtk-doc-download-http "&gnome-download-http;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.xz">
|
---|
[6fc37b3] | 9 | <!ENTITY gtk-doc-md5sum "0dc6570953112a464a409fb99258ccbc">
|
---|
| 10 | <!ENTITY gtk-doc-size "660 KB">
|
---|
| 11 | <!ENTITY gtk-doc-buildsize "12.2 MB (with tests)">
|
---|
| 12 | <!ENTITY gtk-doc-time "0.3 SBU (with tests)">
|
---|
[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 |
|
---|
[8b0eef4] | 41 | &lfs80_checked;
|
---|
[a10f4a7] | 42 |
|
---|
[effdc6af] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url=">k-doc-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url=">k-doc-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: >k-doc-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: >k-doc-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: >k-doc-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: >k-doc-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
[fc7afd0c] | 64 |
|
---|
[effdc6af] | 65 | <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
---|
[fc7afd0c] | 66 |
|
---|
[effdc6af] | 67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[ba056d7] | 68 | <para role="required">
|
---|
| 69 | <xref linkend="DocBook"/>,
|
---|
| 70 | <xref linkend="docbook-xsl"/>,
|
---|
| 71 | <xref linkend="itstool"/> and
|
---|
| 72 | <xref linkend="libxslt"/>
|
---|
| 73 | </para>
|
---|
[64c6acb] | 74 |
|
---|
[effdc6af] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b495000] | 76 | <para role="optional">
|
---|
[665ac79f] | 77 | <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
| 78 | <xref linkend="fop"/> (XML PDF support),
|
---|
| 79 | <xref linkend="glib2"/> (for the test suite),
|
---|
| 80 | <ulink url="&gnome-download-http;/gnome-doc-utils/">
|
---|
| 81 | GNOME Doc Utils</ulink> and
|
---|
| 82 | <xref linkend="which"/> (required for the test suite and gtk-doc documentation),
|
---|
| 83 | <xref linkend="openjade"/> with
|
---|
| 84 | <xref linkend="sgml-dtd"/> and
|
---|
| 85 | <xref linkend="docbook-dsssl"/>
|
---|
| 86 | (SGML support, not actively maintained any more),
|
---|
| 87 | <xref linkend="python2"/> (builds gtkdoc-depscan), and
|
---|
| 88 | <xref linkend="rarian"/>
|
---|
| 89 | </para>
|
---|
[fc7afd0c] | 90 |
|
---|
[1039de3] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 93 |
|
---|
[effdc6af] | 94 | </sect2>
|
---|
[fc7afd0c] | 95 |
|
---|
[effdc6af] | 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of GTK-Doc</title>
|
---|
| 98 |
|
---|
[8d77de6] | 99 | <para>Install <application>GTK-Doc</application> by running
|
---|
[effdc6af] | 100 | the following commands:</para>
|
---|
| 101 |
|
---|
[f47c5167] | 102 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[2e46c65] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
[5b9456bf] | 105 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[0e5a229a] | 106 |
|
---|
[effdc6af] | 107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 108 |
|
---|
[effdc6af] | 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 110 |
|
---|
[effdc6af] | 111 | </sect2>
|
---|
[fc7afd0c] | 112 |
|
---|
[effdc6af] | 113 | <sect2 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
| 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Libraries</segtitle>
|
---|
| 119 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 120 |
|
---|
[effdc6af] | 121 | <seglistitem>
|
---|
[5b9456bf] | 122 | <seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
|
---|
[e1617c94] | 123 | gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf,
|
---|
| 124 | gtkdoc-mktmpl, gtkdoc-rebase, gtkdoc-scan, and gtkdoc-scangobj</seg>
|
---|
[effdc6af] | 125 | <seg>None</seg>
|
---|
[e1617c94] | 126 | <seg>/usr/share/{gtk-doc,help/*/gtk-doc-manual,sgml/gtk-doc}</seg>
|
---|
[effdc6af] | 127 | </seglistitem>
|
---|
| 128 | </segmentedlist>
|
---|
[fc7afd0c] | 129 |
|
---|
[effdc6af] | 130 | <variablelist>
|
---|
| 131 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 132 | <?dbfo list-presentation="list"?>
|
---|
| 133 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 134 |
|
---|
[effdc6af] | 135 | <varlistentry id="gtkdoc">
|
---|
| 136 | <term><command>gtkdoc*</command></term>
|
---|
| 137 | <listitem>
|
---|
[64c6acb] | 138 | <para>these are all shell, <application>Perl</application>, or
|
---|
| 139 | <application>Python</application> scripts used by
|
---|
[8d77de6] | 140 | package <filename>Makefile</filename> scripts to generate
|
---|
[effdc6af] | 141 | documentation for the package being built.</para>
|
---|
| 142 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 143 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
[fc7afd0c] | 147 |
|
---|
[effdc6af] | 148 | </variablelist>
|
---|
[fc7afd0c] | 149 |
|
---|
[effdc6af] | 150 | </sect2>
|
---|
[fc7afd0c] | 151 |
|
---|
[832650c] | 152 | </sect1>
|
---|