automatic version update by autodist [release 1.6.46-1mamba;Sun Jan 26 2025]
This commit is contained in:
parent
0b262753c4
commit
e757c28270
@ -1,6 +1,6 @@
|
||||
diff -Naru libpng-1.6.45.org/png.h libpng-1.6.45/png.h
|
||||
--- libpng-1.6.45.org/png.h 2025-01-10 15:56:19.711319390 +0900
|
||||
+++ libpng-1.6.45/png.h 2025-01-10 19:02:26.130020487 +0900
|
||||
diff -Naru libpng-1.6.46.org/png.h libpng-1.6.46/png.h
|
||||
--- libpng-1.6.46.org/png.h 2025-01-26 08:07:35.397600406 +0900
|
||||
+++ libpng-1.6.46/png.h 2025-01-26 09:20:38.643825794 +0900
|
||||
@@ -328,6 +328,10 @@
|
||||
# include "pnglibconf.h"
|
||||
#endif
|
||||
@ -30,18 +30,7 @@ diff -Naru libpng-1.6.45.org/png.h libpng-1.6.45/png.h
|
||||
/* This triggers a compiler error in png.c, if png.c and png.h
|
||||
* do not agree upon the version number.
|
||||
*/
|
||||
@@ -745,6 +760,10 @@
|
||||
#define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
|
||||
#define PNG_INFO_eXIf 0x10000U /* GR-P, 1.6.31 */
|
||||
#define PNG_INFO_cICP 0x20000U
|
||||
+#ifdef PNG_APNG_SUPPORTED
|
||||
+#define PNG_INFO_acTL 0x40000U
|
||||
+#define PNG_INFO_fcTL 0x80000U
|
||||
+#endif
|
||||
|
||||
/* This is used for the transformation routines, as some of them
|
||||
* change these values for the row. It also should enable using
|
||||
@@ -782,6 +801,10 @@
|
||||
@@ -796,6 +811,10 @@
|
||||
#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
|
||||
typedef PNG_CALLBACK(void, *png_progressive_info_ptr, (png_structp, png_infop));
|
||||
typedef PNG_CALLBACK(void, *png_progressive_end_ptr, (png_structp, png_infop));
|
||||
@ -52,75 +41,75 @@ diff -Naru libpng-1.6.45.org/png.h libpng-1.6.45/png.h
|
||||
|
||||
/* The following callback receives png_uint_32 row_number, int pass for the
|
||||
* png_bytep data of the row. When transforming an interlaced image the
|
||||
@@ -3241,6 +3264,75 @@
|
||||
@@ -3338,6 +3357,75 @@
|
||||
* END OF HARDWARE AND SOFTWARE OPTIONS
|
||||
******************************************************************************/
|
||||
|
||||
+#ifdef PNG_APNG_SUPPORTED
|
||||
+PNG_EXPORT(252, png_uint_32, png_get_acTL, (png_structp png_ptr,
|
||||
+PNG_EXPORT(260, png_uint_32, png_get_acTL, (png_structp png_ptr,
|
||||
+ png_infop info_ptr, png_uint_32 *num_frames, png_uint_32 *num_plays));
|
||||
+
|
||||
+PNG_EXPORT(253, png_uint_32, png_set_acTL, (png_structp png_ptr,
|
||||
+PNG_EXPORT(261, png_uint_32, png_set_acTL, (png_structp png_ptr,
|
||||
+ png_infop info_ptr, png_uint_32 num_frames, png_uint_32 num_plays));
|
||||
+
|
||||
+PNG_EXPORT(254, png_uint_32, png_get_num_frames, (png_structp png_ptr,
|
||||
+PNG_EXPORT(262, png_uint_32, png_get_num_frames, (png_structp png_ptr,
|
||||
+ png_infop info_ptr));
|
||||
+
|
||||
+PNG_EXPORT(255, png_uint_32, png_get_num_plays, (png_structp png_ptr,
|
||||
+PNG_EXPORT(263, png_uint_32, png_get_num_plays, (png_structp png_ptr,
|
||||
+ png_infop info_ptr));
|
||||
+
|
||||
+PNG_EXPORT(256, png_uint_32, png_get_next_frame_fcTL,
|
||||
+PNG_EXPORT(264, png_uint_32, png_get_next_frame_fcTL,
|
||||
+ (png_structp png_ptr, png_infop info_ptr, png_uint_32 *width,
|
||||
+ png_uint_32 *height, png_uint_32 *x_offset, png_uint_32 *y_offset,
|
||||
+ png_uint_16 *delay_num, png_uint_16 *delay_den, png_byte *dispose_op,
|
||||
+ png_byte *blend_op));
|
||||
+
|
||||
+PNG_EXPORT(257, png_uint_32, png_set_next_frame_fcTL,
|
||||
+PNG_EXPORT(265, png_uint_32, png_set_next_frame_fcTL,
|
||||
+ (png_structp png_ptr, png_infop info_ptr, png_uint_32 width,
|
||||
+ png_uint_32 height, png_uint_32 x_offset, png_uint_32 y_offset,
|
||||
+ png_uint_16 delay_num, png_uint_16 delay_den, png_byte dispose_op,
|
||||
+ png_byte blend_op));
|
||||
+
|
||||
+PNG_EXPORT(258, png_uint_32, png_get_next_frame_width,
|
||||
+PNG_EXPORT(266, png_uint_32, png_get_next_frame_width,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(259, png_uint_32, png_get_next_frame_height,
|
||||
+PNG_EXPORT(267, png_uint_32, png_get_next_frame_height,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(260, png_uint_32, png_get_next_frame_x_offset,
|
||||
+PNG_EXPORT(268, png_uint_32, png_get_next_frame_x_offset,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(261, png_uint_32, png_get_next_frame_y_offset,
|
||||
+PNG_EXPORT(269, png_uint_32, png_get_next_frame_y_offset,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(262, png_uint_16, png_get_next_frame_delay_num,
|
||||
+PNG_EXPORT(270, png_uint_16, png_get_next_frame_delay_num,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(263, png_uint_16, png_get_next_frame_delay_den,
|
||||
+PNG_EXPORT(271, png_uint_16, png_get_next_frame_delay_den,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(264, png_byte, png_get_next_frame_dispose_op,
|
||||
+PNG_EXPORT(272, png_byte, png_get_next_frame_dispose_op,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(265, png_byte, png_get_next_frame_blend_op,
|
||||
+PNG_EXPORT(273, png_byte, png_get_next_frame_blend_op,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(266, png_byte, png_get_first_frame_is_hidden,
|
||||
+PNG_EXPORT(274, png_byte, png_get_first_frame_is_hidden,
|
||||
+ (png_structp png_ptr, png_infop info_ptr));
|
||||
+PNG_EXPORT(267, png_uint_32, png_set_first_frame_is_hidden,
|
||||
+PNG_EXPORT(275, png_uint_32, png_set_first_frame_is_hidden,
|
||||
+ (png_structp png_ptr, png_infop info_ptr, png_byte is_hidden));
|
||||
+
|
||||
+#ifdef PNG_READ_APNG_SUPPORTED
|
||||
+PNG_EXPORT(268, void, png_read_frame_head, (png_structp png_ptr,
|
||||
+PNG_EXPORT(276, void, png_read_frame_head, (png_structp png_ptr,
|
||||
+ png_infop info_ptr));
|
||||
+#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
|
||||
+PNG_EXPORT(269, void, png_set_progressive_frame_fn, (png_structp png_ptr,
|
||||
+PNG_EXPORT(277, void, png_set_progressive_frame_fn, (png_structp png_ptr,
|
||||
+ png_progressive_frame_ptr frame_info_fn,
|
||||
+ png_progressive_frame_ptr frame_end_fn));
|
||||
+#endif /* PNG_PROGRESSIVE_READ_SUPPORTED */
|
||||
+#endif /* PNG_READ_APNG_SUPPORTED */
|
||||
+
|
||||
+#ifdef PNG_WRITE_APNG_SUPPORTED
|
||||
+PNG_EXPORT(270, void, png_write_frame_head, (png_structp png_ptr,
|
||||
+PNG_EXPORT(278, void, png_write_frame_head, (png_structp png_ptr,
|
||||
+ png_infop info_ptr, png_bytepp row_pointers,
|
||||
+ png_uint_32 width, png_uint_32 height,
|
||||
+ png_uint_32 x_offset, png_uint_32 y_offset,
|
||||
+ png_uint_16 delay_num, png_uint_16 delay_den, png_byte dispose_op,
|
||||
+ png_byte blend_op));
|
||||
+
|
||||
+PNG_EXPORT(271, void, png_write_frame_tail, (png_structp png_ptr,
|
||||
+PNG_EXPORT(279, void, png_write_frame_tail, (png_structp png_ptr,
|
||||
+ png_infop info_ptr));
|
||||
+#endif /* PNG_WRITE_APNG_SUPPORTED */
|
||||
+#endif /* PNG_APNG_SUPPORTED */
|
||||
@ -128,22 +117,22 @@ diff -Naru libpng-1.6.45.org/png.h libpng-1.6.45/png.h
|
||||
/* Maintainer: Put new public prototypes here ^, in libpng.3, in project
|
||||
* defs, and in scripts/symbols.def.
|
||||
*/
|
||||
@@ -3249,7 +3341,11 @@
|
||||
@@ -3346,7 +3434,11 @@
|
||||
* one to use is one more than this.)
|
||||
*/
|
||||
#ifdef PNG_EXPORT_LAST_ORDINAL
|
||||
+#ifdef PNG_APNG_SUPPORTED
|
||||
+ PNG_EXPORT_LAST_ORDINAL(271);
|
||||
+ PNG_EXPORT_LAST_ORDINAL(279);
|
||||
+#else
|
||||
PNG_EXPORT_LAST_ORDINAL(251);
|
||||
PNG_EXPORT_LAST_ORDINAL(259);
|
||||
+#endif /* PNG_APNG_SUPPORTED */
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
diff -Naru libpng-1.6.45.org/pngget.c libpng-1.6.45/pngget.c
|
||||
--- libpng-1.6.45.org/pngget.c 2025-01-10 15:56:19.711319390 +0900
|
||||
+++ libpng-1.6.45/pngget.c 2025-01-10 19:02:26.130020487 +0900
|
||||
@@ -1288,4 +1288,166 @@
|
||||
diff -Naru libpng-1.6.46.org/pngget.c libpng-1.6.46/pngget.c
|
||||
--- libpng-1.6.46.org/pngget.c 2025-01-26 08:07:01.591606746 +0900
|
||||
+++ libpng-1.6.46/pngget.c 2025-01-26 08:37:47.941894088 +0900
|
||||
@@ -1393,4 +1393,166 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@ -310,10 +299,10 @@ diff -Naru libpng-1.6.45.org/pngget.c libpng-1.6.45/pngget.c
|
||||
+}
|
||||
+#endif /* PNG_APNG_SUPPORTED */
|
||||
#endif /* READ || WRITE */
|
||||
diff -Naru libpng-1.6.45.org/pnginfo.h libpng-1.6.45/pnginfo.h
|
||||
--- libpng-1.6.45.org/pnginfo.h 2025-01-10 15:56:19.711319390 +0900
|
||||
+++ libpng-1.6.45/pnginfo.h 2025-01-10 19:02:26.130020487 +0900
|
||||
@@ -270,5 +270,18 @@
|
||||
diff -Naru libpng-1.6.46.org/pnginfo.h libpng-1.6.46/pnginfo.h
|
||||
--- libpng-1.6.46.org/pnginfo.h 2025-01-26 08:07:01.591606746 +0900
|
||||
+++ libpng-1.6.46/pnginfo.h 2025-01-26 08:37:47.941894088 +0900
|
||||
@@ -288,5 +288,18 @@
|
||||
png_bytepp row_pointers; /* the image bits */
|
||||
#endif
|
||||
|
||||
@ -332,9 +321,9 @@ diff -Naru libpng-1.6.45.org/pnginfo.h libpng-1.6.45/pnginfo.h
|
||||
+
|
||||
};
|
||||
#endif /* PNGINFO_H */
|
||||
diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
--- libpng-1.6.45.org/pngpread.c 2025-01-10 15:56:19.712319390 +0900
|
||||
+++ libpng-1.6.45/pngpread.c 2025-01-10 19:02:26.130020487 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngpread.c libpng-1.6.46/pngpread.c
|
||||
--- libpng-1.6.46.org/pngpread.c 2025-01-26 08:07:01.591606746 +0900
|
||||
+++ libpng-1.6.46/pngpread.c 2025-01-26 08:37:47.941894088 +0900
|
||||
@@ -209,6 +209,106 @@
|
||||
|
||||
chunk_name = png_ptr->chunk_name;
|
||||
@ -452,7 +441,7 @@ diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
png_ptr->idat_size = png_ptr->push_length;
|
||||
png_ptr->process_mode = PNG_READ_IDAT_MODE;
|
||||
png_push_have_info(png_ptr, info_ptr);
|
||||
@@ -436,6 +539,30 @@
|
||||
@@ -452,6 +555,30 @@
|
||||
png_handle_iTXt(png_ptr, info_ptr, png_ptr->push_length);
|
||||
}
|
||||
#endif
|
||||
@ -483,7 +472,7 @@ diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
|
||||
else
|
||||
{
|
||||
@@ -569,7 +696,11 @@
|
||||
@@ -585,7 +712,11 @@
|
||||
png_byte chunk_tag[4];
|
||||
|
||||
/* TODO: this code can be commoned up with the same code in push_read */
|
||||
@ -495,7 +484,7 @@ diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
png_push_fill_buffer(png_ptr, chunk_length, 4);
|
||||
png_ptr->push_length = png_get_uint_31(png_ptr, chunk_length);
|
||||
png_reset_crc(png_ptr);
|
||||
@@ -577,17 +708,64 @@
|
||||
@@ -593,17 +724,64 @@
|
||||
png_ptr->chunk_name = PNG_CHUNK_FROM_STRING(chunk_tag);
|
||||
png_ptr->mode |= PNG_HAVE_CHUNK_HEADER;
|
||||
|
||||
@ -560,7 +549,7 @@ diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
}
|
||||
|
||||
if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0)
|
||||
@@ -661,6 +839,15 @@
|
||||
@@ -677,6 +855,15 @@
|
||||
if (!(buffer_length > 0) || buffer == NULL)
|
||||
png_error(png_ptr, "No IDAT data (internal error)");
|
||||
|
||||
@ -576,7 +565,7 @@ diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
/* This routine must process all the data it has been given
|
||||
* before returning, calling the row callback as required to
|
||||
* handle the uncompressed results.
|
||||
@@ -1094,6 +1281,18 @@
|
||||
@@ -1110,6 +1297,18 @@
|
||||
png_set_read_fn(png_ptr, progressive_ptr, png_push_fill_buffer);
|
||||
}
|
||||
|
||||
@ -595,9 +584,9 @@ diff -Naru libpng-1.6.45.org/pngpread.c libpng-1.6.45/pngpread.c
|
||||
png_voidp PNGAPI
|
||||
png_get_progressive_ptr(png_const_structrp png_ptr)
|
||||
{
|
||||
diff -Naru libpng-1.6.45.org/pngpriv.h libpng-1.6.45/pngpriv.h
|
||||
--- libpng-1.6.45.org/pngpriv.h 2025-01-10 15:56:19.712319390 +0900
|
||||
+++ libpng-1.6.45/pngpriv.h 2025-01-10 19:02:26.131020486 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngpriv.h libpng-1.6.46/pngpriv.h
|
||||
--- libpng-1.6.46.org/pngpriv.h 2025-01-26 08:07:01.591606746 +0900
|
||||
+++ libpng-1.6.46/pngpriv.h 2025-01-26 08:37:47.942894086 +0900
|
||||
@@ -620,6 +620,10 @@
|
||||
#define PNG_HAVE_CHUNK_AFTER_IDAT 0x2000U /* Have another chunk after IDAT */
|
||||
#define PNG_WROTE_eXIf 0x4000U
|
||||
@ -609,7 +598,7 @@ diff -Naru libpng-1.6.45.org/pngpriv.h libpng-1.6.45/pngpriv.h
|
||||
|
||||
/* Flags for the transformations the PNG library does on the image data */
|
||||
#define PNG_BGR 0x0001U
|
||||
@@ -857,6 +861,16 @@
|
||||
@@ -861,6 +865,16 @@
|
||||
#define png_tRNS PNG_U32(116, 82, 78, 83)
|
||||
#define png_zTXt PNG_U32(122, 84, 88, 116)
|
||||
|
||||
@ -626,7 +615,7 @@ diff -Naru libpng-1.6.45.org/pngpriv.h libpng-1.6.45/pngpriv.h
|
||||
/* The following will work on (signed char*) strings, whereas the get_uint_32
|
||||
* macro will fail on top-bit-set values because of the sign extension.
|
||||
*/
|
||||
@@ -1673,6 +1687,47 @@
|
||||
@@ -1709,6 +1723,47 @@
|
||||
*/
|
||||
#endif
|
||||
|
||||
@ -674,9 +663,9 @@ diff -Naru libpng-1.6.45.org/pngpriv.h libpng-1.6.45/pngpriv.h
|
||||
/* Added at libpng version 1.4.0 */
|
||||
#ifdef PNG_COLORSPACE_SUPPORTED
|
||||
/* These internal functions are for maintaining the colorspace structure within
|
||||
diff -Naru libpng-1.6.45.org/pngread.c libpng-1.6.45/pngread.c
|
||||
--- libpng-1.6.45.org/pngread.c 2025-01-10 15:56:19.712319390 +0900
|
||||
+++ libpng-1.6.45/pngread.c 2025-01-10 19:02:26.131020486 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngread.c libpng-1.6.46/pngread.c
|
||||
--- libpng-1.6.46.org/pngread.c 2025-01-26 08:07:01.592606746 +0900
|
||||
+++ libpng-1.6.46/pngread.c 2025-01-26 08:37:47.942894086 +0900
|
||||
@@ -160,6 +160,9 @@
|
||||
|
||||
else if (chunk_name == png_IDAT)
|
||||
@ -687,7 +676,7 @@ diff -Naru libpng-1.6.45.org/pngread.c libpng-1.6.45/pngread.c
|
||||
png_ptr->idat_size = length;
|
||||
break;
|
||||
}
|
||||
@@ -259,6 +262,17 @@
|
||||
@@ -269,6 +272,17 @@
|
||||
png_handle_iTXt(png_ptr, info_ptr, length);
|
||||
#endif
|
||||
|
||||
@ -705,7 +694,7 @@ diff -Naru libpng-1.6.45.org/pngread.c libpng-1.6.45/pngread.c
|
||||
else
|
||||
png_handle_unknown(png_ptr, info_ptr, length,
|
||||
PNG_HANDLE_CHUNK_AS_DEFAULT);
|
||||
@@ -266,6 +280,72 @@
|
||||
@@ -276,6 +290,72 @@
|
||||
}
|
||||
#endif /* SEQUENTIAL_READ */
|
||||
|
||||
@ -778,9 +767,9 @@ diff -Naru libpng-1.6.45.org/pngread.c libpng-1.6.45/pngread.c
|
||||
/* Optional call to update the users info_ptr structure */
|
||||
void PNGAPI
|
||||
png_read_update_info(png_structrp png_ptr, png_inforp info_ptr)
|
||||
diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
--- libpng-1.6.45.org/pngrutil.c 2025-01-10 15:56:19.713319389 +0900
|
||||
+++ libpng-1.6.45/pngrutil.c 2025-01-10 19:02:26.132020484 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngrutil.c libpng-1.6.46/pngrutil.c
|
||||
--- libpng-1.6.46.org/pngrutil.c 2025-01-26 08:07:01.592606746 +0900
|
||||
+++ libpng-1.6.46/pngrutil.c 2025-01-26 08:37:47.943894084 +0900
|
||||
@@ -877,6 +877,11 @@
|
||||
filter_type = buf[11];
|
||||
interlace_type = buf[12];
|
||||
@ -793,7 +782,7 @@ diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
/* Set internal variables */
|
||||
png_ptr->width = width;
|
||||
png_ptr->height = height;
|
||||
@@ -2912,6 +2917,179 @@
|
||||
@@ -3017,6 +3022,179 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -973,7 +962,7 @@ diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
#ifdef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
|
||||
/* Utility function for png_handle_unknown; set up png_ptr::unknown_chunk */
|
||||
static int
|
||||
@@ -4216,7 +4394,38 @@
|
||||
@@ -4321,7 +4499,38 @@
|
||||
{
|
||||
uInt avail_in;
|
||||
png_bytep buffer;
|
||||
@ -1012,7 +1001,7 @@ diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
while (png_ptr->idat_size == 0)
|
||||
{
|
||||
png_crc_finish(png_ptr, 0);
|
||||
@@ -4228,7 +4437,7 @@
|
||||
@@ -4333,7 +4542,7 @@
|
||||
if (png_ptr->chunk_name != png_IDAT)
|
||||
png_error(png_ptr, "Not enough image data");
|
||||
}
|
||||
@ -1021,7 +1010,7 @@ diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
avail_in = png_ptr->IDAT_read_size;
|
||||
|
||||
if (avail_in > png_ptr->idat_size)
|
||||
@@ -4291,6 +4500,9 @@
|
||||
@@ -4396,6 +4605,9 @@
|
||||
|
||||
png_ptr->mode |= PNG_AFTER_IDAT;
|
||||
png_ptr->flags |= PNG_FLAG_ZSTREAM_ENDED;
|
||||
@ -1031,7 +1020,7 @@ diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
|
||||
if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0)
|
||||
png_chunk_benign_error(png_ptr, "Extra compressed data");
|
||||
@@ -4700,4 +4912,80 @@
|
||||
@@ -4805,4 +5017,80 @@
|
||||
|
||||
png_ptr->flags |= PNG_FLAG_ROW_INIT;
|
||||
}
|
||||
@ -1112,10 +1101,10 @@ diff -Naru libpng-1.6.45.org/pngrutil.c libpng-1.6.45/pngrutil.c
|
||||
+#endif /* PNG_PROGRESSIVE_READ_SUPPORTED */
|
||||
+#endif /* PNG_READ_APNG_SUPPORTED */
|
||||
#endif /* READ */
|
||||
diff -Naru libpng-1.6.45.org/pngset.c libpng-1.6.45/pngset.c
|
||||
--- libpng-1.6.45.org/pngset.c 2025-01-10 15:56:19.713319389 +0900
|
||||
+++ libpng-1.6.45/pngset.c 2025-01-10 19:02:26.133020483 +0900
|
||||
@@ -305,6 +305,11 @@
|
||||
diff -Naru libpng-1.6.46.org/pngset.c libpng-1.6.46/pngset.c
|
||||
--- libpng-1.6.46.org/pngset.c 2025-01-26 08:07:01.592606746 +0900
|
||||
+++ libpng-1.6.46/pngset.c 2025-01-26 08:37:47.943894084 +0900
|
||||
@@ -457,6 +457,11 @@
|
||||
info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth);
|
||||
|
||||
info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, width);
|
||||
@ -1127,7 +1116,7 @@ diff -Naru libpng-1.6.45.org/pngset.c libpng-1.6.45/pngset.c
|
||||
}
|
||||
|
||||
#ifdef PNG_oFFs_SUPPORTED
|
||||
@@ -1176,6 +1181,147 @@
|
||||
@@ -1328,6 +1333,147 @@
|
||||
}
|
||||
#endif /* sPLT */
|
||||
|
||||
@ -1275,9 +1264,9 @@ diff -Naru libpng-1.6.45.org/pngset.c libpng-1.6.45/pngset.c
|
||||
#ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
|
||||
static png_byte
|
||||
check_location(png_const_structrp png_ptr, int location)
|
||||
diff -Naru libpng-1.6.45.org/pngstruct.h libpng-1.6.45/pngstruct.h
|
||||
--- libpng-1.6.45.org/pngstruct.h 2025-01-10 14:00:52.843880956 +0900
|
||||
+++ libpng-1.6.45/pngstruct.h 2025-01-10 19:02:26.133020483 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngstruct.h libpng-1.6.46/pngstruct.h
|
||||
--- libpng-1.6.46.org/pngstruct.h 2025-01-10 14:00:52.843880956 +0900
|
||||
+++ libpng-1.6.46/pngstruct.h 2025-01-26 08:37:47.943894084 +0900
|
||||
@@ -398,6 +398,27 @@
|
||||
png_byte filter_type;
|
||||
#endif
|
||||
@ -1306,9 +1295,9 @@ diff -Naru libpng-1.6.45.org/pngstruct.h libpng-1.6.45/pngstruct.h
|
||||
/* New members added in libpng-1.2.0 */
|
||||
|
||||
/* New members added in libpng-1.0.2 but first enabled by default in 1.2.0 */
|
||||
diff -Naru libpng-1.6.45.org/pngtest.c libpng-1.6.45/pngtest.c
|
||||
--- libpng-1.6.45.org/pngtest.c 2025-01-10 15:56:19.714319388 +0900
|
||||
+++ libpng-1.6.45/pngtest.c 2025-01-10 19:02:26.133020483 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngtest.c libpng-1.6.46/pngtest.c
|
||||
--- libpng-1.6.46.org/pngtest.c 2025-01-26 08:07:35.397600406 +0900
|
||||
+++ libpng-1.6.46/pngtest.c 2025-01-26 08:37:47.943894084 +0900
|
||||
@@ -881,6 +881,10 @@
|
||||
int bit_depth, color_type;
|
||||
user_chunk_info my_user_chunk_data;
|
||||
@ -1320,7 +1309,7 @@ diff -Naru libpng-1.6.45.org/pngtest.c libpng-1.6.45/pngtest.c
|
||||
|
||||
row_buf = NULL;
|
||||
error_parameters.file_name = inname;
|
||||
@@ -1394,6 +1398,22 @@
|
||||
@@ -1441,6 +1445,22 @@
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@ -1343,7 +1332,7 @@ diff -Naru libpng-1.6.45.org/pngtest.c libpng-1.6.45/pngtest.c
|
||||
#ifdef PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
|
||||
{
|
||||
png_unknown_chunkp unknowns;
|
||||
@@ -1453,6 +1473,110 @@
|
||||
@@ -1500,6 +1520,110 @@
|
||||
t_misc += (t_stop - t_start);
|
||||
t_start = t_stop;
|
||||
#endif
|
||||
@ -1454,9 +1443,9 @@ diff -Naru libpng-1.6.45.org/pngtest.c libpng-1.6.45/pngtest.c
|
||||
for (pass = 0; pass < num_passes; pass++)
|
||||
{
|
||||
# ifdef calc_pass_height
|
||||
diff -Naru libpng-1.6.45.org/pngwrite.c libpng-1.6.45/pngwrite.c
|
||||
--- libpng-1.6.45.org/pngwrite.c 2025-01-10 15:56:19.714319388 +0900
|
||||
+++ libpng-1.6.45/pngwrite.c 2025-01-10 19:02:26.134020481 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngwrite.c libpng-1.6.46/pngwrite.c
|
||||
--- libpng-1.6.46.org/pngwrite.c 2025-01-26 08:07:01.593606745 +0900
|
||||
+++ libpng-1.6.46/pngwrite.c 2025-01-26 08:37:47.944894083 +0900
|
||||
@@ -127,6 +127,11 @@
|
||||
* the application continues writing the PNG. So check the 'invalid'
|
||||
* flag here too.
|
||||
@ -1469,7 +1458,7 @@ diff -Naru libpng-1.6.45.org/pngwrite.c libpng-1.6.45/pngwrite.c
|
||||
#ifdef PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
|
||||
/* Write unknown chunks first; PNG v3 establishes a precedence order
|
||||
* for colourspace chunks. It is certain therefore that new
|
||||
@@ -405,6 +410,11 @@
|
||||
@@ -428,6 +433,11 @@
|
||||
png_benign_error(png_ptr, "Wrote palette index exceeding num_palette");
|
||||
#endif
|
||||
|
||||
@ -1481,7 +1470,7 @@ diff -Naru libpng-1.6.45.org/pngwrite.c libpng-1.6.45/pngwrite.c
|
||||
/* See if user wants us to write information chunks */
|
||||
if (info_ptr != NULL)
|
||||
{
|
||||
@@ -1515,6 +1525,43 @@
|
||||
@@ -1538,6 +1548,43 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1525,9 +1514,9 @@ diff -Naru libpng-1.6.45.org/pngwrite.c libpng-1.6.45/pngwrite.c
|
||||
|
||||
#ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
|
||||
/* Initialize the write structure - general purpose utility. */
|
||||
diff -Naru libpng-1.6.45.org/pngwutil.c libpng-1.6.45/pngwutil.c
|
||||
--- libpng-1.6.45.org/pngwutil.c 2025-01-10 15:56:19.714319388 +0900
|
||||
+++ libpng-1.6.45/pngwutil.c 2025-01-10 19:02:26.134020481 +0900
|
||||
diff -Naru libpng-1.6.46.org/pngwutil.c libpng-1.6.46/pngwutil.c
|
||||
--- libpng-1.6.46.org/pngwutil.c 2025-01-26 08:07:01.593606745 +0900
|
||||
+++ libpng-1.6.46/pngwutil.c 2025-01-26 08:37:47.944894083 +0900
|
||||
@@ -838,6 +838,11 @@
|
||||
/* Write the chunk */
|
||||
png_write_complete_chunk(png_ptr, png_IHDR, buf, 13);
|
||||
@ -1578,7 +1567,7 @@ diff -Naru libpng-1.6.45.org/pngwutil.c libpng-1.6.45/pngwutil.c
|
||||
png_ptr->zstream.avail_out = 0;
|
||||
png_ptr->zstream.next_out = NULL;
|
||||
png_ptr->mode |= PNG_HAVE_IDAT | PNG_AFTER_IDAT;
|
||||
@@ -1925,6 +1949,82 @@
|
||||
@@ -1969,6 +1993,82 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1661,7 +1650,7 @@ diff -Naru libpng-1.6.45.org/pngwutil.c libpng-1.6.45/pngwutil.c
|
||||
/* Initializes the row writing capability of libpng */
|
||||
void /* PRIVATE */
|
||||
png_write_start_row(png_structrp png_ptr)
|
||||
@@ -2778,4 +2878,39 @@
|
||||
@@ -2822,4 +2922,39 @@
|
||||
}
|
||||
#endif /* WRITE_FLUSH */
|
||||
}
|
||||
@ -1701,30 +1690,30 @@ diff -Naru libpng-1.6.45.org/pngwutil.c libpng-1.6.45/pngwutil.c
|
||||
+}
|
||||
+#endif /* PNG_WRITE_APNG_SUPPORTED */
|
||||
#endif /* WRITE */
|
||||
diff -Naru libpng-1.6.45.org/scripts/symbols.def libpng-1.6.45/scripts/symbols.def
|
||||
--- libpng-1.6.45.org/scripts/symbols.def 2025-01-10 15:56:19.715319387 +0900
|
||||
+++ libpng-1.6.45/scripts/symbols.def 2025-01-10 19:02:26.140020471 +0900
|
||||
@@ -255,3 +255,23 @@
|
||||
png_set_eXIf_1 @249
|
||||
png_get_cICP @250
|
||||
png_set_cICP @251
|
||||
+ png_get_acTL @252
|
||||
+ png_set_acTL @253
|
||||
+ png_get_num_frames @254
|
||||
+ png_get_num_plays @255
|
||||
+ png_get_next_frame_fcTL @256
|
||||
+ png_set_next_frame_fcTL @257
|
||||
+ png_get_next_frame_width @258
|
||||
+ png_get_next_frame_height @259
|
||||
+ png_get_next_frame_x_offset @260
|
||||
+ png_get_next_frame_y_offset @261
|
||||
+ png_get_next_frame_delay_num @262
|
||||
+ png_get_next_frame_delay_den @263
|
||||
+ png_get_next_frame_dispose_op @264
|
||||
+ png_get_next_frame_blend_op @265
|
||||
+ png_get_first_frame_is_hidden @266
|
||||
+ png_set_first_frame_is_hidden @267
|
||||
+ png_read_frame_head @268
|
||||
+ png_set_progressive_frame_fn @269
|
||||
+ png_write_frame_head @270
|
||||
+ png_write_frame_tail @271
|
||||
diff -Naru libpng-1.6.46.org/scripts/symbols.def libpng-1.6.46/scripts/symbols.def
|
||||
--- libpng-1.6.46.org/scripts/symbols.def 2025-01-26 08:07:01.594606745 +0900
|
||||
+++ libpng-1.6.46/scripts/symbols.def 2025-01-26 08:40:00.947693999 +0900
|
||||
@@ -263,3 +263,23 @@
|
||||
png_get_mDCV_fixed @257
|
||||
png_set_mDCV @258
|
||||
png_set_mDCV_fixed @259
|
||||
+ png_get_acTL @260
|
||||
+ png_set_acTL @261
|
||||
+ png_get_num_frames @262
|
||||
+ png_get_num_plays @263
|
||||
+ png_get_next_frame_fcTL @264
|
||||
+ png_set_next_frame_fcTL @265
|
||||
+ png_get_next_frame_width @266
|
||||
+ png_get_next_frame_height @267
|
||||
+ png_get_next_frame_x_offset @268
|
||||
+ png_get_next_frame_y_offset @269
|
||||
+ png_get_next_frame_delay_num @270
|
||||
+ png_get_next_frame_delay_den @271
|
||||
+ png_get_next_frame_dispose_op @272
|
||||
+ png_get_next_frame_blend_op @273
|
||||
+ png_get_first_frame_is_hidden @274
|
||||
+ png_set_first_frame_is_hidden @275
|
||||
+ png_read_frame_head @276
|
||||
+ png_set_progressive_frame_fn @277
|
||||
+ png_write_frame_head @278
|
||||
+ png_write_frame_tail @279
|
@ -1,7 +1,7 @@
|
||||
%define apiver %(echo %version | cut -d. -f1-2 | tr -d .)
|
||||
%define apngver %{version}
|
||||
Name: libpng
|
||||
Version: 1.6.45
|
||||
Version: 1.6.46
|
||||
Release: 1mamba
|
||||
Summary: A library of functions for manipulating PNG image format files
|
||||
Group: System/Libraries
|
||||
@ -94,6 +94,9 @@ rm -f %{buildroot}%{_libdir}/libpng.la
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Jan 26 2025 Automatic Build System <autodist@openmamba.org> 1.6.46-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jan 10 2025 Automatic Build System <autodist@openmamba.org> 1.6.45-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user