Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3ba0725cff5e1ed87e12a8916395001fa425b54a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3ba0725cff5e1ed87e12a8916395001fa425b54a)
  • Date: Wed, 6 Jan 2010 08:42:50 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

graphics/pngcrush/BUILD | 1 +
graphics/pngcrush/DETAILS | 11 ++++++-----
graphics/pngcrush/HISTORY | 6 ++++++
graphics/pngcrush/INSTALL | 3 ++-
graphics/pngcrush/PRE_BUILD | 6 ++++--
graphics/pngcrush/make.patch | 12 ++++++++++++
6 files changed, 31 insertions(+), 8 deletions(-)

New commits:
commit 3ba0725cff5e1ed87e12a8916395001fa425b54a
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

pngcrush: => 1.7.7

diff --git a/graphics/pngcrush/BUILD b/graphics/pngcrush/BUILD
index 8f58e6d..8f00b77 100755
--- a/graphics/pngcrush/BUILD
+++ b/graphics/pngcrush/BUILD
@@ -1 +1,2 @@
make
+
diff --git a/graphics/pngcrush/DETAILS b/graphics/pngcrush/DETAILS
index 3096d1c..822661d 100755
--- a/graphics/pngcrush/DETAILS
+++ b/graphics/pngcrush/DETAILS
@@ -1,14 +1,14 @@
SPELL=pngcrush
- VERSION=1.6.10
- SOURCE=$SPELL-${VERSION}.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ VERSION=1.7.7
+ SOURCE=$SPELL-$VERSION.tar.bz2
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=$SOURCEFORGE_URL/pmt/$SOURCE
WEB_SITE=http://pmt.sourceforge.net/pngcrush/index.html
ENTERED=20030613
-
SOURCE_HASH=sha512:527e36277e9fe6de7f50ff24d0155a7b2492e44a088fe5ea8701d983dea32dd75f36beb14dc5eb2978ead0980c0974ea6ba046acf126b04741385a3bbe45d529
+
SOURCE_HASH=sha512:b7a3c02375b3a02ea94a9cc9e4e4d17ff9dd7e69a1f4739fcbfe4a2160aa9d525a86edc8bc890a1b15751af33370c3d7234fa8e66fca39311fa4b304e9e7f94b
LICENSE[0]=ZLIB
KEYWORDS="graphics"
- SHORT="Pngcrush is an optimizer for PNG (Portable Network
Graphics) files."
+ SHORT="optimizer for PNG (Portable Network Graphics) files"
cat << EOF
Pngcrush is an optimizer for PNG (Portable Network Graphics) files. It
can be run from a commandline in an MSDOS window, or from a UNIX or
@@ -19,3 +19,4 @@ trying various compression levels an PNG filter methods. It
also can be
used to remove unwanted ancillary chunks, or to add certain chunks
including gAMA, tRNS, iCCP, and textual chunks.
EOF
+
diff --git a/graphics/pngcrush/HISTORY b/graphics/pngcrush/HISTORY
index 029d5bf..6707b2a 100644
--- a/graphics/pngcrush/HISTORY
+++ b/graphics/pngcrush/HISTORY
@@ -1,3 +1,9 @@
+2010-01-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.7.7; quoting paths; corrected desc
+ * INSTALL: quoting paths
+ * PRE_BUILD: apply the patch
+ * make.patch: added, to use system-defined c flags
+
2008-10-01 George Sherwood <gsherwood AT sourcemage.org>
* DETAILS: Updated to version 1.6.10
* PRE_BUILD: Added sedit to use gcc vice gcc-4.3.0
diff --git a/graphics/pngcrush/INSTALL b/graphics/pngcrush/INSTALL
index 392dc96..464e199 100755
--- a/graphics/pngcrush/INSTALL
+++ b/graphics/pngcrush/INSTALL
@@ -1 +1,2 @@
- install -vm 755 pngcrush $INSTALL_ROOT/usr/bin
+install -vm 755 pngcrush "$INSTALL_ROOT/usr/bin"
+
diff --git a/graphics/pngcrush/PRE_BUILD b/graphics/pngcrush/PRE_BUILD
index 930be59..ce80767 100755
--- a/graphics/pngcrush/PRE_BUILD
+++ b/graphics/pngcrush/PRE_BUILD
@@ -1,3 +1,5 @@
default_pre_build &&
-cd $SOURCE_DIRECTORY &&
-sed -i "s:-4.3.0::g" Makefile
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/make.patch"
+
diff --git a/graphics/pngcrush/make.patch b/graphics/pngcrush/make.patch
new file mode 100644
index 0000000..054bbbd
--- /dev/null
+++ b/graphics/pngcrush/make.patch
@@ -0,0 +1,12 @@
+--- Makefile.orig 2009-12-21 05:46:31.000000000 +0300
++++ Makefile 2010-01-06 17:26:14.924157579 +0300
+@@ -23,7 +23,7 @@
+ #CFLAGS = -I. -O2 -fomit-frame-pointer -Wall
+ #CFLAGS = -I. -O3 -fomit-frame-pointer -Wall
+ #CFLAGS = -I. -Os -fomit-frame-pointer -Wall
+-CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
++#CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
+ #CFLAGS = -I${ZINC} -I. -O3 -fomit-frame-pointer -Wall
+ # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
+ LDFLAGS =
+



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3ba0725cff5e1ed87e12a8916395001fa425b54a), Vlad Glagolev, 01/06/2010

Archive powered by MHonArc 2.6.24.

Top of Page