From 9dfa151c10f7cf02f2c6ae0544b07e8d3e59f187 Mon Sep 17 00:00:00 2001 From: op Date: Mon, 30 Jan 2023 11:27:23 +0000 Subject: [PATCH] update graphics/nsxiv to v31 diff from maintainer Thim Cederlund, thanks! tweak to post-install by me. Changelog: https://codeberg.org/nsxiv/nsxiv/src/branch/master/etc/CHANGELOG.md --- graphics/nsxiv/Makefile | 6 ++---- graphics/nsxiv/distinfo | 4 ++-- graphics/nsxiv/patches/{patch-nsxiv_1 => patch-etc-nsxiv_1} | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) rename graphics/nsxiv/patches/{patch-nsxiv_1 => patch-etc-nsxiv_1} (94%) diff --git a/graphics/nsxiv/Makefile b/graphics/nsxiv/Makefile index 6abb05254a2..5191b34c0d0 100644 --- a/graphics/nsxiv/Makefile +++ b/graphics/nsxiv/Makefile @@ -2,7 +2,7 @@ COMMENT = neo simple X Image Viewer GH_PROJECT = nsxiv GH_ACCOUNT = nsxiv -GH_TAGNAME = v30 +GH_TAGNAME = v31 CATEGORIES = graphics x11 @@ -47,7 +47,7 @@ FAKE_TARGET = install-all NO_TEST = Yes post-patch: - ${SUBST_CMD} ${WRKSRC}/nsxiv.1 + ${SUBST_CMD} ${WRKSRC}/etc/nsxiv.1 # Git errors break version.h build; this makes it fall back to a # hardcoded value @@ -55,8 +55,6 @@ pre-build: ln -sf /usr/bin/true ${WRKDIR}/bin/git post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/nsxiv.desktop ${PREFIX}/share/applications cd ${PREFIX}/bin && ln -s nsxiv sxiv .include diff --git a/graphics/nsxiv/distinfo b/graphics/nsxiv/distinfo index a91b3df146e..581587b6bd1 100644 --- a/graphics/nsxiv/distinfo +++ b/graphics/nsxiv/distinfo @@ -1,2 +1,2 @@ -SHA256 (nsxiv-30.tar.gz) = TmAIxlynGlHVndfqfPDrSFctniB6dA9z8o58h35DTSs= -SIZE (nsxiv-30.tar.gz) = 65642 +SHA256 (nsxiv-31.tar.gz) = v4ZS3Tkco7eHzxx/8s/aOag2ROITr0eAVTCfllVcJBs= +SIZE (nsxiv-31.tar.gz) = 73821 diff --git a/graphics/nsxiv/patches/patch-nsxiv_1 b/graphics/nsxiv/patches/patch-etc-nsxiv_1 similarity index 94% rename from graphics/nsxiv/patches/patch-nsxiv_1 rename to graphics/nsxiv/patches/patch-etc-nsxiv_1 index 4ad8071fc43..2397e81f7a0 100644 --- a/graphics/nsxiv/patches/patch-nsxiv_1 +++ b/graphics/nsxiv/patches/patch-etc-nsxiv_1 @@ -1,8 +1,8 @@ Corrects the path of keysymdef.h. Index: nsxiv.1 ---- nsxiv.1.orig -+++ nsxiv.1 +--- etc/nsxiv.1.orig ++++ etc/nsxiv.1 @@ -499,7 +499,7 @@ By default nsxiv(1) will send one image per-line to st The key combo argument has the following form: "[C-][M-][S-]KEY",