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

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 cf3ddc0c was cf3ddc0c, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Updated to gtk-doc-1.18

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

  • Property mode set to 100644
File size: 6.8 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
[5600683]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">
[cf3ddc0c]9 <!ENTITY gtk-doc-md5sum "3927bed60fdd0fc9093a1d00018e746a">
10 <!ENTITY gtk-doc-size "628 KB">
[0dddae0]11 <!ENTITY gtk-doc-buildsize "10 MB">
[cf3ddc0c]12 <!ENTITY gtk-doc-time "0.2 SBU">
[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
[8d77de6]32 <para>The <application>GTK-Doc</application> package
[104733c]33 contains a code documenter. This is useful for extracting specially formatted
[8d77de6]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
[d9962703]38 available, the install process will copy any pre-built documentation to your
[effdc6af]39 system.</para>
[fc7afd0c]40
[cf3ddc0c]41 &lfs70_checked;
[a10f4a7]42
[effdc6af]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>
[fc7afd0c]64
[effdc6af]65 <bridgehead renderas="sect3">GTK-Doc Dependencies</bridgehead>
[fc7afd0c]66
[effdc6af]67 <bridgehead renderas="sect4">Required</bridgehead>
[0dddae0]68 <para role="required"><xref linkend="DocBook"/>,
69 <xref linkend="docbook-xsl"/>, and
70 <xref linkend="libxslt"/></para>
[64c6acb]71
[effdc6af]72 <bridgehead renderas="sect4">Optional</bridgehead>
[0dddae0]73 <para role="optional"><xref linkend="glib2"/> (for the testsuite),
74 <ulink url="http://sourceforge.net/projects/dblatex/">dblatex</ulink> or
75 <xref linkend="fop"/> (XML PDF support),
76 <xref linkend="gnome-doc-utils"/> and
77 <xref linkend="which"/> (builds gtk-doc documentation),
78 <xref linkend="openjade"/> with
79 <xref linkend="sgml-dtd"/> and
80 <xref linkend="docbook-dsssl"/>
81 (SGML support, not actively maintained any more),
82 <xref linkend="python"/> (builds gtkdoc-depscan), and
83 <xref linkend="rarian"/></para>
[fc7afd0c]84
[1039de3]85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/gtk-doc"/></para>
87
[effdc6af]88 </sect2>
[fc7afd0c]89
[effdc6af]90 <sect2 role="installation">
91 <title>Installation of GTK-Doc</title>
92
[0dddae0]93 <!-- Does not apply to this version? <note>
[0e5a229a]94 <para>If you installed the <xref linkend="scrollkeeper"/> package and
95 then followed it with <xref linkend="rarian"/> package, there will be
96 Scrollkeeper files missing (Rarian removed them) and the build will
97 fail. In this instance you should add the paramater
[0dddae0]98 <option>\-\-disable-scrollkeeper</option> to the
[0e5a229a]99 <command>./configure</command> command shown below.</para>
[0dddae0]100 </note> -->
[0e5a229a]101
[8d77de6]102 <para>Install <application>GTK-Doc</application> by running
[effdc6af]103 the following commands:</para>
104
[d1524623]105<screen><userinput>sed -i 's/wa!/w! $temp_source_file.html/' gtkdoc-fixxref.in \
106./configure --prefix=/usr \
[0dddae0]107 --disable-scrollkeeper &amp;&amp;
[2e46c65]108make</userinput></screen>
109
[9327a61]110 <para>To test the results, issue: <command>make check</command>.</para>
[0e5a229a]111
[effdc6af]112 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[fc7afd0c]113
[effdc6af]114<screen role="root"><userinput>make install</userinput></screen>
[fc7afd0c]115
[0e5a229a]116 <!-- <para>The test suite requires that the package has been installed first, but
[62acbed]117 there's no reason to run it as there is a missing file which causes the test
118 suite to fail. If you insist on seeing the results, an an unprivileged user
[0e5a229a]119 run: <command>make check</command>.</para> -->
[64c6acb]120
[effdc6af]121 </sect2>
[fc7afd0c]122
[62acbed]123<!-- <sect2 role="commands">
[2e46c65]124 <title>Command Explanations</title>
125
[62acbed]126 \<\!\-\- no scrollkeeper files with this version
[e05cd03f]127 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[62acbed]128 href="../../xincludes/scrollkeeper-dir.xml"/> \-\-\>
[2e46c65]129
[62acbed]130 </sect2> -->
[2e46c65]131
[0dddae0]132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para><parameter>--disable-scrollkeeper</parameter>: Do not make updates to
136 the <application>scrollkeeper</application> database. Remove it if you have
137 <application>rarian</application> installed.</para>
138
[d1524623]139 <para><command>sed -i '...' gtkdoc-fixxref.in</command>: This command fixes
140 an issue where invocations of the <application>Vim</application> editor
141 does not behave as expected. See upstream bug at
142 <ulink url="https://bugzilla.gnome.org/show_bug.cgi?id=627223"/>.</para>
143
[0dddae0]144 </sect2>
145
[effdc6af]146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
[fc7afd0c]153
[effdc6af]154 <seglistitem>
[0dddae0]155 <seg>gtkdoc-check, gtkdoc-depscan, gtkdoc-fixxref, gtkdocize,
156 gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-mkman, gtkdoc-mkpdf, gtkdoc-mktmpl,
157 gtkdoc-rebase, gtkdoc-scan, gtkdoc-scangobj, and gtkdoc-scanobj</seg>
[effdc6af]158 <seg>None</seg>
[0dddae0]159 <seg>/usr/share/{gnome/help/gtk-doc-manual/*,gtk-doc/data,omf/gtk-doc-manual,sgml/gtk-doc}</seg>
[effdc6af]160 </seglistitem>
161 </segmentedlist>
[fc7afd0c]162
[effdc6af]163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
[fc7afd0c]167
[effdc6af]168 <varlistentry id="gtkdoc">
169 <term><command>gtkdoc*</command></term>
170 <listitem>
[64c6acb]171 <para>these are all shell, <application>Perl</application>, or
172 <application>Python</application> scripts used by
[8d77de6]173 package <filename>Makefile</filename> scripts to generate
[effdc6af]174 documentation for the package being built.</para>
175 <indexterm zone="gtk-doc gtkdoc">
176 <primary sortas="b-gtkdoc*">gtkdoc*</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
[fc7afd0c]180
[effdc6af]181 </variablelist>
[fc7afd0c]182
[effdc6af]183 </sect2>
[fc7afd0c]184
[832650c]185</sect1>
Note: See TracBrowser for help on using the repository browser.