6 Commits

6 changed files with 56 additions and 38 deletions

2
.gitattributes vendored
View File

@@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
pngcheck-4.0.1.tar.bz filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,25 +0,0 @@
Index: pngcheck-3.0.0/Makefile.unx
===================================================================
--- pngcheck-3.0.0.orig/Makefile.unx 2020-12-28 16:45:09.240554797 +0100
+++ pngcheck-3.0.0/Makefile.unx 2020-12-28 16:59:51.906204244 +0100
@@ -18,18 +18,12 @@
# macros --------------------------------------------------------------------
-ZPATH = ../zlib
-ZINC = -I$(ZPATH)
-ZLIB = -L$(ZPATH) -lz
-#ZLIB = $(ZPATH)/libz.a
-
-INCS = $(ZINC)
-LIBS = $(ZLIB)
+LIBS = -lz
CC = gcc
LD = gcc
RM = rm
-CFLAGS = -O -Wall $(INCS) -DUSE_ZLIB
+CFLAGS = -O -Wall -DUSE_ZLIB
# [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
O = .o
E =

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c36a4491634af751f7798ea421321642f9590faa032eccb0dd5fb4533609dee6
size 63766

3
pngcheck-4.0.1.tar.bz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a24ac2348efca5895e9d6f53fd316f3d5c409ab92a74b2b8106541759304da53
size 59997

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Mon Dec 22 13:55:31 UTC 2025 - Petr Gajdos <pgajdos@suse.com>
- version update to 4.0.1
* Removed gpl/pngsplit and gpl/png-fix-IDAT-windowsize from this
project; we're moving them to a new home
* test for tIME valid day in month
* Add cICP autodetect for BT.601 PAL, SECAM and NTSC
* Add test for missing cICP, if mDCV is present
* Removed the need to define the WIN32 macro for Windows builds
* Required the zlib library as a non-optional dependency, and
removed the need to define the USE_ZLIB macro externally
* Added third_party/wildargs to auto-expand wildcard arguments
* Prevent hard fails on chunks of unknown type in compliance with
PNG spec. By Maxim Samsonov (Ribose), metanorma/pngcheck-metanorma#1.
* Added CI workflows and Windows Makefiles (MSVC and MinGW) for GitHub
Actions on Linux, macOS, and Windows.
* Added iDOT support
* Added (minimal) caBX support for PNG 4th Edition
- deleted patches
* fixbuild.diff (upstreamed)
* pngcheck-fix-signedness-comparsion-issue.patch (upstreamed)
* pngcheck-remove-auxiliary-tools.patch (upstreamed)
* pngcheck-remove-incorrect-checks.patch (upstreamed)
-------------------------------------------------------------------
Mon Sep 8 13:08:34 UTC 2025 - pgajdos@suse.com
- version update to 4.0.0
* Coding Independent Code Points cICP
* Mastering Display Color Volume mDCV
* Content Light Level Information cLLI
* Animated PNG acTL, fcTL and fdAT
- modified patches
% fixbuild.diff (refreshed)
- added patches
https://github.com/pnggroup/pngcheck/commit/7885b4420fac788679d13ba1f8a28f64ab099a45
+ pngcheck-fix-signedness-comparsion-issue.patch
https://github.com/pnggroup/pngcheck/commit/4c888f5d78b51904b160c6b75e3ff7b6a9612aab
+ pngcheck-remove-auxiliary-tools.patch
- added sources
+ pngcheck-4.0.0.tar.bz
-------------------------------------------------------------------
Thu Feb 22 07:22:49 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,8 @@
#
# spec file for package pngcheck
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +18,13 @@
Name: pngcheck
Version: 3.0.3
Version: 4.0.1
Release: 0
Summary: PNG file format checker
License: GPL-2.0-or-later AND HPND
License: HPND
Group: Productivity/Graphics/Other
URL: http://www.libpng.org/pub/png/apps/pngcheck.html
Source: http://www.libpng.org/pub/png/src/pngcheck-%{version}.tar.gz
Patch0: fixbuild.diff
URL: https://github.com/pnggroup/pngcheck
Source: https://github.com/pnggroup/pngcheck/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.bz
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -43,19 +43,17 @@ ORDR). This is a command-line program with batch capabilities (e.g.,
%autosetup -p1
%build
make %{?_smp_mflags} -f Makefile.unx
make %{?_smp_mflags}
%install
install -m 755 -d %{buildroot}%{_bindir}
install -m 755 %{name} %{buildroot}%{_bindir}/
install -m 755 pngsplit %{buildroot}%{_bindir}/
install -m 755 png-fix-IDAT-windowsize %{buildroot}%{_bindir}/
install -m 755 -d %{buildroot}%{_mandir}/man1/
install -m 0644 pngcheck.1 %{buildroot}%{_mandir}/man1/
%files
%defattr(-,root,root)
%doc CHANGELOG README gpl/COPYING
%doc CHANGELOG README.md LICENSE
%{_bindir}/*
%{_mandir}/man1/%{name}.1.gz