source: networking/textweb/w3m.xml@ 51d1fdbe

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 51d1fdbe was a1cfa44, checked in by Pierre Labastie <pieere@…>, 6 years ago

Fix W3m and lightdm

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

  • Property mode set to 100644
File size: 6.9 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
[768d4b6]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[50b8d8b]22
[768d4b6]23 <title>W3m-&w3m-version;</title>
[50b8d8b]24
[768d4b6]25 <indexterm zone="w3m">
26 <primary sortas="a-W3m">W3m</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to W3m</title>
[50b8d8b]31
[f5da8e9]32 <para><application>w3m</application> is primarily a pager but it can
33 also be used as a text-mode WWW browser.</para>
[50b8d8b]34
[a1cfa44]35 &lfs82_checked;
[d4796f8b]36
[768d4b6]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>
[50b8d8b]58
[bccef10]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
[768d4b6]69 <bridgehead renderas="sect3">W3m Dependencies</bridgehead>
[50b8d8b]70
[768d4b6]71 <bridgehead renderas="sect4">Required</bridgehead>
[4dbbf634]72 <para role="required"><xref linkend="gc"/></para>
[50b8d8b]73
[768d4b6]74 <bridgehead renderas="sect4">Optional</bridgehead>
[a1d3648]75 <para role="optional">
76 <xref linkend="gpm"/>,
[a1cfa44]77<!-- <xref linkend="openssl10"/>,-->
[a1d3648]78 <xref linkend="imlib2"/>,
79 <xref linkend="gtk2"/>,
80 <ulink url="http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/">Imlib</ulink>
81 (not recommended: obsolete, abandoned upstream,
82 <ulink url="http://bugs.debian.org/448360">buggy</ulink>, and gives no
83 additional functionality as compared to other image loading libraries),
84 <xref linkend="gdk-pixbuf"/>,
85 <xref linkend="compface"/>, and
86 <ulink url="http://packages.debian.org/unstable/text/nkf">nkf</ulink>,
[f3429309]87 a Mail User Agent, and
[283bd88]88 an External Browser
89 </para>
[50b8d8b]90
[061ec9d]91 <para condition="html" role="usernotes">User Notes:
[6c42d4e]92 <ulink url="&blfs-wiki;/W3M"/></para>
[768d4b6]93 </sect2>
[50b8d8b]94
[768d4b6]95 <sect2 role="installation">
96 <title>Installation of W3m</title>
97
[1065a91]98 <para>Install <application>w3m</application> by running the following
[768d4b6]99 commands:</para>
100
[a1cfa44]101<screen><userinput>
102patch -Np1 -i ../w3m-&w3m-version;-bdwgc72-1.patch &amp;&amp;
103sed -i 's/file_handle/file_foo/' istream.{c,h} &amp;&amp;
[bd5c017]104sed -i 's#gdk-pixbuf-xlib-2.0#&amp; x11#' configure &amp;&amp;
[a1cfa44]105sed -i '/USE_EGD/s/define/undef/' config.h.in &amp;&amp;
[283bd88]106
[a1cfa44]107
108./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[e8d51d03]109make</userinput></screen>
110
[4edfbea9]111 <para>This package does not come with a test suite.</para>
[e8d51d03]112
113 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="root"><userinput>make install &amp;&amp;
[f5da8e9]116install -v -m644 -D doc/keymap.default /etc/w3m/keymap &amp;&amp;
117install -v -m644 doc/menu.default /etc/w3m/menu &amp;&amp;
118install -v -m755 -d /usr/share/doc/w3m-&w3m-version; &amp;&amp;
119install -v -m644 doc/{HISTORY,READ*,keymap.*,menu.*,*.html} \
120 /usr/share/doc/w3m-&w3m-version;</userinput></screen>
[ce6a89f]121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
[bccef10]126 <para>
127 <command>patch -p1 &lt; ../w3m-&w3m-version;-bdwgc72-1.patch</command>:
128 This patch fixes compiling w3m with GC-7.2 installed.
129 </para>
130
[ce6a89f]131 <para><command>sed -i 's/file_handle/file_foo/' istream.{c,h}</command>:
132 This sed renames the file_handle function to avoid a clash with a glibc
133 function that has the same name, defined in
134 /usr/include/bits/fcntl.h.</para>
135
[bd5c017]136 <para><command>sed -i 's#gdk-pixbuf-xlib-2.0#&amp; x11#'
137 configure</command>: This sed fixes compiling <application>w3m</application>
138 using <xref linkend="gtk2"/> as its image library. It has no impact if
139 <xref linkend="gtk2"/> is not installed.</para>
140
[a1cfa44]141 <para>
142 <command>sed -i '/USE_EGD/s/define/undef/' config.h.in</command>: Allows
143 building against <application>openssl-1.1</application>.
144 </para>
145
[f7841987]146 <para><parameter>--sysconfdir=/etc</parameter>: This option puts the
147 configuration files in /etc.</para>
[768d4b6]148 </sect2>
[50b8d8b]149
[768d4b6]150 <sect2 role="configuration">
151 <title>Configuring W3m</title>
[50b8d8b]152
[768d4b6]153 <sect3 id="w3m-config">
154 <title>Config Files</title>
[50b8d8b]155
[768d4b6]156 <para><filename>/etc/w3m/*</filename> and
157 <filename>~/.w3m/*</filename></para>
[50b8d8b]158
[768d4b6]159 <indexterm zone="w3m w3m-config">
160 <primary sortas="e-etc-w3m/*">/etc/w3m/*</primary>
161 </indexterm>
[50b8d8b]162
[768d4b6]163 <indexterm zone="w3m w3m-config">
164 <primary sortas="e-AA.w3m/*">~/.w3m/*</primary>
165 </indexterm>
166 </sect3>
167 </sect2>
[50b8d8b]168
[768d4b6]169 <sect2 role="content">
170 <title>Contents</title>
[50b8d8b]171
[768d4b6]172 <segmentedlist>
173 <segtitle>Installed Programs</segtitle>
[c3c56b2]174 <segtitle>Installed Libraries</segtitle>
[768d4b6]175 <segtitle>Installed Directories</segtitle>
[50b8d8b]176
[768d4b6]177 <seglistitem>
178 <seg>w3m and w3mman</seg>
[c3c56b2]179 <seg>None</seg>
[67bd7d46]180 <seg>/usr/libexec/w3m,
[283bd88]181 /usr/share/w3m, and
182 /usr/share/doc/w3m-&w3m-version;</seg>
[768d4b6]183 </seglistitem>
184 </segmentedlist>
[50b8d8b]185
[768d4b6]186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
[50b8d8b]190
[768d4b6]191 <varlistentry id="w3m-prog">
192 <term><command>w3m</command></term>
193 <listitem>
194 <para>is a text based web browser and pager.</para>
195 <indexterm zone="w3m w3m-prog">
196 <primary sortas="b-w3m">w3m</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
[50b8d8b]200
[768d4b6]201 <varlistentry id="w3mman">
[9a003fe1]202 <!-- Don't remove the extra space, it prevent a FOP warning. -->
203 <term><command>w3mman</command> </term>
[768d4b6]204 <listitem>
[1065a91]205 <para>is an interface to the on-line reference manuals in
[768d4b6]206 <command>w3m</command>.</para>
207 <indexterm zone="w3m w3mman">
208 <primary sortas="b-w3mman">w3mman</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212 </variablelist>
213 </sect2>
[f45b1953]214</sect1>
Note: See TracBrowser for help on using the repository browser.