Searches without login should now work. You must get asked to click a button.
Port details
pngcrushOptimizer for PNG files
1.8.13graphicsΣ=15 1.8.13Version of this port present on the latest quarterly branch.
BROKEN: Depends on undocumented feature to disable Adler32 checksums, consider graphics/oxipng or graphics/pngquant This port expired on: 2024-02-29 IGNORE: is marked as broken: Depends on undocumented feature to disable Adler32 checksums, consider graphics/oxipng or graphics/pngquant
pngcrush reads in a PNG image, and writes it out again, with the
optimum filter_type and zlib_level. It uses brute force (trying
filter_type none, and libpng adaptive filtering, with compression
levels 3 and 9). It does the most time-consuming method last in case
it turns out to be the best. Optionally, it can remove unwanted
chunks or add gAMA and sRGB chunks.
graphics/pngcrush: Mark BROKEN and set expiration date to 2024-02-29
Fails to build with libpng 1.6.41 due to usage of undocumented feature to
disable Adler32 checksums.
Last release in 2017 and dead upstream, redirect users to graphics/oxipng
or graphics/pngquant
Reference:
https://github.com/pnggroup/libpng/commit/269b753496180cdb3082d87b0cd907905593dee5
PR: 276649
Reviewed by: Anton Saietskii <vsasjason@gmail.com> (maintainer)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
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 )
Update to 1.8.1.
Changelog:
* Added the LICENSE file to the tar and zip distributions.
* Made "-force" force output even when the IDAT is larger, and added
"-noforce" option; "-noforce" is now the default behavior (Bug
report #68 at SourceForge by "wintakeall")
* Use right filename in filesize reduction report (overwrite?inname:outname)
(bug report #69 by "wintakeall").
* Removed some superfluous spaces from the Copyright statement.
* Added "-speed" option; it avoids using the AVG or PAETH filters which
are slower to decode.
PR: 208730
Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer)
Update to 1.8.0.
Changelog:
* Made "-reduce" and "-force" the default behavior. Removed obsolete
options "-plte_len", "-cc", "-nocc", "-double_gamma", "-already_crushed",
and "-bit_depth". Removed "things_have_changed" code.
* Deleted png_read_update_info() statement that was mistakenly added to
version 1.7.89. It caused "bad adaptive filter value" errors.
* Suppress warning about "damaged LZ stream" when bailing out and building
with libpng-1.7.0beta.
* Added a LICENSE file to the distribution. It points to the actual
license appearing in the NOTICES section near the top of pngcrush.c
* Show if pngcrush is built with bundled or system libpng and zlib.
* Fixed segfault while writing a -loco MNG (bug found with AFL, reported
by Brian Carpenter). Bug was introduced in pngcrush-1.7.35.
PR: 207801
Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer)
Update to upstream version 1.7.88
Version 1.7.88 eliminates a potential overflow while adding iTXt chunk.
PR: 204733
Submitted by: vsasjason@gmail.com (maintainer)
MFH: 2015Q4
graphics/pngcrush: 1.7.86 -> 1.7.87
- Fixed a double-free bug. There was a "free" of the sPLT chunk structure
in pngcrush and then again in png.c (Bug report by Brian Carpenter).
- Added common-law trademark notice and export control information.
- Rearranged some paragraphs in the comments at the beginning of pngcrush.c
- Increased some buffer sizes in an attempt to prevent possible overflows.
PR: 204421
Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer)
- Update to 1.7.85
Changelog:
* 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.
PR: ports/199520
Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer)
- Update to 1.7.80
* Fixed bug in -plte_len N option.
* Added "-reduce_palette" and "-noreduce_palette" options. Enable
reduce_palette when the "-new" or "-reduce" option is used.
PR: 194790
Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer)
- Update to 1.7.73
Changelog:
* 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.
PR: 188290
Submitted by: Anton Sayetsky <vsjcfm@gmail.com> (maintainer)
graphics/pngcrush: Add archive to MASTER_SITES to unbreak fetch
The distfile is frequently archived by upstream. The previous unbreak
fetch effort lasted less than a week! By adding the archive location to
the MASTER_SITES definition, we can make this port function longer.
PR: ports/179795
Approved by: maintainer (timeout)
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
- Update to 1.7.5
- Add support for color counting
- Pass maintainership to submitter
PR: 140726
Submitted by: "Joseph S. Atkinson" <jsa@wickedmachine.net>
[MAINTAINER] update my email address in 76 ports + mirror some distfiles
I've got a brand new hosting, so change my email to the new
one. Also, now I can mirror some distfiles, so update
MASTER_SITES for some ports.
PR: ports/107038
Submitted by: Dmitry Marakasov <amdmi3@mail.ru>