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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since cc60178 was 64c6acb, checked in by Ken Moffat <ken@…>, 15 years ago

Update gtk-doc.

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

  • Property mode set to 100644
File size: 5.7 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.bz2">
8 <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/&gtk-doc-version;/gtk-doc-&gtk-doc-version;.tar.bz2">
9 <!ENTITY gtk-doc-md5sum "b5e268c71fa90aad890cf53715664d0a">
10 <!ENTITY gtk-doc-size "443 KB">
11 <!ENTITY gtk-doc-buildsize "4.8 MB">
12 <!ENTITY gtk-doc-time "less than 0.1 SBU">
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 documentor. 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 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&gtk-doc-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&gtk-doc-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &gtk-doc-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &gtk-doc-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &gtk-doc-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &gtk-doc-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required"><xref linkend="libxslt"/>,
67 <xref linkend="DocBook"/>, and
68 <xref linkend="docbook-xsl"/></para>
69
70 <bridgehead renderas="sect4">Recommended</bridgehead>
71 <para role="optional"><xref linkend="python"/></para>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="pkgconfig"/>,
75 <xref linkend="scrollkeeper"/>,
76 <xref linkend="openjade"/>,
77 <xref linkend="sgml-dtd"/>,
78 <xref linkend="docbook-dsssl"/>, also
79 <xref linkend="glib2"/> (for the testsuite)</para>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/gtk-doc"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of GTK-Doc</title>
88
89 <para>Install <application>GTK-Doc</application> by running
90 the following commands:</para>
91
92<screen><userinput>sed -i '/^pkgconfigdir/s/datadir/libdir/' &amp;&amp;
93./configure --prefix=/usr &amp;&amp;
94make</userinput></screen>
95
96 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
97
98<screen role="root"><userinput>make install</userinput></screen>
99
100 <para>The test suite requires that the package has been installed first, and
101 in any case it fails because of a missing file, so there is little point
102 in running it. If you insist on seeing the results, as a normal user run:
103 <command>make check</command>.</para>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <para><command>sed -i '/^pkgconfigdir/s/datadir/libdir/'</command>:
111 this installs the pkgconfig file in a place which is on
112 <envar>PKG_CONFIG_PATH</envar> instead of in
113 <filename class='directory'>/usr/share/pkgconfig</filename>.</para>
114
115 <!-- no scrollkeeper files with this version
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../../xincludes/scrollkeeper-dir.xml"/>-->
118
119 </sect2>
120
121 <sect2 role="content">
122 <title>Contents</title>
123
124 <segmentedlist>
125 <segtitle>Installed Programs</segtitle>
126 <segtitle>Installed Libraries</segtitle>
127 <segtitle>Installed Directories</segtitle>
128
129 <seglistitem>
130 <seg>gtkdocize, gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdoc-mkdb,
131 gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mktmpl, gtkdoc-rebase, gtkdoc-scan,
132 gtkdoc-scangobj, and gtkdoc-scanobj</seg>
133 <seg>None</seg>
134 <seg>The following subdirectories of /usr/share/:
135 <!--doc/gtk-doc-&gtk-doc-version;, -->
136 gnome/help/gtk-doc-manual,
137 gtk-doc/data and
138 {omf,sgml}/gtk-doc</seg>
139 </seglistitem>
140 </segmentedlist>
141
142 <variablelist>
143 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
144 <?dbfo list-presentation="list"?>
145 <?dbhtml list-presentation="table"?>
146
147 <varlistentry id="gtkdoc">
148 <term><command>gtkdoc*</command></term>
149 <listitem>
150 <para>these are all shell, <application>Perl</application>, or
151 <application>Python</application> scripts used by
152 package <filename>Makefile</filename> scripts to generate
153 documentation for the package being built.</para>
154 <indexterm zone="gtk-doc gtkdoc">
155 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 </variablelist>
161
162 </sect2>
163
164</sect1>
Note: See TracBrowser for help on using the repository browser.