[csw-devel] SF.net SVN: gar:[20763] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Apr 17 15:44:48 CEST 2013


Revision: 20763
          http://gar.svn.sourceforge.net/gar/?rev=20763&view=rev
Author:   dmichelsen
Date:     2013-04-17 13:44:48 +0000 (Wed, 17 Apr 2013)
Log Message:
-----------
pngcrush/trunk: Initial commit, some defined missing

Added Paths:
-----------
    csw/mgar/pkg/pngcrush/
    csw/mgar/pkg/pngcrush/Makefile
    csw/mgar/pkg/pngcrush/branches/
    csw/mgar/pkg/pngcrush/tags/
    csw/mgar/pkg/pngcrush/trunk/
    csw/mgar/pkg/pngcrush/trunk/Makefile
    csw/mgar/pkg/pngcrush/trunk/checksums
    csw/mgar/pkg/pngcrush/trunk/files/
    csw/mgar/pkg/pngcrush/trunk/files/COPYING

Added: csw/mgar/pkg/pngcrush/Makefile
===================================================================
--- csw/mgar/pkg/pngcrush/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pngcrush/Makefile	2013-04-17 13:44:48 UTC (rev 20763)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/pngcrush/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/pngcrush/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pngcrush/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pngcrush/trunk/Makefile	2013-04-17 13:44:48 UTC (rev 20763)
@@ -0,0 +1,56 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = pngcrush
+VERSION = 1.7.58
+GARTYPE = v2
+
+DESCRIPTION = An optimizer for PNG (Portable Network Graphics) files
+
+SF_PROJECT = pmt
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES += $(DISTNAME).tar.gz
+DISTFILES += COPYING
+
+VENDOR_URL = http://pmt.sourceforge.net/pngcrush/index.html
+
+BUILD64 = 1
+ISAEXEC = 1
+
+# There is no configure
+CONFIGURE_SCRIPTS =
+
+BUILD_OVERRIDE_VARS += CC
+BUILD_OVERRIDE_VAR_CC = $(CC)
+BUILD_OVERRIDE_VARS += LD
+BUILD_OVERRIDE_VAR_LD = $(CC)
+BUILD_OVERRIDE_VARS += CFLAGS
+BUILD_OVERRIDE_VAR_CFLAGS = $(CFLAGS)
+BUILD_OVERRIDE_VARS += LDFLAGS
+BUILD_OVERRIDE_VAR_LDFLAGS = $(LDFLAGS)
+
+BUILD_OVERRIDE_VARS += PNGINC
+BUILD_OVERRIDE_VAR_PNGINC = $(includedir)
+BUILD_OVERRIDE_VARS += PNGLIB
+BUILD_OVERRIDE_VAR_PNGLIB = $(libdir)
+BUILD_OVERRIDE_VARS += ZINC
+BUILD_OVERRIDE_VAR_ZINC = $(includedir)
+BUILD_OVERRIDE_VARS += ZLIB
+BUILD_OVERRIDE_VAR_ZLIB = $(libdir)
+
+BUILD_ARGS += -f Makefile-nolib
+
+# There is no testsuite
+TEST_SCRIPTS =
+
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+install-custom:
+	ginstall -d $(DESTDIR)$(bindir)	
+	ginstall -m 0755 $(WORKSRC)/pngcrush $(DESTDIR)$(bindir)
+	ginstall -d $(DESTDIR)$(sharedstatedir)$(NAME)
+	ginstall -m 0644 $(WORKSRC)/ChangeLog.html $(DESTDIR)$(sharedstatedir)$(NAME)
+	@$(MAKECOOKIE)
+


Property changes on: csw/mgar/pkg/pngcrush/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/pngcrush/trunk/checksums
===================================================================
--- csw/mgar/pkg/pngcrush/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/pngcrush/trunk/checksums	2013-04-17 13:44:48 UTC (rev 20763)
@@ -0,0 +1 @@
+d6f567fffb2de55eabe04f1727ca9336  pngcrush-1.7.58.tar.gz

Added: csw/mgar/pkg/pngcrush/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/pngcrush/trunk/files/COPYING	                        (rev 0)
+++ csw/mgar/pkg/pngcrush/trunk/files/COPYING	2013-04-17 13:44:48 UTC (rev 20763)
@@ -0,0 +1,32 @@
+/*
+ * pngcrush.c - recompresses png files
+ * Copyright (C) 1998-2002, 2006-2013 Glenn Randers-Pehrson
+ *                                   (glennrp at users.sf.net)
+ * Portions copyright (C) 2005       Greg Roelofs
+ *
+ * This software is released under a license derived from the libpng
+ * license (see LICENSE, below).
+ *
+ * The most recent version of pngcrush can be found at SourceForge in
+ * http://pmt.sf.net/pngcrush/
+ *
+ * This program reads in a PNG image, and writes it out again, with the
+ * optimum filter_method and zlib_level.  It uses brute force (trying
+ * filter_method none, and libpng adaptive filtering, with compression
+ * levels 3 and 9).
+ *
+ * Optionally, it can remove unwanted chunks or add gAMA, sRGB, bKGD,
+ * tEXt/zTXt, and tRNS chunks.  It will remove some chunks such as gAMA,
+ * cHRM, pHYs, and oFFs when their data fields contain all zero, which is a
+ * mistake.
+ *
+ * Uses libpng and zlib.  This program was based upon libpng's pngtest.c.
+ *
+ * Thanks to Greg Roelofs for various bug fixes, suggestions, and
+ * occasionally creating Linux executables.
+ *
+ * Thanks to Stephan Levavej for some helpful suggestions about gcc compiler
+ * options and for a suggestion to increase the Z_MEM_LEVEL from default.
+ *
+ */
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list