Commit graph

25 commits

Author SHA1 Message Date
adam
129403ea0f Changes 0.6.5:
* Upgraded libpng to version 1.4.5-optipng [private]
* Upgraded zlib to version 1.2.5-optipng [private]
* Fixed the I/O states (in libpng 1.4.5);
  they caused incorrect file reads in some rare cases.
* Fixed processing of PNG files with chunks of size 0.
* Fixed a display error in the TIFF import.
* Improved checking of the arguments of -f, -zc, -zm and -zs.
* Removed quirks from the rangeset option argument syntax.
* Fixed a build issue under the system-supplied libpng-1.4.
* Resolved forward-compatibility issues regarding libpng-1.5;
  however, the system-supplied libpng-1.5 is not yet supported.
* Added various enhancements to the configure+make build system.
2011-01-28 07:28:16 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
wiz
e8d8834f6a 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.
2010-06-13 22:43:46 +00:00
adam
c1fa86069b Changes 0.6.4:
* Added the option -nx.
* Clarified the behavior of -nz and the relation between -nz and -o0.
* Added a filesystem check (resolving normalized paths, symlinks, etc.)
  to better detect when the output overwrites the input.
* Enabled automatic wildcard expansion (i.e. globbing) on Win64.
* Fixed a Unicode build issue on Windows.
2010-04-11 10:08:51 +00:00
adam
57725fe2a8 patch-ac is no longer needed; fixes linking problem 2009-12-21 07:22:14 +00:00
adam
6cb0a25b3e Changes 0.6.3:
* Fixed a use-after-free error in the GIF reader.
* Flushed the output log to display the current trial in real time.
* Fixed an error in reporting unrecognized file formats.
* Removed the requirement to "fix" TIFF files that contain unrecognized
  metadata.
* Simplified the option abbreviation rules. Option names can now be
  abbreviated to their shortest unique prefix, as in X11 applications.
2009-05-28 08:07:50 +00:00
kefren
c31b8cee0b Add patches from upstream in order to update to 0.6.2.1
Changes:

  * Fix SA34035: Use after free error that can be used to execute arbitrary
    code via a specially crafted GIF image
2009-03-02 06:20:33 +00:00
adam
7c22f0e55d Changes 0.6.2:
* Upgraded libpng to version 1.2.33-optipng [private]
* Put back a speed optimization, accidentally removed in version 0.6,
  allowing singleton trials (-o1) to be bypassed in certain conditions.
* Fixed an array overflow in the BMP reader.
* Fixed the loss of private chunks under the -snip option.
* Produced a more concise on-screen output in the non-verbose mode.
* Added a programming interface to the optimization engine, in order
  to facilitate the development of PNG-optimizing GUI apps and plugins.
2008-11-12 18:45:04 +00:00
adam
8593ba921a Changes 0.6.1:
* Upgraded cexcept to version 2.0.1.
* Added a configure script, to be used instead of unix-secure.mak.
* Fixed a build issue that occured when using libpng from the system.
* Fixed processing when image reduction yields an output larger than
  the original.
* Fixed behavior of -preserve.
* Removed displaying of partial progress when abandoning IDATs under
  the -v option.  The percentages displayed were not very accurate.

Changes 0.6:
* Upgraded libpng to version 1.2.29-optipng [private]
* Implemented grayscale(alpha)-to-palette reductions.
* Improved conversion of bKGD info during RGB-to-palette reductions.
* Fixed conversion of bKGD and tRNS during 16-to-8-bit reductions.
* Added support for compressed BMP (incl. PNG-compressed BMP, you bet!)
* Improved the speed of reading raw PNM files.
* Recognized PNG digital signatures (dSIG) and disabled optimization
  in their presence, to preserve their integrity.
* Allowed the user to enforce the optimization of dSIG'ed files.
* Recognized APNG animation files and disabled reductions to preserve
  their integrity.
* Added the -snip option, to allow the user to "snip" one image out of
  a multi-image file, such as animated GIF, multi-page TIFF, or APNG.
* Improved recovery of PNG files with incomplete IDAT.
* Fixed a crash triggered by the use of -log on some platforms.
* Fixed behavior of -out and -dir when the input is already optimized.
* Provided more detailed image information at the start of processing.
* Provided a more detailed summary at the end of processing, under the
  presence of the -v option and/or the occurence of exceptional events.
2008-07-28 22:46:38 +00:00
heinz
2dd8ec4b10 Added support for installation to DESTDIR. 2007-11-10 19:08:51 +00:00
adam
8c43ff84de Changes 0.5.5:
* Upgraded libpng to version 1.2.15-optipng [private]
* Used a previously-missed RGB-to-palette reduction opportunity
  for images containing 256 distinct colors.
* Fixed conversion of bKGD info during rgb-to-palette reductions.
* Fixed pre-computation of iterations.
* Eliminated a false alarm when processing RGB images with tRNS
  in Unix-secure mode.
* Fixed behavior of -out and -dir when changing interlacing.
* Fixed behavior of "-dir [DRIVE]:" on Windows.
2007-01-29 17:53:05 +00:00
adam
85c67558f5 Changes 0.5.4:
* Added user options -out and -dir, to specify the name of
  the output file or directory.
* Added support for builds based on the system-supplied libpng.
2006-08-23 10:56:25 +00:00
adam
3ea7f11098 Changes 0.5.3:
* Upgraded libpng to version 1.2.12-optipng [private]
* Implemented basic support for TIFF (grayscale, RGB and RGBA, uncompressed).
* Avoided the redundant trial when the search space is singular
  (e.g. when running "optipng -o1 example.tif").
* Prevented accidental file corruption when using option "-log".
* Fixed (again) a small typo in the online help.
2006-08-05 12:23:07 +00:00
adam
f8b86482d4 Changes 0.5.2:
* Improved handling of inexact PNM-to-PNG conversions.
* Fixed a typo that was breaking the build on some Unix platforms.
2006-05-08 22:31:12 +00:00
adam
a2bcfe3a58 -lz is mendatory on some platorms (like Darwin) 2006-05-06 10:25:20 +00:00
adam
dcaf406914 Changes 0.5.1:
* Implemented bit depth reduction for palette images.
* Upgraded libpng to version 1.2.10-optipng [private]
* Improved the BMP support.
* Added a Unix man page.
* Allowed abbreviation of command-line options.
* Changed user option -log to accept a file name as an argument.
* Changed user option -no to -simulate.
* Fixed an error in handling .bak files on Unix.
* Fixed a small typo in the help screen.
* Added the GUIDE and THANKS documents.
* Converted some text document files to HTML.
2006-05-06 08:48:43 +00:00
wiz
891fcffe74 Fix build with png-1.2.9nb2. Bump PKGREVISION. 2006-04-19 17:02:22 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
adam
bbf9e246e0 Changes 0.5:
++ Added pngxtern, a libpng add-on for external image format
   support: BMP (uncompressed), GIF, PNM.
   (This was incorporated from OptiPNG-Plus.)
++ Implemented RGB(A)-to-palette reductions.
 + If trials are ended prematurely, detailed progression is only
   reported under the user option -v.
 - Removed reporting of some IDAT sizes that exceeded the optimum.
   (This was NOT a bug, but a "feature" that confused some users.)
 ! Fixed an RGB-to-gray reduction problem that occured under some
   specific background colors.
 + Added support for builds based on the system-supplied zlib.
 * Modified LICENSE.  It is now a verbatim spell of the zlib license.
2006-01-19 11:18:41 +00:00
grant
eb884f0255 |fmt 70 75 2005-07-14 13:29:29 +00:00
grant
fb5af5f3dc s/Advances/Advanced/ in COMMENT. 2005-07-14 13:28:53 +00:00
grant
ea5465474b include zlib/buildlink3.mk for zlib dependency (hi adam!), bump
PKGREVISION for dependency change.
2005-07-14 13:28:22 +00:00
adam
ba8417a2c5 Needs zlib>=1.2.2 2005-07-14 11:50:08 +00:00
adam
4b49f620cd OptiPNG is a PNG optimizer that recompresses the image files to a smaller size,
without losing any information.  The idea has been inspired from pngcrush, and
is explained in detail in the PNG-Tech article:  "A Guide to PNG optimization"
<http://www.cs.toronto.edu/~cosmin/pngtech/optipng.html>.  The implementation
is carried forward in OptiPNG, which offers a faster execution per trial, and
a wider search space.
2005-07-13 14:52:39 +00:00