pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/pngcheck
Module Name: pkgsrc
Committed By: wiz
Date: Mon Dec 15 21:06:01 UTC 2025
Modified Files:
pkgsrc/graphics/pngcheck: Makefile PLIST distinfo
Added Files:
pkgsrc/graphics/pngcheck/patches: patch-pngcheck.c
Log Message:
pngcheck: update to 4.0.1.
4.0.1
This release builds on version 4.0.0 with the following improvements:
New Features
Added support for Content Credentials caBX chunk from PNG Fourth Edition
Added support for Apple iDOT chunk (now registered)
Added cICP autodetect for BT.601 PAL, SECAM and NTSC
Added validation that cICP chunk must accompany the use of mDCV
Build System Improvements
Added GitHub Actions CI for CMake and Make builds on Ubuntu, macOS, and Windows
Required zlib library as a non-optional dependency
Auto-detect Windows platform without requiring the WIN32 macro
Imported the wildargs library for automatic wildcard argument expansion on Windows
Simplified and unified makefiles
Bug Fixes
Removed incorrect checks for imaginary primary chromaticity values; allow negative values
Fixed signedness comparison issues
Added validation for tIME chunk (valid day in month)
Fixed minor typos in README
Other Changes
Removed auxiliary tools pngsplit and png-fix-IDAT-windowsize (moved to separate project)
4.0.0
This version was derived from pngcheck 3.0.3 (see 3.0.3 README) and adds the following new features from PNG Third Edition:
Coding Independent Code Points cICP
Mastering Display Color Volume mDCV
Content Light Level Information cLLI
Animated PNG acTL, fcTL and fdAT
It also warns if eXIf is found after the image data IDAT, which will be ignored by web browsers and is no longer valid in PNG Third Edition.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/pngcheck/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/pngcheck/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/pngcheck/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/pngcheck/patches/patch-pngcheck.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/pngcheck/Makefile
diff -u pkgsrc/graphics/pngcheck/Makefile:1.5 pkgsrc/graphics/pngcheck/Makefile:1.6
--- pkgsrc/graphics/pngcheck/Makefile:1.5 Wed Dec 14 14:33:24 2022
+++ pkgsrc/graphics/pngcheck/Makefile Mon Dec 15 21:06:00 2025
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.5 2022/12/14 14:33:24 fcambus Exp $
+# $NetBSD: Makefile,v 1.6 2025/12/15 21:06:00 wiz Exp $
-DISTNAME= pngcheck-3.0.3
+DISTNAME= pngcheck-4.0.1
CATEGORIES= graphics
-MASTER_SITES= http://www.libpng.org/pub/png/src/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=pnggroup/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.libpng.org/pub/png/apps/pngcheck.html
+HOMEPAGE= https://github.com/pnggroup/pngcheck
COMMENT= Verify the integrity of PNG, JNG, and MNG files
-LICENSE= gnu-gpl-v2
-INSTALLATION_DIRS= bin share/doc/pngcheck
+INSTALLATION_DIRS= bin share/doc/pngcheck ${PKGMANDIR}/man1
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} -DUSE_ZLIB \
@@ -17,7 +17,8 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcheck ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pngcheck
+ ${INSTALL_MAN} ${WRKSRC}/pngcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/pngcheck
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/pngcheck/PLIST
diff -u pkgsrc/graphics/pngcheck/PLIST:1.2 pkgsrc/graphics/pngcheck/PLIST:1.3
--- pkgsrc/graphics/pngcheck/PLIST:1.2 Sun Jun 14 17:59:25 2009
+++ pkgsrc/graphics/pngcheck/PLIST Mon Dec 15 21:06:00 2025
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:59:25 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/12/15 21:06:00 wiz Exp $
bin/pngcheck
-share/doc/pngcheck/README
+man/man1/pngcheck.1
+share/doc/pngcheck/README.md
Index: pkgsrc/graphics/pngcheck/distinfo
diff -u pkgsrc/graphics/pngcheck/distinfo:1.6 pkgsrc/graphics/pngcheck/distinfo:1.7
--- pkgsrc/graphics/pngcheck/distinfo:1.6 Wed Dec 14 14:33:24 2022
+++ pkgsrc/graphics/pngcheck/distinfo Mon Dec 15 21:06:01 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/12/14 14:33:24 fcambus Exp $
+$NetBSD: distinfo,v 1.7 2025/12/15 21:06:01 wiz Exp $
-BLAKE2s (pngcheck-3.0.3.tar.gz) = b70f4828b5b096595a524f20bca5eb84746c5e9920459aacaa90d00cd212ae7d
-SHA512 (pngcheck-3.0.3.tar.gz) = cdb2620cb508f9df748bd3e9cb657d2c503a1f62171f497f1ff1e0f220287364829f03164869567c83b5797d8bc478495ad6c35860196812ef8262fce4cbff26
-Size (pngcheck-3.0.3.tar.gz) = 63766 bytes
+BLAKE2s (pngcheck-4.0.1.tar.gz) = d0656397193fdf8fa91f6228bd7fa9089117b5cd00721a745888c7505322c9ec
+SHA512 (pngcheck-4.0.1.tar.gz) = de4bf642e9f0856ba394d00f86439f4ed3fa2a6d50b962e5489f6e3217d3fbb9878813a22399180fb8d1cbda43d89ac915b2362bb5b52da7269bbe399ac3f552
+Size (pngcheck-4.0.1.tar.gz) = 59997 bytes
+SHA1 (patch-pngcheck.c) = 52f65dd026304ba38a9bf53be0b0943e73079790
Added files:
Index: pkgsrc/graphics/pngcheck/patches/patch-pngcheck.c
diff -u /dev/null pkgsrc/graphics/pngcheck/patches/patch-pngcheck.c:1.1
--- /dev/null Mon Dec 15 21:06:01 2025
+++ pkgsrc/graphics/pngcheck/patches/patch-pngcheck.c Mon Dec 15 21:06:01 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-pngcheck.c,v 1.1 2025/12/15 21:06:01 wiz Exp $
+
+Fix build on NetBSD.
+https://github.com/pnggroup/pngcheck/pull/63
+
+--- pngcheck.c.orig 2025-12-15 21:02:58.149679413 +0000
++++ pngcheck.c
+@@ -126,7 +126,7 @@
+ # endif
+ #endif
+
+-#if defined(unix) || (defined(__MWERKS__) && defined(macintosh)) /* pxm */
++#if defined(unix) || defined(__NetBSD__) || (defined(__MWERKS__) && defined(macintosh)) /* pxm */
+ # include <unistd.h> /* isatty() */
+ #endif
+ #if defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
Home |
Main Index |
Thread Index |
Old Index