Attachments (2)
Change History (18)
by , 23 years ago
Attachment: | gpm-1.19.3.diff added |
---|
comment:1 by , 23 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 , 23 years ago
correction, under the new structure, the configure statement should be:
./configure --prefix=/usr/local
comment:3 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
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 , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comments / problems with this install procedure to the mailing list please
comment:5 by , 23 years ago
Summary: | gpm-1.19.3 → gpm-1.19.4 |
---|
comment:6 by , 23 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
gpm 1.19.4 is out. the install procedure needs checking and updating.
comment:7 by , 23 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 , 23 years ago
Summary: | gpm-1.19.4 → gpm-1.19.5 |
---|
hopefully the new version will have the bloody man pages fixed
comment:9 by , 23 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 , 23 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Summary: | gpm-1.19.5 → gpm-1.20 |
gpm-1.20 is now in the book
comment:11 by , 23 years ago
Milestone: | → 1.0 |
---|
comment:12 by , 22 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | gpm-1.20 → gpm-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 , 22 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:14 by , 21 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Apply patches submitted on blfs-dev, test effects on w3m
comment:15 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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