Opened 20 years ago

Closed 18 years ago

Last modified 13 years ago

#12 closed defect (fixed)

gpm-1.20.1

Reported by: markh@… Owned by: markh@…
Priority: normal Milestone:
Component: BOOK Version: ~CVS
Severity: normal Keywords:
Cc:

Description

ftp://ftp.systemy.it/pub/develop/gpm-1.19.3.tar.gz

I do also have a patch for this supplied by someone I'll put it up as an attachment

Attachments (2)

gpm-1.19.3.diff (859 bytes ) - added by markh@… 20 years ago.
This diff for gpm-1.19.3 prevent compilation failing if tetex (i think) is missing. Could someone double check whether it's needed on a base LFS system
gpm-patches.tar.bz2 (2.1 KB ) - added by alexander@… 18 years ago.
Three patches

Download all attachments as: .zip

Change History (18)

by markh@…, 20 years ago

Attachment: gpm-1.19.3.diff added

This diff for gpm-1.19.3 prevent compilation failing if tetex (i think) is missing. Could someone double check whether it's needed on a base LFS system

comment:1 by jeremy@…, 20 years ago

Here are the install instructions for GPM as it stands right now:

tar zxf gpm-1.19.3.tar.gz && bunzip2 gpm-1.19.3.diff.bz2 && cd gpm-1.19.3 && patch -p1 < ../gpm-1.19.3.diff && ./configure --prefix=/usr && make && make install

Adding to boot-scripts:

cat >> /etc/init.d/gpm << "EOF" #!/bin/sh # Begin /etc/init.d/gpm

# # Include the functions declared in the /etc/init.d/functions file #

source /etc/init.d/functions

case "$1" in

start)

echo -n "Starting gpm mouse daemon..." loadproc gpm -t imps2 ;;

stop)

echo -n "Stopping gpm mouse daemon..." killproc gpm ;;

restart)

$0 stop /usr/bin/sleep 1 $0 start ;;

status)

statusproc gpm ;;

*)

echo "Usage: $0 {start|stop|restart|status}" exit 1

;;

esac

# End /etc/init.d/ EOF cd /etc/rc3.d ln -s ../init.d/gpm S201gpm cd ../rc4.d ln -s ../init.d/gpm S201gpm cd ../rc5.d ln -s ../init.d/gpm S201gpm

You also need to create the /dev/mouse device as a symlink to the actual mouse device (such as psaux)

ln -s /dev/psaux /dev/mouse

comment:2 by jeremy@…, 20 years ago

correction, under the new structure, the configure statement should be:

./configure --prefix=/usr/local

comment:3 by markh@…, 20 years ago

Owner: changed from blfs-book@… to markh@…
Status: newassigned

Here is a full set of install instructions which have the patch converted into SED commands so there's no extra download:

Suggested install instructions for GPM Version 1.19.3 ./configure --prefix=/usr/local sed s/OPEN_MAX/FOPEN_MAX/ special.c > special.c~ && mv special.c~ special.c && sed s/"doc contrib"/"contrib"/ Makefile > Makefile~ && mv Makefile~ Makefile && make && make install && cp doc/*.1 /usr/local/man/man1/ cp doc/*.7 /usr/local/man/man1/ cp doc/*.8 /usr/local/man/man1/ EXPLANATIONS: sed s/OPEN_MAX/FOPEN_MAX/ special.c > special.c~ && mv special.c~ special.c &&

Fixes a bug in the source code

sed s/"doc contrib"/"contrib"/ Makefile > Makefile~ && mv Makefile~ Makefile &&

Prevent gpm trying to make the docs which needs TeTex Can be ommited if TeTex is installed

cp doc/*.1 /usr/local/man/man1/ cp doc/*.7 /usr/local/man/man1/ cp doc/*.8 /usr/local/man/man1/

These commands install the manual pages (as we didn't fully

build the doc dir). If TeTex was installed, again these are not needed. Based on gpm.txt and gpm2.txt from LFS Hints by Lee Harris <mr.1ee@…> and Marc Heerdink <marc_heerdink@…> respectively and also a diff for gpm-1.19.3 subitted by jeremy@…. (Note that what'll happen for acknowledgments is that they'll go into an Appendix in alphabetical order of the person's name - not with the packages). This is just so I remember to add them :-)

This is going into cvs if no-one points out any mistakes

comment:4 by markh@…, 20 years ago

Resolution: fixed
Status: assignedclosed

comments / problems with this install procedure to the mailing list please

comment:5 by markh@…, 20 years ago

Summary: gpm-1.19.3gpm-1.19.4

comment:6 by markh@…, 20 years ago

Resolution: fixed
Status: closedreopened

gpm 1.19.4 is out. the install procedure needs checking and updating.

comment:7 by markh@…, 20 years ago

the gpm instructions were buggered - i'd missed out the configure command ;-)

we have a problem with the new version of gpm (1.19.4). In previous versions, you could copy the man pages if you didn't have TeTex. Preformatted versions aren't provided in 1.19.4. Suggestions? I'm leaving the book at 1.19.3 for now. (which lunatic thinks you should have tetex just for installing man pages for goodness sake....)

comment:8 by markh@…, 20 years ago

Summary: gpm-1.19.4gpm-1.19.5

hopefully the new version will have the bloody man pages fixed

comment:9 by thaz@…, 20 years ago

sed s'/\ LIBS=-lgpm/\ /g' Makefile > Makefile~ && mv Makefile~ Makefile

will kill the error 'can not find lgpm', and allow package to build

comment:10 by markh@…, 20 years ago

Resolution: fixed
Status: reopenedclosed
Summary: gpm-1.19.5gpm-1.20

gpm-1.20 is now in the book

comment:11 by markh@…, 20 years ago

Milestone: 1.0

comment:12 by billyoc@…, 19 years ago

Resolution: fixed
Status: closedreopened
Summary: gpm-1.20gpm-1.20.1

A new directory structure, new internal handling of -m/-t/-o, initial support for n mice (limited by RAM and mouse devices), and initial autodection support.

comment:13 by billyoc@…, 19 years ago

Resolution: fixed
Status: reopenedclosed

comment:14 by larry@…, 18 years ago

Resolution: fixed
Status: closedreopened

Apply patches submitted on blfs-dev, test effects on w3m

by alexander@…, 18 years ago

Attachment: gpm-patches.tar.bz2 added

Three patches

comment:15 by larry@…, 18 years ago

Resolution: fixed
Status: reopenedclosed

comment:16 by (none), 13 years ago

Milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.