[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[effdc6af] | 7 | <!ENTITY gtk-doc-download-http "http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gtk-doc-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.bz2">
|
---|
| 9 | <!ENTITY gtk-doc-md5sum "d105d5b28e7e023ab1b7e85fb65e45c3">
|
---|
| 10 | <!ENTITY gtk-doc-size "145 KB">
|
---|
| 11 | <!ENTITY gtk-doc-buildsize "1.6 MB">
|
---|
| 12 | <!ENTITY gtk-doc-time "0.01 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
|
---|
| 33 | contains a code documentor. This is useful for extracting specially formatted
|
---|
| 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
|
---|
| 38 | available, the install process will copy 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>
|
---|
[8d77de6] | 66 | <para><xref linkend="openjade"/>,
|
---|
| 67 | <xref linkend="libxslt"/>,
|
---|
| 68 | <xref linkend="DocBook"/> and
|
---|
[effdc6af] | 69 | <xref linkend="docbook-xsl"/></para>
|
---|
[fc7afd0c] | 70 |
|
---|
[effdc6af] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para><xref linkend="sgml-dtd"/> and <xref linkend="docbook-dsssl"/></para>
|
---|
[fc7afd0c] | 73 |
|
---|
[effdc6af] | 74 | </sect2>
|
---|
[fc7afd0c] | 75 |
|
---|
[effdc6af] | 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of GTK-Doc</title>
|
---|
| 78 |
|
---|
[8d77de6] | 79 | <para>Install <application>GTK-Doc</application> by running
|
---|
[effdc6af] | 80 | the following commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[fc7afd0c] | 83 |
|
---|
[effdc6af] | 84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 85 |
|
---|
[effdc6af] | 86 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 87 |
|
---|
[effdc6af] | 88 | </sect2>
|
---|
[fc7afd0c] | 89 |
|
---|
[effdc6af] | 90 | <sect2 role="content">
|
---|
| 91 | <title>Contents</title>
|
---|
| 92 |
|
---|
| 93 | <segmentedlist>
|
---|
| 94 | <segtitle>Installed Programs</segtitle>
|
---|
| 95 | <segtitle>Installed Libraries</segtitle>
|
---|
| 96 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 97 |
|
---|
[effdc6af] | 98 | <seglistitem>
|
---|
[8d77de6] | 99 | <seg>gtkdocize, gtkdoc-fixxref, gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman,
|
---|
[effdc6af] | 100 | gtkdoc-mktmpl, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
---|
| 101 | <seg>None</seg>
|
---|
| 102 | <seg>/usr/share/gtk-doc and /usr/share/sgml/gtk-doc</seg>
|
---|
| 103 | </seglistitem>
|
---|
| 104 | </segmentedlist>
|
---|
[fc7afd0c] | 105 |
|
---|
[effdc6af] | 106 | <variablelist>
|
---|
| 107 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 108 | <?dbfo list-presentation="list"?>
|
---|
| 109 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 110 |
|
---|
[effdc6af] | 111 | <varlistentry id="gtkdoc">
|
---|
| 112 | <term><command>gtkdoc*</command></term>
|
---|
| 113 | <listitem>
|
---|
[8d77de6] | 114 | <para>these are all <application>Perl</application> scripts used by
|
---|
| 115 | package <filename>Makefile</filename> scripts to generate
|
---|
[effdc6af] | 116 | documentation for the package being built.</para>
|
---|
| 117 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 118 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
[fc7afd0c] | 122 |
|
---|
[effdc6af] | 123 | </variablelist>
|
---|
[fc7afd0c] | 124 |
|
---|
[effdc6af] | 125 | </sect2>
|
---|
[fc7afd0c] | 126 |
|
---|
[832650c] | 127 | </sect1>
|
---|