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

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since a804944 was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

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