The NetBSD Project

CVS log for pkgsrc/graphics/pngcrush/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / pngcrush

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.92 / (download) - annotate - [select for diffs], Sun Jan 26 05:26:25 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, HEAD
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

all: migrate some SourceForge homepage URLs back from https to http

https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html

In the above commit, the homepage URLs were migrated from http to https,
assuming that SourceForge would use the same host names for both http and
https connections. This assumption was wrong. Their documentation at
https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states
that the https URLs use the domain sourceforge.io instead.

To make the homepages from the above commit reachable again, pkglint has
been extended to check for reachable homepages. This check is only
enabled when the --network command line option is given.

Each of the homepages that referred to https://$project.sourceforge.net
before was migrated to https://$project.sourceforge.io (27), and if that
was not reachable, to the fallback URL http://$project.sourceforge.net
(163).

Revision 1.91 / (download) - annotate - [select for diffs], Sat Jan 18 23:32:17 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.

Revision 1.90 / (download) - annotate - [select for diffs], Sun May 5 20:11:25 2019 UTC (4 years, 7 months ago) by wiedi
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.89: +3 -1 lines
Diff to previous 1.89 (colored)

pngcrush: fix build on SunOS

Revision 1.89 / (download) - annotate - [select for diffs], Thu Aug 2 15:02:12 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

pngcrush: updated to 1.8.13

Version 1.8.13 (built with libpng-1.6.32 and zlib-1.2.11)
  Add "exit(0)" after processing "-version" argument, to avoid
    displaying the Usage information
  Fix problem with MacOS prior to Sierra; it uses CLOCK_MONOTONIC
    for some other purpose

Version 1.8.12 (built with libpng-1.6.31 and zlib-1.2.11)
  Added POWERPC-VSX support.
  Report whether using optimizations.
  Added filter_method 6 (same as filter 5 with -speed).
  Added "methods" 149-176 (that use filter_method 6).
  Changed default verbosity from 1 (normal) to 0 (quiet). Use "-v" to get
    the previous default behavior and "-v -v" to get the previous "verbose"
    behavior. The "-s" (silent) and "-q" (quiet) options behave as before.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Apr 10 08:59:34 2017 UTC (6 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Version 1.8.11 (built with libpng-1.6.28 and zlib-1.2.11)
  Use png_set_option(PNG_IGNORE_ADLER32) to control ADLER32 handling.
  Changed LD=gcc to LD=$(CC) in Makefile and Makefile-nolib
PkgSrc:
  Removed patch-aa as build and installation are done from the main Makefile.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Dec 5 11:07:58 2016 UTC (7 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Version 1.8.10:
* Changed ADLER32 checksum handling to only use inflateValidate()
  during IDAT chunk handling; it broke iCCP chunk handling.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Oct 8 06:16:24 2016 UTC (7 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Version 1.8.8 (built with libpng-1.6.26beta06 and zlib-1.2.8.1)
  Fixed "nolib" build (bug report by Hanspeter Niederstrasser).
    Make sure we use system-png.h, and not the local file.  It is now
    possible to build either the regular pngcrush or the "nolib"
    pngcrush in the complete pngcrush source directory (use
    "make clean" before rebuilding!)
  Fixed timing when using "clock()". Sometimes an additional second
    was added when the timer crossed a one-second boundary, since
    version 1.8.5.
  Upgrade libpng to version 1.6.26beta06 and zlib to 1.2.8.1.
  Use zlib-1.2.8.1 new "inflateValidate()" function to avoid checking
    ADLER32 checksums. Version 1.8.7 did not work when the "-fix"
    option was used.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jun 15 09:03:31 2015 UTC (8 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

Version 1.7.85 (built with libpng-1.6.16 and zlib-1.2.8)
  Improved reporting of invalid chunk names. Does not try to put
    non-printable characters in STDERR; displays hex numbers instead.
  Fixed include path for utime.h on MSVC (Louis McLaughlin).
  Eliminated "FAR" memory support (it was removed from libpng at version
    1.6.0).
  Disabled the "-already_crushed" option which does not really work well.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Nov 24 13:06:56 2014 UTC (9 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Changes 1.7.81:
Fixed off-by-one error in calculation of plte_len.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Aug 17 09:09:54 2014 UTC (9 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Changes 1.7.76:
Updated libpng to version 1.6.12.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jun 12 13:40:38 2014 UTC (9 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

Changes 1.7.75:
Reverted libpng to version 1.6.10 due to a misplaced statement in png.c
Fixed "-zmem" option (only "-zm" would work since version 1.7.62).

Revision 1.81 / (download) - annotate - [select for diffs], Mon Mar 31 10:15:13 2014 UTC (9 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Changes 1.7.73:
* Restored calls to png_set_crc_action() which had been removed from
  version 1.7.72 for some testing and inadvertently not restored.
* Changed "fix" internal variable name to "salvage" (still set with "-fix")
* Added code to fix/salvage PNG with "bad adaptive filter value" error.
* Avoid calculating CRC during compression trials except for the last trial,
  when the output is actually written.
* Fixed a bug with reducing 16-bit images to 8-bit using "-reduce" option.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Feb 9 07:42:47 2014 UTC (9 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Changes 1.7.71:
* Built the Windows binaries using -DTOO_FAR=32767; neglected to do this
  in versions 1.7.42 through 1.7.70, which caused the Windows binaries
  to produce different (usually a few bytes larger) results than Linux.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Feb 1 11:54:50 2014 UTC (9 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Changes 1.7.70:
Updated libpng to version 1.6.8.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Dec 23 11:57:04 2013 UTC (9 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Reset maintainer for resigned developers.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Nov 15 08:35:26 2013 UTC (10 years ago) by adam
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Changes 1.7.69:
* Check for NULL return from malloc().
* Undefine CLOCKS_PER_SECOND "1000" found in some version of MinGW.
* Replaced most "atoi(argv[++i])" with "pngcrush_get_long" which does
    "BUMP_I; strtol(argv[i],ptr,10)" and added pngcrush_check_long macro
    to detect malformed or missing parameters (debian bug 716149).
* Added global_things_have_changed=1 when reading -bkgd.
* The "-bit_depth N" option did not work reliably and has been removed.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Sep 1 07:34:35 2013 UTC (10 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Changes 1.7.67:
Fixed handling of "-text" and "-ztext" options for text input. They had been
reduced to "-t" and "-z" with an incorrect argument (3 instead of 2) in
version 1.7.62.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Jul 18 07:30:56 2013 UTC (10 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Changes 1.7.66:
Revised pngcrush_examine_pixels_fn() to fix some incorrect reductions.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jun 16 07:20:44 2013 UTC (10 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Changes 1.7.63:
Add "int dowildcard=-1;" in an attempt to get wildcard arguments working
in the cross-compiled MinGW executables.

Revision 1.73 / (download) - annotate - [select for diffs], Thu May 23 16:01:09 2013 UTC (10 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

Changes 1.7.58:
* Do not enable reduce_palette by default for "-reduce", "-new", or "-old".
    It still is failing for some files.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Apr 3 11:59:27 2013 UTC (10 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Changes 1.7.56:
  Only use pngcrush_debug_malloc() and pngcrush_debug_free() if the result
    is going to be shown.
  Added PNG_PASS_ROWS, PNG_UNUSED, and other macro definitions, when building
    with libpng-1.4.x and older libpng versions.
  Multiplied rowbytes by 8/bit_depth when using the system library because
    we do not call png_read_transform_info(). This prevents a crash when
    reading sub-8-bit input files.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Mar 11 11:16:15 2013 UTC (10 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Version 1.7.53:
* Removed plte_len stuff from the "To do" list because it is done.
* Shorten the indexed-PNG tRNS chunk length if it has more entries than the PLTE chunk.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Mar 6 16:10:28 2013 UTC (10 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Version 1.7.52 (built with libpng-1.6.1beta06 and zlib-1.2.7)
  Added license info for cexcept.h, libpng, and zlib.
  Added consideration of "zopfli" compression to the "To do" list.
  Fixed a typo that caused a cHRM chunk to be "found" if an iCCP chunk
    were present.
  Reset best_byte_count before trial loop.
  Revise global png_set_keep_unknown_chunks() calls to avoid a libpng16
    warning.
  Reset "intent" to "specified_intent" before trial loop.
  Reset "plte_len" to "specified_plte_len" before trial loop.
  Initialize length of each trial to 0x7fffffff so any untried method
    is not the "best method".

Revision 1.69 / (download) - annotate - [select for diffs], Sat Feb 16 18:20:35 2013 UTC (10 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.68: +2 -3 lines
Diff to previous 1.68 (colored)

Changes 1.7.50:
* Removed completed items from the "To do" list.
* Ignore the argument of the "plte_len" argument and just set the
     "reduce_palette" flag.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Feb 16 11:22:23 2013 UTC (10 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Recursive bump for png-1.6.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Feb 8 17:18:24 2013 UTC (10 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Version 1.7.47 (built with libpng-1.5.13 and zlib-1.2.7)
  Do not do the heuristic trials of the first 10 methods when -brute is
    specified, because it did not save time as I hoped.
  Fixed a mistake in 1.7.45 and 1.7.46 that caused the output file to
    not be written.

Version 1.7.46 (built with libpng-1.5.13 and zlib-1.2.7)
  Moved the new level 0 methods to the end of the trial list (methods 137-148)

Version 1.7.45 (built with libpng-1.5.13 and zlib-1.2.7)
  Added method 0 (uncompressed). "-m 0" now simply turns on method 0.
  Added "-try10" option that has the same effect that "-m 0" previously did,
    namely to try only the first ten methods.
  Inserted new methods 17 through 21 with zlib level 0.
  Do the heuristic trials of the first 10 methods when -brute is specified,
    to get quickly to a small solution, so we can bail out of most of the
    remaining trials early. Previously these 10 methods were skipped during
    a -brute run.
  Removed the "-reduce" line from the help screen when PNGCRUSH_COUNT_COLORS
    is disabled.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jan 24 21:00:42 2013 UTC (10 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Version 1.7.44 (built with libpng-1.5.14 and zlib-1.2.7)

Version 1.7.43 (built with libpng-1.5.13 and zlib-1.2.7)
  Added "remove(inname)" before "rename(outname, inname)" when using the "-ow"
    option on CYGWIN/MinGW because "rename()" does not work if the target file
    exists.
  Use the bundled "zlib.h" when PNGCRUSH_H is defined, otherwise use the
    system .

Version 1.7.42 (built with libpng-1.5.13 and zlib-1.2.7)
  Use malloc() and free() instead of png_malloc_default() and
    png_free_default().  This will be required to run with libpng-1.7.x.
  Revised the PNG_ABORT definition in pngcrush.h to work with libpng-1.7.x.
  Revised zutil.h to avoid redefining ptrdiff_t on MinGW/CYGWIN platforms.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Oct 25 11:29:28 2012 UTC (11 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Changes 1.7.41:
* Reverted to version 1.7.38.  Versions 1.7.39 and 40 failed to open an
  output file.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Oct 6 14:11:15 2012 UTC (11 years, 2 months ago) by asau
Branch: MAIN
Changes since 1.63: +1 -3 lines
Diff to previous 1.63 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Oct 3 11:03:59 2012 UTC (11 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Changes 1.7.38:
* Bail out of a trial if byte count exceeds best byte count so far.
* Added -bail and -nobail options.  Use -nobail to get a complete report
  of filesizes.
* Added -blacken option, to enable changing the color samples of any
  fully-transparent pixels to zero in PNG files with color-type 4 or 6,
  potentially improving their compressibility.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Sep 3 05:27:39 2012 UTC (11 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Version 1.7.37:
  Reverted pngcrush.c back to 1.7.35 and fixed the bug with PLTE handling.

Version 1.7.36:
  Reverted pngcrush.c to version 1.7.34 because pngcrush is failing with
    some paletted PNGs.
  Separated CFLAGS and CPPFLAGS in the makefile (with "-I" and "-DZ_SOLO"
    in CPPFLAGS)

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 1 11:45:51 2012 UTC (11 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Changes 1.7.35:
* Removed FOPEN of fpout except for the last trial.  The open files caused
  "pngcrush -brute -e _ext.png *.png" to fail on the 10th file (about the
  1024th compression trial) due to being unable to open the output file.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jul 28 10:57:40 2012 UTC (11 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Changes 1.7.34:
* Compute and report sum of critical chunk lengths IHDR, PLTE, IDAT, and IEND,
  plus the 8-byte PNG signature instead of just the total IDAT data length.
  Simplify finding the lengths from the trial compressions, by replacing
  the write function with one that simply counts the bytes that would have
  been written to a trial PNG, instead of actually writing a PNG, reading it
  back, and counting the IDAT bytes.  The savings, while measurable, are
  not very significant -- The "-brute" and default pngcrush runs that I
  tried are between one and five percent faster.  Most of the time is
  expended in zlib compression of the IDATs, which is not affected by
  the change.
* Removed comments about the system library having to be libpng14 or earlier.
  This restriction was fixed in version 1.7.20.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jul 25 20:14:01 2012 UTC (11 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

Changes 1.7.33:
* Ignore all ancillary chunks except during the final trial.  This can be
  significantly faster when large ancillary chunks such as iCCP are present.

Changes 1.7.32:
* Fixed bug introduced in 1.7.30: Do not call png_set_check_for_invalid_index()
  when nosave != 0 (otherwise pngcrush crashes with the "-n" option).

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jul 3 18:00:52 2012 UTC (11 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Changes 1.7.31:
* Dropped *.tar.bz2 from distribution.
* Added a comma that was missing from one of the "usage" strings (error
    introduced in version 1.7.29).

Changes 1.7.30:
* Only run the new (in libpng-1.5.10) test of palette indexes during the
    first trial.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jun 11 07:06:21 2012 UTC (11 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Changes 1.7.29:
* Set "things_have_changed" flag when adding text chunks, so the "-force"
  option is no longer necessary when adding text to an already-compressed
  file.
* Direct usage message and error messages to stderr instead of stdout. If
  anyone is still using DOS they may have to change the "if 0" at line
  990 to "if 1".
* Added "pngcrush -n -v files.png" to the usage message.

Revision 1.56 / (download) - annotate - [select for diffs], Fri May 25 08:01:33 2012 UTC (11 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Changes 1.7.28:
* Write proper copyright year for zlib, depending upon ZLIB_VERNUM

Changes 1.7.27:
* Increased row_buf malloc to row_bytes+64 instead of row_bytes+16, to
  match the size of big_row_buf in pngrutil.c (it is 48 in libpng14, 15, 16,
  and 64 in libpng10, 12.  Otherwise there is a double-free crash when the
  row_buf is destroyed.

Changes 1.7.26:
* Increased the text_text buffer from 2048 to 10*2048 (Ralph Giles), and
  changed an incorrect test for keyword length "< 180" to "< 80".  The
  text_text buffer was inadvertently reduced from 20480 to 2048 in
  pngcrush-1.7.9.
* Added -DZ_SOLO to CFLAGS, needed to compile zlib-1.2.6.
* Changed user limits to width and height max 500000, malloc max 2MB,
  cache max 500.
* Added -nolimits option which sets the user limits to the default
  unlimited values.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Mar 7 15:29:52 2012 UTC (11 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

png-license is just a zlib with many authors. Use zlib here (as already
done in png package).

Revision 1.54 / (download) - annotate - [select for diffs], Mon Feb 20 17:27:24 2012 UTC (11 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Changes 1.7.25:
* built with libpng-1.5.9 and zlib-1.2.5

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jan 12 16:21:08 2012 UTC (11 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Changes 1.7.24:
* Do not append a slash to the directory name if it already has one.

Changes 1.7.23:
* Ignore any attempt to use "-ow" with the "-d" or "-e" options, with warning.
* Include zlib.h if ZLIB_H is not defined (instead of checking the libpng
  version; see entry below for pngcrush-1.7.14), and include string.h
  if _STRING_H_ is not defined (because libpng-1.6 does not include string.h)
* Define SLASH = backslash on Windows platforms so the "-d" option will work.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Dec 9 11:50:21 2011 UTC (12 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Changes 1.7.22:
This release adds the "-ow" option to overwrite the input file with the
compressed file. If an output filename is given on the command line, it will be
used as a temporary file and removed after compression. If not, "pngout.png" is
used as a temporary file

Revision 1.51 / (download) - annotate - [select for diffs], Tue Nov 15 14:47:29 2011 UTC (12 years ago) by adam
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Changes 1.7.21:
* Defined TOO_FAR=32767 in Makefile (instead of in pngcrush.h)

Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 14 17:56:24 2011 UTC (12 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.49: +7 -7 lines
Diff to previous 1.49 (colored)

Changes 1.7.20:
* Removed the call to png_read_transform_info() when the system libpng
  is being used, so it can be built with a system libpng.

Changes 1.7.19:
* pngcrush-1.7.18 failed to read interlaced PNGs.  Reverted the change
  from calling png_read_transform_info() to png_read_update_info().
  Since png_read_transform_info() is not exported we again cannot build
  with the system libpng15.

Changes 1.7.18:
* This version will work with either a "system" libpng14 or libpng15, or with
  the embedded libpng15.  The deprecated usage of libpng png_struct members
  and unexported functions has been removed.
* Revised the format of the time report (all on one line so you can get
  a nice compact report by piping the output to "grep coding").

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Oct 4 23:11:40 2011 UTC (12 years, 2 months ago) by tron
Branch: pkgsrc-2011Q3
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pullup ticket #3527 - requested by wiz
graphics/pngcrush: security update

Revisions pulled up:
- graphics/pngcrush/Makefile                                    1.49
- graphics/pngcrush/distinfo                                    1.32

---
   Module Name:	pkgsrc
   Committed By:	adam
   Date:		Tue Oct  4 09:36:01 UTC 2011

   Modified Files:
   	pkgsrc/graphics/pngcrush: Makefile distinfo

   Log Message:
   Changes 1.7.17:
   * Changed "#if !defined(PNG_NO_STDIO)" to "#ifdef PNG_STDIO_SUPPORTED"
     as recommended in the libpng documentation.
   * Added PNG_UINT_32_NAME macro and used it to simplify chunk_type integer
     definitions.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Oct 4 09:36:01 2011 UTC (12 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Changes 1.7.17:
* Changed "#if !defined(PNG_NO_STDIO)" to "#ifdef PNG_STDIO_SUPPORTED"
  as recommended in the libpng documentation.
* Added PNG_UINT_32_NAME macro and used it to simplify chunk_type integer
  definitions.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jul 15 09:29:06 2011 UTC (12 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base
Branch point for: pkgsrc-2011Q3
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Changes 1.7.16:
* Only report best method==0 if pngcrush cannot match the input filesize.
  Otherwise, if there is no improvement, report the first matching method.

Revision 1.47 / (download) - annotate - [select for diffs], Tue May 17 07:23:46 2011 UTC (12 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Added LICENSE; do not depend on png

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 23 09:00:23 2011 UTC (12 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Changes 1.7.15:
* Force bit_depth to 1, 2, or 4 when -plte_len is <=2, <=4, or <=16 and
  the -bit_depth option is not present, to avoid writing invalid palette
  indexes.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jan 28 20:46:11 2011 UTC (12 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.44: +6 -7 lines
Diff to previous 1.44 (colored)

Changes 1.7.14:
* Built with libpng-1.5.1beta06 and zlib-1.2.5
* Removed WIN32_WCE support (libpng has dropped it already)
* Include zlib.h and define png_memcpy, etc., and revise the
  png_get_iCCP() and png_set_iCCP() calls to be able to build
  with bundled libpng-1.5.x.  Pngcrush cannot be built yet with
  a system libpng-1.5.x.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 13 13:38:15 2011 UTC (12 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 13 16:15:33 2010 UTC (13 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Changes 1.7.13:
(built with libpng-1.4.5 and zlib-1.2.5)

Revision 1.42 / (download) - annotate - [select for diffs], Sat Oct 16 10:06:18 2010 UTC (13 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Changes 1.7.12:
Built with libpng-1.4.4 and zlib-1.2.5.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 19 13:01:58 2010 UTC (13 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.40: +3 -4 lines
Diff to previous 1.40 (colored)

Changes 1.7.11:
(built with libpng-1.4.2 and zlib-1.2.5)

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 13 22:44:41 2010 UTC (13 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 18 08:35:44 2010 UTC (13 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Changes 1.7.10:
* Added missing "(...)" in png_get_uint_32().
* Only compile png_get_uint_32(), etc., when PNG_LIBPNG_VER < 1.2.9
* Revised help info for "-zitxt".

Changes 1.7.9:
* Defined TOO_FAR == 32767 in pngcrush.h (instead of in deflate.c)
* Revised the "nolib" Makefiles to remove reference to gzio.c and pnggccrd.c

Changes 1.7.8:
* Removed gzio.c

Changes 1.7.7:
* Updated bundled libpng to version 1.4.0.
* Check the "-plte_len n" option for out-of-range value of n.
* Changed local variable "write" to "z_write" in inffast.c (zlib-1.2.3.4)
    to avoid shadowed declaration warning.

Changes 1.7.6:
* Change some "if defined(X)" to "ifdef X" according to libpng coding style.
* Added some defines to suppress pedantic warnings from libpng-1.2.41beta15
    and later.  A warning about deprecated access to png_ptr->zstream is
    otherwise unavoidable.  When building the embedded libpng, a warning
    about png_default_error() returning is also otherwise unavoidable.
* Write premultiplied alpha if output extension is .ppng and
    PNG_READ_PREMULTIPLIED_ALPHA_SUPPORTED is set (needs libpng-1.5.0).
* Check the "-m method" option for out-of-range method value.

Changes 1.7.4:
* Use unmodified pngconf.h from libpng-1.2.41beta05 or later.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Oct 11 08:07:23 2009 UTC (14 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Changes 1.7.3:
* Print contents of text chunks after IDAT, even when the -n option is used.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Sep 11 06:33:14 2009 UTC (14 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Changes 1.7.2:
* Added check for "verbose" on some printf statements.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 30 14:03:51 2009 UTC (14 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Changes 1.7.1:
* Revised some prototypes to eliminate "Shadowed Declaration" warnings.
* Moved warning about discarding APNG chunks to the end.
* Replaced *.tar.lzma with *.tar.xz in the distribution.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 21 06:40:36 2009 UTC (14 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Changes 1.7.0:
* Save (but do not recompress) APNG chunks if the output file has the
  ".apng" extension and the color_type and bit_depth are not changed.

Changes 1.6.20:
* Changed local variable "write" to "wwrite" in inffast.c (zlib) to avoid
  shadowed declaration warning.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jun 8 07:50:06 2009 UTC (14 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Changes 1.6.19:
* Added missing curly braces that caused erroneous png_error message about
  "original PNG could not be recovered" in pngcrush-1.6.17 and 18.

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 14 06:09:24 2009 UTC (14 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Changes 1.6.17:
* Defined TOO_FAR == 32767 in deflate.c (again).  The definition
    has continually been inadvertently omitted during zlib updates
    since pngcrush version 1.6.4.
* Revised handling of xcode files so at least we can get printout
    of IHDR values with "pngcrush -fix -n -v xcode.png"

Changes 1.6.16:
* Added -newtimestamp and -oldtimestamp options and changed
    default condition to timestamping the output file with
    the current time (i.e., -newtimestamp is default)
* If the -oldtimestamp option is used then the output file
    has the same timestamp as the input file.
* Added CgBI chunk detection.

Changes 1.6.15:
* Fixes some missing typecasts on png_malloc() calls, patch from
    an anonymous reporter to the SourceForge bug tracker.
* Added -time_stamp option to change time stamping from default
    condition.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 20 06:01:29 2009 UTC (14 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Changes 1.6.14:
* Built with libpng 1.2.35

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 8 12:19:09 2009 UTC (14 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Changes 1.6.13:
* Added "-time_stamp" directive, to cause pngcrush to write a new timestamp
  on the output file instead of replicating the timestame from the input file.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 3 19:36:43 2009 UTC (14 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Changes 1.6.12:
* Eliminated a memory leak in libpng with writing bad tEXt chunks.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 26 09:19:16 2008 UTC (15 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Changes 1.6.10:
* Add sTER chunk support.

Changes 1.6.9:
* Updated cexcept.h to version 2.0.1
* Add missing curly brackets.

Changes 1.6.8:
* Fixed bug with handling of -z and -zi options.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 18 08:41:19 2008 UTC (15 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Changes 1.6.7:
  Moved PNG_UINT_CHNK and some other defines from pngcrush.h to pngcrush.c
  Reject invalid color_type or bit_depth.

Changes 1.6.6:
  Added dSIG support.  Pngcrush will not rewrite an image containing
  a dSIG chunk immediately following the IHDR chunk, unless the
  dSIG is explicitly removed with "-rem dSIG" or explicitly kept
  with "-keep dSIG".  In the latter case the saved dSIG chunks will
  become invalid if any changes are made to the datastream.
  Fixed bug in writing unknown chunks from the end_info_ptr.

Changes 1.6.5:
  Discontinued adding a new gAMA chunk when writing sRGB chunk.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Mar 22 08:48:17 2008 UTC (15 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Added LDFLAGS, which is sometimes needed

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 4 15:39:10 2008 UTC (15 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 6 20:51:25 2006 UTC (17 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Fix building on Darwin

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 10 07:43:11 2006 UTC (17 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Changes 1.6.4:
* Fixed bug in handling of undocumented -trns_a option.
* Fixed bug with "nosave" handling of unknown chunks.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 19 17:00:12 2006 UTC (17 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored)

Update to 1.6.3, and fix build after png-1.2.9nb2 update:

Version 1.6.3 (built with libpng-1.2.9beta11 and zlib-1.2.3)

  Fixed documentation of iTXt input (Shlomi Tal).
  Removed #define PNG_INTERNAL and provided prototypes for some
  internal libpng functions that are duplicated in pngcrush.c

Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 17 13:46:34 2006 UTC (17 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 18 11:07:10 2006 UTC (17 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.20: +5 -7 lines
Diff to previous 1.20 (colored)

Changes 1.6.2:
* Fixed bug with "PNG_ROWBYTES" usage, introduced in version 1.6.1.
  The bug could cause a crash and only affects the "nolib" builds.
* Converted C++ style (// ...) comments to C style (/* ... */).
* Defined TOO_FAR == 32767 in deflate.c (again). The definition was omitted
  from version 1.6.0 when zlib was upgraded to version 1.2.3.

Changes 1.6.1:
* Copied non-exported libpng functions from libpng into pngcrush, to make
  pngcrush play more nicely with shared libpng. These are ifdef'ed out when
  a static library is being built with the bundled libpng and pngcrush.h is
  included.

Changes 1.6.0:
* Moved ChangeLog out of pngcrush.c comments and into a separate file.
* Filtered pngcrush.c through "indent -kr" and "expand" for readability.
* Moved 550 lines of usage/help/copyright/license/version info to separate
  function(s) and cleaned up significantly.
* Added some comments for ease of navigation and readability.
* Stripped out a bunch of ancient-libpng compatibility stuff.
* Defined PNG_UINT_* macros (pngcrush.h for now).
* Fixed unknown-chunk handling ("-rem alla" and "-rem gifx" now work).
* Created modified version of makefile that supports external zlib.
* Added support for methods using Z_RLE zlib strategy (zlib 1.2.x only).
* Documented -huffman option in usage screen.
* Added IDAT statistics to final per-file summary.
* Added utime() support to give output files same timestamps as input files.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 16 06:57:58 2005 UTC (18 years, 5 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Create directories before installing files into them.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:08 2005 UTC (18 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 13 21:28:28 2004 UTC (19 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

USE_BUILDLINK3 is a yes/no variable.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 3 00:14:57 2004 UTC (19 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 24 00:51:09 2004 UTC (19 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Convert to bl3.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 12 21:23:05 2004 UTC (19 years, 11 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.14: +6 -3 lines
Diff to previous 1.14 (colored)

Now links dynamically with zlib and libpng

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 17 21:42:23 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 31 00:01:53 2002 UTC (21 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Update to 1.5.10:
* Fixed bug, introduced in 1.5.9, that caused defaults for method 0 to be
  used instead of copying the original image, when the original was already
  smallest.
* Work around CPU timer wraparound at 2G microseconds.
* Upgraded zlib from 1.1.3 to 1.1.4. Pngcrush is believed not to be
  vulnerable to the zlib-1.1.3 buffer-overflow bug.
* Choose the first instance of smallest IDAT instead of the last, for
  faster final recompression, suggested by TSamuel.
* Added -trns_a option for entering a tRNS array.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 12 09:22:36 2001 UTC (22 years, 2 months ago) by rh
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update pngcrush to 1.5.7.  Changes include:

* Version 1.5.7 (built with libpng-1.2.0)
    * Added setargv.obj to Makefile.msc to expand wildcards, e.g., *.png
    * Use constant string "pngcrush" instead of argv[0] when appropriate.
    * Only check stats for infile==outfile once per input file, or not at
      all if "-nofilecheck" option is present or if a directory was
      created.
    * Fixed bugs with changing bit_depth of grayscale images.

* Version 1.5.6 (built with libpng-1.0.12)
    * Eliminated extra "Removed the cHNK chunk" messages generated by
      version 1.5.5 when "-rem alla" or "-rem allb" is used.
    * All unknown chunks including safe-to-copy chunks are now removed in
      response to the "-rem alla" or "-rem allb" options.
    * Issue a warning if the user tries "-cc" option when it is not
      supported.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 10 20:01:22 2001 UTC (22 years, 6 months ago) by mjl
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update to 1.5.5

Reset reduce_to_gray and it_is_opaque flags prior to processing each image.
Enable removal of safe-to-copy chunks that are being handled as unknown
Added 262 to the length of uncompressed data when calculating
required_window_size, to account for zlib/deflate implementation.
Added "-bit_depth n" to the help screen.
Call png_set_packing() when increasing bit_depth to 2 or 4.
Added warning about not overwriting an existing tRNS chunk.
Reduced the memory usage
Write 500K IDAT chunks even when system libpng is being used.
Ignore all-zero gAMA and cHRM chunks, with a warning.
Added "-loco" option (writes MNG files with filter_method 64)
"-dir" and "-ext" options are no longer mutually exclusive, e.g.:
pngcrush -loco -dir Crushed -ext .mng *.png
Added "-iccp" option
Increased the zlib memory level to 9, which improves compression
Enabled the "-max max_idat_size" option, even when max_idat_size
exceeds the default 1/2 megabyte size.
Added missing "png_ptr" argument to png_error() call
Revised the "-help" output slightly and improved the "-version" output.
The "-already[_crushed]" option is now ignored if the "-force" option
is present or if chunks are being added, deleted, or modified.
Improved "things_have_changed" behavior (now, when set in a particular file, it is not set for all remaining files)

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 16 15:22:31 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 11 17:49:25 2000 UTC (23 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Use "${MASTER_SITE_SOURCEFORGE}".

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 30 19:23:04 2000 UTC (23 years, 4 months ago) by rh
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Update pngcrush to 1.5.1.  Changes are: disabled color counting by default
(instead it is controlled by commandline arguments "-cc" and "-no_cc"),
and addition of the word "irrevocably" to the license.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 28 11:25:38 2000 UTC (23 years, 4 months ago) by rh
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update pngcrush to 1.5.0.  Changes are bugfixes only.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 23 10:31:51 2000 UTC (23 years, 4 months ago) by rh
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Update pngcrush to 1.4.8.

Changes include:

Version 1.4.8
 * Detect and remove all-opaque alpha channel.
 * Detect and reduce all-gray truecolor images to grayscale.

Version 1.4.7
 * Restored the "-ext" option that was inadvertently overridden
   with a new "-exit" option in version 1.4.6 ("-exit" is used to
   force an "exit" instead of a "return" from the main program).

Version 1.4.6
 * Fixed bug in color-counting of noninterlaced images.
 * Added capability of processing multiple rows at a time
   (disabled by default because it turns out to be no faster).
 * Replaced "return" statements in main() with "exit" statements.
   User can force exit instead of return with "-exit" argument.
 * Added the UCITA disclaimers to the help output.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 5 15:15:11 2000 UTC (23 years, 5 months ago) by rh
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Update pngcrush to 1.4.5

Changes are:
 * Added color-counting and palette-building capability
 * Added "-fix" option, for fixing bad CRC's and other correctable
	conditions.
 * Write sBIT.alpha=1 when adding an opaque alpha channel and sBIT is
	present.
 * Identify the erroneous 2615-byte sRGB monitor profile being written by
	Photoshop 5.5, which causes many apps to crash, and replace it
	with an sRGB chunk.
 * Added a check for input and output on different devices before
	rejecting the output file as being the same as the input file
	based on inode.
 * Added some UCITA language to the disclaimer.
 * Reduced scope of Try/Catch blocks to avoid nesting them, and removed
	returns from within the Try blocks, where they are not allowed.
 * Removed direct access to the png structure when possible
 * Removes extra IDAT chunks (such as found in some POV-ray PNGs) with a
	warning instead of bailing out.
 * Removed the old setjmp interface entirely.
 * RGB to Grayscale conversion is more accurate (15-bit instead of 8-bit)
	and now uses only integer arithmetic.
 * Changed "Compressed" to "Uncompressed" in help for -itxt.
 * Stifled some compiler warnings
 * Add test on stat_buf.st_size to verify fpin==fpout, because stat in
	MSVC++6.0 standard version returns stat_buf.st_ino=0 for all files
 * Revised pngcrush.h to make it easier to control PNG_ZBUF_SIZE and
	PNG_NO_FLOATING_POINT_SUPPORTED from a makefile.
 * Restored ability to enter "replace_gamma" value as a float even when
	floating point arithmetic is not enabled.
 * Enabled removing tEXt, zTXt, or iTXt chunks by chunk type
 * Removed definition of TOO_FAR from pngcrush.h
 * Uses new libpng error handler; if a file has errors, pngcrush now will
	continue on and compress the remaining files instead of bailing
	out.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 9 02:52:36 2000 UTC (23 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

updated pngcrush to 1.3.4. ChangeLog says:
 * Version 1.3.4 (built with libpng-1.0.5m)
 *   Do not allow pngcrush to overwrite the input file.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 13 08:05:01 2000 UTC (23 years, 11 months ago) by rh
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update pngcrush to 1.3.3.  Changes are:

Version 1.3.3:
 - Restored ability to enter gamma as a float even when floating point
   arithmetic is not enabled.

Version 1.3.2:
 - Fixed "PNG_NO_FLOAING_POINT" typo in pngcrush.h
 - Renamed "dirname" to "directory_name" to avoid conflict with "dirname"
   that appears in string.h on some platforms.
 - #ifdef'ed out parts of the help screen for options that are unsupported.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 28 10:04:34 1999 UTC (23 years, 11 months ago) by rh
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Update png-crush to 1.3.1.  Changes include more use of
'unknown-chunk-processor' for generic chunks, a smaller executable, and
more info about text chunks on the help screen.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Dec 7 19:56:21 1999 UTC (24 years ago) by rh
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of pngcrush-1.2.1, an optimizer for PNG (Portable Network
Graphics) files.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 7 19:56:21 1999 UTC (24 years ago) by rh
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>