Libpng was written as a companion to the PNG specification, as a
way to reduce the amount of time and effort it takes to support
the PNG file format in application programs. Most users will not
have to modify the library significantly; advanced users may want
to modify it more. The library was coded for both users. All
attempts were made to make it as complete as possible, while
keeping the code easy to understand. Currently, this library
only supports C. Support for other languages is being considered.
LICENSE: libpng license
http://libpng.sourceforge.net/
===> The following configuration options are available for png-1.6.59_1:
APNG=on: Enable Animated PNG support
SIMD=on: Use CPU-specific optimizations
===> Use 'make config' to modify these settings
graphics/png: security update to 1.6.52
Note this isn't the offered patch from the PR, but one that
instead puts the APNG patch version into a variable.
Reported by: FiLiS
Approved by: desktop@ (vishwin)
PR: 291266
MFH: 2025Q4 (after a few days)
png -- Multiple vulnerabilities
Security: CVE-2025-64505
Security: CVE-2025-64506
Security: CVE-2025-64720
Security: CVE-2025-65018
Security: 4b297f5a-cbad-11f0-ac9f-b42e991fc52e
png -- Out-of-bounds read
Security: CVE-2025-66293
Security: f323f148-d181-11f0-841f-843a4b343614
graphics/png: Fix plist issue with DEBUG enabled
Make sure filenames stay the same when using framework debug flag
Reported by: bofh
Approved by: portmgr (blanket, build fix)
graphics/png: exclude SIMD from armv{6,7} in QEMU_EMULATING
The current version added an assert for ARM NEON detection, which
is not supported under QEMU_EMULATING, so the build fails. Prevent
exposing the SIMD option in this case.
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D37212
Move more WWW entries from pkg-descr files into Makefiles
The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.
Approved by: portmgr (implicit)
graphics: Give ports maintained by portmgr to desktop@
These ports were traditionally maintained by portmgr@ to ensure
that they receive an exp-run.
Let's entrust them to desktop@ with a stern "remember to exp-run".
Approved by: rene
Differential Revision: https://reviews.freebsd.org/D36316
graphics/png: fix build with clang 15
Building png with clang 15 results in an error:
contrib/libtests/pngvalid.c:11662:4: error: call to undeclared function
'feenableexcept'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
^
This is because clang 15 introduced this new warning, and fenv.h only
declares feenableexcept() when compiling for C standards before C11.
The least disruptive way to solve this is to make the port build with
USE_CSTD=gnu89.
PR: 265521
Approved by: portmgr (antoine)
MFH: 2022Q3
graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Abel Chow <ozsanh45vds001@sneakemail.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Ade Lovett <ade@lovett.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Hayward <xelah@xelah.com>
* Alex Ivasyuv <siegerstein@pochta.ru>
* Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above )
graphics/png: add SIMD option
It's enabled by default on aarch64, amd64 and powerpc64le, which should have
optimizations that are enabled in their baselines (NEON, SSE2 and VSX
respectively).
PR: 251173
Approved by: antoine@ (maintainer)
Do not fail the build if regression tests do not pass, there seems to
be a regression on big endian archs between versions 1.6.19 and 1.6.20
(reported upstream)
PR: 205125
MFH: 2015Q4
Switch build system from cmake to GNU configure
There are 2 benefits:
- Reduced number of build dependencies (0 now)
- This fixes build on arm64, as configure/Makefile are more updated than
CMakeLists.txt (CMakeLists.txt doesn't know about the arm/arm_init.c
and arm/filter_neon_intrinsics.c files)
PR: 201425
Tested by: Andrew Turner (on arm64)
- Update graphics/png to 1.6.16
- Patch oolite to build with this new version
A portrevision bump will follow soon
Differential Revision: https://reviews.freebsd.org/D1360
Submitted by: bapt
Exp-run: self
- set FROBIDDEN
Security: CVE-2011-3048
the updated versions 1.4.9 and 1.4.11 can not be build without disabling
features.
Update to 1.5.x cant be done while porst are frozen.
Feature safe: yes
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it
PR: ports/146329
Submitted by: mm
With hat: portmgr