source: general/genutils/gtk-doc.xml@ 0dddae0

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 0dddae0 was 0dddae0, checked in by Wayne Blaszczyk <wblaszcz@…>, 14 years ago

Updated to GTK-Doc-1.14 and minor formatting changes to docbook-dsssl, sgml-common, docbook-utils, and tcl.

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

  • Property mode set to 100644
File size: 6.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.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 "7aa8a1262c70692ebbdf33395fddd5c4">
10 <!ENTITY gtk-doc-size "767 KB">
11 <!ENTITY gtk-doc-buildsize "10 MB">
12 <!ENTITY gtk-doc-time "0.4 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 <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="DocBook"/>,
67 <xref linkend="docbook-xsl"/>, and
68 <xref linkend="libxslt"/></para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional"><xref linkend="glib2"/> (for the testsuite),
72 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
73 <xref linkend="fop"/> (XML PDF support),
74 <xref linkend="gnome-doc-utils"/> and
75 <xref linkend="which"/> (builds gtk-doc documentation),
76 <xref linkend="openjade"/> with
77 <xref linkend="sgml-dtd"/> and
78 <xref linkend="docbook-dsssl"/>
79 (SGML support, not actively maintained any more),
80 <xref linkend="python"/> (builds gtkdoc-depscan), and
81 <xref linkend="rarian"/></para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/gtk-doc"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of GTK-Doc</title>
90
91 <!-- Does not apply to this version? <note>
92 <para>If you installed the <xref linkend="scrollkeeper"/> package and
93 then followed it with <xref linkend="rarian"/> package, there will be
94 Scrollkeeper files missing (Rarian removed them) and the build will
95 fail. In this instance you should add the paramater
96 <option>\-\-disable-scrollkeeper</option> to the
97 <command>./configure</command> command shown below.</para>
98 </note> -->
99
100 <para>Install <application>GTK-Doc</application> by running
101 the following commands:</para>
102
103<screen><userinput>./configure --prefix=/usr \
104 --disable-scrollkeeper &amp;&amp;
105make</userinput></screen>
106
107 <para>To test the results, issue <command>make check</command>.</para>
108
109 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 <!-- <para>The test suite requires that the package has been installed first, but
114 there's no reason to run it as there is a missing file which causes the test
115 suite to fail. If you insist on seeing the results, an an unprivileged user
116 run: <command>make check</command>.</para> -->
117
118 </sect2>
119
120<!-- <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 \<\!\-\- no scrollkeeper files with this version
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/scrollkeeper-dir.xml"/> \-\-\>
126
127 </sect2> -->
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para><parameter>--disable-scrollkeeper</parameter>: Do not make updates to
133 the <application>scrollkeeper</application> database. Remove it if you have
134 <application>rarian</application> installed.</para>
135
136 </sect2>
137
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Libraries</segtitle>
144 <segtitle>Installed Directories</segtitle>
145
146 <seglistitem>
147 <seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
148 gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf, gtkdoc-mktmpl,
149 gtkdoc-rebase, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
150 <seg>None</seg>
151 <seg>/usr/share/{gnome/help/gtk-doc-manual/*,gtk-doc/data,omf/gtk-doc-manual,sgml/gtk-doc}</seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="gtkdoc">
161 <term><command>gtkdoc*</command></term>
162 <listitem>
163 <para>these are all shell, <application>Perl</application>, or
164 <application>Python</application> scripts used by
165 package <filename>Makefile</filename> scripts to generate
166 documentation for the package being built.</para>
167 <indexterm zone="gtk-doc gtkdoc">
168 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.