summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-09-07 04:29:48 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-09 10:14:22 +0700
commit630021fb05a23b80e53fcd8a37e5aa01c0325d43 (patch)
tree3292c31a13838e35ad60bbfa4e87fbc40b000d80 /accessibility
parente7539d27cbff5b58501ad8ef6861ad31241d3599 (diff)
downloadslackbuilds-630021fb05a23b80e53fcd8a37e5aa01c0325d43.tar.gz
slackbuilds-630021fb05a23b80e53fcd8a37e5aa01c0325d43.tar.xz
accessibility/xzoom: Update man page.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/xzoom/fixmanpage.diff22
-rw-r--r--accessibility/xzoom/xzoom.SlackBuild19
2 files changed, 29 insertions, 12 deletions
diff --git a/accessibility/xzoom/fixmanpage.diff b/accessibility/xzoom/fixmanpage.diff
index 3ab2bca8ba..50c433ddb3 100644
--- a/accessibility/xzoom/fixmanpage.diff
+++ b/accessibility/xzoom/fixmanpage.diff
@@ -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
diff --git a/accessibility/xzoom/xzoom.SlackBuild b/accessibility/xzoom/xzoom.SlackBuild
index 54c61b1de2..3efc19b7a9 100644
--- a/accessibility/xzoom/xzoom.SlackBuild
+++ b/accessibility/xzoom/xzoom.SlackBuild
@@ -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.