diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2017-03-14 14:01:28 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2017-03-14 14:01:28 +1100 |
commit | eccb0f72f8d27997303696733ce5726640b11907 (patch) | |
tree | 558f7cec2aaed4860afae4d46f7ac3e7290acc9e /libpng-32 | |
parent | 08202accc62ddfdb8b2ec9b2f63687829822d07e (diff) | |
download | compat-32-eccb0f72f8d27997303696733ce5726640b11907.tar.gz compat-32-eccb0f72f8d27997303696733ce5726640b11907.tar.xz |
libpng-32: 1.6.27 -> 1.6.28
Diffstat (limited to 'libpng-32')
-rw-r--r-- | libpng-32/.footprint | 6 | ||||
-rw-r--r-- | libpng-32/.md5sum | 4 | ||||
-rw-r--r-- | libpng-32/.signature | 10 | ||||
-rw-r--r-- | libpng-32/Pkgfile | 8 | ||||
-rw-r--r-- | libpng-32/libpng-apng.patch | 62 |
5 files changed, 45 insertions, 45 deletions
diff --git a/libpng-32/.footprint b/libpng-32/.footprint index 40212a58..c4a96637 100644 --- a/libpng-32/.footprint +++ b/libpng-32/.footprint @@ -5,9 +5,9 @@ lrwxrwxrwx root/root usr/lib32/libpng.la -> libpng16.la lrwxrwxrwx root/root usr/lib32/libpng.so -> libpng16.so -rw-r--r-- root/root usr/lib32/libpng16.a -rwxr-xr-x root/root usr/lib32/libpng16.la -lrwxrwxrwx root/root usr/lib32/libpng16.so -> libpng16.so.16.27.0 -lrwxrwxrwx root/root usr/lib32/libpng16.so.16 -> libpng16.so.16.27.0 --rwxr-xr-x root/root usr/lib32/libpng16.so.16.27.0 +lrwxrwxrwx root/root usr/lib32/libpng16.so -> libpng16.so.16.28.0 +lrwxrwxrwx root/root usr/lib32/libpng16.so.16 -> libpng16.so.16.28.0 +-rwxr-xr-x root/root usr/lib32/libpng16.so.16.28.0 drwxr-xr-x root/root usr/lib32/pkgconfig/ lrwxrwxrwx root/root usr/lib32/pkgconfig/libpng.pc -> libpng16.pc -rw-r--r-- root/root usr/lib32/pkgconfig/libpng16.pc diff --git a/libpng-32/.md5sum b/libpng-32/.md5sum index 87bcd77b..a8de889f 100644 --- a/libpng-32/.md5sum +++ b/libpng-32/.md5sum @@ -1,2 +1,2 @@ -90099cb7dfb36bf223f4791429d45c6a libpng-1.6.27.tar.xz -493e3dfbf217a6fd8f3f4d9e4691bb9c libpng-apng.patch +425354f86c392318d31aedca71019372 libpng-1.6.28.tar.xz +b589075a676288ce503c1fed0785d8ce libpng-apng.patch diff --git a/libpng-32/.signature b/libpng-32/.signature index 522ed8bb..0c55f8ac 100644 --- a/libpng-32/.signature +++ b/libpng-32/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/compat-32.pub -RWSwxGo/zH7eXR9vIGqppTAhvFYTvopjNeSyj1j5b4+Smf3kKDGzy/6mtacF5aJiEKdXAFOscJ8qgUzUf5cZKWLr0wp3Q7r2PAg= -SHA256 (Pkgfile) = 9780d7f71eaa8bec323c6a24a15c7f6bbfa417b3f12a4097367cb7fb59b646da -SHA256 (.footprint) = 809edca40866b23860aabd650ca3c56fa36ed720264534ec27f2088e695e4b33 -SHA256 (libpng-1.6.27.tar.xz) = fca2ffd97336356cdab9bfa8936b9d6dfd580a70205e5dfead3ac42cb054b57b -SHA256 (libpng-apng.patch) = c313747661a3dcd34b3946a8db6b3880499cdaa19ca7c4b0453c838648491d04 +RWSwxGo/zH7eXR0UrRyY27Q4OyD5kyfNVuPvd1aYviPrupVPKMkZyVek4nugqJXQyALXLMQbEOVYQ+pZqkXRCDgwdaehCSqZeAs= +SHA256 (Pkgfile) = 8b8b0207ce2e58fefae42616d0092f5ad1a408d52e2c2d11397b62a066acd1be +SHA256 (.footprint) = 77b0c99f31cdc9827f7227db60191c30fac682d333bd5266d1b5c524e21ee452 +SHA256 (libpng-1.6.28.tar.xz) = d8d3ec9de6b5db740fefac702c37ffcf96ae46cb17c18c1544635a3852f78f7a +SHA256 (libpng-apng.patch) = a227614c864149f232f62d1d0ebac0c7c7b1267eb349ed44c62d1b136b375abe diff --git a/libpng-32/Pkgfile b/libpng-32/Pkgfile index 9bf5bd88..cf4f4bfc 100644 --- a/libpng-32/Pkgfile +++ b/libpng-32/Pkgfile @@ -1,16 +1,16 @@ # Description: Library of PNG support functions. -# URL: http://www.libpng.org +# URL: https://www.libpng.org # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu # Depends on: zlib-32 libpng name=libpng-32 -version=1.6.27 +version=1.6.28 release=1 -source=(http://download.sourceforge.net/libpng/libpng-$version.tar.xz +source=(https://download.sourceforge.net/${name%-*}/${name%-*}-$version.tar.xz libpng-apng.patch) build() { - cd libpng-$version + cd ${name%-*}-$version patch -p0 -i $SRC/libpng-apng.patch diff --git a/libpng-32/libpng-apng.patch b/libpng-32/libpng-apng.patch index d1b18067..427a072c 100644 --- a/libpng-32/libpng-apng.patch +++ b/libpng-32/libpng-apng.patch @@ -8,13 +8,13 @@ Index: LICENSE +This modified version of libpng code adds animated PNG support and is +released under the libpng license described below. The modifications are -+Copyright (c) 2006-2007 Andrew Smith, Copyright (c) 2008-2016 Max Stepin, ++Copyright (c) 2006-2007 Andrew Smith, Copyright (c) 2008-2017 Max Stepin, +and are delimited by "#ifdef PNG_APNG_SUPPORTED / #endif" directives +surrounding them in the modified libpng source files. + This code is released under the libpng license. - libpng versions 1.0.7, July 1, 2000 through 1.6.26, October 20, 2016 are + libpng versions 1.0.7, July 1, 2000 through 1.6.28, January 5, 2017 are Index: pngread.c =================================================================== --- pngread.c @@ -97,7 +97,7 @@ Index: pngread.c + /* discard trailing fdATs for frames other than the first */ + if (have_chunk_after_DAT == 0 && png_ptr->num_frames_read > 1) + png_crc_finish(png_ptr, length - 4); -+ else if(png_ptr->mode & PNG_HAVE_fcTL) ++ else if (png_ptr->mode & PNG_HAVE_fcTL) + { + png_ptr->idat_size = length - 4; + png_ptr->mode |= PNG_HAVE_IDAT; @@ -295,29 +295,29 @@ Index: png.c =================================================================== --- png.c +++ png.c -@@ -775,17 +775,21 @@ +@@ -776,17 +776,21 @@ #else # ifdef __STDC__ return PNG_STRING_NEWLINE \ -- "libpng version 1.6.27 - December 29, 2016" PNG_STRING_NEWLINE \ -+ "libpng version 1.6.27+apng - December 29, 2016" PNG_STRING_NEWLINE \ - "Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson" \ +- "libpng version 1.6.28 - January 5, 2017" PNG_STRING_NEWLINE \ ++ "libpng version 1.6.28+apng - January 5, 2017" PNG_STRING_NEWLINE \ + "Copyright (c) 1998-2002,2004,2006-2017 Glenn Randers-Pehrson" \ PNG_STRING_NEWLINE \ "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \ "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \ - PNG_STRING_NEWLINE; + PNG_STRING_NEWLINE \ + "Portions Copyright (c) 2006-2007 Andrew Smith" PNG_STRING_NEWLINE \ -+ "Portions Copyright (c) 2008-2016 Max Stepin" PNG_STRING_NEWLINE ; ++ "Portions Copyright (c) 2008-2017 Max Stepin" PNG_STRING_NEWLINE ; # else -- return "libpng version 1.6.27 - December 29, 2016\ -+ return "libpng version 1.6.27+apng - December 29, 2016\ - Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson\ +- return "libpng version 1.6.28 - January 5, 2017\ ++ return "libpng version 1.6.28+apng - January 5, 2017\ + Copyright (c) 1998-2002,2004,2006-2017 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ - Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; + Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.\ + Portions Copyright (c) 2006-2007 Andrew Smith\ -+ Portions Copyright (c) 2008-2016 Max Stepin"; ++ Portions Copyright (c) 2008-2017 Max Stepin"; # endif #endif } @@ -331,26 +331,26 @@ Index: png.h * + * This modified version of libpng code adds animated PNG support and is + * released under the libpng license described below. The modifications are -+ * Copyright (c) 2006-2007 Andrew Smith, Copyright (c) 2008-2016 Max Stepin, ++ * Copyright (c) 2006-2007 Andrew Smith, Copyright (c) 2008-2017 Max Stepin, + * and are delimited by "#ifdef PNG_APNG_SUPPORTED / #endif" directives + * surrounding them in the modified libpng source files. + * * This code is released under the libpng license. * - * Some files in the "contrib" directory and some configure-generated -@@ -314,8 +320,9 @@ + * libpng versions 1.0.7, July 1, 2000 through 1.6.28, January 5, 2017 are +@@ -307,8 +313,9 @@ */ /* Version information for png.h - this should match the version in png.c */ --#define PNG_LIBPNG_VER_STRING "1.6.27" --#define PNG_HEADER_VERSION_STRING " libpng version 1.6.27 - December 29, 2016\n" -+#define PNG_LIBPNG_VER_STRING "1.6.27+apng" +-#define PNG_LIBPNG_VER_STRING "1.6.28" +-#define PNG_HEADER_VERSION_STRING " libpng version 1.6.28 - January 5, 2017\n" ++#define PNG_LIBPNG_VER_STRING "1.6.28+apng" +#define PNG_HEADER_VERSION_STRING \ -+ " libpng version 1.6.27+apng - December 29, 2016\n" ++ " libpng version 1.6.28+apng - January 5, 2017\n" #define PNG_LIBPNG_VER_SONUM 16 #define PNG_LIBPNG_VER_DLLNUM 16 -@@ -366,6 +373,10 @@ +@@ -359,6 +366,10 @@ # include "pnglibconf.h" #endif @@ -361,7 +361,7 @@ Index: png.h #ifndef PNG_VERSION_INFO_ONLY /* Machine specific configuration. */ # include "pngconf.h" -@@ -461,6 +472,17 @@ +@@ -454,6 +465,17 @@ * See pngconf.h for base types that vary by machine/system */ @@ -379,7 +379,7 @@ Index: png.h /* This triggers a compiler error in png.c, if png.c and png.h * do not agree upon the version number. */ -@@ -781,6 +803,10 @@ +@@ -774,6 +796,10 @@ #define PNG_INFO_sPLT 0x2000U /* ESR, 1.0.6 */ #define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */ #define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */ @@ -390,7 +390,7 @@ Index: png.h /* This is used for the transformation routines, as some of them * change these values for the row. It also should enable using -@@ -818,6 +844,10 @@ +@@ -811,6 +837,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)); @@ -401,7 +401,7 @@ Index: 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 -@@ -3246,6 +3276,75 @@ +@@ -3240,6 +3270,75 @@ * END OF HARDWARE AND SOFTWARE OPTIONS ******************************************************************************/ @@ -477,7 +477,7 @@ Index: png.h /* Maintainer: Put new public prototypes here ^, in libpng.3, in project * defs, and in scripts/symbols.def. */ -@@ -3254,7 +3353,11 @@ +@@ -3248,7 +3347,11 @@ * one to use is one more than this.) */ #ifdef PNG_EXPORT_LAST_ORDINAL @@ -1097,7 +1097,7 @@ Index: pngrutil.c =================================================================== --- pngrutil.c +++ pngrutil.c -@@ -860,6 +860,11 @@ +@@ -861,6 +861,11 @@ filter_type = buf[11]; interlace_type = buf[12]; @@ -1109,7 +1109,7 @@ Index: pngrutil.c /* Set internal variables */ png_ptr->width = width; png_ptr->height = height; -@@ -2760,6 +2765,180 @@ +@@ -2761,6 +2766,180 @@ } #endif @@ -1290,7 +1290,7 @@ Index: pngrutil.c #ifdef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED /* Utility function for png_handle_unknown; set up png_ptr::unknown_chunk */ static int -@@ -4022,6 +4201,38 @@ +@@ -4023,6 +4202,38 @@ uInt avail_in; png_bytep buffer; @@ -1329,7 +1329,7 @@ Index: pngrutil.c while (png_ptr->idat_size == 0) { png_crc_finish(png_ptr, 0); -@@ -4033,6 +4244,7 @@ +@@ -4034,6 +4245,7 @@ if (png_ptr->chunk_name != png_IDAT) png_error(png_ptr, "Not enough image data"); } @@ -1337,7 +1337,7 @@ Index: pngrutil.c avail_in = png_ptr->IDAT_read_size; -@@ -4096,6 +4308,9 @@ +@@ -4097,6 +4309,9 @@ png_ptr->mode |= PNG_AFTER_IDAT; png_ptr->flags |= PNG_FLAG_ZSTREAM_ENDED; @@ -1347,7 +1347,7 @@ Index: pngrutil.c if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0) png_chunk_benign_error(png_ptr, "Extra compressed data"); -@@ -4542,4 +4757,80 @@ +@@ -4535,4 +4750,80 @@ png_ptr->flags |= PNG_FLAG_ROW_INIT; } |