pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fzf



Module Name:    pkgsrc
Committed By:   iquiw
Date:           Sun Oct 15 02:07:09 UTC 2023

Modified Files:
        pkgsrc/sysutils/fzf: Makefile distinfo go-modules.mk

Log Message:
fzf: update to 0.43.0

* (Experimental) Added support for Kitty image protocol in the preview window

        fzf --preview='
          if file --mime-type {} | grep -qF image/; then
            # --transfer-mode=memory is the fastest option but if you want fzf to be able
            # to redraw the image on terminal resize or on 'change-preview-window',
            # you need to use --transfer-mode=stream.
            kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \$d
          else
            bat --color=always {}
          fi
        '
* (Experimental) --listen server can report program state in JSON format (GET /)

        # fzf server started in "headless" mode
        fzf --listen 6266 2> /dev/null

        # Get program state
        curl localhost:6266 | jq .

        # Increase the number of items returned (default: 100)
        curl localhost:6266?limit=1000 | jq .
* --listen server can be secured by setting $FZF_API_KEY environment variable.

        export FZF_API_KEY="$(head -c 32 /dev/urandom | base64)"

        # Server
        fzf --listen 6266

        # Client
        curl localhost:6266 -H "x-api-key: $FZF_API_KEY" -d 'change-query(yo)'
* Added toggle-header action
* Added mouse events for --bind
  * scroll-up (bound to up)
  * scroll-down (bound to down)
  * shift-scroll-up (bound to toggle+up)
  * shift-scroll-down (bound to toggle+down)
  * shift-left-click (bound to toggle)
  * shift-right-click (bound to toggle)
  * preview-scroll-up (bound to preview-up)
  * preview-scroll-down (bound to preview-down)

        # Twice faster scrolling both in the main window and the preview window
        fzf --bind 'scroll-up:up+up,scroll-down:down+down' \
              --bind 'preview-scroll-up:preview-up+preview-up' \
              --bind 'preview-scroll-down:preview-down+preview-down' \
              --preview 'cat {}'
* Added offset-up and offset-down actions

        # Scrolling will behave similarly to CTRL-E and CTRL-Y of vim
        fzf --bind scroll-up:offset-up,scroll-down:offset-down \
            --bind ctrl-y:offset-up,ctrl-e:offset-down \
            --scroll-off=5
* Shell extensions

        Updated bash completion for fzf options
        bash key bindings no longer requires perl; it will use awk or mawk instead if perl is not found
        Basic context-aware completion for ssh command
        Applied --scheme=path for better ordering of the result
* Bug fixes and improvements


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/sysutils/fzf/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/fzf/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/fzf/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/fzf/Makefile
diff -u pkgsrc/sysutils/fzf/Makefile:1.72 pkgsrc/sysutils/fzf/Makefile:1.73
--- pkgsrc/sysutils/fzf/Makefile:1.72   Fri Sep  8 19:06:11 2023
+++ pkgsrc/sysutils/fzf/Makefile        Sun Oct 15 02:07:09 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2023/09/08 19:06:11 bsiegert Exp $
+# $NetBSD: Makefile,v 1.73 2023/10/15 02:07:09 iquiw Exp $
 
-DISTNAME=      fzf-0.42.0
-PKGREVISION=   3
+DISTNAME=      fzf-0.43.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=junegunn/}
 

Index: pkgsrc/sysutils/fzf/distinfo
diff -u pkgsrc/sysutils/fzf/distinfo:1.16 pkgsrc/sysutils/fzf/distinfo:1.17
--- pkgsrc/sysutils/fzf/distinfo:1.16   Sat Jul  1 06:47:29 2023
+++ pkgsrc/sysutils/fzf/distinfo        Sun Oct 15 02:07:09 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2023/07/01 06:47:29 iquiw Exp $
+$NetBSD: distinfo,v 1.17 2023/10/15 02:07:09 iquiw Exp $
 
-BLAKE2s (fzf-0.42.0.tar.gz) = 7328f3e1d9f1b258db66483476ff1c0be6bccb81427e51c809ac8eebd965478c
-SHA512 (fzf-0.42.0.tar.gz) = 9587b8c9d37abcf1ae85b12d5cf3a1179f57241e3932db6801dee9bb952f83621b780d713c1793ccb4c5c36921b9078e156fe989b3e13664201ed729ea03d414
-Size (fzf-0.42.0.tar.gz) = 239469 bytes
+BLAKE2s (fzf-0.43.0.tar.gz) = 3e6c90cc6dedb838ace21771f485fa356e3bc6bae7584c822117ed091d0f55bd
+SHA512 (fzf-0.43.0.tar.gz) = 84e01d2f852e0d90b2a30342f7ad9a30e4e287688f6063efc2a0f602eab5ec064819efecd2041f46869bb1956b3d3eb50e98084deeaa26272c3bbafd000648f7
+Size (fzf-0.43.0.tar.gz) = 247080 bytes
 BLAKE2s (github.com_gdamore_encoding_@v_v1.0.0.mod) = d98306119aa62bd2bb2dc3fd0a93976e35a5396dd7d50fb0fc3eb0c157fb88c2
 SHA512 (github.com_gdamore_encoding_@v_v1.0.0.mod) = fb153c4e481c073133f0c933c67eba8a1f160ab146921f2c77125b6ff5c348cea57e3a5701a557c8db2212d32e3cba1c09b9509210660c17b66c2a45ba97cb75
 Size (github.com_gdamore_encoding_@v_v1.0.0.mod) = 77 bytes
@@ -102,24 +102,24 @@ Size (golang.org_x_sys_@v_v0.0.0-2022072
 BLAKE2s (golang.org_x_sys_@v_v0.0.0-20220811171246-fbc7d0a398ab.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
 SHA512 (golang.org_x_sys_@v_v0.0.0-20220811171246-fbc7d0a398ab.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
 Size (golang.org_x_sys_@v_v0.0.0-20220811171246-fbc7d0a398ab.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.8.0.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
-SHA512 (golang.org_x_sys_@v_v0.8.0.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
-Size (golang.org_x_sys_@v_v0.8.0.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.8.0.zip) = 1d1dd30ede45eedf5a3a55fb4c349db31c0da8d3c28e13f71464bfe84709f861
-SHA512 (golang.org_x_sys_@v_v0.8.0.zip) = a24f36dd1f3f0a998fdc68f03870350635d3ae6cd3abae010f9c8d69a9e7c3484605286e1153e24e45548d39aa713e91bb39106f5c4b68377f906299c1dd743b
-Size (golang.org_x_sys_@v_v0.8.0.zip) = 1894928 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.13.0.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
+SHA512 (golang.org_x_sys_@v_v0.13.0.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+Size (golang.org_x_sys_@v_v0.13.0.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.13.0.zip) = 1c9456a2c216dd40033994c87ac81cb2012b746fbf6497b6758506b0d41fb300
+SHA512 (golang.org_x_sys_@v_v0.13.0.zip) = a31f7992053e29a59a3af8e5931b719f445cf5704923215c6da16b4a5c419f2dd14f757f38a91d55c9058bc914e7eca9604c969a2032a1ff368e6e129d30f416
+Size (golang.org_x_sys_@v_v0.13.0.zip) = 1901653 bytes
 BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = ea6d2006c1c11da8c2174212a63865a04dec1775f98210c17f3a0cb8d4a1a80f
 SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
 Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = 95 bytes
 BLAKE2s (golang.org_x_term_@v_v0.0.0-20210927222741-03fcf44c2211.mod) = 0f390b4bf64eaa8a44136d9227dcd19975bee0ef0132e2d36548cfe38a79720b
 SHA512 (golang.org_x_term_@v_v0.0.0-20210927222741-03fcf44c2211.mod) = 81f571821c669188c4482da38b6921ac4c2c1747f8a803a6846531127cfde25dd04819d971f08f601c2d2cee2e636644c1648eff55dd24d89dfb3777e90fe9a0
 Size (golang.org_x_term_@v_v0.0.0-20210927222741-03fcf44c2211.mod) = 95 bytes
-BLAKE2s (golang.org_x_term_@v_v0.8.0.mod) = 1fa6c540c2a882ada4d67690f9ae74f5d5ea4fab21493354064706d345be2028
-SHA512 (golang.org_x_term_@v_v0.8.0.mod) = 865ab9fda3e62f27e5010edb02d40d68e812118f8f8f8e9afc3e19012a16f6076fdbac909a444f5d3036575352020d4ad8c1210191dbb0171d906b8990e7c581
-Size (golang.org_x_term_@v_v0.8.0.mod) = 67 bytes
-BLAKE2s (golang.org_x_term_@v_v0.8.0.zip) = 90a4f31890c8b086e896e2a37298c132048c8ff112a2b3262f7d272de70f3a18
-SHA512 (golang.org_x_term_@v_v0.8.0.zip) = 63cb6f10de1b97b9315c9d3c281f10231a8b25aa7926a3cace8323ed497dc6c8b4528c55a06beb4b238c76756031cb4967d2d725c0b4d3936dfae64bda714e4c
-Size (golang.org_x_term_@v_v0.8.0.zip) = 19924 bytes
+BLAKE2s (golang.org_x_term_@v_v0.13.0.mod) = f41582d73169a7b7d82176015c6f641fe99992995a9fa28bb4dff244ac3723d9
+SHA512 (golang.org_x_term_@v_v0.13.0.mod) = 5ab7654dacacc5af67b539a535665e4cec855d955f4557c411695000881c0c352fad77baf21c3e18d6141382a2468b81daec1bc2844a173a28bcbc8111cfbdae
+Size (golang.org_x_term_@v_v0.13.0.mod) = 68 bytes
+BLAKE2s (golang.org_x_term_@v_v0.13.0.zip) = 3e47e6710b1758675f4dfaceddd2dbedc577a6ee37f8153d178913aba65299a4
+SHA512 (golang.org_x_term_@v_v0.13.0.zip) = 2e6d3d585509a391d04cd0f3958f43895d1179fe694d08f9ebbd45f2724d80c632e7e61662f03f4f5830cc3d3644c7f6cc5e3731348a392282c142f351839596
+Size (golang.org_x_term_@v_v0.13.0.zip) = 19958 bytes
 BLAKE2s (golang.org_x_text_@v_v0.3.0.mod) = 080036087ec663fb318320442bf68fad98da28e3ea33a1e5a3acf697a0527460
 SHA512 (golang.org_x_text_@v_v0.3.0.mod) = ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
 Size (golang.org_x_text_@v_v0.3.0.mod) = 25 bytes

Index: pkgsrc/sysutils/fzf/go-modules.mk
diff -u pkgsrc/sysutils/fzf/go-modules.mk:1.4 pkgsrc/sysutils/fzf/go-modules.mk:1.5
--- pkgsrc/sysutils/fzf/go-modules.mk:1.4       Sat Jun  3 01:03:28 2023
+++ pkgsrc/sysutils/fzf/go-modules.mk   Sun Oct 15 02:07:09 2023
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.4 2023/06/03 01:03:28 iquiw Exp $
+# $NetBSD: go-modules.mk,v 1.5 2023/10/15 02:07:09 iquiw Exp $
 
 GO_MODULE_FILES+=      github.com/gdamore/encoding/@v/v1.0.0.mod
 GO_MODULE_FILES+=      github.com/gdamore/encoding/@v/v1.0.0.zip
@@ -33,12 +33,12 @@ GO_MODULE_FILES+=   golang.org/x/sys/@v/v0
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220520151302-bc2c85ada10a.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220722155257-8c9f86f7a55f.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220811171246-fbc7d0a398ab.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.8.0.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.8.0.zip
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.13.0.mod
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.13.0.zip
 GO_MODULE_FILES+=      golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
 GO_MODULE_FILES+=      golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.mod
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.8.0.mod
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.8.0.zip
+GO_MODULE_FILES+=      golang.org/x/term/@v/v0.13.0.mod
+GO_MODULE_FILES+=      golang.org/x/term/@v/v0.13.0.zip
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.3.0.mod
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.3.3.mod
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.3.7.mod



Home | Main Index | Thread Index | Old Index