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">
|
2011-12-13 11:04:32 +08:00
|
|
|
<!ENTITY gtk-doc-md5sum "3927bed60fdd0fc9093a1d00018e746a">
|
|
|
|
<!ENTITY gtk-doc-size "628 KB">
|
2010-05-15 08:57:12 +08:00
|
|
|
<!ENTITY gtk-doc-buildsize "10 MB">
|
2011-12-13 11:04:32 +08:00
|
|
|
<!ENTITY gtk-doc-time "0.2 SBU">
|
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
|
|
|
|
2013-03-12 08:31:48 +08:00
|
|
|
&lfs73_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>
|
2010-05-15 08:57:12 +08:00
|
|
|
<para role="required"><xref linkend="DocBook"/>,
|
|
|
|
<xref linkend="docbook-xsl"/>, and
|
|
|
|
<xref linkend="libxslt"/></para>
|
2009-01-21 00:58:14 +08:00
|
|
|
|
2012-03-14 07:01:19 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended"><xref linkend="pkgconfig"/>
|
|
|
|
(to use some of the optional deps)</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">
|
2010-05-15 08:57:12 +08:00
|
|
|
<ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
|
|
|
<xref linkend="fop"/> (XML PDF support),
|
2012-06-06 04:51:46 +08:00
|
|
|
<xref linkend="glib2"/> (for the test suite),
|
2010-05-15 08:57:12 +08:00
|
|
|
<xref linkend="gnome-doc-utils"/> and
|
2012-01-27 04:02:45 +08:00
|
|
|
<xref linkend="which"/> (required for the test suite and gtk-doc documentation),
|
2010-05-15 08:57:12 +08:00
|
|
|
<xref linkend="openjade"/> with
|
|
|
|
<xref linkend="sgml-dtd"/> and
|
|
|
|
<xref linkend="docbook-dsssl"/>
|
|
|
|
(SGML support, not actively maintained any more),
|
2012-02-17 22:43:28 +08:00
|
|
|
<xref linkend="python2"/> (builds gtkdoc-depscan), and
|
2010-05-15 08:57:12 +08:00
|
|
|
<xref linkend="rarian"/></para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
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>
|
|
|
|
|
2012-08-14 22:33:42 +08:00
|
|
|
<!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
|
|
|
<para>This package does not have a working testsuite.</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
|
|
|
|
2010-03-07 07:57:09 +08:00
|
|
|
<!-- <para>The test suite requires that the package has been installed first, but
|
2009-01-21 06:50:09 +08:00
|
|
|
there's no reason to run it as there is a missing file which causes the test
|
|
|
|
suite to fail. If you insist on seeing the results, an an unprivileged user
|
2010-03-07 07:57:09 +08:00
|
|
|
run: <command>make check</command>.</para> -->
|
2009-01-21 00:58:14 +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>
|
2010-05-15 08:57:12 +08:00
|
|
|
<seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
|
|
|
|
gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf, gtkdoc-mktmpl,
|
|
|
|
gtkdoc-rebase, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
2005-05-02 04:21:36 +08:00
|
|
|
<seg>None</seg>
|
2010-05-15 08:57:12 +08:00
|
|
|
<seg>/usr/share/{gnome/help/gtk-doc-manual/*,gtk-doc/data,omf/gtk-doc-manual,sgml/gtk-doc}</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>
|
2009-01-21 00:58:14 +08:00
|
|
|
<para>these are all shell, <application>Perl</application>, or
|
|
|
|
<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>
|