source: clfs-sysroot/BOOK/final-system/common/texinfo.xml@ 5620919

Last change on this file since 5620919 was cee2ca2, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Went through and made sure that every package in the final system that needs both --build and --host has them.

  • Property mode set to 100644
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-texinfo" role="wrap">
9 <?dbhtml filename="texinfo.html"?>
10
11 <title>Texinfo-&texinfo-version;</title>
12
13 <indexterm zone="ch-system-texinfo">
14 <primary sortas="a-Texinfo">Texinfo</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Texinfo package contains programs for reading, writing, and
21 converting info pages.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Texinfo</title>
27
28 <para os="p1">Texinfo allows local users to overwrite arbitrary files via a symlink
29 attack on temporary files. Apply the following patch to fix this:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen>
32
33 <para os="a">Prepare Texinfo for compilation:</para>
34
35<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
36 --prefix=/usr</userinput></screen>
37
38 <para os="c">Compile the package:</para>
39
40<screen os="d"><userinput>make</userinput></screen>
41
42 <para os="e">Install the package:</para>
43
44<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
45
46 <para os="g">Optionally, install the components belonging in a TeX
47 installation:</para>
48
49<screen os="h"><userinput>make DESTDIR=${CLFS} TEXMF=/usr/share/texmf install-tex</userinput></screen>
50
51 <variablelist os="i">
52 <title>The meaning of the make parameter:</title>
53
54 <varlistentry>
55 <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
56 <listitem>
57 <para>The <envar>TEXMF</envar> makefile variable holds the location
58 of the root of the TeX tree if, for example, a TeX package will be
59 installed later.</para>
60 </listitem>
61 </varlistentry>
62
63 </variablelist>
64
65 <para os="j">The Info documentation system uses a plain text file to hold
66 its list of menu entries. The file is located at
67 <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional
68 problems in the Makefiles of various packages, it can sometimes get out of
69 sync with the info pages installed on the system. If the
70 <filename>/usr/share/info/dir</filename> file ever needs to be recreated,
71 the following optional commands will accomplish the task:</para>
72
73<screen os="k" role="nodump"><userinput>cd ${CLFS}/usr/share/info
74rm dir
75for f in *
76do install-info $f dir 2&gt;/dev/null
77done</userinput></screen>
78
79 </sect2>
80
81 <sect2 id="contents-texinfo" role="content">
82 <title>Contents of Texinfo</title>
83
84 <segmentedlist>
85 <segtitle>Installed programs</segtitle>
86
87 <seglistitem>
88 <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf,
89 and texindex</seg>
90 </seglistitem>
91 </segmentedlist>
92
93 <variablelist>
94 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
95 <?dbfo list-presentation="list"?>
96 <?dbhtml list-presentation="table"?>
97
98 <varlistentry id="info">
99 <term><command>info</command></term>
100 <listitem>
101 <para>Used to read info pages which are similar to man
102 pages, but often go much deeper than just explaining all the command
103 line options. For example, compare <command>man bison</command> and
104 <command>info bison</command>.</para>
105 <indexterm zone="ch-system-texinfo info">
106 <primary sortas="b-info">info</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="infokey">
112 <term><command>infokey</command></term>
113 <listitem>
114 <para>Compiles a source file containing Info customizations into a
115 binary format</para>
116 <indexterm zone="ch-system-texinfo infokey">
117 <primary sortas="b-infokey">infokey</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="install-info">
123 <term><command>install-info</command></term>
124 <listitem>
125 <para>Used to install info pages; it updates entries in the
126 <command>info</command> index file</para>
127 <indexterm zone="ch-system-texinfo install-info">
128 <primary sortas="b-install-info">install-info</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="makeinfo">
134 <term><command>makeinfo</command></term>
135 <listitem>
136 <para>Translates the given Texinfo source documents into
137 info pages, plain text, or HTML</para>
138 <indexterm zone="ch-system-texinfo makeinfo">
139 <primary sortas="b-makeinfo">makeinfo</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="texi2dvi">
145 <term><command>texi2dvi</command></term>
146 <listitem>
147 <para>Used to format the given Texinfo document into a
148 device-independent file that can be printed</para>
149 <indexterm zone="ch-system-texinfo texi2dvi">
150 <primary sortas="b-texi2dvi">texi2dvi</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="texi2pdf">
156 <term><command>texi2pdf</command></term>
157 <listitem>
158 <para>Used to format the given Texinfo document into a
159 Portable Document Format (PDF) file</para>
160 <indexterm zone="ch-system-texinfo texi2pdf">
161 <primary sortas="b-texi2pdf">texi2pdf</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="texindex">
167 <term><command>texindex</command></term>
168 <listitem>
169 <para>Used to sort Texinfo index files</para>
170 <indexterm zone="ch-system-texinfo texindex">
171 <primary sortas="b-texindex">texindex</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect2>
179
180</sect1>
Note: See TracBrowser for help on using the repository browser.