summaryrefslogtreecommitdiffstats
path: root/games/joy2key
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-01-07 15:11:06 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:17 +0700
commit3427c43666891afdc199e63063e3e4938bb3e5b0 (patch)
treeef9446697f4f9977acad037bfbe182e3eaf4dfd4 /games/joy2key
parent341af9a1338e7ebe3f6a48e89c4ce3874a7b8a5c (diff)
downloadslackbuilds-3427c43666891afdc199e63063e3e4938bb3e5b0.tar.gz
slackbuilds-3427c43666891afdc199e63063e3e4938bb3e5b0.tar.xz
games/joy2key: Fix man page.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/joy2key')
-rw-r--r--games/joy2key/fix_manpage_typo.patch20
-rw-r--r--games/joy2key/joy2key.SlackBuild6
2 files changed, 25 insertions, 1 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