[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 |
|
---|
[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 |
|
---|
[ad112fd5] | 41 | &lfs90_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"/>,
|
---|
[0367db7] | 71 | <xref linkend="itstool"/>, and
|
---|
| 72 | <xref linkend="libxslt"/>
|
---|
[ba056d7] | 73 | </para>
|
---|
[64c6acb] | 74 |
|
---|
[9d10790] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
| 77 | <xref role="runtime" linkend="pygments"/> at run time
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[effdc6af] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b495000] | 81 | <para role="optional">
|
---|
[b7279d4] | 82 | For tests:
|
---|
[665ac79f] | 83 | <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
| 84 | <xref linkend="fop"/> (XML PDF support),
|
---|
[b7279d4] | 85 | <xref linkend="glib2"/>,
|
---|
| 86 | <xref linkend="which"/>, and
|
---|
| 87 | Python modules
|
---|
[ad112fd5] | 88 | <xref linkend="lxml"/>,
|
---|
[b7279d4] | 89 | <ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>, and
|
---|
[c48b85a1] | 90 | <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>
|
---|
[665ac79f] | 91 | </para>
|
---|
[fc7afd0c] | 92 |
|
---|
[b7279d4] | 93 | <note><para>The optional python modules above can be easily installed with
|
---|
| 94 | the <command>pip3</command> command.</para></note>
|
---|
| 95 |
|
---|
[1039de3] | 96 | <para condition="html" role="usernotes">User Notes:
|
---|
| 97 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 98 |
|
---|
[effdc6af] | 99 | </sect2>
|
---|
[fc7afd0c] | 100 |
|
---|
[effdc6af] | 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of GTK-Doc</title>
|
---|
| 103 |
|
---|
[8d77de6] | 104 | <para>Install <application>GTK-Doc</application> by running
|
---|
[effdc6af] | 105 | the following commands:</para>
|
---|
| 106 |
|
---|
[f47c5167] | 107 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[2e46c65] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[ad112fd5] | 110 | <para>The test suite will hang if the package (or a previous version)
|
---|
| 111 | is not already installed.</para>
|
---|
[0e5a229a] | 112 |
|
---|
[effdc6af] | 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 114 |
|
---|
[effdc6af] | 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 116 |
|
---|
[ad112fd5] | 117 | <para>To test the results, issue: <command>make check</command>.
|
---|
| 118 | Some tests will fail depending on optionally installed packages.</para>
|
---|
| 119 |
|
---|
[effdc6af] | 120 | </sect2>
|
---|
[fc7afd0c] | 121 |
|
---|
[effdc6af] | 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Programs</segtitle>
|
---|
| 127 | <segtitle>Installed Libraries</segtitle>
|
---|
| 128 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 129 |
|
---|
[effdc6af] | 130 | <seglistitem>
|
---|
[b7279d4] | 131 | <seg>
|
---|
| 132 | gtkdocize,
|
---|
| 133 | gtkdoc-check,
|
---|
| 134 | gtkdoc-depscan,
|
---|
| 135 | gtkdoc-fixxref,
|
---|
| 136 | gtkdoc-mkdb,
|
---|
| 137 | gtkdoc-mkhtml,
|
---|
| 138 | gtkdoc-mkhtml2,
|
---|
| 139 | gtkdoc-mkman,
|
---|
| 140 | gtkdoc-mkpdf,
|
---|
| 141 | gtkdoc-rebase,
|
---|
| 142 | gtkdoc-scan, and
|
---|
| 143 | gtkdoc-scangobj
|
---|
| 144 | </seg>
|
---|
[c1add1f5] | 145 |
|
---|
[effdc6af] | 146 | <seg>None</seg>
|
---|
[c1add1f5] | 147 |
|
---|
[b7279d4] | 148 | <seg>
|
---|
| 149 | /usr/share/gtk-doc and
|
---|
| 150 | /usr/share/help/*/gtk-doc-manual
|
---|
[c1add1f5] | 151 | </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>
|
---|
[c1add1f5] | 163 | <para>these are all shell, or
|
---|
[64c6acb] | 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>
|
---|