source: general/genutils/gtk-doc.xml@ 3ae3465

lazarus trunk
Last change on this file since 3ae3465 was 6306f35, checked in by Douglas R. Reno <renodr@…>, 4 months ago

Update to gtk-doc-1.34.0.

  • Property mode set to 100644
File size: 6.1 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[fdca4266]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8d45c9a]7 <!ENTITY gtk-doc-download-http "&gnome-download-http;/gtk-doc/&gtk-doc-major;/gtk-doc-&gtk-doc-version;.tar.xz">
[e1e58be]8 <!ENTITY gtk-doc-download-ftp " ">
[6306f35]9 <!ENTITY gtk-doc-md5sum "f0e7385ba25eddb6ce0953e8cf63d1bf">
10 <!ENTITY gtk-doc-size "484 KB">
11 <!ENTITY gtk-doc-buildsize "14 MB (with tests)">
[c1add1f5]12 <!ENTITY gtk-doc-time "0.2 SBU (with tests)">
[fdca4266]13]>
14
[a294e133]15<sect1 id="gtk-doc" xreflabel="GTK-Doc-&gtk-doc-version;">
[effdc6af]16 <?dbhtml filename="gtk-doc.html"?>
[fc7afd0c]17
18
[effdc6af]19 <title>GTK-Doc-&gtk-doc-version;</title>
[fc7afd0c]20
[effdc6af]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>
[fc7afd0c]27
[b7a85cd9]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>
[fc7afd0c]38
[1241ea19]39 &lfs121_checked;
[a10f4a7]40
[effdc6af]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[b7a85cd9]44 <para>
45 Download (HTTP): <ulink url="&gtk-doc-download-http;"/>
46 </para>
[effdc6af]47 </listitem>
48 <listitem>
[b7a85cd9]49 <para>
50 Download (FTP): <ulink url="&gtk-doc-download-ftp;"/>
51 </para>
[effdc6af]52 </listitem>
53 <listitem>
[b7a85cd9]54 <para>
55 Download MD5 sum: &gtk-doc-md5sum;
56 </para>
[effdc6af]57 </listitem>
58 <listitem>
[b7a85cd9]59 <para>
60 Download size: &gtk-doc-size;
61 </para>
[effdc6af]62 </listitem>
63 <listitem>
[b7a85cd9]64 <para>
65 Estimated disk space required: &gtk-doc-buildsize;
66 </para>
[effdc6af]67 </listitem>
68 <listitem>
[b7a85cd9]69 <para>
70 Estimated build time: &gtk-doc-time;
71 </para>
[effdc6af]72 </listitem>
73 </itemizedlist>
[7199a09]74<!--
[ddd5a70]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>
[7199a09]85-->
[effdc6af]86 <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
[fc7afd0c]87
[effdc6af]88 <bridgehead renderas="sect4">Required</bridgehead>
[ba056d7]89 <para role="required">
90 <xref linkend="DocBook"/>,
91 <xref linkend="docbook-xsl"/>,
[0367db7]92 <xref linkend="itstool"/>, and
93 <xref linkend="libxslt"/>
[ba056d7]94 </para>
[64c6acb]95
[9d10790]96 <bridgehead renderas="sect4">Recommended</bridgehead>
97 <para role="recommended">
98 <xref role="runtime" linkend="pygments"/> at run time
99 </para>
100
[effdc6af]101 <bridgehead renderas="sect4">Optional</bridgehead>
[b495000]102 <para role="optional">
[8558044]103 For tests:
[c6b192c]104 <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink> or
[665ac79f]105 <xref linkend="fop"/> (XML PDF support),
[b7279d4]106 <xref linkend="glib2"/>,
107 <xref linkend="which"/>, and
[8558044]108 Python modules
[ad112fd5]109 <xref linkend="lxml"/>,
[c3447c89]110 <!--<ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>,-->
[f455d4a]111 <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>,
112 and <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
[665ac79f]113 </para>
[fc7afd0c]114
[b7a85cd9]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>
[b7279d4]121
[1039de3]122
[effdc6af]123 </sect2>
[fc7afd0c]124
[effdc6af]125 <sect2 role="installation">
126 <title>Installation of GTK-Doc</title>
127
[b7a85cd9]128 <para>
129 Install <application>GTK-Doc</application> by running
130 the following commands:
131 </para>
[effdc6af]132
[6306f35]133<screen><userinput>mkdir -p build &amp;&amp;
134cd build &amp;&amp;
135
136meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
137ninja</userinput></screen>
[2e46c65]138
[b7a85cd9]139 <para>
[8558044]140 The test suite will hang if the package (or a previous version)
[b7a85cd9]141 is not already installed.
142 </para>
[0e5a229a]143
[b7a85cd9]144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
[fc7afd0c]147
[6306f35]148<screen role="root"><userinput>ninja install</userinput></screen>
[fc7afd0c]149
[b7a85cd9]150 <para>
[6306f35]151 To test the results, issue: <command>ninja test</command>.
[b7a85cd9]152 Some tests will fail depending on optionally installed packages.
[8558044]153 </para>
[ad112fd5]154
[effdc6af]155 </sect2>
[fc7afd0c]156
[effdc6af]157 <sect2 role="content">
158 <title>Contents</title>
159
160 <segmentedlist>
161 <segtitle>Installed Programs</segtitle>
162 <segtitle>Installed Libraries</segtitle>
163 <segtitle>Installed Directories</segtitle>
[fc7afd0c]164
[effdc6af]165 <seglistitem>
[b7279d4]166 <seg>
167 gtkdocize,
[8558044]168 gtkdoc-check,
169 gtkdoc-depscan,
[b7279d4]170 gtkdoc-fixxref,
[8558044]171 gtkdoc-mkdb,
172 gtkdoc-mkhtml,
173 gtkdoc-mkhtml2,
174 gtkdoc-mkman,
[b7279d4]175 gtkdoc-mkpdf,
[8558044]176 gtkdoc-rebase,
177 gtkdoc-scan, and
[b7279d4]178 gtkdoc-scangobj
179 </seg>
[8558044]180
[effdc6af]181 <seg>None</seg>
[8558044]182
[b7279d4]183 <seg>
184 /usr/share/gtk-doc and
[7199a09]185 /usr/share/cmake/GtkDoc
[c1add1f5]186 </seg>
[effdc6af]187 </seglistitem>
188 </segmentedlist>
[fc7afd0c]189
[effdc6af]190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
[fc7afd0c]194
[effdc6af]195 <varlistentry id="gtkdoc">
196 <term><command>gtkdoc*</command></term>
197 <listitem>
[b7a85cd9]198 <para>
[8558044]199 these are all shell, or
[b7a85cd9]200 <application>Python</application> scripts used by
201 package <filename>Makefile</filename> scripts to generate
[4c24eb0a]202 documentation for the package being built
[b7a85cd9]203 </para>
[effdc6af]204 <indexterm zone="gtk-doc gtkdoc">
205 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
[fc7afd0c]209
[effdc6af]210 </variablelist>
[fc7afd0c]211
[effdc6af]212 </sect2>
[fc7afd0c]213
[832650c]214</sect1>
Note: See TracBrowser for help on using the repository browser.