Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 16:59:44 GMT
From:      "Joseph S. Atkinson" <jsa@wickedmachine.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140726: Update graphics/pngcrush to 1.7.5 and add color counting feature
Message-ID:  <200911201659.nAKGxiSX088201@www.freebsd.org>
Resent-Message-ID: <200911201700.nAKH07ox015917@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140726
>Category:       ports
>Synopsis:       Update graphics/pngcrush to 1.7.5 and add color counting feature
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 20 17:00:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        
>Organization:
>Environment:
>Description:
@amdmi3:

Was investigating the long standing "color counting not supported" message, and discovered that it simply needed to be defined in CFLAGS. It enables counting of colors to be used in creating indexed color palettes.

While I was reading on it, noticed there was a new version (1.7.1) according to that changelog. After a bit more poking, discovered that release announcements aren't on the main page regularly... and the current version is 1.7.5 as of 11/03/2009. (And for some perplexing reason now has a 00- prepended to the directory name on SF...)

Since I was already there, I figured I would kill two birds with one stone.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru /usr/ports/graphics/pngcrush/Makefile pngcrush/Makefile
--- /usr/ports/graphics/pngcrush/Makefile	2009-11-02 16:22:25.000000000 -0500
+++ pngcrush/Makefile	2009-11-20 11:40:28.000000000 -0500
@@ -6,15 +6,16 @@
 #
 
 PORTNAME=	pngcrush
-PORTVERSION=	1.7.0
+PORTVERSION=	1.7.5
 CATEGORIES=	graphics
-MASTER_SITES=	SF/pmt/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	SF/pmt/${PORTNAME}/00-${PORTVERSION}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	An optimizer for PNG files
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
+CFLAGS+=	-DPNGCRUSH_COUNT_COLORS
 MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}"
 MAKE_JOBS_SAFE=	yes
 
diff -ru /usr/ports/graphics/pngcrush/distinfo pngcrush/distinfo
--- /usr/ports/graphics/pngcrush/distinfo	2009-11-02 16:22:25.000000000 -0500
+++ pngcrush/distinfo	2009-11-20 11:40:46.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (pngcrush-1.7.0.tar.bz2) = 033f1542ef452952b1ba585cf21be70b
-SHA256 (pngcrush-1.7.0.tar.bz2) = d7ef844e0795f297fdd5c6f395a5ac85b11d809e22deab2ca7481c1aa39b3084
-SIZE (pngcrush-1.7.0.tar.bz2) = 270086
+MD5 (pngcrush-1.7.5.tar.bz2) = 1f3a6a43d7f4e60ce6eac7af6a2d74c6
+SHA256 (pngcrush-1.7.5.tar.bz2) = ecd9894a8aecc9293327783a341a7bdb7156ae37bdb94d21e6177c89633f8a0a
+SIZE (pngcrush-1.7.5.tar.bz2) = 269088


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911201659.nAKGxiSX088201>