38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
Index: graphics/nsxiv/Makefile
|
|
===================================================================
|
|
RCS file: /cvs/ports/graphics/nsxiv/Makefile,v
|
|
retrieving revision 1.4
|
|
diff -u -p -u -p -r1.4 Makefile
|
|
--- graphics/nsxiv/Makefile 24 Jun 2022 13:19:20 -0000 1.4
|
|
+++ graphics/nsxiv/Makefile 20 Dec 2022 08:00:11 -0000
|
|
@@ -3,6 +3,7 @@ COMMENT = neo simple X Image Viewer
|
|
GH_PROJECT = nsxiv
|
|
GH_ACCOUNT = nsxiv
|
|
GH_TAGNAME = v30
|
|
+REVISION = 0
|
|
|
|
CATEGORIES = graphics x11
|
|
|
|
Index: graphics/nsxiv/patches/patch-config_def_h
|
|
===================================================================
|
|
RCS file: graphics/nsxiv/patches/patch-config_def_h
|
|
diff -N graphics/nsxiv/patches/patch-config_def_h
|
|
--- /dev/null 1 Jan 1970 00:00:00 -0000
|
|
+++ graphics/nsxiv/patches/patch-config_def_h 20 Dec 2022 08:00:11 -0000
|
|
@@ -0,0 +1,15 @@
|
|
+Allow to zoom in further when using the -t flag.
|
|
+The default is tiny on resolutions higher than FullHD.
|
|
+
|
|
+Index: config.def.h
|
|
+--- config.def.h.orig
|
|
++++ config.def.h
|
|
+@@ -65,7 +65,7 @@ static const int CACHE_SIZE_FALLBACK = 32 * 1024 * 102
|
|
+ #ifdef _THUMBS_CONFIG
|
|
+
|
|
+ /* thumbnail sizes in pixels (width == height): */
|
|
+-static const int thumb_sizes[] = { 32, 64, 96, 128, 160 };
|
|
++static const int thumb_sizes[] = { 32, 64, 96, 128, 160, 240, 320, 460 };
|
|
+
|
|
+ /* thumbnail size at startup, index into thumb_sizes[]: */
|
|
+ static const int THUMB_SIZE = 3;
|