Files
bpfire/lfs/libpng
Adolf Belka 4996d46902 libpng: Update to version 1.6.44
- Update from version 1.6.42 to 1.6.44
- Update of rootfile
- Changelog
    1.6.44
	  Hardened calculations in chroma handling to prevent overflows, and
	    relaxed a constraint in cHRM validation to accomodate the standard
	    ACES AP1 set of color primaries.
	    (Contributed by John Bowler)
	  Removed the ASM implementation of ARM Neon optimizations and updated
	    the build accordingly. Only the remaining C implementation shall be
	    used from now on, thus ensuring the support of the PAC/BTI security
	    features on ARM64.
	    (Contributed by Ross Burton and John Bowler)
	  Fixed the pickup of the PNG_HARDWARE_OPTIMIZATIONS option in the
	    CMake build on FreeBSD/amd64. This is an important performance fix
	    on this platform.
	  Applied various fixes and improvements to the CMake build.
	    (Contributed by Eric Riff, Benjamin Buch and Erik Scholz)
	  Added fuzzing targets for the simplified read API.
	    (Contributed by Mikhail Khachayants)
	  Fixed a build error involving pngtest.c under a custom config.
	    This was a regression introduced in a code cleanup in libpng-1.6.43.
	    (Contributed by Ben Wagner)
	  Fixed and improved the config files for AppVeyor CI and Travis CI.
    1.6.43
	  Fixed the row width check in png_check_IHDR().
	    This corrected a bug that was specific to the 16-bit platforms,
	    and removed a spurious compiler warning from the 64-bit builds.
	    (Reported by Jacek Caban; fixed by John Bowler)
	  Added eXIf chunk support to the push-mode reader in pngpread.c.
	    (Contributed by Chris Blume)
	  Added contrib/pngexif for the benefit of the users who would like
	    to inspect the content of eXIf chunks.
	  Added contrib/conftest/basic.dfa, a basic build-time configuration.
	    (Contributed by John Bowler)
	  Fixed a preprocessor condition in pngread.c that broke build-time
	    configurations like contrib/conftest/pngcp.dfa.
	    (Contributed by John Bowler)
	  Added CMake build support for LoongArch LSX.
	    (Contributed by GuXiWei)
	  Fixed a CMake build error that occurred under a peculiar state of the
	    dependency tree. This was a regression introduced in libpng-1.6.41.
	    (Contributed by Dan Rosser)
	  Marked the installed libpng headers as system headers in CMake.
	    (Contributed by Benjamin Buch)
	  Updated the build support for RISCOS.
	    (Contributed by Cameron Cawley)
	  Updated the makefiles to allow cross-platform builds to initialize
	    conventional make variables like AR and ARFLAGS.
	  Added various improvements to the CI scripts in areas like version
	    consistency verification and text linting.
	  Added version consistency verification to pngtest.c also.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-09-16 17:06:52 +00:00

79 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.6.44
THISAPP = libpng-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 61064dd83f40a7e2e60ff723a568b7d0cda95aa80621a211aee7127b9783fbfc20cd82a2fe2d03584cbf9ab77c5444e3e008ac5ccc7f64af6e858ebcbcb78822
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)