1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY gtk-doc-md5sum "df26a38c209b3d7358f26268fcbdb9e3">
|
---|
10 | <!ENTITY gtk-doc-size "716 KB">
|
---|
11 | <!ENTITY gtk-doc-buildsize "14 MB (with tests)">
|
---|
12 | <!ENTITY gtk-doc-time "0.2 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gtk-doc" xreflabel="GTK-Doc->k-doc-version;">
|
---|
16 | <?dbhtml filename="gtk-doc.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>GTK-Doc->k-doc-version;</title>
|
---|
24 |
|
---|
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>
|
---|
31 |
|
---|
32 | <para>The <application>GTK-Doc</application> package
|
---|
33 | contains a code documenter. This is useful for extracting specially formatted
|
---|
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
|
---|
38 | available, the install process will copy any pre-built documentation to your
|
---|
39 | system.</para>
|
---|
40 |
|
---|
41 | &lfs83_checked;
|
---|
42 |
|
---|
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>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
68 | <para role="required">
|
---|
69 | <xref linkend="DocBook"/>,
|
---|
70 | <xref linkend="docbook-xsl"/>,
|
---|
71 | <xref linkend="itstool"/>,
|
---|
72 | <xref linkend="libxslt"/>, and
|
---|
73 | <xref linkend="python2"/>
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
77 | <para role="recommended">
|
---|
78 | <xref linkend="highlight"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
84 | <xref linkend="fop"/> (XML PDF support),
|
---|
85 | <xref linkend="glib2"/> (for the test suite),
|
---|
86 | <ulink url="&gnome-download-http;/gnome-doc-utils/">GNOME Doc Utils</ulink> and
|
---|
87 | <xref linkend="which"/> (required for the test suite and gtk-doc documentation)
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
91 | <para role="required">
|
---|
92 | <xref role="runtime" linkend="six"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <para condition="html" role="usernotes">User Notes:
|
---|
96 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of GTK-Doc</title>
|
---|
102 |
|
---|
103 | <para>Install <application>GTK-Doc</application> by running
|
---|
104 | the following commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput>./configure --prefix=/usr &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
110 |
|
---|
111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="content">
|
---|
118 | <title>Contents</title>
|
---|
119 |
|
---|
120 | <segmentedlist>
|
---|
121 | <segtitle>Installed Programs</segtitle>
|
---|
122 | <segtitle>Installed Libraries</segtitle>
|
---|
123 | <segtitle>Installed Directories</segtitle>
|
---|
124 |
|
---|
125 | <seglistitem>
|
---|
126 | <seg>gtkdocize,
|
---|
127 | gtkdoc-check,
|
---|
128 | gtkdoc-depscan,
|
---|
129 | gtkdoc-fixxref,
|
---|
130 | gtkdoc-mkdb,
|
---|
131 | gtkdoc-mkhtml,
|
---|
132 | gtkdoc-mkman,
|
---|
133 | gtkdoc-mkpdf,
|
---|
134 | gtkdoc-rebase,
|
---|
135 | gtkdoc-scan, and
|
---|
136 | gtkdoc-scangobj</seg>
|
---|
137 |
|
---|
138 | <seg>None</seg>
|
---|
139 |
|
---|
140 | <seg>/usr/lib/cmake/GtkDoc,
|
---|
141 | /usr/share/gtk-doc, and
|
---|
142 | /usr/share/help/*/gtk-doc-manual
|
---|
143 | </seg>
|
---|
144 | </seglistitem>
|
---|
145 | </segmentedlist>
|
---|
146 |
|
---|
147 | <variablelist>
|
---|
148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
149 | <?dbfo list-presentation="list"?>
|
---|
150 | <?dbhtml list-presentation="table"?>
|
---|
151 |
|
---|
152 | <varlistentry id="gtkdoc">
|
---|
153 | <term><command>gtkdoc*</command></term>
|
---|
154 | <listitem>
|
---|
155 | <para>these are all shell, or
|
---|
156 | <application>Python</application> scripts used by
|
---|
157 | package <filename>Makefile</filename> scripts to generate
|
---|
158 | documentation for the package being built.</para>
|
---|
159 | <indexterm zone="gtk-doc gtkdoc">
|
---|
160 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | </variablelist>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | </sect1>
|
---|