libpng 1.6.51-1 (znver1;aarch64;aarch64;znver1;x86_64) 2025-18025
0

Status testing
Submitter bero [@T] lindev.ch
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/559478
Packages
lib64png-1.6.51-1.znver1.binary
lib64png-debuginfo-1.6.51-1.znver1.debuginfo
lib64png-devel-1.6.51-1.znver1.binary
lib64png-static-devel-1.6.51-1.znver1.binary
libpng-1.6.51-1.znver1.binary
libpng-1.6.51-1.znver1.source
libpng-debuginfo-1.6.51-1.znver1.debuginfo
libpng-debugsource-1.6.51-1.znver1.binary
libpng-devel-1.6.51-1.znver1.binary
libpng-tools-1.6.51-1.znver1.binary
libpng-tools-debuginfo-1.6.51-1.znver1.debuginfo
lib64png-1.6.51-1.aarch64.binary
lib64png-debuginfo-1.6.51-1.aarch64.debuginfo
lib64png-devel-1.6.51-1.aarch64.binary
lib64png-static-devel-1.6.51-1.aarch64.binary
libpng-1.6.51-1.aarch64.source
libpng-debuginfo-1.6.51-1.aarch64.debuginfo
libpng-debugsource-1.6.51-1.aarch64.binary
libpng-tools-1.6.51-1.aarch64.binary
libpng-tools-debuginfo-1.6.51-1.aarch64.debuginfo
lib64png-1.6.51-1.aarch64.binary
lib64png-debuginfo-1.6.51-1.aarch64.debuginfo
lib64png-devel-1.6.51-1.aarch64.binary
lib64png-static-devel-1.6.51-1.aarch64.binary
libpng-1.6.51-1.aarch64.source
libpng-debuginfo-1.6.51-1.aarch64.debuginfo
libpng-debugsource-1.6.51-1.aarch64.binary
libpng-tools-1.6.51-1.aarch64.binary
libpng-tools-debuginfo-1.6.51-1.aarch64.debuginfo
lib64png-1.6.51-1.znver1.binary
lib64png-debuginfo-1.6.51-1.znver1.debuginfo
lib64png-devel-1.6.51-1.znver1.binary
lib64png-static-devel-1.6.51-1.znver1.binary
libpng-1.6.51-1.znver1.binary
libpng-1.6.51-1.znver1.source
libpng-debuginfo-1.6.51-1.znver1.debuginfo
libpng-debugsource-1.6.51-1.znver1.binary
libpng-devel-1.6.51-1.znver1.binary
libpng-tools-1.6.51-1.znver1.binary
libpng-tools-debuginfo-1.6.51-1.znver1.debuginfo
lib64png-1.6.51-1.x86_64.binary
lib64png-debuginfo-1.6.51-1.x86_64.debuginfo
lib64png-devel-1.6.51-1.x86_64.binary
lib64png-static-devel-1.6.51-1.x86_64.binary
libpng-1.6.51-1.x86_64.source
libpng-1.6.51-1.x86_64.binary
libpng-debuginfo-1.6.51-1.x86_64.debuginfo
libpng-debugsource-1.6.51-1.x86_64.binary
libpng-devel-1.6.51-1.x86_64.binary
libpng-tools-1.6.51-1.x86_64.binary
libpng-tools-debuginfo-1.6.51-1.x86_64.debuginfo
Build Date 2025-11-22 03:14:29 +0000 UTC
Last Updated 2025-11-22 03:34:48.787915821 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary bdb21c51e0ccdb4403e1f6c50b3b904611dd8747

commit bdb21c51e0ccdb4403e1f6c50b3b904611dd8747
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Sat Nov 22 03:48:43 2025 +0100
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Sat Nov 22 03:48:43 2025 +0100

    1.6.51
---
 .abf.yml                   |  2 +-
 libpng-fix-riscv-rvv.patch | 20 ++++++++++----------
 libpng.spec                |  7 ++++---
 3 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index fe6c3e0..a33bddf 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,3 +1,3 @@
 sources:
-  libpng-1.6.50.tar.xz: ecd92ba84628a8ace430706c85fd2fb26ba0882c
   libpng-1.6.50-apng.patch.gz: 29a02f1c54edb2941f5e46164ffbfb577a919df3
+  libpng-1.6.51.tar.xz: 8fd6ff93769fac269ab9197c106d4e0808521b04
diff --git a/libpng-fix-riscv-rvv.patch b/libpng-fix-riscv-rvv.patch
index cec0006..571cefc 100644
--- a/libpng-fix-riscv-rvv.patch
+++ b/libpng-fix-riscv-rvv.patch
@@ -1,18 +1,18 @@
-diff -up libpng-1.6.50/configure.ac.omv~ libpng-1.6.50/configure.ac
---- libpng-1.6.50/configure.ac.omv~	2025-11-13 22:46:50.903862699 +0000
-+++ libpng-1.6.50/configure.ac	2025-11-13 22:47:08.453926356 +0000
-@@ -711,7 +711,7 @@ then
- #ifndef COMPAT_HWCAP_ISA_V /* added in linux-6.5 */
- #error "COMPAT_HWCAP_ISA_V is not available"
- #endif
+diff -up libpng-1.6.51/configure.ac.2~ libpng-1.6.51/configure.ac
+--- libpng-1.6.51/configure.ac.2~	2025-11-21 22:01:00.000000000 +0100
++++ libpng-1.6.51/configure.ac	2025-11-22 03:46:47.591729585 +0100
+@@ -707,7 +707,7 @@ then
+ 
+    AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+ #include <riscv_vector.h>
 -int main() {
 +int main() __attribute__((target("arch=rv64gcv"))) {
     const float src[] = { 0.0f, 0.0f, 0.0f, 0.0f };
     uint64_t ptr[2] = {0x0908060504020100, 0xFFFFFFFF0E0D0C0A};
     vuint8m1_t a = __riscv_vreinterpret_v_u64m1_u8m1(__riscv_vle64_v_u64m1(ptr, 2));
-diff -up libpng-1.6.50/riscv/filter_rvv_intrinsics.c.omv~ libpng-1.6.50/riscv/filter_rvv_intrinsics.c
---- libpng-1.6.50/riscv/filter_rvv_intrinsics.c.omv~	2025-11-13 22:46:15.483734497 +0000
-+++ libpng-1.6.50/riscv/filter_rvv_intrinsics.c	2025-11-13 22:49:55.944537764 +0000
+diff -up libpng-1.6.51/riscv/filter_rvv_intrinsics.c.2~ libpng-1.6.51/riscv/filter_rvv_intrinsics.c
+--- libpng-1.6.51/riscv/filter_rvv_intrinsics.c.2~	2025-11-21 22:01:00.000000000 +0100
++++ libpng-1.6.51/riscv/filter_rvv_intrinsics.c	2025-11-22 03:46:02.039548434 +0100
 @@ -18,7 +18,7 @@
  
  #include <riscv_vector.h>
diff --git a/libpng.spec b/libpng.spec
index edfa885..99014a5 100644
--- a/libpng.spec
+++ b/libpng.spec
@@ -19,7 +19,7 @@
 
 Summary:	A library of functions for manipulating PNG image format files
 Name:		libpng
-Version:	1.6.50
+Version:	1.6.51
 Release:	1
 License:	zlib
 Group:		System/Libraries
@@ -28,8 +28,9 @@ Source0:	http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
 # (tpg) APNG support http://littlesvr.ca/apng/
 # (tpg) http://hp.vector.co.jp/authors/VA013651/freeSoftware/apng.html
 # (tpg) http://sourceforge.net/projects/libpng-apng/ <- use this one
-#Patch0 is ported from https://sourceforge.net/projects/libpng-apng/files/libpng16/1.6.40/libpng-1.6.40-apng.patch.gz
-Patch0:		https://downloads.sourceforge.net/project/libpng-apng/libpng16/%{version}/libpng-%{version}-apng.patch.gz
+# This should usually be set to %{version} -- but sometimes the apng patch is a bit behind.
+%define apng_version 1.6.50
+Patch0:		https://downloads.sourceforge.net/project/libpng-apng/libpng16/%{apng_version}/libpng-%{apng_version}-apng.patch.gz
 Patch1:		libpng-fix-riscv-rvv.patch
 
 BuildRequires:	pkgconfig(zlib)
Not Available

Nobody has submitted a vote for this package yet. Go test it, and vote!