[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">
|
---|
[0dddae0] | 9 | <!ENTITY gtk-doc-md5sum "7aa8a1262c70692ebbdf33395fddd5c4">
|
---|
| 10 | <!ENTITY gtk-doc-size "767 KB">
|
---|
| 11 | <!ENTITY gtk-doc-buildsize "10 MB">
|
---|
| 12 | <!ENTITY gtk-doc-time "0.4 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>
|
---|
[0dddae0] | 66 | <para role="required"><xref linkend="DocBook"/>,
|
---|
| 67 | <xref linkend="docbook-xsl"/>, and
|
---|
| 68 | <xref linkend="libxslt"/></para>
|
---|
[64c6acb] | 69 |
|
---|
[effdc6af] | 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0dddae0] | 71 | <para role="optional"><xref linkend="glib2"/> (for the testsuite),
|
---|
| 72 | <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
| 73 | <xref linkend="fop"/> (XML PDF support),
|
---|
| 74 | <xref linkend="gnome-doc-utils"/> and
|
---|
| 75 | <xref linkend="which"/> (builds gtk-doc documentation),
|
---|
| 76 | <xref linkend="openjade"/> with
|
---|
| 77 | <xref linkend="sgml-dtd"/> and
|
---|
| 78 | <xref linkend="docbook-dsssl"/>
|
---|
| 79 | (SGML support, not actively maintained any more),
|
---|
| 80 | <xref linkend="python"/> (builds gtkdoc-depscan), and
|
---|
| 81 | <xref linkend="rarian"/></para>
|
---|
[fc7afd0c] | 82 |
|
---|
[1039de3] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 85 |
|
---|
[effdc6af] | 86 | </sect2>
|
---|
[fc7afd0c] | 87 |
|
---|
[effdc6af] | 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of GTK-Doc</title>
|
---|
| 90 |
|
---|
[0dddae0] | 91 | <!-- Does not apply to this version? <note>
|
---|
[0e5a229a] | 92 | <para>If you installed the <xref linkend="scrollkeeper"/> package and
|
---|
| 93 | then followed it with <xref linkend="rarian"/> package, there will be
|
---|
| 94 | Scrollkeeper files missing (Rarian removed them) and the build will
|
---|
| 95 | fail. In this instance you should add the paramater
|
---|
[0dddae0] | 96 | <option>\-\-disable-scrollkeeper</option> to the
|
---|
[0e5a229a] | 97 | <command>./configure</command> command shown below.</para>
|
---|
[0dddae0] | 98 | </note> -->
|
---|
[0e5a229a] | 99 |
|
---|
[8d77de6] | 100 | <para>Install <application>GTK-Doc</application> by running
|
---|
[effdc6af] | 101 | the following commands:</para>
|
---|
| 102 |
|
---|
[0dddae0] | 103 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 104 | --disable-scrollkeeper &&
|
---|
[2e46c65] | 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
[9327a61] | 107 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[0e5a229a] | 108 |
|
---|
[effdc6af] | 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 110 |
|
---|
[effdc6af] | 111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 112 |
|
---|
[0e5a229a] | 113 | <!-- <para>The test suite requires that the package has been installed first, but
|
---|
[62acbed] | 114 | there's no reason to run it as there is a missing file which causes the test
|
---|
| 115 | suite to fail. If you insist on seeing the results, an an unprivileged user
|
---|
[0e5a229a] | 116 | run: <command>make check</command>.</para> -->
|
---|
[64c6acb] | 117 |
|
---|
[effdc6af] | 118 | </sect2>
|
---|
[fc7afd0c] | 119 |
|
---|
[62acbed] | 120 | <!-- <sect2 role="commands">
|
---|
[2e46c65] | 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
[62acbed] | 123 | \<\!\-\- no scrollkeeper files with this version
|
---|
[e05cd03f] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[62acbed] | 125 | href="../../xincludes/scrollkeeper-dir.xml"/> \-\-\>
|
---|
[2e46c65] | 126 |
|
---|
[62acbed] | 127 | </sect2> -->
|
---|
[2e46c65] | 128 |
|
---|
[0dddae0] | 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
| 132 | <para><parameter>--disable-scrollkeeper</parameter>: Do not make updates to
|
---|
| 133 | the <application>scrollkeeper</application> database. Remove it if you have
|
---|
| 134 | <application>rarian</application> installed.</para>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
[effdc6af] | 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
| 142 | <segtitle>Installed Programs</segtitle>
|
---|
| 143 | <segtitle>Installed Libraries</segtitle>
|
---|
| 144 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 145 |
|
---|
[effdc6af] | 146 | <seglistitem>
|
---|
[0dddae0] | 147 | <seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
|
---|
| 148 | gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf, gtkdoc-mktmpl,
|
---|
| 149 | gtkdoc-rebase, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
---|
[effdc6af] | 150 | <seg>None</seg>
|
---|
[0dddae0] | 151 | <seg>/usr/share/{gnome/help/gtk-doc-manual/*,gtk-doc/data,omf/gtk-doc-manual,sgml/gtk-doc}</seg>
|
---|
[effdc6af] | 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
[fc7afd0c] | 154 |
|
---|
[effdc6af] | 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 159 |
|
---|
[effdc6af] | 160 | <varlistentry id="gtkdoc">
|
---|
| 161 | <term><command>gtkdoc*</command></term>
|
---|
| 162 | <listitem>
|
---|
[64c6acb] | 163 | <para>these are all shell, <application>Perl</application>, or
|
---|
| 164 | <application>Python</application> scripts used by
|
---|
[8d77de6] | 165 | package <filename>Makefile</filename> scripts to generate
|
---|
[effdc6af] | 166 | documentation for the package being built.</para>
|
---|
| 167 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 168 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
[fc7afd0c] | 172 |
|
---|
[effdc6af] | 173 | </variablelist>
|
---|
[fc7afd0c] | 174 |
|
---|
[effdc6af] | 175 | </sect2>
|
---|
[fc7afd0c] | 176 |
|
---|
[832650c] | 177 | </sect1>
|
---|