source: archive/gperf.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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