From 53736637c577d78f0e2dc770435ac5221ed09e12 Mon Sep 17 00:00:00 2001 From: pin Date: Wed, 3 Jan 2024 15:32:37 +0000 Subject: [PATCH] graphics/nsxiv: update to 32 v32 (October 01, 2023) Changes: - Removed legacy multi-frame loaders. Animated image support now requires Imlib2 v1.8.0 or above. - Move loading/caching messages to right side bar #446 - Set a default delay if delay is 0 in a multi-frame image #445 - config.mk: default to -O2 #435 - config.mk no longer explicitly sets CC to c99 #455 - Assertions are now opt-in and requires explicitly defining DEBUG #447 Added: - Added a pick-quit key-binding #432 - Ability to configure Xresources class name in config.h #427 - --version output now also includes compiled-in feature list #462 - Document handling of empty X resources values #428 - Experimental flag --bg-cache to generate thumbnail cache in a background process #438 Fixes: - Changing brightness/contrast on multi-frame images #440 - Brightness keybindings on manpage #467 - Various autoreload bugs #437, #459, #460 - *-info scripts not updating when selecting thumbnail with mouse #477 - Updated openbsd configuration in config.mk #453 - Memory leak in win_draw_bar #444 - Thumbnail leak when removing the last file #423 v31 (January 28, 2023) Changes: - Uncritical files moved to etc/. #350 - Empty Xresource entry will now be ignored. #340 - win-title will be read in a non-blocking manner. #314 Added: - Support for multi-frame images via Imlib2. #373 - Support for long-opts. #332 - Cli flag --anti-alias to enable/disable anti-aliasing. #361 - Cli flag --alpha-layer to enable/disable checkerboard background. #408 - Accept directory via stdin (-i) #383 - Support for modifying brightness and contrast #396 Fixes: - Build failure when _SC_PHYS_PAGES is not defined. #334 - Various statusbar issues. #353,#341 - Crashes due to faulty signal-handler. #411 - Potential memory leak in r_readdir(). #319 - Potentially printing incorrect error message. #321 - Wrong slideshow length on animated webp. #381 - Document missing Ctrl+6 binding in the manpage. #347 SPECIAL NOTE: Due to this incident we have moved development over to Codeberg. A lot of the references below may now be 404 on GitHub. Any threads which survived the wipe have been migrated over to nsxiv-record. All of the references above can be found on the new main nsxiv repository on Codeberg. v30 (June 15, 2022) Changes: - Development and main repository moved over to Codeberg. See the special note above for more info. - autoreload_{inotify,nop}.c merged into a single file, autoreload.c. #263 - Moved all configuration related macros to config.mk. #264 - win-title is now called only when there's change rather than being called on each redraw. #266 Added: - Added more mimetypes to the .desktop entry. #260 - Added thumb-info for customizing the statusbar in thumbnail-mode. #265 - Added comments for building on OpenBSD. #264 Fixes: - "Too many open file" error due to not closing the win-title script. #245 - -f now directly starts in fullscreen mode rather than opening a normal window and then going fullscreen. #251 - Broken slideshow on slow systems or fast animations. #282 - Memory leak when removing an image in thumbnail mode. #247 - Correctly setting _NET_WM_PID. #251 - Don't override statusbar if info script doesn't exist. #271 - Potential misbehavior regarding font. #250 --- graphics/nsxiv/Makefile | 9 ++++----- graphics/nsxiv/PLIST | 3 ++- graphics/nsxiv/distinfo | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/graphics/nsxiv/Makefile b/graphics/nsxiv/Makefile index 8e5ac78d8074..744b18eba1d7 100644 --- a/graphics/nsxiv/Makefile +++ b/graphics/nsxiv/Makefile @@ -1,20 +1,19 @@ -# $NetBSD: Makefile,v 1.4 2023/11/12 13:22:09 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2024/01/03 15:32:37 pin Exp $ -DISTNAME= nsxiv-29 -PKGREVISION= 2 +DISTNAME= nsxiv-32 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=nsxiv/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://github.com/nsxiv/nsxiv/ +HOMEPAGE= https://nsxiv.codeberg.page/ COMMENT= Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer LICENSE= gnu-gpl-v2 MAKE_FLAGS+= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/${PKGMANDIR} MAKE_FLAGS+= HAVE_INOTIFY=0 -USE_LANGUAGES= c99 +USE_CC_FEATURES= c99 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 diff --git a/graphics/nsxiv/PLIST b/graphics/nsxiv/PLIST index f5b057c12131..8cc7ede401fe 100644 --- a/graphics/nsxiv/PLIST +++ b/graphics/nsxiv/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1 2022/04/13 08:31:25 pin Exp $ +@comment $NetBSD: PLIST,v 1.2 2024/01/03 15:32:37 pin Exp $ bin/nsxiv man/man1/nsxiv.1 share/doc/nsxiv/examples/image-info share/doc/nsxiv/examples/key-handler +share/doc/nsxiv/examples/thumb-info share/doc/nsxiv/examples/win-title diff --git a/graphics/nsxiv/distinfo b/graphics/nsxiv/distinfo index b2a6d6a5497d..a1dc5d17f2a5 100644 --- a/graphics/nsxiv/distinfo +++ b/graphics/nsxiv/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2022/04/13 08:31:25 pin Exp $ +$NetBSD: distinfo,v 1.2 2024/01/03 15:32:37 pin Exp $ -BLAKE2s (nsxiv-29.tar.gz) = 91b5e07a53924ca572917335a1f83b48ab43f18af991b8bb6e7dc1d7d9d00b3f -SHA512 (nsxiv-29.tar.gz) = d891fc0885f280a622401e105dc1ed9ba39e40f3e760e3e0cd34ae79fdb32187b1d3dc15590bbefd68a18db2aa12795433907e6e744561cc891fc03e7a1f1e94 -Size (nsxiv-29.tar.gz) = 64012 bytes +BLAKE2s (nsxiv-32.tar.gz) = 77b64657a46c3be5aa7266539ab00cd9b8c499ce777d95d1773db8f9e1402e98 +SHA512 (nsxiv-32.tar.gz) = e53de494f104440c87eb55606c322cb7ac9989176547131f59e02eb091d04a3a2de6c11c1c775cb25302ff1da5997bc499d753a822c1de4652aa77bf2858fa9a +Size (nsxiv-32.tar.gz) = 74345 bytes