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

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 f7e3016 was f7e3016, checked in by Ken Moffat <ken@…>, 12 years ago

Start on replacing pkgconfig by glib2 in deps. This commit effectively reverts what is left of r9689 and r9661.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10269 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 "3927bed60fdd0fc9093a1d00018e746a">
10 <!ENTITY gtk-doc-size "628 KB">
11 <!ENTITY gtk-doc-buildsize "10 MB">
12 <!ENTITY gtk-doc-time "0.2 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 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 &lfs71_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"><xref linkend="DocBook"/>,
69 <xref linkend="docbook-xsl"/>, and
70 <xref linkend="libxslt"/></para>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended"><xref linkend="pkgconfig"/>
74 (to use some of the optional deps)</para>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
79 <xref linkend="fop"/> (XML PDF support),
80 <xref linkend="glib2"/> (for the test suite),
81 <xref linkend="gnome-doc-utils"/> and
82 <xref linkend="which"/> (required for the test suite and gtk-doc documentation),
83 <xref linkend="openjade"/> with
84 <xref linkend="sgml-dtd"/> and
85 <xref linkend="docbook-dsssl"/>
86 (SGML support, not actively maintained any more),
87 <xref linkend="python2"/> (builds gtkdoc-depscan), and
88 <xref linkend="rarian"/></para>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/gtk-doc"/></para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of GTK-Doc</title>
97
98 <para>Install <application>GTK-Doc</application> by running
99 the following commands:</para>
100
101<screen><userinput>./configure --prefix=/usr &amp;&amp;
102make</userinput></screen>
103
104 <para>To test the results, issue: <command>make check</command>.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make install</userinput></screen>
109
110 <!-- <para>The test suite requires that the package has been installed first, but
111 there's no reason to run it as there is a missing file which causes the test
112 suite to fail. If you insist on seeing the results, an an unprivileged user
113 run: <command>make check</command>.</para> -->
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para><command>sed -i '...' gtkdoc-fixxref.in</command>: This command fixes
121 an issue where invocations of the <application>Vim</application> editor
122 does not behave as expected. See upstream bug at
123 <ulink url="https://bugzilla.gnome.org/show_bug.cgi?id=627223"/>.</para>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
137 gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf, gtkdoc-mktmpl,
138 gtkdoc-rebase, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
139 <seg>None</seg>
140 <seg>/usr/share/{gnome/help/gtk-doc-manual/*,gtk-doc/data,omf/gtk-doc-manual,sgml/gtk-doc}</seg>
141 </seglistitem>
142 </segmentedlist>
143
144 <variablelist>
145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
146 <?dbfo list-presentation="list"?>
147 <?dbhtml list-presentation="table"?>
148
149 <varlistentry id="gtkdoc">
150 <term><command>gtkdoc*</command></term>
151 <listitem>
152 <para>these are all shell, <application>Perl</application>, or
153 <application>Python</application> scripts used by
154 package <filename>Makefile</filename> scripts to generate
155 documentation for the package being built.</para>
156 <indexterm zone="gtk-doc gtkdoc">
157 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 </variablelist>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.