2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2011-12-15 02:32:19 +08:00
|
|
|
<!ENTITY gtk-doc-download-http "&gnome-download-http;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.xz">
|
|
|
|
<!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.xz">
|
2018-09-04 05:54:58 +08:00
|
|
|
<!ENTITY gtk-doc-md5sum "df26a38c209b3d7358f26268fcbdb9e3">
|
|
|
|
<!ENTITY gtk-doc-size "716 KB">
|
2017-12-09 04:00:04 +08:00
|
|
|
<!ENTITY gtk-doc-buildsize "14 MB (with tests)">
|
2017-08-14 03:27:12 +08:00
|
|
|
<!ENTITY gtk-doc-time "0.2 SBU (with tests)">
|
2004-06-15 12:33:15 +08:00
|
|
|
]>
|
|
|
|
|
2003-10-02 21:29:48 +08:00
|
|
|
<sect1 id="gtk-doc" xreflabel="GTK-Doc->k-doc-version;">
|
2005-05-02 04:21:36 +08:00
|
|
|
<?dbhtml filename="gtk-doc.html"?>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<title>GTK-Doc->k-doc-version;</title>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<indexterm zone="gtk-doc">
|
|
|
|
<primary sortas="a-GTK-Doc">GTK-Doc</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GTK-Doc</title>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>The <application>GTK-Doc</application> package
|
2009-06-27 18:10:28 +08:00
|
|
|
contains a code documenter. This is useful for extracting specially formatted
|
2005-05-31 05:34:17 +08:00
|
|
|
comments from the code to create API documentation. This
|
|
|
|
package is <emphasis>optional</emphasis>; if it is not installed, packages will
|
|
|
|
not build the documentation. This does not mean that you will not have any
|
|
|
|
documentation. If <application>GTK-Doc</application> is not
|
2005-07-28 01:27:47 +08:00
|
|
|
available, the install process will copy any pre-built documentation to your
|
2005-05-02 04:21:36 +08:00
|
|
|
system.</para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2018-08-16 09:24:48 +08:00
|
|
|
&lfs83_checked;
|
2010-08-14 10:56:48 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url=">k-doc-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url=">k-doc-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: >k-doc-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: >k-doc-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: >k-doc-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: >k-doc-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2013-07-29 23:03:33 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="DocBook"/>,
|
|
|
|
<xref linkend="docbook-xsl"/>,
|
2017-08-14 03:27:12 +08:00
|
|
|
<xref linkend="itstool"/>,
|
|
|
|
<xref linkend="libxslt"/>, and
|
|
|
|
<xref linkend="python2"/>
|
2013-07-29 23:03:33 +08:00
|
|
|
</para>
|
2009-01-21 00:58:14 +08:00
|
|
|
|
2017-08-30 04:15:22 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="highlight"/>
|
|
|
|
</para>
|
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-03-14 07:01:19 +08:00
|
|
|
<para role="optional">
|
2013-06-01 20:20:39 +08:00
|
|
|
<ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
|
|
|
<xref linkend="fop"/> (XML PDF support),
|
|
|
|
<xref linkend="glib2"/> (for the test suite),
|
2017-08-14 03:27:12 +08:00
|
|
|
<ulink url="&gnome-download-http;/gnome-doc-utils/">GNOME Doc Utils</ulink> and
|
2018-08-18 07:59:52 +08:00
|
|
|
<xref linkend="which"/> (required for the test suite and gtk-doc documentation)
|
2013-06-01 20:20:39 +08:00
|
|
|
</para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2017-08-22 04:22:19 +08:00
|
|
|
<bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
2017-09-14 16:26:48 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref role="runtime" linkend="six"/>
|
2017-08-22 04:22:19 +08:00
|
|
|
</para>
|
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gtk-doc"/></para>
|
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GTK-Doc</title>
|
|
|
|
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>Install <application>GTK-Doc</application> by running
|
2005-05-02 04:21:36 +08:00
|
|
|
the following commands:</para>
|
|
|
|
|
2012-03-09 21:46:35 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2006-03-30 19:28:41 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2019-01-02 12:11:58 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>. On some systems, the tests
|
|
|
|
may either hang indefinitely or fail.</para>
|
2010-03-07 07:57:09 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<seglistitem>
|
2017-08-14 03:27:12 +08:00
|
|
|
<seg>gtkdocize,
|
|
|
|
gtkdoc-check,
|
|
|
|
gtkdoc-depscan,
|
|
|
|
gtkdoc-fixxref,
|
|
|
|
gtkdoc-mkdb,
|
|
|
|
gtkdoc-mkhtml,
|
|
|
|
gtkdoc-mkman,
|
|
|
|
gtkdoc-mkpdf,
|
|
|
|
gtkdoc-rebase,
|
|
|
|
gtkdoc-scan, and
|
|
|
|
gtkdoc-scangobj</seg>
|
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<seg>None</seg>
|
2017-08-14 03:27:12 +08:00
|
|
|
|
|
|
|
<seg>/usr/lib/cmake/GtkDoc,
|
|
|
|
/usr/share/gtk-doc, and
|
|
|
|
/usr/share/help/*/gtk-doc-manual
|
|
|
|
</seg>
|
2005-05-02 04:21:36 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
<varlistentry id="gtkdoc">
|
|
|
|
<term><command>gtkdoc*</command></term>
|
|
|
|
<listitem>
|
2017-08-14 03:27:12 +08:00
|
|
|
<para>these are all shell, or
|
2009-01-21 00:58:14 +08:00
|
|
|
<application>Python</application> scripts used by
|
2005-05-31 05:34:17 +08:00
|
|
|
package <filename>Makefile</filename> scripts to generate
|
2005-05-02 04:21:36 +08:00
|
|
|
documentation for the package being built.</para>
|
|
|
|
<indexterm zone="gtk-doc gtkdoc">
|
|
|
|
<primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
</variablelist>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:21:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2002-08-28 11:03:55 +08:00
|
|
|
</sect1>
|