Commit Graph

8 Commits

Author SHA1 Message Date
David Korth
120505d880 [libpng] Update: v1.6.46 -> v1.6.47
The APNG patch for v1.6.47 isn't out yet, so I hacked in some changes
to get the APNG code to build in pngrutil.c. In particular, the PNGv3
chromacity changes also modified pngrutil.c to use table-based dispatch
instead of an if/else. png_read_frame_head() doesn't use this yet, so
the APNG functions in pngrutil.c haven't been marked static yet, but
they do now return png_handle_result_code.

TODO: Rebase using the APNG patch once it's rebased for v1.6.47.

NOTE: PNGv3 apparently makes APNG part of the specification, so
libpng "should" gain built-in support for APNG without a patch at
some point.
2025-02-21 03:50:12 -05:00
David Korth
9de5720776 [libpng] Update: v1.6.44 -> v1.6.46
[debian] copyright: Update libpng.
2025-01-27 18:22:34 -05:00
David Korth
0fba585f24 [libpng] Update: v1.6.43 -> v1.6.44
[extlib] CMakeLists.txt: Set SKIP_INSTALL_CONFIG_FILE=ON.
New setting checked by the libpng-1.6.44 update.
2024-09-26 21:29:36 -04:00
David Korth
20d731aad7 [libpng] Update: v1.6.40 -> v1.6.42
[zlib-ng] Export zlib as ZLIB::ZLIB. This is needed by
libpng-1.6.42's CMakeLists.txt
2024-02-17 20:13:22 -05:00
David Korth
b86919a466 [libpng] Updated to libpng-1.6.36. 2019-01-12 14:15:39 -05:00
David Korth
00988f0a3c [libpng] Updated to libpng-1.6.31.
Note that two new functions were added to the original libpng, so the
ordinals for APNG were shifted over by two. This shouldn't be a problem,
since programs should be accessing functions by name instead of by
ordinal in 2017.
2017-07-28 00:20:18 -04:00
David Korth
5898b4b36f [libpng] Updated to libpng-1.6.26.
Added contrib/intel/. I'll apply this patch with a CPUID check
to allow it to be used on systems that don't have SSE2.
2016-11-02 22:51:05 -04:00
David Korth
842d020bde [libpng] Initial import of libpng-1.6.23 from GCN MemCard Recover.
I've decided to get rid of the GDI+ PNG handling. It doesn't improve
anything performance-wise, adds coding overhead, and probably isn't
any faster than libpng.

GDI+ also doesn't support APNG. This version does.

NOTE: If I add APNG export, I'll need to use the included libpng
in Ubuntu builds, since Ubuntu still has libpng-1.2, and it's a
version that doesn't support APNG.

Reworked the bundled library system to be similar to the one in
mcrecover, but improved.

Added "-fpic -fPIC" to all extlib static libraries when building
for Linux systems. This is needed for libpng, but might not be
needed for other libraries; nevertheless, it should be set.

TODO: Use libpng in the Windows build. It's being linked in,
but it isn't actually being used for anything yet.
2016-11-02 21:45:51 -04:00