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
RevLine 
[773c358]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[773c358]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY w3m-download-http "&sourceforge-dl;/w3m/w3m-&w3m-version;.tar.gz">
[773c358]8 <!ENTITY w3m-download-ftp " ">
[ce6a89f]9 <!ENTITY w3m-md5sum "1b845a983a50b8dec0169ac48479eacc">
10 <!ENTITY w3m-size "2.1 MB">
11 <!ENTITY w3m-buildsize "26 MB">
[f5da8e9]12 <!ENTITY w3m-time "0.3 SBU">
[773c358]13]>
14
[31784c8]15<sect1 id="w3m" xreflabel="w3m-&w3m-version;">
[768d4b6]16 <?dbhtml filename="w3m.html"?>
[50b8d8b]17
18
[768d4b6]19 <title>W3m-&w3m-version;</title>
[50b8d8b]20
[768d4b6]21 <indexterm zone="w3m">
22 <primary sortas="a-W3m">W3m</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to W3m</title>
[50b8d8b]27
[f5da8e9]28 <para><application>w3m</application> is primarily a pager but it can
29 also be used as a text-mode WWW browser.</para>
[50b8d8b]30
[38489aa0]31 &lfs84_checked;
[d4796f8b]32
[768d4b6]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>
[50b8d8b]54
[bccef10]55 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
56 <itemizedlist spacing="compact">
57 <listitem>
58 <para>
59 Required patch:
[6ba8d3c]60 <ulink url="&patch-root;/w3m-&w3m-version;-bdwgc72-2.patch"/>
[bccef10]61 </para>
62 </listitem>
63 </itemizedlist>
64
[768d4b6]65 <bridgehead renderas="sect3">W3m Dependencies</bridgehead>
[50b8d8b]66
[768d4b6]67 <bridgehead renderas="sect4">Required</bridgehead>
[4dbbf634]68 <para role="required"><xref linkend="gc"/></para>
[50b8d8b]69
[768d4b6]70 <bridgehead renderas="sect4">Optional</bridgehead>
[a1d3648]71 <para role="optional">
72 <xref linkend="gpm"/>,
[a1cfa44]73<!-- <xref linkend="openssl10"/>,-->
[a1d3648]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>,
[f3429309]83 a Mail User Agent, and
[283bd88]84 an External Browser
85 </para>
[50b8d8b]86
[061ec9d]87 <para condition="html" role="usernotes">User Notes:
[6c42d4e]88 <ulink url="&blfs-wiki;/W3M"/></para>
[768d4b6]89 </sect2>
[50b8d8b]90
[768d4b6]91 <sect2 role="installation">
92 <title>Installation of W3m</title>
93
[1065a91]94 <para>Install <application>w3m</application> by running the following
[768d4b6]95 commands:</para>
96
[6ba8d3c]97<screen><userinput>patch -Np1 -i ../w3m-&w3m-version;-bdwgc72-2.patch &amp;&amp;
[a1cfa44]98sed -i 's/file_handle/file_foo/' istream.{c,h} &amp;&amp;
[bd5c017]99sed -i 's#gdk-pixbuf-xlib-2.0#&amp; x11#' configure &amp;&amp;
[a1cfa44]100sed -i '/USE_EGD/s/define/undef/' config.h.in &amp;&amp;
[283bd88]101
[a1cfa44]102
103./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[e8d51d03]104make</userinput></screen>
105
[4edfbea9]106 <para>This package does not come with a test suite.</para>
[e8d51d03]107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>make install &amp;&amp;
[f5da8e9]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>
[ce6a89f]116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
[bccef10]121 <para>
[6ba8d3c]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.
[bccef10]124 </para>
125
[ce6a89f]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
[bd5c017]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
[a1cfa44]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
[f7841987]141 <para><parameter>--sysconfdir=/etc</parameter>: This option puts the
142 configuration files in /etc.</para>
[768d4b6]143 </sect2>
[50b8d8b]144
[768d4b6]145 <sect2 role="configuration">
146 <title>Configuring W3m</title>
[50b8d8b]147
[768d4b6]148 <sect3 id="w3m-config">
149 <title>Config Files</title>
[50b8d8b]150
[768d4b6]151 <para><filename>/etc/w3m/*</filename> and
152 <filename>~/.w3m/*</filename></para>
[50b8d8b]153
[768d4b6]154 <indexterm zone="w3m w3m-config">
155 <primary sortas="e-etc-w3m/*">/etc/w3m/*</primary>
156 </indexterm>
[50b8d8b]157
[768d4b6]158 <indexterm zone="w3m w3m-config">
159 <primary sortas="e-AA.w3m/*">~/.w3m/*</primary>
160 </indexterm>
161 </sect3>
162 </sect2>
[50b8d8b]163
[768d4b6]164 <sect2 role="content">
165 <title>Contents</title>
[50b8d8b]166
[768d4b6]167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
[c3c56b2]169 <segtitle>Installed Libraries</segtitle>
[768d4b6]170 <segtitle>Installed Directories</segtitle>
[50b8d8b]171
[768d4b6]172 <seglistitem>
173 <seg>w3m and w3mman</seg>
[c3c56b2]174 <seg>None</seg>
[67bd7d46]175 <seg>/usr/libexec/w3m,
[283bd88]176 /usr/share/w3m, and
177 /usr/share/doc/w3m-&w3m-version;</seg>
[768d4b6]178 </seglistitem>
179 </segmentedlist>
[50b8d8b]180
[768d4b6]181 <variablelist>
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
[50b8d8b]185
[768d4b6]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>
[50b8d8b]195
[768d4b6]196 <varlistentry id="w3mman">
[9a003fe1]197 <!-- Don't remove the extra space, it prevent a FOP warning. -->
198 <term><command>w3mman</command> </term>
[768d4b6]199 <listitem>
[1065a91]200 <para>is an interface to the on-line reference manuals in
[768d4b6]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>
[f45b1953]209</sect1>
Note: See TracBrowser for help on using the repository browser.