Date: Fri, 27 Jun 2014 14:08:51 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359527 - in head/graphics/sng: . files Message-ID: <201406271408.s5RE8pjF001257@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Fri Jun 27 14:08:51 2014 New Revision: 359527 URL: http://svnweb.freebsd.org/changeset/ports/359527 QAT: https://qat.redports.org/buildarchive/r359527/ Log: - Update to 1.0.6 - Pass maintainership to submitter PR: 190663 Added: head/graphics/sng/files/patch-sng.h (contents, props changed) Deleted: head/graphics/sng/files/patch-sngc.c Modified: head/graphics/sng/Makefile head/graphics/sng/distinfo head/graphics/sng/files/patch-sngd.c head/graphics/sng/pkg-descr Modified: head/graphics/sng/Makefile ============================================================================== --- head/graphics/sng/Makefile Fri Jun 27 14:01:45 2014 (r359526) +++ head/graphics/sng/Makefile Fri Jun 27 14:08:51 2014 (r359527) @@ -2,12 +2,11 @@ # $FreeBSD$ PORTNAME= sng -PORTVERSION= 1.0.5 -PORTREVISION= 1 +PORTVERSION= 1.0.6 CATEGORIES= graphics -MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ +MASTER_SITES= SF/${PORTNAME}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@robakdesign.com COMMENT= Compiler/decompiler for Scriptable Network Graphics BUILD_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb Modified: head/graphics/sng/distinfo ============================================================================== --- head/graphics/sng/distinfo Fri Jun 27 14:01:45 2014 (r359526) +++ head/graphics/sng/distinfo Fri Jun 27 14:08:51 2014 (r359527) @@ -1,2 +1,2 @@ -SHA256 (sng-1.0.5.tar.gz) = 533839f659c44e8c50137011a9bdcb174a2080ad8f470ebfa150cc722b7eed49 -SIZE (sng-1.0.5.tar.gz) = 118893 +SHA256 (sng-1.0.6.tar.gz) = 0657c821fd92ff4ccedc4a353ecef0c2d89b24d421cf515fc49a2e04b130d513 +SIZE (sng-1.0.6.tar.gz) = 130592 Added: head/graphics/sng/files/patch-sng.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/sng/files/patch-sng.h Fri Jun 27 14:08:51 2014 (r359527) @@ -0,0 +1,10 @@ +--- sng.h.orig 2014-06-05 17:01:34.835466603 +0100 ++++ sng.h 2014-06-05 17:02:02.186256070 +0100 +@@ -1,5 +1,7 @@ + /* sng.h -- interface to the SNG compiler */ + ++#include "libpng15/pngpriv.h" ++ + typedef struct color_item_t + { + unsigned char r, g, b; Modified: head/graphics/sng/files/patch-sngd.c ============================================================================== --- head/graphics/sng/files/patch-sngd.c Fri Jun 27 14:01:45 2014 (r359526) +++ head/graphics/sng/files/patch-sngd.c Fri Jun 27 14:08:51 2014 (r359527) @@ -1,14 +1,6 @@ ---- sngd.c.orig 2012-05-04 08:20:04.000000000 +0200 -+++ sngd.c 2012-05-04 08:42:54.000000000 +0200 -@@ -10,6 +10,7 @@ - #define PNG_INTERNAL - #include "config.h" /* for RGBTXT */ - #include "png.h" -+#include "pngpriv.h" - #include "sng.h" - - png_structp png_ptr; -@@ -726,8 +727,8 @@ +--- sngd.c.orig 2014-06-05 17:02:15.635246968 +0100 ++++ sngd.c 2014-06-05 17:02:31.866045210 +0100 +@@ -738,8 +738,8 @@ } #ifdef PNG_FLOATING_POINT_SUPPORTED #ifndef MNG_INTERFACE @@ -19,26 +11,3 @@ #else fprintf(fpout, " width: %g\n", info_ptr->scal.pixel_width); fprintf(fpout, " height: %g\n", info_ptr->scal.pixel_height); -@@ -794,17 +795,17 @@ - fprintf(fpout, "tRNS {\n"); - switch (info_ptr->color_type) { - case PNG_COLOR_TYPE_GRAY: -- fprintf(fpout, " gray: %u;\n", info_ptr->trans_values.gray); -+ fprintf(fpout, " gray: %u;\n", info_ptr->trans_color.gray); - break; - case PNG_COLOR_TYPE_RGB: - fprintf(fpout, " red: %u; green: %u; blue: %u;\n", -- info_ptr->trans_values.red, -- info_ptr->trans_values.green, -- info_ptr->trans_values.blue); -+ info_ptr->trans_color.red, -+ info_ptr->trans_color.green, -+ info_ptr->trans_color.blue); - break; - case PNG_COLOR_TYPE_PALETTE: - for (i = 0; i < info_ptr->num_trans; i++) -- fprintf(fpout, " %u", info_ptr->trans[i]); -+ fprintf(fpout, " %u", info_ptr->trans_alpha[i]); - break; - case PNG_COLOR_TYPE_GRAY_ALPHA: - case PNG_COLOR_TYPE_RGB_ALPHA: Modified: head/graphics/sng/pkg-descr ============================================================================== --- head/graphics/sng/pkg-descr Fri Jun 27 14:01:45 2014 (r359526) +++ head/graphics/sng/pkg-descr Fri Jun 27 14:08:51 2014 (r359527) @@ -5,4 +5,4 @@ view and edit exotic PNG chunks not supp since SNG is easy to generate from scripts, sng may be useful at the end of a pipeline that programmatically generates PNG images. -WWW: http://sng.sourceforge.net/ +WWW: http://sng.sourceforge.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406271408.s5RE8pjF001257>