diff options
author | Markus Meier <maekke@gentoo.org> | 2009-06-01 12:31:51 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-06-01 12:31:51 +0000 |
commit | 333bb69fa5d89ea196940d545d5f5d75f6e697e6 (patch) | |
tree | b22da594502fa2c62608a6d93f4eef87f270ce38 /media-gfx/pngcrush | |
parent | fix building with glibc-2.10 by Alex 'wired' Alexander, bug #270720 (diff) | |
download | gentoo-2-333bb69fa5d89ea196940d545d5f5d75f6e697e6.tar.gz gentoo-2-333bb69fa5d89ea196940d545d5f5d75f6e697e6.tar.bz2 gentoo-2-333bb69fa5d89ea196940d545d5f5d75f6e697e6.zip |
old
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r-- | media-gfx/pngcrush/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/pngcrush/files/pngcrush-1.6.10-makefile_and_missing_definitions.patch | 87 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.6.10.ebuild | 34 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.6.14.ebuild | 34 |
4 files changed, 6 insertions, 156 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog index 5b8dfacfeca0..48b81d360564 100644 --- a/media-gfx/pngcrush/ChangeLog +++ b/media-gfx/pngcrush/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/pngcrush # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.44 2009/05/30 18:50:07 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.45 2009/06/01 12:31:50 maekke Exp $ + + 01 Jun 2009; Markus Meier <maekke@gentoo.org> -pngcrush-1.6.10.ebuild, + -files/pngcrush-1.6.10-makefile_and_missing_definitions.patch, + -pngcrush-1.6.14.ebuild: + old 30 May 2009; nixnut <nixnut@gentoo.org> pngcrush-1.6.15.ebuild: ppc stable #268865 diff --git a/media-gfx/pngcrush/files/pngcrush-1.6.10-makefile_and_missing_definitions.patch b/media-gfx/pngcrush/files/pngcrush-1.6.10-makefile_and_missing_definitions.patch deleted file mode 100644 index 27f4177d7525..000000000000 --- a/media-gfx/pngcrush/files/pngcrush-1.6.10-makefile_and_missing_definitions.patch +++ /dev/null @@ -1,87 +0,0 @@ -diff -ruN pngcrush-1.6.10-nolib.orig/Makefile pngcrush-1.6.10-nolib/Makefile ---- pngcrush-1.6.10-nolib.orig/Makefile 1970-01-01 02:00:00.000000000 +0200 -+++ pngcrush-1.6.10-nolib/Makefile 2008-07-30 23:01:16.000000000 +0300 -@@ -0,0 +1,69 @@ -+# Sample makefile for pngcrush using gcc and GNU make. -+# Glenn Randers-Pehrson -+# Last modified: 19 February 2005 -+# Kapil Hari Paranjape -+# Last modified: 12 June 2008 -+# -+# Invoke this makefile from a shell prompt in the usual way; for example: -+# -+# make -f Makefile -+# -+# This makefile builds a dynamically linked executable. -+ -+# macros -------------------------------------------------------------------- -+ -+GAS_VERSION := $(shell as --version | sed -n -e's/GNU assembler (.*) //p') -+ -+PNGINC = /usr/include -+ -+CC ?= gcc -+RM = rm -f -+ -+CFLAGS += -I. -Wall -+ -+O = .o -+E = -+ -+# additional defines -+DEFINES = -DPNG_USE_PNGGCCRD -DPNG_iCCP_SUPPORTED \ -+ -DPNG_iTXt_SUPPORTED -DPNG_USE_GLOBAL_ARRAYS \ -+ -DGAS_VERSION="\"${GAS_VERSION}\"" \ -+ -+PNGCRUSH = pngcrush -+ -+LIBS = -lpng -lz -+ -+OBJS = pngcrush$(O) -+ -+EXES = $(PNGCRUSH)$(E) -+ -+ -+# implicit make rules ------------------------------------------------------- -+ -+.c$(O): png.h cexcept.h $(ZHDR) -+ $(CC) -c $(CFLAGS) $(DEFINES) $< -+ -+ -+# dependencies -------------------------------------------------------------- -+ -+all: $(EXES) -+ -+png.h: -+ ln -s $(PNGINC)/png.h png.h -+ -+pngcrush$(O): pngcrush.c cexcept.h -+ $(CC) -c $(CFLAGS) $(DEFINES) $< -+ -+$(PNGCRUSH)$(E): $(OBJS) -+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -+ -+# maintenance --------------------------------------------------------------- -+ -+clean: -+ $(RM) $(EXES) $(OBJS) png.h -+ -+install: -+ mkdir -p $(DESTDIR)/usr/bin/ -+ cp $(PNGCRUSH)$(E) $(DESTDIR)/usr/bin/ -+ chmod 0755 $(DESTDIR)/usr/bin/$(PNGCRUSH)$(E) -+ - -diff -ruN pngcrush-1.6.10-nolib.orig/pngcrush.c pngcrush-1.6.10-nolib/pngcrush.c ---- pngcrush-1.6.10-nolib.orig/pngcrush.c 2008-10-15 01:00:58.000000000 +0400 -+++ pngcrush-1.6.10-nolib/pngcrush.c 2008-10-15 01:02:30.000000000 +0400 -@@ -2821,7 +2821,7 @@ - #if !defined(PNG_cHRM_SUPPORTED) || !defined(PNG_hIST_SUPPORTED) || \ - !defined(PNG_iCCP_SUPPORTED) || !defined(PNG_sCAL_SUPPORTED) || \ - !defined(PNG_pCAL_SUPPORTED) || !defined(PNG_sPLT_SUPPORTED) || \ -- !defined(PNG_tIME_SUPPORTED) -+ !defined(PNG_sTER_SUPPORTED) || !defined(PNG_tIME_SUPPORTED) - png_byte chunk_name[5]; - chunk_name[4] = '\0'; - #endif - diff --git a/media-gfx/pngcrush/pngcrush-1.6.10.ebuild b/media-gfx/pngcrush/pngcrush-1.6.10.ebuild deleted file mode 100644 index eff6f022c2aa..000000000000 --- a/media-gfx/pngcrush/pngcrush-1.6.10.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.6.10.ebuild,v 1.4 2008/11/30 21:32:05 dertobi123 Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Portable Network Graphics (PNG) optimizing utility" -HOMEPAGE="http://pmt.sourceforge.net/pngcrush" -SRC_URI="mirror://sourceforge/pmt/${P}-nolib.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha amd64 ppc x86" -IUSE="" - -DEPEND=">=media-libs/libpng-1.2.31" - -S=${WORKDIR}/${P}-nolib - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-makefile_and_missing_definitions.patch -} - -src_compile() { - tc-export CC - emake || die "emake failed." -} - -src_install() { - dobin ${PN} || die "dobin failed." - dodoc *.txt -} diff --git a/media-gfx/pngcrush/pngcrush-1.6.14.ebuild b/media-gfx/pngcrush/pngcrush-1.6.14.ebuild deleted file mode 100644 index 3bafcb410300..000000000000 --- a/media-gfx/pngcrush/pngcrush-1.6.14.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.6.14.ebuild,v 1.1 2009/03/14 11:27:22 maekke Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Portable Network Graphics (PNG) optimizing utility" -HOMEPAGE="http://pmt.sourceforge.net/pngcrush" -SRC_URI="mirror://sourceforge/pmt/${P}-nolib.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=">=media-libs/libpng-1.2.31" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${P}-nolib" - -src_unpack() { - unpack ${A} - cp "${FILESDIR}"/Makefile "${S}" || die -} - -src_compile() { - tc-export CC - emake || die "emake failed." -} - -src_install() { - dobin ${PN} || die "dobin failed." - dodoc *.txt -} |