gpm: dropped unmaintained port

This commit is contained in:
Tim Biermann 2023-09-24 09:32:52 +02:00
parent 19d24c34d2
commit 73401cc134
Signed by: tb
GPG Key ID: 42F8B4E30B673606
5 changed files with 0 additions and 163 deletions

View File

@ -1,33 +0,0 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/gpm-root.conf
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/gpm
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/disable-paste
-rwxr-xr-x root/root usr/bin/display-buttons
-rwxr-xr-x root/root usr/bin/display-coords
-rwxr-xr-x root/root usr/bin/get-versions
-rwxr-xr-x root/root usr/bin/gpm-root
-rwxr-xr-x root/root usr/bin/hltest
-rwxr-xr-x root/root usr/bin/mev
-rwxr-xr-x root/root usr/bin/mouse-test
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/gpm.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libgpm.a
lrwxrwxrwx root/root usr/lib/libgpm.so -> libgpm.so.2.1.0
lrwxrwxrwx root/root usr/lib/libgpm.so.2 -> libgpm.so.2.1.0
-rw-r--r-- root/root usr/lib/libgpm.so.2.1.0
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/gpm
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/gpm-root.1.gz
-rw-r--r-- root/root usr/share/man/man1/mev.1.gz
-rw-r--r-- root/root usr/share/man/man1/mouse-test.1.gz
drwxr-xr-x root/root usr/share/man/man7/
-rw-r--r-- root/root usr/share/man/man7/gpm-types.7.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/gpm.8.gz

View File

@ -1,7 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wSJfLfd/EkemY0w866ydyNDj20PkkY7yX9B9g02dMTBEPRpUoZSbseXAr7TUZn+xQr0TbnWCPlZM/3gBr1KegQ=
SHA256 (Pkgfile) = bbae77c51816a0282b870c87d197747567037e520091a396530a8535459ccc8b
SHA256 (.footprint) = de489cff1dda5ecf94ed8bfbb5ccc9faba51d67fe3a71ad871bbab332b623e62
SHA256 (gpm-1.20.7.tar.bz2) = f011b7dc7afb824e0a017b89b7300514e772853ece7fc4ee640310889411a48d
SHA256 (gpm-1.20.7-glibc_2.26-1.patch) = 420820b560bfdb22e0e5fdc05416b380f179091b00c42c407add245ff317d32d
SHA256 (gpm.rc) = c6e7824b8178323cd3d949fe1658ddfac908b0b0ab1bd6e082707c41b10a61a6

View File

@ -1,37 +0,0 @@
# Description: Console mouse server.
# URL: https://www.nico.schottelius.org/software/gpm/
# Maintainer: UNMAINTAINED
name=gpm
version=1.20.7
release=1
source=(https://nico.schottelius.org/software/gpm/archives/gpm-$version.tar.bz2
gpm-1.20.7-glibc_2.26-1.patch
gpm.rc)
build() {
cd gpm-$version
sed -e 's:<gpm.h>:"headers/gpm.h":' \
-i src/prog/{display-buttons,display-coords,get-versions}.c
patch -p 1 -i $SRC/gpm-1.20.7-glibc_2.26-1.patch
./autogen.sh
CFLAGS+=' -fcommon' \
./configure \
--prefix=/usr \
--sysconfdir=/etc
touch doc/gpm.info
make
make ROOT=$PKG install
ln -s libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
install -m 0644 conf/gpm-root.conf $PKG//etc
install -m 0755 -D $SRC/gpm.rc $PKG/etc/rc.d/gpm
rm -r $PKG/usr/share/info
}

View File

@ -1,65 +0,0 @@
Submitted by: Pierre Labastie <pierre dot labastie at neuf dot fr>
Date: 2017-08-17
Initial Package Version: 1.20.7
Origin: Nutyx
Upstream Status: There are PRs, but nothing committed yet
Description: Fix build failures introduced by glibc-2.26
diff -Naur gpm-1.20.7-orig/src/daemon/open_console.c gpm-1.20.7/src/daemon/open_console.c
--- gpm-1.20.7-orig/src/daemon/open_console.c 2012-10-26 21:21:38.000000000 +0000
+++ gpm-1.20.7/src/daemon/open_console.c 2017-08-08 17:58:15.176232558 +0000
@@ -23,6 +23,10 @@
#include <sys/stat.h> /* stat() */
#include <sys/ioctl.h> /* ioctl */
+#ifdef HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h> /* major() w/newer glibc */
+#endif
+
/* Linux specific (to be outsourced in gpm2 */
#include <linux/serial.h> /* for serial console check */
#include <asm/ioctls.h> /* for serial console check */
diff -Naur gpm-1.20.7-orig/src/prog/gpm-root.y gpm-1.20.7/src/prog/gpm-root.y
--- gpm-1.20.7-orig/src/prog/gpm-root.y 2012-10-26 21:21:38.000000000 +0000
+++ gpm-1.20.7/src/prog/gpm-root.y 2017-08-08 18:00:36.442898559 +0000
@@ -443,6 +443,7 @@
}
/*---------------------------------------------------------------------*/
+#if 0
static int f_debug_one(FILE *f, Draw *draw)
{
DrawItem *ip;
@@ -465,6 +466,7 @@
#undef LINE
return 0;
}
+#endif
int f_debug(int mode, DrawItem *self, int uid)
{
@@ -960,10 +962,8 @@
/*------------*/
static inline void scr_restore(int fd, FILE *f, unsigned char *buffer, int vc)
{
- int x,y, dumpfd;
+ int dumpfd;
char dumpname[20];
-
- x=buffer[2]; y=buffer[3];
/* WILL NOT WORK WITH DEVFS! FIXME! */
sprintf(dumpname,"/dev/vcsa%i",vc);
@@ -1196,11 +1196,7 @@
LOG_DAEMON : LOG_USER);
/* reap your zombies */
childaction.sa_handler=reap_children;
-#if defined(__GLIBC__)
- __sigemptyset(&childaction.sa_mask);
-#else /* __GLIBC__ */
- childaction.sa_mask=0;
-#endif /* __GLIBC__ */
+ sigemptyset(&childaction.sa_mask);
childaction.sa_flags=SA_INTERRUPT; /* need to break the select() call */
sigaction(SIGCHLD,&childaction,NULL);

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/gpm: start/stop console mouse
#
case $1 in
start)
/usr/sbin/gpm -m /dev/input/mouse0 -t ps2
;;
stop)
pkill -f 'gpm -m /dev/input/mouse0'
;;
restart)
pkill -HUP -f 'gpm -m /dev/input/mouse0'
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file