aboutsummaryrefslogtreecommitdiff
path: root/system/fzf
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-10-13 11:15:20 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 10:47:39 +0700
commit1face85bf30878b041f1a4b6e9fb74c170e7b0d3 (patch)
tree37ea66f404ae191722bb61a408f9966e6df20cf4 /system/fzf
parentb86da045461e4671541deb4ed7bf68a21715fef4 (diff)
system/fzf: Updated for version 0.33.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fzf')
-rw-r--r--system/fzf/README3
-rw-r--r--system/fzf/fzf.SlackBuild105
-rw-r--r--system/fzf/fzf.info28
3 files changed, 113 insertions, 23 deletions
diff --git a/system/fzf/README b/system/fzf/README
index 0844dad79126f..991e9d6b3112e 100644
--- a/system/fzf/README
+++ b/system/fzf/README
@@ -8,4 +8,7 @@ WITH_VIM=no ./fzf.SlackBuild
and the plugin will be installed to /usr/share/fzf/vim/ instead.
+fzf 0.33.0 is currently the latest version which will build since
+0.34.0 requires go 1.18.x or newer.
+
NOTE: google-go-lang is only needed at compile time - not at runtime.
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index 600cc2629e3ef..624530798671c 100644
--- a/system/fzf/fzf.SlackBuild
+++ b/system/fzf/fzf.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for fzf
# Copyright 2016-2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fzf
-VERSION=${VERSION:-0.30.0}
+VERSION=${VERSION:-0.33.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,9 +63,9 @@ sed -i '/^BUILD_FLAGS/s/$/ -mod=vendor/' Makefile
mkdir -p vendor/github.com
for DEPENDENCY in gdamore/encoding/1.0.0 \
- gdamore/tcell/1.4.0 \
+ gdamore/tcell/2.5.3 \
lucasb-eyer/go-colorful/1.2.0 \
- mattn/go-isatty/0.0.14 \
+ mattn/go-isatty/0.0.13 \
mattn/go-runewidth/0.0.13 \
mattn/go-shellwords/1.0.12 \
rivo/uniseg/0.2.0 \
@@ -81,10 +82,9 @@ done
mkdir -p vendor/golang.org/x
for DEPENDENCY in sync/036812b2e83c0ddf193dd5a34e034151da389d09 \
- sys/0f9fa26af87c481a6877a4ca1330699ba9a30673 \
- term/de623e64d2a6562fa463152da80477d4aa07fca0 \
- text/0.3.6 \
- tools/90fa682c2a6e6a37b3a1364ce2fe1d5e41af9d6d ; do
+ sys/3f8b81556e12aefb24de6d626ad5b2c1f7253818 \
+ term/03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50 \
+ text/0.3.7 ; do
DEPENDENCY_NAME="$(echo "$DEPENDENCY" | cut -d/ -f1)"
DEPENDENCY_REV="$(echo "$DEPENDENCY" | cut -d/ -f2)"
@@ -92,6 +92,95 @@ for DEPENDENCY in sync/036812b2e83c0ddf193dd5a34e034151da389d09 \
mv "$DEPENDENCY_NAME-$DEPENDENCY_REV" "vendor/golang.org/x/$DEPENDENCY_NAME"
done
+cat << EOF > vendor/modules.txt
+# github.com/gdamore/encoding v1.0.0
+## explicit; go 1.9
+github.com/gdamore/encoding
+# github.com/gdamore/tcell/v2 v2.5.3
+## explicit; go 1.12
+github.com/gdamore/tcell/v2
+github.com/gdamore/tcell/v2/encoding
+github.com/gdamore/tcell/v2/terminfo
+github.com/gdamore/tcell/v2/terminfo/a/aixterm
+github.com/gdamore/tcell/v2/terminfo/a/alacritty
+github.com/gdamore/tcell/v2/terminfo/a/ansi
+github.com/gdamore/tcell/v2/terminfo/b/beterm
+github.com/gdamore/tcell/v2/terminfo/base
+github.com/gdamore/tcell/v2/terminfo/c/cygwin
+github.com/gdamore/tcell/v2/terminfo/d/dtterm
+github.com/gdamore/tcell/v2/terminfo/dynamic
+github.com/gdamore/tcell/v2/terminfo/e/emacs
+github.com/gdamore/tcell/v2/terminfo/extended
+github.com/gdamore/tcell/v2/terminfo/f/foot
+github.com/gdamore/tcell/v2/terminfo/g/gnome
+github.com/gdamore/tcell/v2/terminfo/h/hpterm
+github.com/gdamore/tcell/v2/terminfo/k/konsole
+github.com/gdamore/tcell/v2/terminfo/k/kterm
+github.com/gdamore/tcell/v2/terminfo/l/linux
+github.com/gdamore/tcell/v2/terminfo/p/pcansi
+github.com/gdamore/tcell/v2/terminfo/r/rxvt
+github.com/gdamore/tcell/v2/terminfo/s/screen
+github.com/gdamore/tcell/v2/terminfo/s/simpleterm
+github.com/gdamore/tcell/v2/terminfo/s/sun
+github.com/gdamore/tcell/v2/terminfo/t/termite
+github.com/gdamore/tcell/v2/terminfo/t/tmux
+github.com/gdamore/tcell/v2/terminfo/v/vt100
+github.com/gdamore/tcell/v2/terminfo/v/vt102
+github.com/gdamore/tcell/v2/terminfo/v/vt220
+github.com/gdamore/tcell/v2/terminfo/v/vt320
+github.com/gdamore/tcell/v2/terminfo/v/vt400
+github.com/gdamore/tcell/v2/terminfo/v/vt420
+github.com/gdamore/tcell/v2/terminfo/v/vt52
+github.com/gdamore/tcell/v2/terminfo/w/wy50
+github.com/gdamore/tcell/v2/terminfo/w/wy60
+github.com/gdamore/tcell/v2/terminfo/w/wy99_ansi
+github.com/gdamore/tcell/v2/terminfo/x/xfce
+github.com/gdamore/tcell/v2/terminfo/x/xterm
+github.com/gdamore/tcell/v2/terminfo/x/xterm_kitty
+github.com/gdamore/tcell/v2/terminfo/x/xterm_termite
+# github.com/lucasb-eyer/go-colorful v1.2.0
+## explicit; go 1.12
+github.com/lucasb-eyer/go-colorful
+# github.com/mattn/go-isatty v0.0.14
+## explicit; go 1.12
+github.com/mattn/go-isatty
+# github.com/mattn/go-runewidth v0.0.13
+## explicit; go 1.9
+github.com/mattn/go-runewidth
+# github.com/mattn/go-shellwords v1.0.12
+## explicit; go 1.13
+github.com/mattn/go-shellwords
+# github.com/rivo/uniseg v0.2.0
+## explicit; go 1.12
+github.com/rivo/uniseg
+# github.com/saracen/walker v0.1.2
+## explicit; go 1.12
+github.com/saracen/walker
+# golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
+## explicit
+golang.org/x/sync/errgroup
+# golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12
+## explicit; go 1.17
+golang.org/x/sys/internal/unsafeheader
+golang.org/x/sys/plan9
+golang.org/x/sys/unix
+golang.org/x/sys/windows
+# golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
+## explicit; go 1.17
+golang.org/x/term
+# golang.org/x/text v0.3.7
+## explicit; go 1.17
+golang.org/x/text/encoding
+golang.org/x/text/encoding/charmap
+golang.org/x/text/encoding/internal
+golang.org/x/text/encoding/internal/identifier
+golang.org/x/text/encoding/japanese
+golang.org/x/text/encoding/korean
+golang.org/x/text/encoding/simplifiedchinese
+golang.org/x/text/encoding/traditionalchinese
+golang.org/x/text/transform
+EOF
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -99,7 +188,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-FZF_VERSION="$VERSION" FZF_REVISION="$VERSION" make
+FZF_VERSION="$VERSION" FZF_REVISION="Slackware" make
mkdir -p $PKG/usr/bin
install -m 0755 target/fzf-linux_* $PKG/usr/bin/fzf
diff --git a/system/fzf/fzf.info b/system/fzf/fzf.info
index 0a2c23632f5b8..1c6eb8a853da7 100644
--- a/system/fzf/fzf.info
+++ b/system/fzf/fzf.info
@@ -1,34 +1,32 @@
PRGNAM="fzf"
-VERSION="0.30.0"
+VERSION="0.33.0"
HOMEPAGE="https://github.com/junegunn/fzf"
-DOWNLOAD="https://github.com/junegunn/fzf/archive/0.30.0/fzf-0.30.0.tar.gz \
+DOWNLOAD="https://github.com/junegunn/fzf/archive/0.33.0/fzf-0.33.0.tar.gz \
https://github.com/gdamore/encoding/archive/v1.0.0/encoding-1.0.0.tar.gz \
- https://github.com/gdamore/tcell/archive/v1.4.0/tcell-1.4.0.tar.gz \
+ https://github.com/gdamore/tcell/archive/v2.5.3/tcell-2.5.3.tar.gz \
https://github.com/lucasb-eyer/go-colorful/archive/v1.2.0/go-colorful-1.2.0.tar.gz \
- https://github.com/mattn/go-isatty/archive/v0.0.14/go-isatty-0.0.14.tar.gz \
+ https://github.com/mattn/go-isatty/archive/v0.0.13/go-isatty-0.0.13.tar.gz \
https://github.com/mattn/go-runewidth/archive/v0.0.13/go-runewidth-0.0.13.tar.gz \
https://github.com/mattn/go-shellwords/archive/v1.0.12/go-shellwords-1.0.12.tar.gz \
https://github.com/rivo/uniseg/archive/v0.2.0/uniseg-0.2.0.tar.gz \
https://github.com/saracen/walker/archive/v0.1.2/walker-0.1.2.tar.gz \
https://github.com/golang/sync/archive/036812b2e83c0ddf193dd5a34e034151da389d09/sync-036812b2e83c0ddf193dd5a34e034151da389d09.tar.gz \
- https://github.com/golang/sys/archive/0f9fa26af87c481a6877a4ca1330699ba9a30673/sys-0f9fa26af87c481a6877a4ca1330699ba9a30673.tar.gz \
- https://github.com/golang/term/archive/de623e64d2a6562fa463152da80477d4aa07fca0/term-de623e64d2a6562fa463152da80477d4aa07fca0.tar.gz \
- https://github.com/golang/text/archive/v0.3.6/text-0.3.6.tar.gz \
- https://github.com/golang/tools/archive/90fa682c2a6e6a37b3a1364ce2fe1d5e41af9d6d/tools-90fa682c2a6e6a37b3a1364ce2fe1d5e41af9d6d.tar.gz"
-MD5SUM="509cde51b5a98dbe9c79092d6fbf3e6a \
+ https://github.com/golang/sys/archive/3f8b81556e12aefb24de6d626ad5b2c1f7253818/sys-3f8b81556e12aefb24de6d626ad5b2c1f7253818.tar.gz \
+ https://github.com/golang/term/archive/03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50/term-03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50.tar.gz \
+ https://github.com/golang/text/archive/v0.3.7/text-0.3.7.tar.gz"
+MD5SUM="2cd736f06d7082899e364efa1b3eb476 \
fbadc383bc1ace79fa769fe2de36b87b \
- e0f62cd6194c83724a14edb96e9d0823 \
+ 2431fe9d4b229e26d4dbdca4f9a29c8f \
191fe5cfcb58e480ff4045c82a06091a \
- c80139a566fd59ff4ed54539bffb8af3 \
+ 40d85917f24cdd5374abcdb92ff88e0c \
0004e3c3c29e88360bfa6428f3852b25 \
71a4ecaadfb90ffccb392799a2f00743 \
71d5e8800299a85ecfd72a1833eefa4c \
2b8de2c0180b772eac09f19ed7cb264a \
45a3bb00e962f5ba158827f54bbdce4a \
- 949faaec0c6770fa4d36b9fce4fd72f0 \
- 4fae21a5000857ef943f4f9f93d8727a \
- f406aa34e4555c0bac8c2f00f2ab729b \
- aa1fd192d5fd5f11f7d552eea120d495"
+ b06845638e4f59af9da1f757122135d5 \
+ 6ed09517c3e39a73bc0151d2155d5eff \
+ efe2f974b42f7b0421edc8216aa7fef2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"