mystuff/graphics/sxiv/patches/patch-sxiv_1

30 lines
1.1 KiB
Plaintext

$OpenBSD: patch-sxiv_1,v 1.4 2020/02/12 22:04:32 kn Exp $
Substitute paths.
Index: sxiv.1
--- sxiv.1.orig
+++ sxiv.1
@@ -397,7 +397,7 @@ and the arguments given to it are: 1) path to image fi
3) image height.
.P
There is also an example script installed together with sxiv as
-.IR PREFIX/share/sxiv/exec/image-info .
+.IR ${PREFIX}/share/sxiv/exec/image-info .
.SH EXTERNAL KEY HANDLER
Additional external keyboard commands can be defined using a handler program
located in
@@ -412,10 +412,10 @@ have been modified and reloads them.
The key combo argument has the following form: "[C-][M-][S-]KEY",
where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
-keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
+keysym as listed in ${X11BASE}/include/X11/keysymdef.h without the "XK_" prefix.
There is also an example script installed together with sxiv as
-.IR PREFIX/share/sxiv/exec/key-handler .
+.IR {PREFIX}/share/sxiv/exec/key-handler .
.SH THUMBNAIL CACHING
sxiv stores all thumbnails under
.IR $XDG_CACHE_HOME/sxiv/ .