source: BOOK/final-system/common/file.xml@ 697d86d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 697d86d was 6af3a34, checked in by Jim Gifford <clfs@…>, 16 years ago

Added Patches to File, Man, Tar, and Texinfo to support XZ Utils

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-file" role="wrap">
9 <?dbhtml filename="file.html"?>
10
11 <title>File-&file-version;</title>
12
13 <indexterm zone="ch-system-file">
14 <primary sortas="a-File">File</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The File package contains a utility for determining the type of
21 a given file or files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of File</title>
27
[e244b2a]28 <para os="p1">The following patch will fix an issue due to utf-8 with file on documents:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&file-fixes-patch;</userinput></screen>
31
[6af3a34]32 <para os="p3">The following patch will add support for new compressors like XZ Utils:</para>
33
34<screen os="p4"><userinput>patch -Np1 -i ../&file-new_compressors-patch;</userinput></screen>
35
[3f8be484]36 <para os="a">Prepare File for compilation:</para>
37
38<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
39
40 <para os="c">Compile the package:</para>
41
42<screen os="d"><userinput>make</userinput></screen>
43
[da1d069]44 <para os="e">This package does not come with a test suite.</para>
[3f8be484]45
[da1d069]46 <para os="f">Install the package:</para>
47
48<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]49
50 </sect2>
51
52 <sect2 id="contents-file" role="content">
53 <title>Contents of File</title>
54
55 <segmentedlist>
56 <segtitle>Installed programs</segtitle>
57 <segtitle>Installed library</segtitle>
58
59 <seglistitem>
60 <seg>file</seg>
61 <seg>libmagic.[a,so]</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="file">
71 <term><command>file</command></term>
72 <listitem>
73 <para>Tries to classify each given file; it does this by performing
74 several tests&mdash;file system tests, magic number tests, and
75 language tests</para>
76 <indexterm zone="ch-system-file file">
77 <primary sortas="b-file">file</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry id="libmagic">
83 <term><filename class="libraryfile">libmagic</filename></term>
84 <listitem>
85 <para>Contains routines for magic number recognition, used by the
86 <command>file</command> program</para>
87 <indexterm zone="ch-system-file libmagic">
88 <primary sortas="c-libmagic">libmagic</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 </variablelist>
94
95 </sect2>
96
97</sect1>
Note: See TracBrowser for help on using the repository browser.