source: archive/gperf.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY gperf-download-http "http://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
8 <!ENTITY gperf-download-ftp "ftp://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
9 <!ENTITY gperf-md5sum "c1f1db32fb6598d6a93e6e88796a8632">
10 <!ENTITY gperf-size "968 KB">
11 <!ENTITY gperf-buildsize "6.5 MB">
12 <!ENTITY gperf-time "less than 0.1 SBU">
13]>
14
15<sect1 id="gperf" xreflabel="Gperf-&gperf-version;">
16 <?dbhtml filename="gperf.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Gperf-&gperf-version;</title>
23
24 <indexterm zone="gperf">
25 <primary sortas="a-Gperf">Gperf</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Gperf</title>
30
31 <para><application>Gperf</application> generates a perfect hash function
32 from a key set.</para>
33
34 &lfs75_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&gperf-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&gperf-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &gperf-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &gperf-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &gperf-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &gperf-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <para condition="html" role="usernotes">User Notes:
59 <ulink url="&blfs-wiki;/gperf"/></para>
60
61 </sect2>
62
63 <sect2 role="installation">
64 <title>Installation of Gperf</title>
65
66 <para>Install <application>Gperf</application> by running the following
67 commands:</para>
68
69<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version; &amp;&amp;
70make</userinput></screen>
71
72<!-- gperf.texi is broken. Fixing the texi file breaks 'make install'
73 without TeXlive installed.
74 <para>If desired, create a text version of the documentation by issuing
75 the following command:</para>
76
77<screen><userinput>makeinfo -o doc/gperf.txt - -plaintext doc/gperf.texi</userinput></screen>
78-->
79
80 <para>To test the results, issue: <command>make check</command>. There
81 should be no output from the <command>diff</command> commands.</para>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>make install &amp;&amp;
86<!--install -m644 -v doc/gperf.{dvi,ps,pdf,txt} \ -->
87install -m644 -v doc/gperf.{dvi,ps,pdf} \
88 /usr/share/doc/gperf-&gperf-version; &amp;&amp;
89
90pushd /usr/share/info &amp;&amp;
91 rm -v dir &amp;&amp;
92 for FILENAME in *; do
93 install-info $FILENAME dir 2>/dev/null
94 done &amp;&amp;
95popd</userinput></screen>
96
97 </sect2>
98
99 <sect2 role="commands">
100 <title>Command Explanations</title>
101
102<!--
103 <para><command>install -m644 -v doc/gperf.{dvi,ps,pdf,txt} ...</command>:
104 This command installs documentation. Modify the command (remove ',txt') if
105 you did not build the text version.</para>
106-->
107
108 <para><command>install -m644 -v doc/gperf.{dvi,ps,pdf} ...</command>:
109 This command installs documentation.</para>
110
111 <para><command>pushd ... popd</command>: This set of commands rebuilds the
112 <filename>/usr/share/info/dir</filename> file as the installation failed
113 to do so.</para>
114
115 </sect2>
116
117 <sect2 role="content">
118 <title>Contents</title>
119
120 <segmentedlist>
121 <segtitle>Installed Program</segtitle>
122 <segtitle>Installed Libraries</segtitle>
123 <segtitle>Installed Directory</segtitle>
124
125 <seglistitem>
126 <seg>gperf</seg>
127 <seg>None</seg>
128 <seg>/usr/share/doc/gperf-&gperf-version;</seg>
129 </seglistitem>
130 </segmentedlist>
131
132 <variablelist>
133 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
134 <?dbfo list-presentation="list"?>
135 <?dbhtml list-presentation="table"?>
136
137 <varlistentry id="gperf-prog">
138 <term><command>gperf</command></term>
139 <listitem>
140 <para>generates a perfect hash function from a key set.</para>
141 <indexterm zone="gperf gperf-prog">
142 <primary sortas="b-gperf">gperf</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 </variablelist>
148
149 </sect2>
150
151</sect1>
Note: See TracBrowser for help on using the repository browser.