pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/optipng Changes 0.7.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f35c086f430d
branches:  trunk
changeset: 601381:f35c086f430d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Mar 20 19:55:19 2012 +0000

description:
Changes 0.7.1:
* Fixed a regression in the reduction of palette-encoded grayscale
  images. This regression was introduced in version 0.7.

diffstat:

 graphics/optipng/Makefile                              |   4 ++--
 graphics/optipng/distinfo                              |   9 ++++-----
 graphics/optipng/patches/patch-src_optipng_opngreduc.c |  17 -----------------
 3 files changed, 6 insertions(+), 24 deletions(-)

diffs (47 lines):

diff -r 6c59394c3711 -r f35c086f430d graphics/optipng/Makefile
--- a/graphics/optipng/Makefile Tue Mar 20 17:26:19 2012 +0000
+++ b/graphics/optipng/Makefile Tue Mar 20 19:55:19 2012 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2012/03/07 09:11:43 adam Exp $
+# $NetBSD: Makefile,v 1.25 2012/03/20 19:55:19 adam Exp $
 
-DISTNAME=      optipng-0.7
+DISTNAME=      optipng-0.7.1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=optipng/}
 
diff -r 6c59394c3711 -r f35c086f430d graphics/optipng/distinfo
--- a/graphics/optipng/distinfo Tue Mar 20 17:26:19 2012 +0000
+++ b/graphics/optipng/distinfo Tue Mar 20 19:55:19 2012 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.20 2012/03/19 12:39:29 adam Exp $
+$NetBSD: distinfo,v 1.21 2012/03/20 19:55:19 adam Exp $
 
-SHA1 (optipng-0.7.tar.gz) = 68122f8cdd279312a4d4cde53a48286ded680f06
-RMD160 (optipng-0.7.tar.gz) = 5a4ef72c786ac28a44d6f0e5335c65484767c461
-Size (optipng-0.7.tar.gz) = 1607303 bytes
-SHA1 (patch-src_optipng_opngreduc.c) = 67b404f6d71133a6a585e1d18b321cafe54d4422
+SHA1 (optipng-0.7.1.tar.gz) = f71ae8c83ffb610c774f454c0f4e47cc7385a545
+RMD160 (optipng-0.7.1.tar.gz) = 67e413c1ddffcd480043c362fc4f185a7f3f3ddb
+Size (optipng-0.7.1.tar.gz) = 1608280 bytes
diff -r 6c59394c3711 -r f35c086f430d graphics/optipng/patches/patch-src_optipng_opngreduc.c
--- a/graphics/optipng/patches/patch-src_optipng_opngreduc.c    Tue Mar 20 17:26:19 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_optipng_opngreduc.c,v 1.1 2012/03/19 12:39:55 adam Exp $
-
-Fix colour reduction bug.
-
---- src/optipng/opngreduc.c.orig       2012-03-19 12:22:37.000000000 +0000
-+++ src/optipng/opngreduc.c
-@@ -1207,7 +1207,10 @@ opng_reduce_palette(png_structp png_ptr,
-    }
- 
-    if (reductions & OPNG_REDUCE_8_TO_4_2_1)
-+   {
-       result |= opng_reduce_palette_bits(png_ptr, info_ptr, reductions);
-+      bit_depth = png_get_bit_depth(png_ptr, info_ptr);
-+   }
-    if ((bit_depth < 8) || !is_gray)
-       return result;
- 



Home | Main Index | Thread Index | Old Index