[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">
|
---|
[ad112fd5] | 9 | <!ENTITY gtk-doc-md5sum "07764836262e154e94922e5f2aa476ae">
|
---|
| 10 | <!ENTITY gtk-doc-size "748 KB">
|
---|
[f95e57bf] | 11 | <!ENTITY gtk-doc-buildsize "14 MB (with tests)">
|
---|
[c1add1f5] | 12 | <!ENTITY gtk-doc-time "0.2 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 |
|
---|
[b7a85cd9] | 32 | <para>
|
---|
| 33 | The <application>GTK-Doc</application> package contains a code
|
---|
| 34 | documenter. This is useful for extracting specially formatted comments
|
---|
| 35 | from the code to create API documentation. This package is
|
---|
| 36 | <emphasis>optional</emphasis>; if it is not installed, packages will
|
---|
| 37 | not build the documentation. This does not mean that you will not have
|
---|
| 38 | any documentation. If <application>GTK-Doc</application> is not
|
---|
| 39 | available, the install process will copy any pre-built documentation
|
---|
| 40 | to your system.
|
---|
| 41 | </para>
|
---|
[fc7afd0c] | 42 |
|
---|
[11193870] | 43 | &lfs91_checked;
|
---|
[a10f4a7] | 44 |
|
---|
[effdc6af] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[b7a85cd9] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url=">k-doc-download-http;"/>
|
---|
| 50 | </para>
|
---|
[effdc6af] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[b7a85cd9] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url=">k-doc-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[effdc6af] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[b7a85cd9] | 58 | <para>
|
---|
| 59 | Download MD5 sum: >k-doc-md5sum;
|
---|
| 60 | </para>
|
---|
[effdc6af] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[b7a85cd9] | 63 | <para>
|
---|
| 64 | Download size: >k-doc-size;
|
---|
| 65 | </para>
|
---|
[effdc6af] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[b7a85cd9] | 68 | <para>
|
---|
| 69 | Estimated disk space required: >k-doc-buildsize;
|
---|
| 70 | </para>
|
---|
[effdc6af] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[b7a85cd9] | 73 | <para>
|
---|
| 74 | Estimated build time: >k-doc-time;
|
---|
| 75 | </para>
|
---|
[effdc6af] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
[fc7afd0c] | 78 |
|
---|
[effdc6af] | 79 | <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
---|
[fc7afd0c] | 80 |
|
---|
[effdc6af] | 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[ba056d7] | 82 | <para role="required">
|
---|
| 83 | <xref linkend="DocBook"/>,
|
---|
| 84 | <xref linkend="docbook-xsl"/>,
|
---|
[0367db7] | 85 | <xref linkend="itstool"/>, and
|
---|
| 86 | <xref linkend="libxslt"/>
|
---|
[ba056d7] | 87 | </para>
|
---|
[64c6acb] | 88 |
|
---|
[9d10790] | 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
| 91 | <xref role="runtime" linkend="pygments"/> at run time
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[effdc6af] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b495000] | 95 | <para role="optional">
|
---|
[b7279d4] | 96 | For tests:
|
---|
[665ac79f] | 97 | <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
| 98 | <xref linkend="fop"/> (XML PDF support),
|
---|
[b7279d4] | 99 | <xref linkend="glib2"/>,
|
---|
| 100 | <xref linkend="which"/>, and
|
---|
| 101 | Python modules
|
---|
[ad112fd5] | 102 | <xref linkend="lxml"/>,
|
---|
[b7279d4] | 103 | <ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>, and
|
---|
[c48b85a1] | 104 | <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>
|
---|
[665ac79f] | 105 | </para>
|
---|
[fc7afd0c] | 106 |
|
---|
[b7a85cd9] | 107 | <note>
|
---|
| 108 | <para>
|
---|
| 109 | The optional python modules above can be easily installed with
|
---|
| 110 | the <command>pip3</command> command.
|
---|
| 111 | </para>
|
---|
| 112 | </note>
|
---|
[b7279d4] | 113 |
|
---|
[1039de3] | 114 | <para condition="html" role="usernotes">User Notes:
|
---|
| 115 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 116 |
|
---|
[effdc6af] | 117 | </sect2>
|
---|
[fc7afd0c] | 118 |
|
---|
[effdc6af] | 119 | <sect2 role="installation">
|
---|
| 120 | <title>Installation of GTK-Doc</title>
|
---|
| 121 |
|
---|
[b7a85cd9] | 122 | <para>
|
---|
| 123 | Install <application>GTK-Doc</application> by running
|
---|
| 124 | the following commands:
|
---|
| 125 | </para>
|
---|
[effdc6af] | 126 |
|
---|
[f47c5167] | 127 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[2e46c65] | 128 | make</userinput></screen>
|
---|
| 129 |
|
---|
[b7a85cd9] | 130 | <para>
|
---|
| 131 | The test suite will hang if the package (or a previous version)
|
---|
| 132 | is not already installed.
|
---|
| 133 | </para>
|
---|
[0e5a229a] | 134 |
|
---|
[b7a85cd9] | 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
[fc7afd0c] | 138 |
|
---|
[effdc6af] | 139 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 140 |
|
---|
[b7a85cd9] | 141 | <para>
|
---|
| 142 | To test the results, issue: <command>make check</command>.
|
---|
| 143 | Some tests will fail depending on optionally installed packages.
|
---|
| 144 | </para>
|
---|
[ad112fd5] | 145 |
|
---|
[effdc6af] | 146 | </sect2>
|
---|
[fc7afd0c] | 147 |
|
---|
[effdc6af] | 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 155 |
|
---|
[effdc6af] | 156 | <seglistitem>
|
---|
[b7279d4] | 157 | <seg>
|
---|
| 158 | gtkdocize,
|
---|
| 159 | gtkdoc-check,
|
---|
| 160 | gtkdoc-depscan,
|
---|
| 161 | gtkdoc-fixxref,
|
---|
| 162 | gtkdoc-mkdb,
|
---|
| 163 | gtkdoc-mkhtml,
|
---|
| 164 | gtkdoc-mkhtml2,
|
---|
| 165 | gtkdoc-mkman,
|
---|
| 166 | gtkdoc-mkpdf,
|
---|
| 167 | gtkdoc-rebase,
|
---|
| 168 | gtkdoc-scan, and
|
---|
| 169 | gtkdoc-scangobj
|
---|
| 170 | </seg>
|
---|
[c1add1f5] | 171 |
|
---|
[effdc6af] | 172 | <seg>None</seg>
|
---|
[c1add1f5] | 173 |
|
---|
[b7279d4] | 174 | <seg>
|
---|
| 175 | /usr/share/gtk-doc and
|
---|
| 176 | /usr/share/help/*/gtk-doc-manual
|
---|
[c1add1f5] | 177 | </seg>
|
---|
[effdc6af] | 178 | </seglistitem>
|
---|
| 179 | </segmentedlist>
|
---|
[fc7afd0c] | 180 |
|
---|
[effdc6af] | 181 | <variablelist>
|
---|
| 182 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 183 | <?dbfo list-presentation="list"?>
|
---|
| 184 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 185 |
|
---|
[effdc6af] | 186 | <varlistentry id="gtkdoc">
|
---|
| 187 | <term><command>gtkdoc*</command></term>
|
---|
| 188 | <listitem>
|
---|
[b7a85cd9] | 189 | <para>
|
---|
| 190 | these are all shell, or
|
---|
| 191 | <application>Python</application> scripts used by
|
---|
| 192 | package <filename>Makefile</filename> scripts to generate
|
---|
| 193 | documentation for the package being built.
|
---|
| 194 | </para>
|
---|
[effdc6af] | 195 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 196 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
[fc7afd0c] | 200 |
|
---|
[effdc6af] | 201 | </variablelist>
|
---|
[fc7afd0c] | 202 |
|
---|
[effdc6af] | 203 | </sect2>
|
---|
[fc7afd0c] | 204 |
|
---|
[832650c] | 205 | </sect1>
|
---|