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

10.0 10.1 11.0 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since b7279d4 was b7279d4, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to gtk-doc-1.30.
Update to postgresql-11.3.
Update to mesa-19.0.4.

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

  • Property mode set to 100644
File size: 5.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-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 "1045ba29ca0693ced2045523407aae4c">
10 <!ENTITY gtk-doc-size "740 KB">
11 <!ENTITY gtk-doc-buildsize "17 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>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 &lfs84_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&gtk-doc-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&gtk-doc-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &gtk-doc-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &gtk-doc-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &gtk-doc-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &gtk-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">
69 <xref linkend="DocBook"/>,
70 <xref linkend="docbook-xsl"/>,
71 <xref linkend="itstool"/>, and
72 <xref linkend="libxslt"/>
73 </para>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 For tests:
78 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
79 <xref linkend="fop"/> (XML PDF support),
80 <xref linkend="glib2"/>,
81 <xref linkend="which"/>, and
82 Python modules
83 <ulink url="http://pygments.org/">pygments</ulink>,
84 <ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>, and
85 <ulink url="https://pypi.org/project/parameterized/">paramerterized</ulink>
86 </para>
87
88 <note><para>The optional python modules above can be easily installed with
89 the <command>pip3</command> command.</para></note>
90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/gtk-doc"/></para>
93
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of GTK-Doc</title>
98
99 <para>Install <application>GTK-Doc</application> by running
100 the following commands:</para>
101
102<screen><userinput>./configure --prefix=/usr &amp;&amp;
103make</userinput></screen>
104
105 <para>To test the results, issue: <command>make check</command>.
106 Some tests will fail depending on optionally installed packages.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>make install</userinput></screen>
111
112 </sect2>
113
114 <sect2 role="content">
115 <title>Contents</title>
116
117 <segmentedlist>
118 <segtitle>Installed Programs</segtitle>
119 <segtitle>Installed Libraries</segtitle>
120 <segtitle>Installed Directories</segtitle>
121
122 <seglistitem>
123 <seg>
124 gtkdocize,
125 gtkdoc-check,
126 gtkdoc-depscan,
127 gtkdoc-fixxref,
128 gtkdoc-mkdb,
129 gtkdoc-mkhtml,
130 gtkdoc-mkhtml2,
131 gtkdoc-mkman,
132 gtkdoc-mkpdf,
133 gtkdoc-rebase,
134 gtkdoc-scan, and
135 gtkdoc-scangobj
136 </seg>
137
138 <seg>None</seg>
139
140 <seg>
141 /usr/share/gtk-doc and
142 /usr/share/help/*/gtk-doc-manual
143 </seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152 <varlistentry id="gtkdoc">
153 <term><command>gtkdoc*</command></term>
154 <listitem>
155 <para>these are all shell, or
156 <application>Python</application> scripts used by
157 package <filename>Makefile</filename> scripts to generate
158 documentation for the package being built.</para>
159 <indexterm zone="gtk-doc gtkdoc">
160 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 </variablelist>
166
167 </sect2>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.