source: general/genutils/gtk-doc.xml@ 8d45c9a

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8d45c9a was 8d45c9a, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Fix gtk-doc url

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

  • Property mode set to 100644
File size: 6.3 KB
RevLine 
[fdca4266]1<?xml version="1.0" encoding="ISO-8859-1"?>
[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">
8 <!ENTITY gtk-doc-download-ftp "&gnome-download-ftp;/gtk-doc/&gtk-doc-major;/gtk-doc-&gtk-doc-version;.tar.xz">
[7199a09]9 <!ENTITY gtk-doc-md5sum "4f2a7925c6b1cec4569ccb94e2b58d6b">
10 <!ENTITY gtk-doc-size "496 KB">
11 <!ENTITY gtk-doc-buildsize "13 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
[effdc6af]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[fc7afd0c]22
[effdc6af]23 <title>GTK-Doc-&gtk-doc-version;</title>
[fc7afd0c]24
[effdc6af]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>
[fc7afd0c]31
[b7a85cd9]32 <para>
33 The <application>GTK-Doc</application> package contains a code
34 documenter. This is useful for extracting specially formatted comments
35 from the code to create API documentation. This package is
36 <emphasis>optional</emphasis>; if it is not installed, packages will
37 not build the documentation. This does not mean that you will not have
38 any documentation. If <application>GTK-Doc</application> is not
39 available, the install process will copy any pre-built documentation
40 to your system.
41 </para>
[fc7afd0c]42
[87351a9]43 &lfs10_checked;
[a10f4a7]44
[effdc6af]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[b7a85cd9]48 <para>
49 Download (HTTP): <ulink url="&gtk-doc-download-http;"/>
50 </para>
[effdc6af]51 </listitem>
52 <listitem>
[b7a85cd9]53 <para>
54 Download (FTP): <ulink url="&gtk-doc-download-ftp;"/>
55 </para>
[effdc6af]56 </listitem>
57 <listitem>
[b7a85cd9]58 <para>
59 Download MD5 sum: &gtk-doc-md5sum;
60 </para>
[effdc6af]61 </listitem>
62 <listitem>
[b7a85cd9]63 <para>
64 Download size: &gtk-doc-size;
65 </para>
[effdc6af]66 </listitem>
67 <listitem>
[b7a85cd9]68 <para>
69 Estimated disk space required: &gtk-doc-buildsize;
70 </para>
[effdc6af]71 </listitem>
72 <listitem>
[b7a85cd9]73 <para>
74 Estimated build time: &gtk-doc-time;
75 </para>
[effdc6af]76 </listitem>
77 </itemizedlist>
[7199a09]78<!--
[ddd5a70]79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing="compact">
81 <listitem>
82 <para>
83 Required patch to allow building <xref linkend="glib2"/>
84 documentation:
85 <ulink url="&patch-root;/gtk-doc-&gtk-doc-version;-glib2_fixes-1.patch"/>
86 </para>
87 </listitem>
88 </itemizedlist>
[7199a09]89-->
[effdc6af]90 <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
[fc7afd0c]91
[effdc6af]92 <bridgehead renderas="sect4">Required</bridgehead>
[ba056d7]93 <para role="required">
94 <xref linkend="DocBook"/>,
95 <xref linkend="docbook-xsl"/>,
[0367db7]96 <xref linkend="itstool"/>, and
97 <xref linkend="libxslt"/>
[ba056d7]98 </para>
[64c6acb]99
[9d10790]100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref role="runtime" linkend="pygments"/> at run time
103 </para>
104
[effdc6af]105 <bridgehead renderas="sect4">Optional</bridgehead>
[b495000]106 <para role="optional">
[b7279d4]107 For tests:
[665ac79f]108 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
109 <xref linkend="fop"/> (XML PDF support),
[b7279d4]110 <xref linkend="glib2"/>,
111 <xref linkend="which"/>, and
112 Python modules
[ad112fd5]113 <xref linkend="lxml"/>,
[b7279d4]114 <ulink url="https://anytree.readthedocs.io/en/latest/">anytree</ulink>, and
[c48b85a1]115 <ulink url="https://pypi.org/project/parameterized/">parameterized</ulink>
[665ac79f]116 </para>
[fc7afd0c]117
[b7a85cd9]118 <note>
119 <para>
120 The optional python modules above can be easily installed with
121 the <command>pip3</command> command.
122 </para>
123 </note>
[b7279d4]124
[1039de3]125 <para condition="html" role="usernotes">User Notes:
126 <ulink url="&blfs-wiki;/gtk-doc"/></para>
127
[effdc6af]128 </sect2>
[fc7afd0c]129
[effdc6af]130 <sect2 role="installation">
131 <title>Installation of GTK-Doc</title>
132
[b7a85cd9]133 <para>
134 Install <application>GTK-Doc</application> by running
135 the following commands:
136 </para>
[effdc6af]137
[7199a09]138<screen><userinput>autoreconf -fiv &amp;&amp;
139./configure --prefix=/usr &amp;&amp;
[2e46c65]140make</userinput></screen>
141
[b7a85cd9]142 <para>
143 The test suite will hang if the package (or a previous version)
144 is not already installed.
145 </para>
[0e5a229a]146
[b7a85cd9]147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
[fc7afd0c]150
[effdc6af]151<screen role="root"><userinput>make install</userinput></screen>
[fc7afd0c]152
[b7a85cd9]153 <para>
154 To test the results, issue: <command>make check</command>.
155 Some tests will fail depending on optionally installed packages.
156 </para>
[ad112fd5]157
[effdc6af]158 </sect2>
[fc7afd0c]159
[effdc6af]160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
[fc7afd0c]167
[effdc6af]168 <seglistitem>
[b7279d4]169 <seg>
170 gtkdocize,
171 gtkdoc-check,
172 gtkdoc-depscan,
173 gtkdoc-fixxref,
174 gtkdoc-mkdb,
175 gtkdoc-mkhtml,
176 gtkdoc-mkhtml2,
177 gtkdoc-mkman,
178 gtkdoc-mkpdf,
179 gtkdoc-rebase,
180 gtkdoc-scan, and
181 gtkdoc-scangobj
182 </seg>
[c1add1f5]183
[effdc6af]184 <seg>None</seg>
[c1add1f5]185
[b7279d4]186 <seg>
187 /usr/share/gtk-doc and
[7199a09]188 /usr/share/cmake/GtkDoc
[c1add1f5]189 </seg>
[effdc6af]190 </seglistitem>
191 </segmentedlist>
[fc7afd0c]192
[effdc6af]193 <variablelist>
194 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
195 <?dbfo list-presentation="list"?>
196 <?dbhtml list-presentation="table"?>
[fc7afd0c]197
[effdc6af]198 <varlistentry id="gtkdoc">
199 <term><command>gtkdoc*</command></term>
200 <listitem>
[b7a85cd9]201 <para>
202 these are all shell, or
203 <application>Python</application> scripts used by
204 package <filename>Makefile</filename> scripts to generate
205 documentation for the package being built.
206 </para>
[effdc6af]207 <indexterm zone="gtk-doc gtkdoc">
208 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
[fc7afd0c]212
[effdc6af]213 </variablelist>
[fc7afd0c]214
[effdc6af]215 </sect2>
[fc7afd0c]216
[832650c]217</sect1>
Note: See TracBrowser for help on using the repository browser.