accessibility/xzoom: Update man page.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-09-07 04:29:48 -04:00 committed by Willy Sudiarto Raharjo
parent e7539d27cb
commit 630021fb05
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 29 additions and 12 deletions

View File

@ -1,10 +1,10 @@
diff -Naur xzoom-0.3.orig/debian/manpage/xzoom.1 xzoom-0.3.orig.patched/debian/manpage/xzoom.1
--- xzoom-0.3.orig/debian/manpage/xzoom.1 2020-06-22 18:56:07.000000000 -0400
+++ xzoom-0.3.orig.patched/debian/manpage/xzoom.1 2020-06-24 02:07:37.340848752 -0400
+++ xzoom-0.3.orig.patched/debian/manpage/xzoom.1 2023-09-07 01:22:37.176597776 -0400
@@ -1,5 +1,5 @@
.\" Text automatically generated by txt2man
-.TH xzoom 1 "22 Jun 2020" "xzoom-0.3-26" "magnify part of X display"
+.TH xzoom 1 "24 Jun 2020" "xzoom-0.3-26" "magnify part of X display"
+.TH xzoom 1 "06 Sep 2023" "xzoom-0.3-26" "magnify part of X display"
.SH NAME
\fBxzoom \fP- magnify part of X display, with real-time updates
\fB
@ -22,7 +22,7 @@ diff -Naur xzoom-0.3.orig/debian/manpage/xzoom.1 xzoom-0.3.orig.patched/debian/m
\fB-mag\fP <\fImagnification\fP [ \fImagnification\fP ]>
What \fImagnification\fP to use. If two
-number arguments are supplied the first is used for X magnications and the
+number arguments are supplied the first is used for X magnication and the
+number arguments are supplied the first is used for X \fImagnification\fP and the
second is used for Y \fImagnification\fP. Magnification should be greater than 0.
.TP
.B
@ -51,7 +51,17 @@ diff -Naur xzoom-0.3.orig/debian/manpage/xzoom.1 xzoom-0.3.orig.patched/debian/m
.TP
.B
d
@@ -100,7 +100,7 @@
@@ -94,13 +94,17 @@
10 and 0 ms.
.TP
.B
+g
+Toggle the grid on and off (default: off).
+.TP
+.B
q
Quit.
.TP
.B
Arrow keys
Scroll the zoomed area 1 pixel in the direction of the arrow.
@ -60,7 +70,7 @@ diff -Naur xzoom-0.3.orig/debian/manpage/xzoom.1 xzoom-0.3.orig.patched/debian/m
pixels.
.TP
.B
@@ -109,7 +109,7 @@
@@ -109,7 +113,7 @@
button inside \fBxzoom\fP's window and then move it (keep the button
pressed) to the place which you want to see magnified.
.PP
@ -69,7 +79,7 @@ diff -Naur xzoom-0.3.orig/debian/manpage/xzoom.1 xzoom-0.3.orig.patched/debian/m
.PP
When \fBxzoom\fP is iconified it simply waits to get deiconified.
.SH EXAMPLES
@@ -120,14 +120,14 @@
@@ -120,14 +124,14 @@
.TP
.B
\fBxzoom\fP \fB-mag\fP 2 \fB-geometry\fP 800x400

View File

@ -11,11 +11,22 @@
# using 24/32bpp, so the Debian maintainers rescued xzoom from the
# scrap heap. Thanks!
# Note about versions: repology.org thinks I should update this
# to 0.4. Debian's 0.3-26 and FreeBSD's 0.4 are both forks from the
# original 0.3. The Debian fork has fixes and enhancements that aren't
# in 0.4, plus all the features that are in 0.4. One of the features
# that's in 0.3-26 but not 0.4: the xmag window has a real close
# button. If you're about to ask me to update this to 0.4, don't. I
# won't. It's not actually an update (despite the version number, it
# would actually be a downgrade).
# 20230906 bkw: BUILD=2, update man page slightly.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xzoom
VERSION=${VERSION:-0.3_26}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -41,16 +52,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
@ -71,7 +78,7 @@ for i in $( cat debian/patches/series ); do
patch -p1 < debian/patches/$i
done
# Fix a few typo/grammar issues.
# Fix a few typo/grammar issues, mention G (grid) in the man page.
patch -p1 < $CWD/fixmanpage.diff
# Avoid warnings about alarm() and usleep() missing prototypes.