[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 |
|
---|
[8d45c9a] | 7 | <!ENTITY gtk-doc-download-http "&gnome-download-http;/gtk-doc/>k-doc-major;/gtk-doc->k-doc-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/>k-doc-major;/gtk-doc->k-doc-version;.tar.xz">
|
---|
[c3447c89] | 9 | <!ENTITY gtk-doc-md5sum "ea6563421abe964d02135ca0d5b8dd8e">
|
---|
| 10 | <!ENTITY gtk-doc-size "496 KB">
|
---|
| 11 | <!ENTITY gtk-doc-buildsize "13 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 |
|
---|
[9029db2] | 43 | &lfs101_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>
|
---|
[7199a09] | 78 | <!--
|
---|
[ddd5a70] | 79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 80 | <itemizedlist spacing="compact">
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>
|
---|
| 83 | Required patch to allow building <xref linkend="glib2"/>
|
---|
| 84 | documentation:
|
---|
| 85 | <ulink url="&patch-root;/gtk-doc->k-doc-version;-glib2_fixes-1.patch"/>
|
---|
| 86 | </para>
|
---|
| 87 | </listitem>
|
---|
| 88 | </itemizedlist>
|
---|
[7199a09] | 89 | -->
|
---|
[effdc6af] | 90 | <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
---|
[fc7afd0c] | 91 |
|
---|
[effdc6af] | 92 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[ba056d7] | 93 | <para role="required">
|
---|
| 94 | <xref linkend="DocBook"/>,
|
---|
| 95 | <xref linkend="docbook-xsl"/>,
|
---|
[0367db7] | 96 | <xref linkend="itstool"/>, and
|
---|
| 97 | <xref linkend="libxslt"/>
|
---|
[ba056d7] | 98 | </para>
|
---|
[64c6acb] | 99 |
|
---|
[9d10790] | 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
| 102 | <xref role="runtime" linkend="pygments"/> at run time
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
[effdc6af] | 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b495000] | 106 | <para role="optional">
|
---|
[b7279d4] | 107 | For tests:
|
---|
[c6b192c] | 108 | <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
[665ac79f] | 109 | <xref linkend="fop"/> (XML PDF support),
|
---|
[b7279d4] | 110 | <xref linkend="glib2"/>,
|
---|
| 111 | <xref linkend="which"/>, and
|
---|
| 112 | Python modules
|
---|
[ad112fd5] | 113 | <xref linkend="lxml"/>,
|
---|
[c3447c89] | 114 | <!--<ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>,-->
|
---|
[f455d4a] | 115 | <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>,
|
---|
| 116 | and <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
|
---|
[665ac79f] | 117 | </para>
|
---|
[fc7afd0c] | 118 |
|
---|
[b7a85cd9] | 119 | <note>
|
---|
| 120 | <para>
|
---|
| 121 | The optional python modules above can be easily installed with
|
---|
| 122 | the <command>pip3</command> command.
|
---|
| 123 | </para>
|
---|
| 124 | </note>
|
---|
[b7279d4] | 125 |
|
---|
[1039de3] | 126 | <para condition="html" role="usernotes">User Notes:
|
---|
| 127 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
| 128 |
|
---|
[effdc6af] | 129 | </sect2>
|
---|
[fc7afd0c] | 130 |
|
---|
[effdc6af] | 131 | <sect2 role="installation">
|
---|
| 132 | <title>Installation of GTK-Doc</title>
|
---|
| 133 |
|
---|
[b7a85cd9] | 134 | <para>
|
---|
| 135 | Install <application>GTK-Doc</application> by running
|
---|
| 136 | the following commands:
|
---|
| 137 | </para>
|
---|
[effdc6af] | 138 |
|
---|
[7199a09] | 139 | <screen><userinput>autoreconf -fiv &&
|
---|
| 140 | ./configure --prefix=/usr &&
|
---|
[2e46c65] | 141 | make</userinput></screen>
|
---|
| 142 |
|
---|
[b7a85cd9] | 143 | <para>
|
---|
| 144 | The test suite will hang if the package (or a previous version)
|
---|
| 145 | is not already installed.
|
---|
| 146 | </para>
|
---|
[0e5a229a] | 147 |
|
---|
[b7a85cd9] | 148 | <para>
|
---|
| 149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
[fc7afd0c] | 151 |
|
---|
[effdc6af] | 152 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 153 |
|
---|
[b7a85cd9] | 154 | <para>
|
---|
| 155 | To test the results, issue: <command>make check</command>.
|
---|
| 156 | Some tests will fail depending on optionally installed packages.
|
---|
| 157 | </para>
|
---|
[ad112fd5] | 158 |
|
---|
[effdc6af] | 159 | </sect2>
|
---|
[fc7afd0c] | 160 |
|
---|
[effdc6af] | 161 | <sect2 role="content">
|
---|
| 162 | <title>Contents</title>
|
---|
| 163 |
|
---|
| 164 | <segmentedlist>
|
---|
| 165 | <segtitle>Installed Programs</segtitle>
|
---|
| 166 | <segtitle>Installed Libraries</segtitle>
|
---|
| 167 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 168 |
|
---|
[effdc6af] | 169 | <seglistitem>
|
---|
[b7279d4] | 170 | <seg>
|
---|
| 171 | gtkdocize,
|
---|
| 172 | gtkdoc-check,
|
---|
| 173 | gtkdoc-depscan,
|
---|
| 174 | gtkdoc-fixxref,
|
---|
| 175 | gtkdoc-mkdb,
|
---|
| 176 | gtkdoc-mkhtml,
|
---|
| 177 | gtkdoc-mkhtml2,
|
---|
| 178 | gtkdoc-mkman,
|
---|
| 179 | gtkdoc-mkpdf,
|
---|
| 180 | gtkdoc-rebase,
|
---|
| 181 | gtkdoc-scan, and
|
---|
| 182 | gtkdoc-scangobj
|
---|
| 183 | </seg>
|
---|
[c1add1f5] | 184 |
|
---|
[effdc6af] | 185 | <seg>None</seg>
|
---|
[c1add1f5] | 186 |
|
---|
[b7279d4] | 187 | <seg>
|
---|
| 188 | /usr/share/gtk-doc and
|
---|
[7199a09] | 189 | /usr/share/cmake/GtkDoc
|
---|
[c1add1f5] | 190 | </seg>
|
---|
[effdc6af] | 191 | </seglistitem>
|
---|
| 192 | </segmentedlist>
|
---|
[fc7afd0c] | 193 |
|
---|
[effdc6af] | 194 | <variablelist>
|
---|
| 195 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 196 | <?dbfo list-presentation="list"?>
|
---|
| 197 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 198 |
|
---|
[effdc6af] | 199 | <varlistentry id="gtkdoc">
|
---|
| 200 | <term><command>gtkdoc*</command></term>
|
---|
| 201 | <listitem>
|
---|
[b7a85cd9] | 202 | <para>
|
---|
| 203 | these are all shell, or
|
---|
| 204 | <application>Python</application> scripts used by
|
---|
| 205 | package <filename>Makefile</filename> scripts to generate
|
---|
[4c24eb0a] | 206 | documentation for the package being built
|
---|
[b7a85cd9] | 207 | </para>
|
---|
[effdc6af] | 208 | <indexterm zone="gtk-doc gtkdoc">
|
---|
| 209 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
[fc7afd0c] | 213 |
|
---|
[effdc6af] | 214 | </variablelist>
|
---|
[fc7afd0c] | 215 |
|
---|
[effdc6af] | 216 | </sect2>
|
---|
[fc7afd0c] | 217 |
|
---|
[832650c] | 218 | </sect1>
|
---|