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 "3927bed60fdd0fc9093a1d00018e746a">
|
---|
10 | <!ENTITY gtk-doc-size "628 KB">
|
---|
11 | <!ENTITY gtk-doc-buildsize "10 MB">
|
---|
12 | <!ENTITY gtk-doc-time "0.2 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 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 | &lfs71_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"><xref linkend="DocBook"/>,
|
---|
69 | <xref linkend="docbook-xsl"/>, and
|
---|
70 | <xref linkend="libxslt"/></para>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
73 | <para role="recommended"><xref linkend="pkgconfig"/>
|
---|
74 | (to use some of the optional deps)</para>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="optional">
|
---|
78 | <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
|
---|
79 | <xref linkend="fop"/> (XML PDF support),
|
---|
80 | <xref linkend="glib2"/> (for the test suite),
|
---|
81 | <xref linkend="gnome-doc-utils"/> and
|
---|
82 | <xref linkend="which"/> (required for the test suite and gtk-doc documentation),
|
---|
83 | <xref linkend="openjade"/> with
|
---|
84 | <xref linkend="sgml-dtd"/> and
|
---|
85 | <xref linkend="docbook-dsssl"/>
|
---|
86 | (SGML support, not actively maintained any more),
|
---|
87 | <xref linkend="python2"/> (builds gtkdoc-depscan), and
|
---|
88 | <xref linkend="rarian"/></para>
|
---|
89 |
|
---|
90 | <para condition="html" role="usernotes">User Notes:
|
---|
91 | <ulink url="&blfs-wiki;/gtk-doc"/></para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of GTK-Doc</title>
|
---|
97 |
|
---|
98 | <para>Install <application>GTK-Doc</application> by running
|
---|
99 | the following commands:</para>
|
---|
100 |
|
---|
101 | <screen><userinput>./configure --prefix=/usr &&
|
---|
102 | make</userinput></screen>
|
---|
103 |
|
---|
104 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
105 | <para>This package does not have a working testsuite.</para>
|
---|
106 |
|
---|
107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
110 |
|
---|
111 | <!-- <para>The test suite requires that the package has been installed first, but
|
---|
112 | there's no reason to run it as there is a missing file which causes the test
|
---|
113 | suite to fail. If you insist on seeing the results, an an unprivileged user
|
---|
114 | run: <command>make check</command>.</para> -->
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <para><command>sed -i '...' gtkdoc-fixxref.in</command>: This command fixes
|
---|
122 | an issue where invocations of the <application>Vim</application> editor
|
---|
123 | does not behave as expected. See upstream bug at
|
---|
124 | <ulink url="https://bugzilla.gnome.org/show_bug.cgi?id=627223"/>.</para>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="content">
|
---|
129 | <title>Contents</title>
|
---|
130 |
|
---|
131 | <segmentedlist>
|
---|
132 | <segtitle>Installed Programs</segtitle>
|
---|
133 | <segtitle>Installed Libraries</segtitle>
|
---|
134 | <segtitle>Installed Directories</segtitle>
|
---|
135 |
|
---|
136 | <seglistitem>
|
---|
137 | <seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
|
---|
138 | gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf, gtkdoc-mktmpl,
|
---|
139 | gtkdoc-rebase, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
|
---|
140 | <seg>None</seg>
|
---|
141 | <seg>/usr/share/{gnome/help/gtk-doc-manual/*,gtk-doc/data,omf/gtk-doc-manual,sgml/gtk-doc}</seg>
|
---|
142 | </seglistitem>
|
---|
143 | </segmentedlist>
|
---|
144 |
|
---|
145 | <variablelist>
|
---|
146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
147 | <?dbfo list-presentation="list"?>
|
---|
148 | <?dbhtml list-presentation="table"?>
|
---|
149 |
|
---|
150 | <varlistentry id="gtkdoc">
|
---|
151 | <term><command>gtkdoc*</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>these are all shell, <application>Perl</application>, or
|
---|
154 | <application>Python</application> scripts used by
|
---|
155 | package <filename>Makefile</filename> scripts to generate
|
---|
156 | documentation for the package being built.</para>
|
---|
157 | <indexterm zone="gtk-doc gtkdoc">
|
---|
158 | <primary sortas="b-gtkdoc*">gtkdoc*</primary>
|
---|
159 | </indexterm>
|
---|
160 | </listitem>
|
---|
161 | </varlistentry>
|
---|
162 |
|
---|
163 | </variablelist>
|
---|
164 |
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | </sect1>
|
---|