pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gif2png Update to 2.5.2:
details: https://anonhg.NetBSD.org/pkgsrc/rev/c6218d4f723d
branches: trunk
changeset: 569872:c6218d4f723d
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jan 20 14:30:28 2010 +0000
description:
Update to 2.5.2:
2.5.2 @ 2009-11-11:
* Apply C style tweaks from Glenn Randers-Pehrson, eliminating
some deprecated API calls.
diffstat:
graphics/gif2png/Makefile | 5 ++---
graphics/gif2png/distinfo | 9 ++++-----
graphics/gif2png/patches/patch-aa | 34 ----------------------------------
3 files changed, 6 insertions(+), 42 deletions(-)
diffs (65 lines):
diff -r ebfc238a96e9 -r c6218d4f723d graphics/gif2png/Makefile
--- a/graphics/gif2png/Makefile Wed Jan 20 14:29:46 2010 +0000
+++ b/graphics/gif2png/Makefile Wed Jan 20 14:30:28 2010 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2009/02/09 22:56:24 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2010/01/20 14:30:28 wiz Exp $
-DISTNAME= gif2png-2.5.1
-PKGREVISION= 3
+DISTNAME= gif2png-2.5.2
CATEGORIES= graphics converters
MASTER_SITES= http://www.catb.org/~esr/gif2png/
diff -r ebfc238a96e9 -r c6218d4f723d graphics/gif2png/distinfo
--- a/graphics/gif2png/distinfo Wed Jan 20 14:29:46 2010 +0000
+++ b/graphics/gif2png/distinfo Wed Jan 20 14:30:28 2010 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.8 2006/04/18 12:56:03 tron Exp $
+$NetBSD: distinfo,v 1.9 2010/01/20 14:30:28 wiz Exp $
-SHA1 (gif2png-2.5.1.tar.gz) = 682f3dc2849ed1e938c12459eb089247aee09a2b
-RMD160 (gif2png-2.5.1.tar.gz) = 64dfd73ef988a1f45f221abf6cfbf2e790f42ea3
-Size (gif2png-2.5.1.tar.gz) = 104449 bytes
-SHA1 (patch-aa) = 20570f65b5b0604aa6449da38d847979119360db
+SHA1 (gif2png-2.5.2.tar.gz) = 0e9e66d6728fe7e2dcde61ad0e398a60894946b3
+RMD160 (gif2png-2.5.2.tar.gz) = a361b18af23e59b73121ae25a155b54fb62eb14a
+Size (gif2png-2.5.2.tar.gz) = 171740 bytes
diff -r ebfc238a96e9 -r c6218d4f723d graphics/gif2png/patches/patch-aa
--- a/graphics/gif2png/patches/patch-aa Wed Jan 20 14:29:46 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2006/04/18 12:56:03 tron Exp $
-
---- gif2png.c.orig 2002-05-10 15:06:02.000000000 +0100
-+++ gif2png.c 2006-04-18 13:52:45.000000000 +0100
-@@ -135,7 +135,7 @@
- unsigned long hist_maxvalue;
- int passcount;
- int errtype, errorcount = 0;
-- png_text software;
-+ png_text comment, software;
-
- /* these volatile declarations prevent gcc warnings ("variable might be
- * clobbered by `longjmp' or `vfork'") */
-@@ -517,11 +517,15 @@
- j = s->size;
- if (j > 0 && data[j-1] == '\0') /* some apps include a NULL in GIF comment */
- --j;
-- if (j<500) {
-- png_write_tEXt(png_ptr, "Comment", (png_charp)data, j);
-- } else {
-- png_write_zTXt(png_ptr, "Comment", (png_charp)data, j, 0);
-- }
-+ if (j<1000)
-+ comment.compression = PNG_TEXT_COMPRESSION_NONE;
-+ else
-+ comment.compression = PNG_TEXT_COMPRESSION_zTXt;
-+ comment.key = "Comment";
-+ comment.text = data;
-+ comment.text_length = j;
-+
-+ png_set_text(png_ptr, info_ptr, &comment, 1);
- break;
-
- case GIFapplication:
Home |
Main Index |
Thread Index |
Old Index