summaryrefslogtreecommitdiffstats
path: root/libraries/libnsgif
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libnsgif')
-rw-r--r--libraries/libnsgif/git2tarxz.sh2
-rw-r--r--libraries/libnsgif/libnsgif.SlackBuild18
-rw-r--r--libraries/libnsgif/libnsgif.info10
3 files changed, 16 insertions, 14 deletions
diff --git a/libraries/libnsgif/git2tarxz.sh b/libraries/libnsgif/git2tarxz.sh
index d02b54ba5f..f6ee06798b 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 234228f6c8..b1476a6c53 100644
--- a/libraries/libnsgif/libnsgif.SlackBuild
+++ b/libraries/libnsgif/libnsgif.SlackBuild
@@ -2,14 +2,22 @@
# Slackware build script for libnsgif
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# 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}
@@ -22,9 +30,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -60,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 dcf42b963f..7b30c40e50 100644
--- a/libraries/libnsgif/libnsgif.info
+++ b/libraries/libnsgif/libnsgif.info
@@ -1,10 +1,10 @@
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=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"