Ignore:
Timestamp:
06/24/2004 06:44:11 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
bb2a071c
Parents:
c230e05
Message:

renamed patches in package instructions to conform with the guidelines

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/gpm.xml

    rc230e05 r014d11ad  
    1919<sect2>
    2020<title>Introduction to <application><acronym>GPM</acronym></application></title>
    21                                                                                
     21
    2222<para>The <application><acronym>GPM</acronym></application> (General
    2323Purpose Mouse daemon) package contains a mouse server for the console
     
    2929less error prone) to cut and paste between two console windows than to
    3030type everything by hand!</para>
    31                                                                                
     31
    3232<sect3><title>Package information</title>
    3333<itemizedlist spacing='compact'>
     
    4242&gpm-time;</para></listitem></itemizedlist>
    4343</sect3>
    44                                                                                
     44
    4545<sect3><title>Additional downloads</title>
    4646<itemizedlist spacing='compact'>
    4747<listitem><para>Recommended patch: <ulink
    48 url="&patch-root;/gpm-1.20.1-segfault.patch"/></para></listitem>
     48url="&patch-root;/gpm-1.20.1-segfault-1.patch"/></para></listitem>
    4949<listitem><para>Recommended patch: <ulink
    50 url="&patch-root;/gpm-1.20.1-silent.patch"/></para></listitem>
     50url="&patch-root;/gpm-1.20.1-silent-1.patch"/></para></listitem>
    5151</itemizedlist>
    5252</sect3>
    53                                                                                
     53
    5454</sect2>
    5555
    5656<sect2>
    5757<title>Installation of <application><acronym>GPM</acronym></application></title>
    58                                                                                
    59 <para>Install <application><acronym>GPM</acronym></application> by running the following commands:
     58
     59<para>Install <application><acronym>GPM</acronym></application> by running
     60the following commands:
    6061</para>
    61                                                                                
    62 <screen><userinput><command>patch -Np1 -i ../gpm-1.20.1-segfault.patch &amp;&amp;
    63 patch -Np1 -i ../gpm-1.20.1-silent.patch &amp;&amp;
     62
     63<screen><userinput><command>patch -Np1 -i ../gpm-1.20.1-segfault-1.patch &amp;&amp;
     64patch -Np1 -i ../gpm-1.20.1-silent-1.patch &amp;&amp;
    6465LDFLAGS="-lm" ./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
    6566make &amp;&amp;
     
    7172<sect2>
    7273<title>Command explanations</title>
    73                                                                                
    74 <para><command>LDFLAGS="-lm"</command>: The math library
    75  must be linked with <command>gpm</command>, as ceil() is used in some cursor
     74
     75<para><command>LDFLAGS="-lm"</command>: The math library 
     76must be linked with <command>gpm</command>, as ceil() is used in some cursor
    7677scrolling logic.</para>
    77                                                                                
     78
    7879<para><command>ldconfig -n -l </command>: During installation, gpm outputs a
    7980message to run the above command to create the proper library links.</para>
    80                                                                                
     81
    8182</sect2>
    8283
    8384<sect2>
    8485<title>Configuring <application><acronym>GPM</acronym></application></title>
    85                                                                                
     86
    8687<sect3><title>gpm init.d script</title>
    8788<para>Install the <filename>/etc/rc.d/init.d/gpm</filename>
    8889init script included in the
    8990<xref linkend="intro-important-bootscripts"/> package.</para>
    90                                                                                
     91
    9192<screen><userinput><command>make install-gpm</command></userinput></screen>
    92                                                                                
     93
    9394</sect3>
    94                                                                                
     95
    9596<sect3><title>Config files</title>
    9697<para><filename>/etc/sysconfig/mouse</filename>
    9798This file contains the name of your mouse device and the protocol which
    9899it uses.  To create this file, run the following:</para>
    99                                                                                
     100
    100101<screen><userinput><command>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"</command>
    101102# Begin /etc/sysconfig/mouse
    102                                                                                
     103
    103104MDEVICE="<replaceable>[yourdevice]</replaceable>"
    104105PROTOCOL="<replaceable>[yourprotocol]</replaceable>"
    105106GPMOPTS="<replaceable>[additional options]</replaceable>"
    106                                                                                
     107
    107108# End /etc/sysconfig/mouse
    108109<command>EOF</command></userinput></screen>
    109110</sect3>
    110                                                                                
     111
    111112<sect3><title>Configuration Information</title>
    112                                                                                
     113
    113114<para>Examples of values to set <envar>MDEVICE</envar>,
    114115<envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para>
    115                                                                                
     116
    116117<screen><userinput>MDEVICE="/dev/psaux"
    117118PROTOCOL="imps2"
    118119GPMOPTS=""</userinput></screen>
    119                                                                                
     120
    120121<para>A list of which protocol values are known can be found by running
    121122<command>gpm -t -help</command>.  The <envar>MDEVICE</envar> setting
     
    126127mice.  <envar>GPMOPTS</envar> is the 'catch all' for any
    127128additional options that are needed for your hardware.</para>
    128                                                                                
     129
    129130</sect3>
    130                                                                                
     131
    131132</sect2>
    132133
    133134<sect2>
    134135<title>Contents</title>
    135                                                                                
     136
    136137<para>The <application><acronym>GPM</acronym></application> package contains
    137 <command>gpm</command>,
    138 <command>gpm-root</command>, <command>disable-paste</command>
    139 and <command>mev</command>.</para>
    140                                                                                
     138<command>gpm</command>, <command>gpm-root</command>,
     139<command>disable-paste</command> and <command>mev</command>.</para>
     140
    141141</sect2>
    142                                                                                
     142
    143143<sect2><title>Description</title>
    144                                                                                
     144
    145145<sect3><title>gpm</title>
    146146<para><command>gpm</command> is a cut and paste utility and mouse server for
    147147virtual consoles.</para></sect3>
    148                                                                                
     148
    149149<sect3><title>gpm-root</title>
    150150<para><command>gpm-root</command> is a default handler for
    151151<command>gpm</command>.  It is used to draw menus on the
    152152root window.</para></sect3>
    153                                                                                
     153
    154154<sect3><title>disable-paste</title>
    155155<para>No description available.</para></sect3>
    156                                                                                
     156
    157157<sect3><title>mev</title>
    158158<para><command>mev</command> is a program to report mouse events.</para></sect3>
    159                                                                                
     159
    160160</sect2>
    161161
Note: See TracChangeset for help on using the changeset viewer.