source: networking/textweb/w3m.xml@ 7a5857c

10.0 10.1 11.0 11.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 7a5857c was 7a5857c, checked in by Krejzi <krejzi@…>, 10 years ago

Whois 5.0.20 and mark some packages as 72checked.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10797 af4574ff-66df-0310-9fd7-8a98e5e911e0

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