source: general/genutils/gtk-doc.xml@ 4c24eb0a

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4c24eb0a was 4c24eb0a, checked in by Pierre Labastie <pieere@…>, 3 years ago

Remove period at the end of short descriptions.
In the process, some attributes in single quotes have been changed to double
quotes, and a few attribute lists have been written on one line instead of
several lines.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24236 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.4 KB
Line 
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/&gtk-doc-major;/gtk-doc-&gtk-doc-version;.tar.xz">
8 <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/&gtk-doc-major;/gtk-doc-&gtk-doc-version;.tar.xz">
9 <!ENTITY gtk-doc-md5sum "ea6563421abe964d02135ca0d5b8dd8e">
10 <!ENTITY gtk-doc-size "496 KB">
11 <!ENTITY gtk-doc-buildsize "13 MB (with tests)">
12 <!ENTITY gtk-doc-time "0.2 SBU (with tests)">
13]>
14
15<sect1 id="gtk-doc" xreflabel="GTK-Doc-&gtk-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-&gtk-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>
33 The <application>GTK-Doc</application> package contains a code
34 documenter. This is useful for extracting specially formatted comments
35 from the code to create API documentation. This package is
36 <emphasis>optional</emphasis>; if it is not installed, packages will
37 not build the documentation. This does not mean that you will not have
38 any documentation. If <application>GTK-Doc</application> is not
39 available, the install process will copy any pre-built documentation
40 to your system.
41 </para>
42
43 &lfs10_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&gtk-doc-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&gtk-doc-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &gtk-doc-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &gtk-doc-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &gtk-doc-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &gtk-doc-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78<!--
79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing="compact">
81 <listitem>
82 <para>
83 Required patch to allow building <xref linkend="glib2"/>
84 documentation:
85 <ulink url="&patch-root;/gtk-doc-&gtk-doc-version;-glib2_fixes-1.patch"/>
86 </para>
87 </listitem>
88 </itemizedlist>
89-->
90 <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
91
92 <bridgehead renderas="sect4">Required</bridgehead>
93 <para role="required">
94 <xref linkend="DocBook"/>,
95 <xref linkend="docbook-xsl"/>,
96 <xref linkend="itstool"/>, and
97 <xref linkend="libxslt"/>
98 </para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref role="runtime" linkend="pygments"/> at run time
103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 For tests:
108 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
109 <xref linkend="fop"/> (XML PDF support),
110 <xref linkend="glib2"/>,
111 <xref linkend="which"/>, and
112 Python modules
113 <xref linkend="lxml"/>,
114 <!--<ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>,-->
115 <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>,
116 and <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
117 </para>
118
119 <note>
120 <para>
121 The optional python modules above can be easily installed with
122 the <command>pip3</command> command.
123 </para>
124 </note>
125
126 <para condition="html" role="usernotes">User Notes:
127 <ulink url="&blfs-wiki;/gtk-doc"/></para>
128
129 </sect2>
130
131 <sect2 role="installation">
132 <title>Installation of GTK-Doc</title>
133
134 <para>
135 Install <application>GTK-Doc</application> by running
136 the following commands:
137 </para>
138
139<screen><userinput>autoreconf -fiv &amp;&amp;
140./configure --prefix=/usr &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 The test suite will hang if the package (or a previous version)
145 is not already installed.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install</userinput></screen>
153
154 <para>
155 To test the results, issue: <command>make check</command>.
156 Some tests will fail depending on optionally installed packages.
157 </para>
158
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>
171 gtkdocize,
172 gtkdoc-check,
173 gtkdoc-depscan,
174 gtkdoc-fixxref,
175 gtkdoc-mkdb,
176 gtkdoc-mkhtml,
177 gtkdoc-mkhtml2,
178 gtkdoc-mkman,
179 gtkdoc-mkpdf,
180 gtkdoc-rebase,
181 gtkdoc-scan, and
182 gtkdoc-scangobj
183 </seg>
184
185 <seg>None</seg>
186
187 <seg>
188 /usr/share/gtk-doc and
189 /usr/share/cmake/GtkDoc
190 </seg>
191 </seglistitem>
192 </segmentedlist>
193
194 <variablelist>
195 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
196 <?dbfo list-presentation="list"?>
197 <?dbhtml list-presentation="table"?>
198
199 <varlistentry id="gtkdoc">
200 <term><command>gtkdoc*</command></term>
201 <listitem>
202 <para>
203 these are all shell, or
204 <application>Python</application> scripts used by
205 package <filename>Makefile</filename> scripts to generate
206 documentation for the package being built
207 </para>
208 <indexterm zone="gtk-doc gtkdoc">
209 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 </variablelist>
215
216 </sect2>
217
218</sect1>
Note: See TracBrowser for help on using the repository browser.