source: clfs-sysroot/BOOK/final-system/common/diffutils.xml@ 8c53ee9

Last change on this file since 8c53ee9 was e84c831, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Add diffutils i18n patch.

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-diffutils" role="wrap">
9 <?dbhtml filename="diffutils.html"?>
10
11 <title>Diffutils-&diffutils-version;</title>
12
13 <indexterm zone="ch-system-diffutils">
14 <primary sortas="a-Diffutils">Diffutils</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Diffutils package contains programs that show the differences
21 between files or directories.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Diffutils</title>
27
[e84c831]28 <para os="p1">This patch adds support for Internationalization:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&diffutils-i18n-patch;</userinput></screen>
31
[02095ae]32 <para os="a">Prepare Diffutils for compilation:</para>
33
[cee2ca2]34<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
35 --prefix=/usr</userinput></screen>
[02095ae]36
[93a6da3]37 <para os="s1">Diffutils wants ed as the default editor, the following sed will allow us
38 to use vim:</para>
39
40<screen os="s2"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' config.h</userinput></screen>
41
[02095ae]42 <para os="c">Compile the package:</para>
43
44<screen os="d"><userinput>make</userinput></screen>
45
46 <para os="e">Install the package:</para>
47
[586feb7]48<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]49
50 </sect2>
51
52 <sect2 id="contents-diffutils" role="content">
53 <title>Contents of Diffutils</title>
54
55 <segmentedlist>
56 <segtitle>Installed programs</segtitle>
57
58 <seglistitem>
59 <seg>cmp, diff, diff3, and sdiff</seg>
60 </seglistitem>
61 </segmentedlist>
62
63 <variablelist>
64 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
65 <?dbfo list-presentation="list"?>
66 <?dbhtml list-presentation="table"?>
67
68 <varlistentry id="cmp">
69 <term><command>cmp</command></term>
70 <listitem>
71 <para>Compares two files and reports whether or in which bytes
72 they differ</para>
73 <indexterm zone="ch-system-diffutils cmp">
74 <primary sortas="b-cmp">cmp</primary>
75 </indexterm>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry id="diff">
80 <term><command>diff</command></term>
81 <listitem>
82 <para>Compares two files or directories and reports which lines in
83 the files differ</para>
84 <indexterm zone="ch-system-diffutils diff">
85 <primary sortas="b-diff">diff</primary>
86 </indexterm>
87 </listitem>
88 </varlistentry>
89
90 <varlistentry id="diff3">
91 <term><command>diff3</command></term>
92 <listitem>
93 <para>Compares three files line by line</para>
94 <indexterm zone="ch-system-diffutils diff3">
95 <primary sortas="b-diff3">diff3</primary>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
100 <varlistentry id="sdiff">
101 <term><command>sdiff</command></term>
102 <listitem>
103 <para>Merges two files and interactively outputs the results</para>
104 <indexterm zone="ch-system-diffutils sdiff">
105 <primary sortas="b-sdiff">sdiff</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 </variablelist>
111
112 </sect2>
113
114</sect1>
Note: See TracBrowser for help on using the repository browser.