source: archive/w3m.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: 6.8 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 w3m-download-http "&sourceforge-dl;/w3m/w3m-&w3m-version;.tar.gz">
8 <!ENTITY w3m-download-ftp " ">
9 <!ENTITY w3m-md5sum "1b845a983a50b8dec0169ac48479eacc">
10 <!ENTITY w3m-size "2.1 MB">
11 <!ENTITY w3m-buildsize "26 MB">
12 <!ENTITY w3m-time "0.3 SBU">
13]>
14
15<sect1 id="w3m" xreflabel="w3m-&w3m-version;">
16 <?dbhtml filename="w3m.html"?>
17
18
19 <title>W3m-&w3m-version;</title>
20
21 <indexterm zone="w3m">
22 <primary sortas="a-W3m">W3m</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to W3m</title>
27
28 <para><application>w3m</application> is primarily a pager but it can
29 also be used as a text-mode WWW browser.</para>
30
31 &lfs84_checked;
32
33 <bridgehead renderas="sect3">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>Download (HTTP): <ulink url="&w3m-download-http;"/></para>
37 </listitem>
38 <listitem>
39 <para>Download (FTP): <ulink url="&w3m-download-ftp;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download MD5 sum: &w3m-md5sum;</para>
43 </listitem>
44 <listitem>
45 <para>Download size: &w3m-size;</para>
46 </listitem>
47 <listitem>
48 <para>Estimated disk space required: &w3m-buildsize;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated build time: &w3m-time;</para>
52 </listitem>
53 </itemizedlist>
54
55 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
56 <itemizedlist spacing="compact">
57 <listitem>
58 <para>
59 Required patch:
60 <ulink url="&patch-root;/w3m-&w3m-version;-bdwgc72-2.patch"/>
61 </para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">W3m Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para role="required"><xref linkend="gc"/></para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional">
72 <xref linkend="gpm"/>,
73<!-- <xref linkend="openssl10"/>,-->
74 <xref linkend="imlib2"/>,
75 <xref linkend="gtk2"/>,
76 <ulink url="http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/">Imlib</ulink>
77 (not recommended: obsolete, abandoned upstream,
78 <ulink url="http://bugs.debian.org/448360">buggy</ulink>, and gives no
79 additional functionality as compared to other image loading libraries),
80 <xref linkend="gdk-pixbuf"/>,
81 <xref linkend="compface"/>, and
82 <ulink url="http://packages.debian.org/unstable/text/nkf">nkf</ulink>,
83 a Mail User Agent, and
84 an External Browser
85 </para>
86
87 <para condition="html" role="usernotes">User Notes:
88 <ulink url="&blfs-wiki;/W3M"/></para>
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of W3m</title>
93
94 <para>Install <application>w3m</application> by running the following
95 commands:</para>
96
97<screen><userinput>patch -Np1 -i ../w3m-&w3m-version;-bdwgc72-2.patch &amp;&amp;
98sed -i 's/file_handle/file_foo/' istream.{c,h} &amp;&amp;
99sed -i 's#gdk-pixbuf-xlib-2.0#&amp; x11#' configure &amp;&amp;
100sed -i '/USE_EGD/s/define/undef/' config.h.in &amp;&amp;
101
102
103./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
104make</userinput></screen>
105
106 <para>This package does not come with a test suite.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>make install &amp;&amp;
111install -v -m644 -D doc/keymap.default /etc/w3m/keymap &amp;&amp;
112install -v -m644 doc/menu.default /etc/w3m/menu &amp;&amp;
113install -v -m755 -d /usr/share/doc/w3m-&w3m-version; &amp;&amp;
114install -v -m644 doc/{HISTORY,READ*,keymap.*,menu.*,*.html} \
115 /usr/share/doc/w3m-&w3m-version;</userinput></screen>
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para>
122 <command>patch -p1 &lt; ../w3m-&w3m-version;-bdwgc72-2.patch</command>:
123 This patch fixes compiling w3m with GC-7.2 and above installed.
124 </para>
125
126 <para><command>sed -i 's/file_handle/file_foo/' istream.{c,h}</command>:
127 This sed renames the file_handle function to avoid a clash with a glibc
128 function that has the same name, defined in
129 /usr/include/bits/fcntl.h.</para>
130
131 <para><command>sed -i 's#gdk-pixbuf-xlib-2.0#&amp; x11#'
132 configure</command>: This sed fixes compiling <application>w3m</application>
133 using <xref linkend="gtk2"/> as its image library. It has no impact if
134 <xref linkend="gtk2"/> is not installed.</para>
135
136 <para>
137 <command>sed -i '/USE_EGD/s/define/undef/' config.h.in</command>: Allows
138 building against <application>openssl-1.1</application>.
139 </para>
140
141 <para><parameter>--sysconfdir=/etc</parameter>: This option puts the
142 configuration files in /etc.</para>
143 </sect2>
144
145 <sect2 role="configuration">
146 <title>Configuring W3m</title>
147
148 <sect3 id="w3m-config">
149 <title>Config Files</title>
150
151 <para><filename>/etc/w3m/*</filename> and
152 <filename>~/.w3m/*</filename></para>
153
154 <indexterm zone="w3m w3m-config">
155 <primary sortas="e-etc-w3m/*">/etc/w3m/*</primary>
156 </indexterm>
157
158 <indexterm zone="w3m w3m-config">
159 <primary sortas="e-AA.w3m/*">~/.w3m/*</primary>
160 </indexterm>
161 </sect3>
162 </sect2>
163
164 <sect2 role="content">
165 <title>Contents</title>
166
167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
169 <segtitle>Installed Libraries</segtitle>
170 <segtitle>Installed Directories</segtitle>
171
172 <seglistitem>
173 <seg>w3m and w3mman</seg>
174 <seg>None</seg>
175 <seg>/usr/libexec/w3m,
176 /usr/share/w3m, and
177 /usr/share/doc/w3m-&w3m-version;</seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="w3m-prog">
187 <term><command>w3m</command></term>
188 <listitem>
189 <para>is a text based web browser and pager.</para>
190 <indexterm zone="w3m w3m-prog">
191 <primary sortas="b-w3m">w3m</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="w3mman">
197 <!-- Don't remove the extra space, it prevent a FOP warning. -->
198 <term><command>w3mman</command> </term>
199 <listitem>
200 <para>is an interface to the on-line reference manuals in
201 <command>w3m</command>.</para>
202 <indexterm zone="w3m w3mman">
203 <primary sortas="b-w3mman">w3mman</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207 </variablelist>
208 </sect2>
209</sect1>
Note: See TracBrowser for help on using the repository browser.