summaryrefslogtreecommitdiffstats
path: root/games/joy2key
diff options
context:
space:
mode:
Diffstat (limited to 'games/joy2key')
-rw-r--r--games/joy2key/fix_manpage_typo.patch20
-rw-r--r--games/joy2key/joy2key.SlackBuild6
-rw-r--r--games/joy2key/joy2key.info2
3 files changed, 26 insertions, 2 deletions
diff --git a/games/joy2key/fix_manpage_typo.patch b/games/joy2key/fix_manpage_typo.patch
new file mode 100644
index 0000000000..e85fba48ea
--- /dev/null
+++ b/games/joy2key/fix_manpage_typo.patch
@@ -0,0 +1,20 @@
+Author: Ricardo Mones <mones@debian.org>
+Subject: fix typo in manpage spotted by lintian
+ Cleans lintian I: typo-in-manual-page retrive retrieve
+ [usr/share/man/man1/joy2key.1.gz:28]
+Last-Update: 2022-04-17
+Forwarded: no
+
+diff --git a/joy2key.1 b/joy2key.1
+index 6ed76a7..10959cd 100644
+--- a/joy2key.1
++++ b/joy2key.1
+@@ -25,7 +25,7 @@ note: [] denotes `optional' option or argument,
+ .I joy2key
+ monitors the joystick (normally /dev/input/js0) and sends keyboard events to
+ an X window, terminal, or raw console. In the case of X, xwininfo(1)
+-is used to retrive the window ID, which should not be a problem as
++is used to retrieve the window ID, which should not be a problem as
+ this is a standard utility in most X11 distributions. To find the
+ symbolic name of a particular key, see include/X11/keysymdef.h. In
+ terminal mode, joy2key sends the ascii character given on the command
diff --git a/games/joy2key/joy2key.SlackBuild b/games/joy2key/joy2key.SlackBuild
index e979370a71..67166d31d3 100644
--- a/games/joy2key/joy2key.SlackBuild
+++ b/games/joy2key/joy2key.SlackBuild
@@ -6,11 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=2, add another Debian patch. This puts us at
+# Debian version 1.6.3-5.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=joy2key
VERSION=${VERSION:-1.6.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,6 +63,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# these bugfix patches are from Debian.
patch -p1 < $CWD/button_list_segfault.patch
patch -p1 < $CWD/home_not_set_segfault.patch
+patch -p1 < $CWD/fix_manpage_typo.patch
# someone forgot to update the FILES section in the man page.
sed -i 's,/dev/js,/dev/input/js,' $PRGNAM.1
diff --git a/games/joy2key/joy2key.info b/games/joy2key/joy2key.info
index 78c2dba270..47198570da 100644
--- a/games/joy2key/joy2key.info
+++ b/games/joy2key/joy2key.info
@@ -1,7 +1,7 @@
PRGNAM="joy2key"
VERSION="1.6.3"
HOMEPAGE="https://packages.debian.org/sid/joy2key"
-DOWNLOAD="https://ftp.osuosl.org/pub/gentoo/distfiles/joy2key-1.6.3.tar.bz2"
+DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/1e/joy2key-1.6.3.tar.bz2"
MD5SUM="e1119b8cbfd221b4f692d9968fad9ee5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""