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.bz2">
|
---|
8 | <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/>k-doc-version;/gtk-doc->k-doc-version;.tar.bz2">
|
---|
9 | <!ENTITY gtk-doc-md5sum "e61595df21431db28c83fe4c7d4a4fa8">
|
---|
10 | <!ENTITY gtk-doc-size "186 KB">
|
---|
11 | <!ENTITY gtk-doc-buildsize "2 MB">
|
---|
12 | <!ENTITY gtk-doc-time "less than 0.1 SBU">
|
---|
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 documentor. 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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url=">k-doc-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url=">k-doc-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: >k-doc-md5sum;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: >k-doc-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: >k-doc-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: >k-doc-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
66 | <para role="required"><xref linkend="libxslt"/>,
|
---|
67 | <xref linkend="DocBook"/>, and
|
---|
68 | <xref linkend="docbook-xsl"/></para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
71 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
72 | <xref linkend="scrollkeeper"/>,
|
---|
73 | <xref linkend="openjade"/>,
|
---|
74 | <xref linkend="sgml-dtd"/>, and
|
---|
75 | <xref linkend="docbook-dsssl"/></para>
|
---|
76 |
|
---|
77 | <para condition="html" role="usernotes">User Notes:
|
---|
78 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of GTK-Doc</title>
|
---|
84 |
|
---|
85 | <para>Install <application>GTK-Doc</application> by running
|
---|
86 | the following commands:</para>
|
---|
87 |
|
---|
88 | <screen><userinput>./configure --prefix=/usr --localstatedir=/var/lib &&
|
---|
89 | make</userinput></screen>
|
---|
90 |
|
---|
91 | <para>This package does not come with a test suite.</para>
|
---|
92 |
|
---|
93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
94 |
|
---|
95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="commands">
|
---|
100 | <title>Command Explanations</title>
|
---|
101 |
|
---|
102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
103 | href="../../xincludes/scrollkeeper-dir.xml"/>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="content">
|
---|
108 | <title>Contents</title>
|
---|
109 |
|
---|
110 | <segmentedlist>
|
---|
111 | <segtitle>Installed Programs</segtitle>
|
---|
112 | <segtitle>Installed Libraries</segtitle>
|
---|
113 | <segtitle>Installed Directories</segtitle>
|
---|
114 |
|
---|
115 | <seglistitem>
|
---|
116 | <seg>gtkdocize, gtkdoc-fixxref, gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman,
|
---|
117 | gtkdoc-mktmpl, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
---|
118 | <seg>None</seg>
|
---|
119 | <seg>The following subdirectories of /usr/share/:
|
---|
120 | doc/gtk-doc->k-doc-version;,
|
---|
121 | gnome/help/gtk-doc-manual,
|
---|
122 | gtk-doc/data and
|
---|
123 | {omf,sgml}/gtk-doc</seg>
|
---|
124 | </seglistitem>
|
---|
125 | </segmentedlist>
|
---|
126 |
|
---|
127 | <variablelist>
|
---|
128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
129 | <?dbfo list-presentation="list"?>
|
---|
130 | <?dbhtml list-presentation="table"?>
|
---|
131 |
|
---|
132 | <varlistentry id="gtkdoc">
|
---|
133 | <term><command>gtkdoc*</command></term>
|
---|
134 | <listitem>
|
---|
135 | <para>these are all <application>Perl</application> scripts used by
|
---|
136 | package <filename>Makefile</filename> scripts to generate
|
---|
137 | documentation for the package being built.</para>
|
---|
138 | <indexterm zone="gtk-doc gtkdoc">
|
---|
139 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
140 | </indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | </variablelist>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | </sect1>
|
---|