Skip to Content.
Sympa Menu

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

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 (ed8aeb815801080e57f82ce690e9f95d54b739df)
  • Date: Fri, 16 Jul 2010 15:14:27 -0500

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

ChangeLog | 3 +++
graphics/optipng/BUILD | 4 ++++
graphics/optipng/DEPENDS | 2 ++
graphics/optipng/DETAILS | 16 ++++++++++++++++
graphics/optipng/HISTORY | 2 ++
graphics/optipng/PRE_BUILD | 4 ++++
graphics/optipng/build.patch | 43
+++++++++++++++++++++++++++++++++++++++++++
7 files changed, 74 insertions(+)

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

optipng: new spell, advanced PNG optimizer

diff --git a/ChangeLog b/ChangeLog
index 75dda52..4c43673 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-07-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * graphics/optipng: new spell, advanced PNG optimizer
+
2010-07-13 Arjan Bouter <abouter AT sourcemage.org>
* ldxe/lxdm: new spell, LXDE login/display manager
* audio-libs/libcue: new spell, cue sheet parser library
diff --git a/graphics/optipng/BUILD b/graphics/optipng/BUILD
new file mode 100755
index 0000000..2f26843
--- /dev/null
+++ b/graphics/optipng/BUILD
@@ -0,0 +1,4 @@
+./configure -prefix="$INSTALL_ROOT/usr" \
+ $OPTS &&
+
+make
diff --git a/graphics/optipng/DEPENDS b/graphics/optipng/DEPENDS
new file mode 100755
index 0000000..c5763f7
--- /dev/null
+++ b/graphics/optipng/DEPENDS
@@ -0,0 +1,2 @@
+depends zlib '-with-system-zlib' &&
+depends libpng '-with-system-libpng'
diff --git a/graphics/optipng/DETAILS b/graphics/optipng/DETAILS
new file mode 100755
index 0000000..4ab34f7
--- /dev/null
+++ b/graphics/optipng/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=optipng
+ VERSION=0.6.4
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:d3d6a6405923428521adad83963daee6ef0aea50dc94219e3788959ad10115c2ea3082b2578884528363827585574e433ba1410e49e2dce00979557feec987c0
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://optipng.sourceforge.net/
+ LICENSE[0]=ZLIB
+ ENTERED=20100716
+ SHORT="advanced PNG optimizer"
+cat << EOF
+OptiPNG is a PNG optimizer that recompresses image files to a smaller size,
+without losing any information. This program also converts external formats
+(BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks
+and corrections.
+EOF
diff --git a/graphics/optipng/HISTORY b/graphics/optipng/HISTORY
new file mode 100644
index 0000000..644dbc4
--- /dev/null
+++ b/graphics/optipng/HISTORY
@@ -0,0 +1,2 @@
+2010-07-16 Vlad Glagolev <stealth AT sourcemage.org>
+ * {PRE_,}BUILD, DEPENDS, DETAILS, build.patch: spell created
diff --git a/graphics/optipng/PRE_BUILD b/graphics/optipng/PRE_BUILD
new file mode 100755
index 0000000..c2b3352
--- /dev/null
+++ b/graphics/optipng/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/build.patch"
diff --git a/graphics/optipng/build.patch b/graphics/optipng/build.patch
new file mode 100644
index 0000000..e51c3c9
--- /dev/null
+++ b/graphics/optipng/build.patch
@@ -0,0 +1,43 @@
+--- src/scripts/gcc.mak.in.orig 2009-05-18 04:14:00.000000000 +0400
++++ src/scripts/gcc.mak.in 2010-07-16 23:46:42.994207283 +0400
+@@ -7,13 +7,13 @@
+ prefix=/usr/local
+ exec_prefix=$(prefix)
+ bindir=$(exec_prefix)/bin
+-mandir=$(prefix)/man
++mandir=$(prefix)/share/man
+ man1dir=$(mandir)/man1
+
+ CC = gcc
+ LD = $(CC)
+-CFLAGS = -O2 -W -Wall
+-LDFLAGS = -s
++CFLAGS = ${SPELL_CFLAGS} -W -Wall
++LDFLAGS = ${SPELL_LDFLAGS}
+
+ OPTIPNG = optipng$(EXE)
+ ZLIB = libz.a
+--- lib/pngxtern/scripts/gcc.mak.in.orig 2008-06-18 03:29:00.000000000
+0400
++++ lib/pngxtern/scripts/gcc.mak.in 2010-07-16 23:48:30.962207545 +0400
+@@ -16,8 +16,8 @@
+
+ CDEBUG = -g
+ LDDEBUG =
+-CRELEASE = -O2
+-LDRELEASE = -s
++CRELEASE = ${SPELL_CFLAGS}
++LDRELEASE = ${SPELL_LDFLAGS}
+ CFLAGS = -W -Wall $(CRELEASE)
+ LDFLAGS = $(LDRELEASE)
+ INCS = -I$(ZDIR) -I$(PNGDIR)
+--- Makefile.in.orig 2008-07-21 06:28:00.000000000 +0400
++++ Makefile.in 2010-07-16 23:56:38.089209138 +0400
+@@ -2,7 +2,7 @@
+
+ all:
+ cd src; \
+- ${MAKE} -f @MAKEFILE@ CC="${CC}"; \
++ ${MAKE} -f @MAKEFILE@ CC="${CC}" SPELL_CFLAGS="${CFLAGS}"
SPELL_LDFLAGS+="${LDFLAGS}"; \
+ cd ..
+
+ install:



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ed8aeb815801080e57f82ce690e9f95d54b739df), Vlad Glagolev, 07/16/2010

Archive powered by MHonArc 2.6.24.

Top of Page