source: general/genutils/gtk-doc.xml@ b7a85cd9

10.0 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 b7a85cd9 was b7a85cd9, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format general/genutils

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

  • Property mode set to 100644
File size: 5.9 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-version;/gtk-doc-&gtk-doc-version;.tar.xz">
8 <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/&gtk-doc-version;/gtk-doc-&gtk-doc-version;.tar.xz">
9 <!ENTITY gtk-doc-md5sum "07764836262e154e94922e5f2aa476ae">
10 <!ENTITY gtk-doc-size "748 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-&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 &lfs91_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">GTK-Doc Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="DocBook"/>,
84 <xref linkend="docbook-xsl"/>,
85 <xref linkend="itstool"/>, and
86 <xref linkend="libxslt"/>
87 </para>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref role="runtime" linkend="pygments"/> at run time
92 </para>
93
94 <bridgehead renderas="sect4">Optional</bridgehead>
95 <para role="optional">
96 For tests:
97 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
98 <xref linkend="fop"/> (XML PDF support),
99 <xref linkend="glib2"/>,
100 <xref linkend="which"/>, and
101 Python modules
102 <xref linkend="lxml"/>,
103 <ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>, and
104 <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>
105 </para>
106
107 <note>
108 <para>
109 The optional python modules above can be easily installed with
110 the <command>pip3</command> command.
111 </para>
112 </note>
113
114 <para condition="html" role="usernotes">User Notes:
115 <ulink url="&blfs-wiki;/gtk-doc"/></para>
116
117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of GTK-Doc</title>
121
122 <para>
123 Install <application>GTK-Doc</application> by running
124 the following commands:
125 </para>
126
127<screen><userinput>./configure --prefix=/usr &amp;&amp;
128make</userinput></screen>
129
130 <para>
131 The test suite will hang if the package (or a previous version)
132 is not already installed.
133 </para>
134
135 <para>
136 Now, as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>make install</userinput></screen>
140
141 <para>
142 To test the results, issue: <command>make check</command>.
143 Some tests will fail depending on optionally installed packages.
144 </para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 gtkdocize,
159 gtkdoc-check,
160 gtkdoc-depscan,
161 gtkdoc-fixxref,
162 gtkdoc-mkdb,
163 gtkdoc-mkhtml,
164 gtkdoc-mkhtml2,
165 gtkdoc-mkman,
166 gtkdoc-mkpdf,
167 gtkdoc-rebase,
168 gtkdoc-scan, and
169 gtkdoc-scangobj
170 </seg>
171
172 <seg>None</seg>
173
174 <seg>
175 /usr/share/gtk-doc and
176 /usr/share/help/*/gtk-doc-manual
177 </seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="gtkdoc">
187 <term><command>gtkdoc*</command></term>
188 <listitem>
189 <para>
190 these are all shell, or
191 <application>Python</application> scripts used by
192 package <filename>Makefile</filename> scripts to generate
193 documentation for the package being built.
194 </para>
195 <indexterm zone="gtk-doc gtkdoc">
196 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 </variablelist>
202
203 </sect2>
204
205</sect1>
Note: See TracBrowser for help on using the repository browser.