[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">
|
---|
[95112eb] | 9 | <!ENTITY gtk-doc-md5sum "e61595df21431db28c83fe4c7d4a4fa8">
|
---|
| 10 | <!ENTITY gtk-doc-size "186 KB">
|
---|
| 11 | <!ENTITY gtk-doc-buildsize "2 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
|
---|
| 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
|
---|
[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>
|
---|
[25a19d85] | 66 | <para role="required"><xref linkend="libxslt"/>,
|
---|
[2e46c65] | 67 | <xref linkend="DocBook"/>, and
|
---|
[effdc6af] | 68 | <xref linkend="docbook-xsl"/></para>
|
---|
[fc7afd0c] | 69 |
|
---|
[effdc6af] | 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[25a19d85] | 71 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
| 72 | <xref linkend="scrollkeeper"/>,
|
---|
| 73 | <xref linkend="openjade"/>,
|
---|
| 74 | <xref linkend="sgml-dtd"/>, and
|
---|
[2e46c65] | 75 | <xref linkend="docbook-dsssl"/></para>
|
---|
[fc7afd0c] | 76 |
|
---|
[1039de3] | 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 79 |
|
---|
[effdc6af] | 80 | </sect2>
|
---|
[fc7afd0c] | 81 |
|
---|
[effdc6af] | 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of GTK-Doc</title>
|
---|
| 84 |
|
---|
[8d77de6] | 85 | <para>Install <application>GTK-Doc</application> by running
|
---|
[effdc6af] | 86 | the following commands:</para>
|
---|
| 87 |
|
---|
[2e46c65] | 88 | <screen><userinput>./configure --prefix=/usr --localstatedir=/var/lib &&
|
---|
| 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>This package does not come with a test suite.</para>
|
---|
[fc7afd0c] | 92 |
|
---|
[effdc6af] | 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 94 |
|
---|
[effdc6af] | 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 96 |
|
---|
[effdc6af] | 97 | </sect2>
|
---|
[fc7afd0c] | 98 |
|
---|
[2e46c65] | 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
[56ce09e] | 102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 103 | href="../../xincludes/scrollkeeper-dir.xml"/>
|
---|
[2e46c65] | 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
[effdc6af] | 107 | <sect2 role="content">
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 | <segmentedlist>
|
---|
| 111 | <segtitle>Installed Programs</segtitle>
|
---|
| 112 | <segtitle>Installed Libraries</segtitle>
|
---|
| 113 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 114 |
|
---|
[effdc6af] | 115 | <seglistitem>
|
---|
[8d77de6] | 116 | <seg>gtkdocize, gtkdoc-fixxref, gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman,
|
---|
[effdc6af] | 117 | gtkdoc-mktmpl, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
---|
| 118 | <seg>None</seg>
|
---|
[25a19d85] | 119 | <seg>The following subdirectories of /usr/share/:
|
---|
| 120 | doc/gtk-doc->k-doc-version;,
|
---|
| 121 | gnome/help/gtk-doc-manual,
|
---|
| 122 | gtk-doc/data and
|
---|
| 123 | {omf,sgml}/gtk-doc</seg>
|
---|
[effdc6af] | 124 | </seglistitem>
|
---|
| 125 | </segmentedlist>
|
---|
[fc7afd0c] | 126 |
|
---|
[effdc6af] | 127 | <variablelist>
|
---|
| 128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 129 | <?dbfo list-presentation="list"?>
|
---|
| 130 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 131 |
|
---|
[effdc6af] | 132 | <varlistentry id="gtkdoc">
|
---|
| 133 | <term><command>gtkdoc*</command></term>
|
---|
| 134 | <listitem>
|
---|
[8d77de6] | 135 | <para>these are all <application>Perl</application> scripts used by
|
---|
| 136 | package <filename>Makefile</filename> scripts to generate
|
---|
[effdc6af] | 137 | documentation for the package being built.</para>
|
---|
| 138 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 139 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
[fc7afd0c] | 143 |
|
---|
[effdc6af] | 144 | </variablelist>
|
---|
[fc7afd0c] | 145 |
|
---|
[effdc6af] | 146 | </sect2>
|
---|
[fc7afd0c] | 147 |
|
---|
[832650c] | 148 | </sect1>
|
---|