mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libpng: Version bump. 1.6.48 -> 1.6.50
@ 2025-07-06  8:01 Christian Melki
  2025-07-12 15:48 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2025-07-06  8:01 UTC (permalink / raw)
  To: ptxdist

https://sourceforge.net/p/libpng/code/ci/libpng16/tree/CHANGES

* Add RISC-V vector option.

* Re-add lost ARM NEON optimization. I removed this, misunderstanding
the work done.

* Disable automatic hardware optimization as it does not seem to get
ARM soft-float cases right. This relies on manual per arch selection.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/libpng.make | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/rules/libpng.make b/rules/libpng.make
index 07c6ea99b..5b0fa8977 100644
--- a/rules/libpng.make
+++ b/rules/libpng.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_LIBPNG) += libpng
 #
 # Paths and names
 #
-LIBPNG_VERSION	:= 1.6.48
-LIBPNG_MD5	:= 6ddbe2107e3811d51da698794b8fb4a2
+LIBPNG_VERSION	:= 1.6.50
+LIBPNG_MD5	:= e583e61455c4f40d565d85c0e9a2fbf9
 LIBPNG		:= libpng-$(LIBPNG_VERSION)
 LIBPNG_SUFFIX	:= tar.xz
 LIBPNG_URL	:= $(call ptx/mirror, SF, libpng/$(LIBPNG).$(LIBPNG_SUFFIX))
@@ -34,18 +34,21 @@ LIBPNG_LICENSE_FILES := \
 LIBPNG_WRAPPER_BLACKLIST := TARGET_DEBUG_FULL
 
 LIBPNG_CONF_TOOL:= autoconf
-LIBPNG_CONF_OPT := \
+LIBPNG_CONF_OPT  = \
 	$(CROSS_AUTOCONF_USR) \
 	--disable-tests \
 	--disable-tools \
 	--enable-unversioned-links \
 	--enable-unversioned-libpng-pc \
 	--enable-unversioned-libpng-config \
+	--disable-hardware-optimizations \
+	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-arm-neon \
 	--disable-mips-msa \
 	--disable-mips-mmi \
 	--$(call ptx/endis, PTXCONF_ARCH_X86)-intel-sse \
 	--disable-powerpc-vsx \
 	--disable-loongarch-lsx \
+	--$(call ptx/endis, PTXCONF_ARCH_RISCV)-riscv-rvv \
 	--with-binconfigs
 
 # ----------------------------------------------------------------------------
-- 
2.34.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] libpng: Version bump. 1.6.48 -> 1.6.50
  2025-07-06  8:01 [ptxdist] [PATCH] libpng: Version bump. 1.6.48 -> 1.6.50 Christian Melki
@ 2025-07-12 15:48 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-07-12 15:48 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as 5864fcaa672f50b3322d8aeaac3eea98f745cdc3.

Michael

[sent from post-receive hook]

On Sat, 12 Jul 2025 17:48:15 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> https://sourceforge.net/p/libpng/code/ci/libpng16/tree/CHANGES
> 
> * Add RISC-V vector option.
> 
> * Re-add lost ARM NEON optimization. I removed this, misunderstanding
> the work done.
> 
> * Disable automatic hardware optimization as it does not seem to get
> ARM soft-float cases right. This relies on manual per arch selection.
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20250706080146.4071125-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libpng.make b/rules/libpng.make
> index 07c6ea99b53c..a842038a41d7 100644
> --- a/rules/libpng.make
> +++ b/rules/libpng.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_LIBPNG) += libpng
>  #
>  # Paths and names
>  #
> -LIBPNG_VERSION	:= 1.6.48
> -LIBPNG_MD5	:= 6ddbe2107e3811d51da698794b8fb4a2
> +LIBPNG_VERSION	:= 1.6.50
> +LIBPNG_MD5	:= e583e61455c4f40d565d85c0e9a2fbf9
>  LIBPNG		:= libpng-$(LIBPNG_VERSION)
>  LIBPNG_SUFFIX	:= tar.xz
>  LIBPNG_URL	:= $(call ptx/mirror, SF, libpng/$(LIBPNG).$(LIBPNG_SUFFIX))
> @@ -41,11 +41,14 @@ LIBPNG_CONF_OPT := \
>  	--enable-unversioned-links \
>  	--enable-unversioned-libpng-pc \
>  	--enable-unversioned-libpng-config \
> +	--disable-hardware-optimizations \
> +	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-arm-neon \
>  	--disable-mips-msa \
>  	--disable-mips-mmi \
>  	--$(call ptx/endis, PTXCONF_ARCH_X86)-intel-sse \
>  	--disable-powerpc-vsx \
>  	--disable-loongarch-lsx \
> +	--$(call ptx/endis, PTXCONF_ARCH_RISCV)-riscv-rvv \
>  	--with-binconfigs
>  
>  # ----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-12 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-06  8:01 [ptxdist] [PATCH] libpng: Version bump. 1.6.48 -> 1.6.50 Christian Melki
2025-07-12 15:48 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox