diff options
author | Marinus Schraal <foser@gentoo.org> | 2004-08-06 12:19:07 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2004-08-06 12:19:07 +0000 |
commit | ef0809db6fe982986a0880583e0a7c80fe6b5045 (patch) | |
tree | 995dd980efa090c127253270d81842ba8844fcf5 | |
parent | subjectrewrite -> subject-rewrite (Manifest recommit) (diff) | |
download | gentoo-2-ef0809db6fe982986a0880583e0a7c80fe6b5045.tar.gz gentoo-2-ef0809db6fe982986a0880583e0a7c80fe6b5045.tar.bz2 gentoo-2-ef0809db6fe982986a0880583e0a7c80fe6b5045.zip |
remove 1.0
-rw-r--r-- | media-libs/libpng/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libpng/files/digest-libpng-1.0.15-r2 | 1 | ||||
-rw-r--r-- | media-libs/libpng/files/libpng-1.0.15-gentoo.diff | 60 | ||||
-rw-r--r-- | media-libs/libpng/libpng-1.0.15-r2.ebuild | 65 |
4 files changed, 4 insertions, 127 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog index 0a4b79a9a1a5..b036d2734792 100644 --- a/media-libs/libpng/ChangeLog +++ b/media-libs/libpng/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libpng # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.46 2004/08/06 10:47:33 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.47 2004/08/06 12:19:07 foser Exp $ + + 06 Aug 2004; foser <foser@gentoo.org> libpng-1.0* : + Remove all traces of libpng-1.0* (#59424) 06 Aug 2004; Bryan Østergaard,,, <kloeri@gentoo.org> libpng-1.2.5-r8.ebuild: Stable on alpha, bug #59424. diff --git a/media-libs/libpng/files/digest-libpng-1.0.15-r2 b/media-libs/libpng/files/digest-libpng-1.0.15-r2 deleted file mode 100644 index 431976f6d0ef..000000000000 --- a/media-libs/libpng/files/digest-libpng-1.0.15-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 69569534bd0d6a9443189ba56cd89ef3 libpng-1.0.15.tar.bz2 374743 diff --git a/media-libs/libpng/files/libpng-1.0.15-gentoo.diff b/media-libs/libpng/files/libpng-1.0.15-gentoo.diff deleted file mode 100644 index 5a375bfeabc3..000000000000 --- a/media-libs/libpng/files/libpng-1.0.15-gentoo.diff +++ /dev/null @@ -1,60 +0,0 @@ -diff -urN libpng-1.0.15-old/pngconf.h libpng-1.0.15/pngconf.h ---- libpng-1.0.15-old/pngconf.h 2002-10-03 04:13:12.000000000 -0700 -+++ libpng-1.0.15/pngconf.h 2003-01-16 08:57:40.000000000 -0800 -@@ -254,8 +254,13 @@ - # undef _BSD_SOURCE - # endif - # ifdef _SETJMP_H -- __png.h__ already includes setjmp.h; -- __dont__ include it again.; -+/* Explanation added by debian maintainer Philippe Troin <phil@fifi.org>. -+ There are two versions of setjmp, depending wether or not we compile for -+ BSD. They are incompatible and can cause crashes. The PNG people force -+ here a unique behavior for setjmp. It fou get the error below, -+ then include <png.h> before <setjmp.h>. -+*/ -+#error png.h already includes setjmp.h with some additional fixup. - # endif - # endif /* __linux__ */ - -diff -urN libpng-1.0.15-old/pngrtran.c libpng-1.0.15/pngrtran.c ---- libpng-1.0.15-old/pngrtran.c 2002-10-03 04:13:15.000000000 -0700 -+++ libpng-1.0.15/pngrtran.c 2003-01-16 08:57:40.000000000 -0800 -@@ -1965,8 +1965,8 @@ - /* This changes the data from RRGGBB to RRGGBBXX */ - if (flags & PNG_FLAG_FILLER_AFTER) - { -- png_bytep sp = row + (png_size_t)row_width * 3; -- png_bytep dp = sp + (png_size_t)row_width; -+ png_bytep sp = row + (png_size_t)row_width * 6; -+ png_bytep dp = sp + (png_size_t)row_width * 2; - for (i = 1; i < row_width; i++) - { - *(--dp) = hi_filler; -@@ -1987,8 +1987,8 @@ - /* This changes the data from RRGGBB to XXRRGGBB */ - else - { -- png_bytep sp = row + (png_size_t)row_width * 3; -- png_bytep dp = sp + (png_size_t)row_width; -+ png_bytep sp = row + (png_size_t)row_width * 6; -+ png_bytep dp = sp + (png_size_t)row_width * 2; - for (i = 0; i < row_width; i++) - { - *(--dp) = *(--sp); ---- libpng-1.0.15-old/pngerror.c 2002-10-03 05:32:27.000000000 -0600 -+++ libpng-1.0.15/pngerror.c 2004-04-29 09:26:18.000000000 -0600 -@@ -135,10 +135,12 @@ - buffer[iout] = 0; - else - { -+ png_size_t len = strnlen(error_message, 63); -+ - buffer[iout++] = ':'; - buffer[iout++] = ' '; -- png_memcpy(buffer+iout, error_message, 64); -- buffer[iout+63] = 0; -+ png_memcpy(buffer+iout, error_message, len); -+ buffer[iout+len] = 0; - } - } diff --git a/media-libs/libpng/libpng-1.0.15-r2.ebuild b/media-libs/libpng/libpng-1.0.15-r2.ebuild deleted file mode 100644 index b8806733b1da..000000000000 --- a/media-libs/libpng/libpng-1.0.15-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.15-r2.ebuild,v 1.3 2004/06/24 23:13:27 agriffis Exp $ - -inherit flag-o-matic eutils gcc - -DESCRIPTION="Portable Network Graphics library" -HOMEPAGE="http://www.libpng.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="as-is" -SLOT="1.0" -KEYWORDS="x86 ppc sparc amd64" -IUSE="" - -DEPEND=">=sys-libs/zlib-1.1.3-r2" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-gentoo.diff - - [ "`gcc-version`" == "3.2" ] && replace-cpu-flags i586 k6 k6-2 k6-3 - [ "`gcc-version`" == "3.3" ] && replace-cpu-flags i586 k6 k6-2 k6-3 - - sed \ - -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \ - -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \ - -e "s:prefix=/usr:prefix=${D}/usr:" \ - -e "s:-O3:${CFLAGS}:" \ - scripts/makefile.linux > Makefile -} - -src_compile() { - make || die -} - -src_install() { - dodir /usr/{include,lib} - make install prefix=${D}/usr || die - - newman libpngpf.3 libpngpf-10.3 - newman libpng.3 libpng-10.3 - newman png.5 png-10.5 - - # remove stuffs so that libpng-1.2 is the system default - rm ${D}/usr/lib/pkgconfig/libpng.pc - rm ${D}/usr/bin/libpng-config - rm ${D}/usr/lib/libpng.{a,so} - rm ${D}/usr/include/{png.h,pngconf.h,libpng} - rm -rf ${D}/usr/man - - dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO -} - -pkg_postinst() { - einfo "Please note:" - einfo "previous versions of libpng-1.0 series were incorrectly overwriting png.h symlink" - einfo "and libpng.pc from libpng-1.2.x installation." - einfo "This might cause removal of png.h by autoclean after you updated libpng-1.0 to 1.0.15" - einfo "" - einfo "If you experience problems compiling other packages with error message complaining" - einfo "about missing png.h, please remerge libpng-1.2.5 manually" -} |