commit optipng for openSUSE:Factory
Hello community, here is the log from the commit of package optipng for openSUSE:Factory checked in at 2012-08-08 11:19:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/optipng (Old) and /work/SRC/openSUSE:Factory/.optipng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "optipng", Maintainer is "PGajdos@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/optipng/optipng.changes 2012-03-02 13:49:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.optipng.new/optipng.changes 2012-08-08 11:20:05.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Aug 7 12:41:22 UTC 2012 - pgajdos@suse.com + +- updated to 0.7.1: + !! Fixed a regression in the reduction of palette-encoded grayscale + images. This regression was introduced in version 0.7. + (Thanks to Adam Ciarcinski for the fix.) + +------------------------------------------------------------------- Old: ---- optipng-0.7.tar.gz New: ---- optipng-0.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ optipng.spec ++++++ --- /var/tmp/diff_new_pack.M96HNO/_old 2012-08-08 11:20:15.000000000 +0200 +++ /var/tmp/diff_new_pack.M96HNO/_new 2012-08-08 11:20:15.000000000 +0200 @@ -15,16 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: optipng BuildRequires: libpng-devel +Summary: A PNG File Compressor License: Zlib Group: Productivity/Archiving/Compression -Summary: A PNG File Compressor -Version: 0.7 -Release: 1 +Version: 0.7.1 +Release: 0 Url: http://optipng.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{version}.tar.gz ++++++ optipng-0.7.tar.gz -> optipng-0.7.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/AUTHORS.txt new/optipng-0.7.1/AUTHORS.txt --- old/optipng-0.7/AUTHORS.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/optipng-0.7.1/AUTHORS.txt 2012-03-20 01:19:00.000000000 +0100 @@ -0,0 +1,25 @@ +# OptiPNG version 0.7.1 +# Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors. +# See the accompanying LICENSE file for details. +# +# A Contributing Author is a person or company who contributed code that +# is now part of OptiPNG. +# +# For the purpose of copyright and licensing, this is the official list +# of Contributing Authors, in alphabetic order. + +Adam Ciarcinski +Brian McQuade +Elias Pipping +Fabien Barbier +Maciej Pilichowski +Matthew Fearnley +Nelson A. de Oliveira +Niels de Koning +Petr Gajdos +Piotr Bandurski +Ramona C. Truta +Sebastian Pipping +Stefan Br�ns +Till Maas +Ville Skytt� diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/LICENSE.txt new/optipng-0.7.1/LICENSE.txt --- old/optipng-0.7/LICENSE.txt 2011-01-24 07:05:00.000000000 +0100 +++ new/optipng-0.7.1/LICENSE.txt 2012-03-01 04:09:00.000000000 +0100 @@ -1,5 +1,7 @@ -Copyright (C) 2001-2011 Cosmin Truta. +Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors. +For the purpose of copyright and licensing, the list of Contributing +Authors is available in the accompanying AUTHORS file. This software is provided 'as-is', without any express or implied warranty. In no event will the author(s) be held liable for any damages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/README.txt new/optipng-0.7.1/README.txt --- old/optipng-0.7/README.txt 2011-12-19 19:40:00.000000000 +0100 +++ new/optipng-0.7.1/README.txt 2012-03-20 01:19:00.000000000 +0100 @@ -1,6 +1,6 @@ -OptiPNG 0.7: Advanced PNG optimizer. -Copyright (C) 2001-2011 Cosmin Truta. +OptiPNG 0.7.1: Advanced PNG optimizer. +Copyright (C) 2001-2012 Cosmin Truta. ===================================== License @@ -23,12 +23,12 @@ Build instructions ------------------ On Unix, or under a Bourne-compatible shell, run ./configure and make: - cd optipng-0.7/ + cd optipng-0.7.1/ ./configure && make Alternatively, use a pre-configured makefile that matches your compiler; e.g.: - cd optipng-0.7/ + cd optipng-0.7.1/ nmake -f build/visualc.mk Installation instructions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/doc/history.txt new/optipng-0.7.1/doc/history.txt --- old/optipng-0.7/doc/history.txt 2012-02-29 18:07:00.000000000 +0100 +++ new/optipng-0.7.1/doc/history.txt 2012-03-20 01:19:00.000000000 +0100 @@ -13,6 +13,12 @@ (crash, data/metadata loss or security hazard). * Other modification (e.g. architectural improvement). +Version 0.7.1 19-mar-2012 +------------- +!! Fixed a regression in the reduction of palette-encoded grayscale + images. This regression was introduced in version 0.7. + (Thanks to Adam Ciarcinski for the fix.) + Version 0.7 29-feb-2012 ----------- * Upgraded libpng to version 1.4.9. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/doc/optipng.man.html new/optipng-0.7.1/doc/optipng.man.html --- old/optipng-0.7/doc/optipng.man.html 2012-02-29 18:06:38.000000000 +0100 +++ new/optipng-0.7.1/doc/optipng.man.html 2012-03-20 01:19:00.000000000 +0100 @@ -1,5 +1,5 @@ <!-- Creator : groff version 1.20.1 --> -<!-- CreationDate: Wed Feb 29 12:06:38 2012 --> +<!-- CreationDate: Mon Mar 19 20:19:00 2012 --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> @@ -102,7 +102,7 @@ <p style="margin-left:11%; margin-top: 1em"><b>General options <br> --?</b>, <b>−h</b>, <b>−help</b></p> +−?</b>, <b>−h</b>, <b>−help</b></p> <p style="margin-left:22%;">Show a complete summary of options.</p> @@ -401,8 +401,8 @@ <p style="margin-left:22%;">Select the zlib memory levels used in IDAT compression. <br> The <i>levels</i> argument is specified as a rangeset (e.g. -<b>-zm8−9</b>), and the default <i>levels</i> value -depends on the optimization level set by the option +<b>−zm8−9</b>), and the default <i>levels</i> +value depends on the optimization level set by the option <b>−o</b>. <br> The effect of this option is defined by the <b>zlib</b>(3) library used by <b>OptiPNG</b>.</p> @@ -413,7 +413,7 @@ <p style="margin-left:22%;">Select the zlib compression strategies used in IDAT compression. <br> The <i>strategies</i> argument is specified as a rangeset -(e.g. <b>-zs0−3</b>), and the default +(e.g. <b>−zs0−3</b>), and the default <i>strategies</i> value depends on the optimization level set by the option <b>−o</b>. <br> The effect of this option is defined by the <b>zlib</b>(3) @@ -464,7 +464,7 @@ chunk except <tt>tRNS</tt>. (<tt>tRNS</tt> represents the alpha channel, which, even if ignored in rendering, is still a proper image channel in the RGBA color space.) <br> -The only option currently supported is <b>-strip +The only option currently supported is <b>−strip all</b>.</p> <p style="margin-left:11%; margin-top: 1em"><b>Notes</b> @@ -482,22 +482,23 @@ <p style="margin-left:22%; margin-top: 1em"><b>−out</b> -<tt>newfile.png</tt> <=> -<b>−out=</b><tt>newfile.png</tt> <b><br> -−o3</b> <=> <b>−o 3</b> <=> -<b>−o=3 <br> -−f0,3−5</b> <=> -<b>−f 0,3−5</b> <=> -<b>−f=0,3−5</b></p> +<tt>newfile.png </tt><=> + <b>−out=</b><tt>newfile.png</tt> <b><br> +−o3 </b><=> <b>−o 3 + </b><=> <b>−o=3 <br> +−f0,3−5 </b><=> <b>−f +0,3−5 </b><=> + <b>−f=0,3−5</b></p> <p style="margin-left:11%; margin-top: 1em">Rangeset arguments are cumulative; e.g.</p> <p style="margin-left:22%; margin-top: 1em"><b>−f0 -−f3−5</b> <=> <b>−f0,3−5 <br> -−zs0 −zs1 −zs2−3</b> <=> -<b>−zs0,1,2,3</b> <=> -<b>−zs0−3</b></p> +−f3−5 </b><=> + <b>−f0,3−5 <br> +−zs0 −zs1 −zs2−3 </b><=> + <b>−zs0,1,2,3 </b><=> + <b>−zs0−3</b></p> <h2>EXTENDED DESCRIPTION <a name="EXTENDED DESCRIPTION"></a> @@ -589,10 +590,10 @@ <p style="margin-left:11%; margin-top: 1em"><tt>optipng -file.png </tt># default -speed <tt><br> -optipng -o5 file.png </tt># slow <tt><br> -optipng -o7 file.png </tt># very slow</p> +file.png </tt># default speed +<tt><br> +optipng -o5 file.png </tt># slow <tt><br> +optipng -o7 file.png </tt># very slow</p> <h2>BUGS <a name="BUGS"></a> Files old/optipng-0.7/doc/optipng.man.pdf and new/optipng-0.7.1/doc/optipng.man.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/doc/optipng.man.txt new/optipng-0.7.1/doc/optipng.man.txt --- old/optipng-0.7/doc/optipng.man.txt 2012-02-29 18:06:38.000000000 +0100 +++ new/optipng-0.7.1/doc/optipng.man.txt 2012-03-20 01:19:00.000000000 +0100 @@ -293,4 +293,4 @@ the Debian Project. It was later updated by Cosmin Truta, and is now part of the OptiPNG distribution. -OptiPNG version 0.7 2011-Dec-19 OPTIPNG(1) +OptiPNG version 0.7.1 2012-Mar-19 OPTIPNG(1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/Makefile.in new/optipng-0.7.1/src/optipng/Makefile.in --- old/optipng-0.7/src/optipng/Makefile.in 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/Makefile.in 2012-03-20 01:19:00.000000000 +0100 @@ -215,7 +215,7 @@ distclean-pngxtern-gif-pnm-tiff \ distclean-libpng \ distclean-zlib - -$(RM_F) Makefile + -$(RM_F) Makefile man/Makefile .PHONY: distclean-pngxtern-gif-pnm-tiff distclean-pngxtern-gif-pnm-tiff: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/build/bcc32.mk new/optipng-0.7.1/src/optipng/build/bcc32.mk --- old/optipng-0.7/src/optipng/build/bcc32.mk 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/build/bcc32.mk 2012-03-20 01:19:00.000000000 +0100 @@ -196,7 +196,7 @@ distclean-pngxtern-gif-pnm-tiff \ distclean-libpng \ distclean-zlib - -$(RM_F) Makefile + -$(RM_F) Makefile man\Makefile distclean-pngxtern-gif-pnm-tiff: cd $(PNGXTERN_DIR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/build/clang.mk new/optipng-0.7.1/src/optipng/build/clang.mk --- old/optipng-0.7/src/optipng/build/clang.mk 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/build/clang.mk 2012-03-20 01:19:00.000000000 +0100 @@ -221,7 +221,7 @@ distclean-pngxtern-gif-pnm-tiff \ distclean-libpng \ distclean-zlib - -$(RM_F) Makefile + -$(RM_F) Makefile man/Makefile .PHONY: distclean-pngxtern-gif-pnm-tiff distclean-pngxtern-gif-pnm-tiff: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/build/gcc.mk new/optipng-0.7.1/src/optipng/build/gcc.mk --- old/optipng-0.7/src/optipng/build/gcc.mk 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/build/gcc.mk 2012-03-20 01:19:00.000000000 +0100 @@ -221,7 +221,7 @@ distclean-pngxtern-gif-pnm-tiff \ distclean-libpng \ distclean-zlib - -$(RM_F) Makefile + -$(RM_F) Makefile man/Makefile .PHONY: distclean-pngxtern-gif-pnm-tiff distclean-pngxtern-gif-pnm-tiff: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/build/unix.mk new/optipng-0.7.1/src/optipng/build/unix.mk --- old/optipng-0.7/src/optipng/build/unix.mk 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/build/unix.mk 2012-03-20 01:19:00.000000000 +0100 @@ -221,7 +221,7 @@ distclean-pngxtern-gif-pnm-tiff \ distclean-libpng \ distclean-zlib - -$(RM_F) Makefile + -$(RM_F) Makefile man/Makefile .PHONY: distclean-pngxtern-gif-pnm-tiff distclean-pngxtern-gif-pnm-tiff: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/build/visualc.mk new/optipng-0.7.1/src/optipng/build/visualc.mk --- old/optipng-0.7/src/optipng/build/visualc.mk 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/build/visualc.mk 2012-03-20 01:19:00.000000000 +0100 @@ -196,7 +196,7 @@ distclean-pngxtern-gif-pnm-tiff \ distclean-libpng \ distclean-zlib - -$(RM_F) Makefile + -$(RM_F) Makefile man\Makefile distclean-pngxtern-gif-pnm-tiff: cd $(PNGXTERN_DIR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/man/optipng.1 new/optipng-0.7.1/src/optipng/man/optipng.1 --- old/optipng-0.7/src/optipng/man/optipng.1 2011-12-19 19:40:00.000000000 +0100 +++ new/optipng-0.7.1/src/optipng/man/optipng.1 2012-03-20 01:19:00.000000000 +0100 @@ -1,4 +1,4 @@ -.TH OPTIPNG 1 "2011-Dec-19" "OptiPNG version 0.7" +.TH OPTIPNG 1 "2012-Mar-19" "OptiPNG version 0.7.1" .SH NAME .B OptiPNG @@ -49,7 +49,7 @@ .SH OPTIONS .SS "General options" .TP -\fB-?\fP, \fB\-h\fP, \fB\-help\fP +\fB\-?\fP, \fB\-h\fP, \fB\-help\fP Show a complete summary of options. .TP \fB\-backup\fP, \fB\-keep\fP @@ -195,7 +195,7 @@ \fB\-zm\fP \fIlevels\fP Select the zlib memory levels used in IDAT compression. .br -The \fIlevels\fP argument is specified as a rangeset (e.g. \fB-zm8\-9\fP), +The \fIlevels\fP argument is specified as a rangeset (e.g. \fB\-zm8\-9\fP), and the default \fIlevels\fP value depends on the optimization level set by the option \fB\-o\fP. .br @@ -205,7 +205,7 @@ \fB\-zs\fP \fIstrategies\fP Select the zlib compression strategies used in IDAT compression. .br -The \fIstrategies\fP argument is specified as a rangeset (e.g. \fB-zs0\-3\fP), +The \fIstrategies\fP argument is specified as a rangeset (e.g. \fB\-zs0\-3\fP), and the default \fIstrategies\fP value depends on the optimization level set by the option \fB\-o\fP. .br @@ -237,7 +237,7 @@ \fCtRNS\fP. (\fCtRNS\fP represents the alpha channel, which, even if ignored in rendering, is still a proper image channel in the RGBA color space.) .br -The only option currently supported is \fB-strip all\fP. +The only option currently supported is \fB\-strip all\fP. .SS "Notes" Options may come in any order (except for \fB\-\-\fP), before, after, or alternating with file names. Option names are case-insensitive and may be @@ -247,17 +247,17 @@ whitespace or the equal sign ('\fB=\fP'). If the option argument is a number or a rangeset, the separator may be omitted. For example: .IP -\fB\-out\fP \fCnewfile.png\fP\h'2'<=>\h'2'\fB\-out=\fP\fCnewfile.png\fP +\fB\-out\fP \fCnewfile.png\fP \ <=> \ \fB\-out=\fP\fCnewfile.png\fP .br -\fB\-o3\fP\h'2'<=>\h'2'\fB\-o\ 3\fP\h'2'<=>\h'2'\fB\-o=3\fP +\fB\-o3\fP \ <=> \ \fB\-o 3\fP \ <=> \ \fB\-o=3\fP .br -\fB\-f0,3\-5\fP\h'2'<=>\h'2'\fB\-f\ 0,3\-5\fP\h'2'<=>\h'2'\fB\-f=0,3\-5\fP +\fB\-f0,3\-5\fP \ <=> \ \fB\-f 0,3\-5\fP \ <=> \ \fB\-f=0,3\-5\fP .P Rangeset arguments are cumulative; e.g. .IP -\fB\-f0 \-f3\-5\fP\h'2'<=>\h'2'\fB\-f0,3\-5\fP +\fB\-f0 \-f3\-5\fP \ <=> \ \fB\-f0,3\-5\fP .br -\fB\-zs0 \-zs1 \-zs2\-3\fP\h'2'<=>\h'2'\fB\-zs0,1,2,3\fP\h'2'<=>\h'2'\fB\-zs0\-3\fP +\fB\-zs0 \-zs1 \-zs2\-3\fP \ <=> \ \fB\-zs0,1,2,3\fP \ <=> \ \fB\-zs0\-3\fP .SH "EXTENDED DESCRIPTION" The PNG optimization algorithm consists of the following steps: @@ -292,11 +292,11 @@ improvements in compression ratio, and are recommended to advanced users only. .SH EXAMPLES -\fCoptipng file.png\ \ \ \ \ \ \fP# default speed +\fCoptipng file.png \ \ \ \ \ \fP# default speed .br -\fCoptipng -o5 file.png\ \ \fP# slow +\fCoptipng -o5 file.png \ \fP# slow .br -\fCoptipng -o7 file.png\ \ \fP# very slow +\fCoptipng -o7 file.png \ \fP# very slow .SH BUGS Lossless image reductions are not completely implemented. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/opngreduc.c new/optipng-0.7.1/src/optipng/opngreduc.c --- old/optipng-0.7/src/optipng/opngreduc.c 2011-12-19 19:40:00.000000000 +0100 +++ new/optipng-0.7.1/src/optipng/opngreduc.c 2012-03-20 01:19:00.000000000 +0100 @@ -1207,7 +1207,11 @@ } if (reductions & OPNG_REDUCE_8_TO_4_2_1) + { result |= opng_reduce_palette_bits(png_ptr, info_ptr, reductions); + /* Refresh the image information. */ + bit_depth = png_get_bit_depth(png_ptr, info_ptr); + } if ((bit_depth < 8) || !is_gray) return result; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optipng-0.7/src/optipng/proginfo.h new/optipng-0.7.1/src/optipng/proginfo.h --- old/optipng-0.7/src/optipng/proginfo.h 2011-07-22 06:49:00.000000000 +0200 +++ new/optipng-0.7.1/src/optipng/proginfo.h 2012-03-20 01:19:00.000000000 +0100 @@ -2,14 +2,24 @@ * proginfo.h * OptiPNG program information. * - * Copyright (C) 2001-2011 Cosmin Truta. + * Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors. * * This software is distributed under the zlib license. * Please see the accompanying LICENSE file. */ -#define PROGRAM_NAME "OptiPNG" -#define PROGRAM_SUMMARY "Portable Network Graphics optimizer" -#define PROGRAM_VERSION "0.7" -#define PROGRAM_COPYRIGHT "Copyright (C) 2001-2011 Cosmin Truta" -#define PROGRAM_URI "http://optipng.sourceforge.net/" +#ifndef PROGINFO_H +#define PROGINFO_H + +#define PROGRAM_NAME \ + "OptiPNG" +#define PROGRAM_SUMMARY \ + "Portable Network Graphics optimizer" +#define PROGRAM_VERSION \ + "0.7.1" +#define PROGRAM_COPYRIGHT \ + "Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors" +#define PROGRAM_URI \ + "http://optipng.sourceforge.net/" + +#endif /* PROGINFO_H */ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de