aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/pngcheck/pngcheck.SlackBuild12
-rw-r--r--graphics/pngcheck/pngcheck.info8
2 files changed, 13 insertions, 7 deletions
diff --git a/graphics/pngcheck/pngcheck.SlackBuild b/graphics/pngcheck/pngcheck.SlackBuild
index 410bc214a4..4e90a23369 100644
--- a/graphics/pngcheck/pngcheck.SlackBuild
+++ b/graphics/pngcheck/pngcheck.SlackBuild
@@ -9,10 +9,12 @@
# I've been using this for ages, off and on, and was kinda shocked I'd
# never done a SBo build for it. So here it is.
+# 20250617 bkw: update for 4.0.0, new homepage.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pngcheck
-VERSION=${VERSION:-3.0.3}
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,8 +58,12 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod -h 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod -h 644 {} +
+# 20250617 bkw: the CERRORS="-Wall" turns off the default -Werror.
+# Why does anyone ship release code with -Werror enabled? *Especially*
+# when the code actually *has* warnings?!
+
sed -i "/^CFLAGS/s,-O,$SLKCFLAGS," Makefile.unx
-make ZINC=" " ZLIB=-lz -f Makefile.unx
+make ZINC=" " ZLIB=-lz CERRORS="-Wall" -f Makefile.unx
# no 'make install', but dead simple.
PKGBIN=$PKG/usr/bin
@@ -71,7 +77,7 @@ gzip -9 $PKGMAN1/*
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
-cp -a CHANGELOG LICENSE gpl/COPYING README $PKGDOC
+cp -a CHANGELOG* LICENSE* gpl/COPYING* README* $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/pngcheck/pngcheck.info b/graphics/pngcheck/pngcheck.info
index bf963912f2..0281bc8b3c 100644
--- a/graphics/pngcheck/pngcheck.info
+++ b/graphics/pngcheck/pngcheck.info
@@ -1,8 +1,8 @@
PRGNAM="pngcheck"
-VERSION="3.0.3"
-HOMEPAGE="http://www.libpng.org/pub/png/apps/pngcheck.html"
-DOWNLOAD="http://www.libpng.org/pub/png/src/pngcheck-3.0.3.tar.gz"
-MD5SUM="ac3fe8c134c16e8dec2db2bf60e2b2f2"
+VERSION="4.0.0"
+HOMEPAGE="https://github.com/pnggroup/pngcheck"
+DOWNLOAD="https://github.com/pnggroup/pngcheck/archive/v4.0.0/pngcheck-4.0.0.tar.gz"
+MD5SUM="58065361d7067be2f994de0e761e9996"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""