aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-17 18:00:11 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-21 10:22:10 +0700
commitb11b26d22775f2dc44a0363681a918f121612e6c (patch)
tree80b7c2b558233d980e78a1e6ce81a41a8929af42
parenta1141cfdbb6effdf60b587fe15087d401eb7d40f (diff)
libraries/libnsgif: Updated for version 0.2.1+20220113_105a920.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libnsgif/git2tarxz.sh2
-rw-r--r--libraries/libnsgif/libnsgif.SlackBuild13
-rw-r--r--libraries/libnsgif/libnsgif.info8
3 files changed, 14 insertions, 9 deletions
diff --git a/libraries/libnsgif/git2tarxz.sh b/libraries/libnsgif/git2tarxz.sh
index d02b54ba5f08..f6ee06798b7e 100644
--- a/libraries/libnsgif/git2tarxz.sh
+++ b/libraries/libnsgif/git2tarxz.sh
@@ -12,7 +12,7 @@
# a tarball of. With no arg, HEAD is used.
PRGNAM=libnsgif
-CLONE_URL=https://github.com/jcupitt/libnsgif
+CLONE_URL=https://github.com/jcupitt/libnsgif-autotools
# The version of libnsgif from the netsurf project, that this autotools
# version was forked from. Have to keep track of this manually unless
diff --git a/libraries/libnsgif/libnsgif.SlackBuild b/libraries/libnsgif/libnsgif.SlackBuild
index d0bb54305915..b1476a6c53fd 100644
--- a/libraries/libnsgif/libnsgif.SlackBuild
+++ b/libraries/libnsgif/libnsgif.SlackBuild
@@ -6,10 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# This build looks like it has no dependees, but graphics/imv lists it
+# as an optional dep, so don't remove this just yet.
+
+# 20230117 bkw: update for v0.2.1+20220113_105a920.
+# - There are two libnsgif's on github, the original and the autotools-ized
+# one. This build is libnsgif-autotools, use correct repo in .info file
+# and git2tarxz.sh.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libnsgif
-VERSION=${VERSION:-0.2.1+20200706_0cb9bfc}
+VERSION=${VERSION:-0.2.1+20220113_105a920}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,9 +65,6 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-# Somehow the closing } of the last function of this file got removed (?)
-echo "}" >> src/$PRGNAM.c
-
autoreconf -ivf
CFLAGS="$SLKCFLAGS" \
diff --git a/libraries/libnsgif/libnsgif.info b/libraries/libnsgif/libnsgif.info
index 19fde3913d40..7b30c40e503f 100644
--- a/libraries/libnsgif/libnsgif.info
+++ b/libraries/libnsgif/libnsgif.info
@@ -1,8 +1,8 @@
PRGNAM="libnsgif"
-VERSION="0.2.1+20200706_0cb9bfc"
-HOMEPAGE="https://github.com/jcupitt/libnsgif"
-DOWNLOAD="https://slackware.uk/~urchlay/src/libnsgif-0.2.1+20200706_0cb9bfc.tar.xz"
-MD5SUM="d06dc7be67f4f9e2614e4e131975c41f"
+VERSION="0.2.1+20220113_105a920"
+HOMEPAGE="https://github.com/jcupitt/libnsgif-autotools"
+DOWNLOAD="https://slackware.uk/~urchlay/src/libnsgif-0.2.1+20220113_105a920.tar.xz"
+MD5SUM="6dc1f4765febd0c767e19123debc5659"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""