aboutsummaryrefslogtreecommitdiff
path: root/development/tig
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-14 06:18:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-14 06:18:26 +0700
commite1c9e852dbf1ccae3e86581c9a1b06b8761c1f28 (patch)
tree7ba81264d9a650ecfb7a96cb91da1614d156a036 /development/tig
parent893842b6ca634bc86868a525b50845c86bcebd41 (diff)
development/tig: Updated for version 2.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/tig')
-rw-r--r--development/tig/1016.patch47
-rw-r--r--development/tig/tig.SlackBuild7
-rw-r--r--development/tig/tig.info6
3 files changed, 6 insertions, 54 deletions
diff --git a/development/tig/1016.patch b/development/tig/1016.patch
deleted file mode 100644
index 095efc917387f..0000000000000
--- a/development/tig/1016.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From dff2d346e9647fb55c4e0e381572ad1fe82b8715 Mon Sep 17 00:00:00 2001
-From: Kyle Anderson <kylea@netflix.com>
-Date: Mon, 8 Jun 2020 17:24:18 -0700
-Subject: [PATCH] Don't error if git tab completion is not available. Fixes
- #1011
-
----
- contrib/tig-completion.bash | 19 ++++++++++++-------
- 1 file changed, 12 insertions(+), 7 deletions(-)
-
-diff --git a/contrib/tig-completion.bash b/contrib/tig-completion.bash
-index 5aef3fd8..54a40ec1 100755
---- a/contrib/tig-completion.bash
-+++ b/contrib/tig-completion.bash
-@@ -28,6 +28,9 @@
- # is performed while the script loads. If git isn't found
- # at source time then all lookups will be done on demand,
- # which may be slightly slower.
-+#
-+# 4) This completion file depends on git completion already being
-+# loaded. Make sure git-completion.bash happens first.
-
- __tig_options="
- -v --version
-@@ -93,13 +96,15 @@ if [ -n "$ZSH_VERSION" ]; then
- bashcompinit
- fi
-
--# we use internal git-completion functions, so wrap _tig for all necessary
-+# we use internal git-completion functions (if available), so wrap _tig for all necessary
- # variables (like cword and prev) to be defined
--__git_complete tig _tig
-+if type '__git_complete' 2>/dev/null | grep -q 'function'; then
-+ __git_complete tig _tig
-
--# The following are necessary only for Cygwin, and only are needed
--# when the user has tab-completed the executable name and consequently
--# included the '.exe' suffix.
--if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
-- __git_complete tig.exe _tig
-+ # The following are necessary only for Cygwin, and only are needed
-+ # when the user has tab-completed the executable name and consequently
-+ # included the '.exe' suffix.
-+ if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
-+ __git_complete tig.exe _tig
-+ fi
- fi
diff --git a/development/tig/tig.SlackBuild b/development/tig/tig.SlackBuild
index f5de4dfb483e8..4f6e9bbd608bb 100644
--- a/development/tig/tig.SlackBuild
+++ b/development/tig/tig.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tig
-# Copyright 2014-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tig
-VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.5.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i 's|$(docdir)/tig|$(docdir)|' Makefile
-patch -p1 < $CWD/1016.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/development/tig/tig.info b/development/tig/tig.info
index 65a315bca7f72..b5be4191d92f1 100644
--- a/development/tig/tig.info
+++ b/development/tig/tig.info
@@ -1,8 +1,8 @@
PRGNAM="tig"
-VERSION="2.5.1"
+VERSION="2.5.2"
HOMEPAGE="https://jonas.github.io/tig/"
-DOWNLOAD="https://github.com/jonas/tig/releases/download/tig-2.5.1/tig-2.5.1.tar.gz"
-MD5SUM="4d810b7de2dfc842ceeb8b8d88740f2c"
+DOWNLOAD="https://github.com/jonas/tig/releases/download/tig-2.5.2/tig-2.5.2.tar.gz"
+MD5SUM="695cb0429c6e0a8738747407bc1d3966"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""