diff options
author | tv <tv> | 1998-07-15 11:45:49 +0000 |
---|---|---|
committer | tv <tv> | 1998-07-15 11:45:49 +0000 |
commit | 4be0d8f3ccb6d66834132aec1a48c5ab856b7106 (patch) | |
tree | 10fcf9f9d50e9fdd4933a225c72da071c573cdf7 | |
parent | f59f28a196e4e4fe978a3e45bae54255d0a2d478 (diff) | |
download | pkgsrc-4be0d8f3ccb6d66834132aec1a48c5ab856b7106.tar.gz |
Update libpng to 1.0.2. Works with all dependent pkgs I have tested
(everything but ImageMagick, gs5, and xemacs20). The API hasn't changed
much, say the install instructions, but it isn't binary compatible--bump
shlib version to 1.0.
-rw-r--r-- | editors/xemacs20/Makefile | 4 | ||||
-rw-r--r-- | graphics/ImageMagick/Makefile | 4 | ||||
-rw-r--r-- | graphics/gimp/Makefile | 11 | ||||
-rw-r--r-- | graphics/netpbm/Makefile | 4 | ||||
-rw-r--r-- | graphics/png/Makefile | 14 | ||||
-rw-r--r-- | graphics/png/files/md5 | 2 | ||||
-rw-r--r-- | graphics/png/patches/patch-aa | 65 | ||||
-rw-r--r-- | graphics/png/pkg/PLIST | 5 | ||||
-rw-r--r-- | graphics/xart/Makefile | 4 | ||||
-rw-r--r-- | graphics/xpaint/Makefile | 4 | ||||
-rw-r--r-- | print/ghostscript5/Makefile | 4 | ||||
-rw-r--r-- | www/Mosaic/Makefile | 4 | ||||
-rw-r--r-- | www/arena/Makefile | 4 | ||||
-rw-r--r-- | x11/windowmaker/Makefile | 4 |
14 files changed, 63 insertions, 70 deletions
diff --git a/editors/xemacs20/Makefile b/editors/xemacs20/Makefile index e7b34e6f07c..016b351fcb8 100644 --- a/editors/xemacs20/Makefile +++ b/editors/xemacs20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 1998/07/04 09:18:56 mycroft Exp $ +# $NetBSD: Makefile,v 1.30 1998/07/15 11:45:49 tv Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp # @@ -27,7 +27,7 @@ WITH_SOUND= DEPENDS+= xpm-3.4k:../../graphics/xpm DEPENDS+= jpeg-6b:../../graphics/jpeg DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png HAS_CONFIGURE= yes diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index cac4687b24c..2a0222e0ffe 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 1998/07/15 11:10:42 agc Exp $ +# $NetBSD: Makefile,v 1.24 1998/07/15 11:45:50 tv Exp $ # DISTNAME= ImageMagick-4.0.6 @@ -9,7 +9,7 @@ MAINTAINER= tron@netbsd.org DEPENDS+= tiff-3.4:../../graphics/tiff DEPENDS+= jpeg-6b:../../graphics/jpeg -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png DEPENDS+= mpeg-1.2.1:../../graphics/mpeg-lib MIRROR_DISTFILE= no diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index 5d71e3d945c..ede134755c9 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 1998/07/04 09:18:59 mycroft Exp $ +# $NetBSD: Makefile,v 1.22 1998/07/15 11:45:50 tv Exp $ DISTNAME= gimp-1.0.0 CATEGORIES= graphics @@ -9,11 +9,10 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ MAINTAINER= bsieker@techfak.uni-bielefeld.de -BUILD_DEPENDS= emacs:../../editors/emacs DEPENDS+= jpeg-6b:../../graphics/jpeg DEPENDS+= gtk+-1.0.4:../../x11/gtk DEPENDS+= mpeg-1.2.1:../../graphics/mpeg-lib -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png DEPENDS+= tiff-3.4:../../graphics/tiff DEPENDS+= xpm-3.4k:../../graphics/xpm @@ -26,9 +25,9 @@ IS_INTERACTIVE= yes .endif USE_X11= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ - CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" -CFLAGS= -pipe -O2 -I${LOCALBASE}/include -I${X11BASE}/include +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include" +CFLAGS= -pipe -O2 -I${LOCALBASE}/include INFO_FILES= pdb.info diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 8bd4cc3946b..206b22b3b9e 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 1998/07/04 05:11:13 mycroft Exp $ +# $NetBSD: Makefile,v 1.19 1998/07/15 11:45:51 tv Exp $ # DISTNAME= netpbm @@ -18,7 +18,7 @@ CONFLICTS= netpbm-94.3.1 DEPENDS+= tiff-3.4:../../graphics/tiff DEPENDS+= jpeg-6b:../../graphics/jpeg -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png WRKSRC= ${WRKDIR}/netpbm MAKE_ENV += PREFIX=${PREFIX} INSTALL_MAN="${INSTALL_MAN}" diff --git a/graphics/png/Makefile b/graphics/png/Makefile index d0a0f8bf306..83f668a9f46 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -1,15 +1,19 @@ -# $NetBSD: Makefile,v 1.8 1998/07/15 11:29:21 agc Exp $ +# $NetBSD: Makefile,v 1.9 1998/07/15 11:45:54 tv Exp $ # FreeBSD Id: Makefile,v 1.10 1997/07/17 15:12:44 max Exp # -DISTNAME= libpng-0.96 -PKGNAME= png-0.96 +DISTNAME= libpng-1.0.2 +PKGNAME= png-1.0.2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.uu.net/graphics/png/src/ -EXTRACT_SUFX= .tgz MAINTAINER= packages@netbsd.org -MAKEFILE= makefile +BUILD_DEPENDS= ${PREFIX}/bin/libtool:../../devel/libtool + +CONFLICTS= png-0.96 + +MAKEFILE= scripts/makefile.std +MAKE_ENV= LIBTOOL=${PREFIX}/bin/libtool .include "../../mk/bsd.pkg.mk" diff --git a/graphics/png/files/md5 b/graphics/png/files/md5 index 66b78d23b27..8b6d4d9080e 100644 --- a/graphics/png/files/md5 +++ b/graphics/png/files/md5 @@ -1 +1 @@ -MD5 (libpng-0.96.tgz) = 285eac49f334e8c82a7dad41c2850115 +MD5 (libpng-1.0.2.tar.gz) = a8b093154f07f7b82e5c9bb77c11a0c4 diff --git a/graphics/png/patches/patch-aa b/graphics/png/patches/patch-aa index 7cfc549a467..24cafa95b1c 100644 --- a/graphics/png/patches/patch-aa +++ b/graphics/png/patches/patch-aa @@ -1,21 +1,15 @@ ---- makefile.orig Fri May 16 07:53:30 1997 -+++ makefile Thu Oct 2 16:48:59 1997 -@@ -5,29 +5,41 @@ - # Where the zlib library and include files are located - #ZLIBLIB=/usr/local/lib - #ZLIBINC=/usr/local/include --ZLIBLIB=../zlib --ZLIBINC=../zlib -+#ZLIBLIB=../zlib -+#ZLIBINC=../zlib +--- scripts/makefile.std.orig Tue Jul 14 21:39:10 1998 ++++ scripts/makefile.std Tue Jul 14 21:49:54 1998 +@@ -8,41 +8,34 @@ + ZLIBLIB=../zlib + ZLIBINC=../zlib -CC=cc --CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=1 +-CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=5 -LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm -+VER=0.96 -+#CC=cc -+#CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=1 -+LDFLAGS=-L. -lpng -lz -lm -static ++CC=${LIBTOOL} --mode=compile cc ++CFLAGS=-O # -g -DPNG_DEBUG=5 ++LDFLAGS=libpng.la -lz -lm #RANLIB=echo RANLIB=ranlib @@ -29,39 +23,34 @@ pngwtran.o pngmem.o pngerror.o pngpread.o -all: libpng.a pngtest -+.SUFFIXES: .c .so .o -+ -+.c.so: -+ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} -+ -+all: libpng.a libpng.so.${VER} ++all: libpng.la pngtest - libpng.a: $(OBJS) - ar rc $@ $(OBJS) - $(RANLIB) $@ +-libpng.a: $(OBJS) +- ar rc $@ $(OBJS) +- $(RANLIB) $@ ++libpng.la: $(OBJS) ++ ${LIBTOOL} --mode=link cc -o $@ ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:0 -+libpng.so.${VER}: $(OBJS:S/o$/so/g) -+ ${LD} -x -Bshareable -o libpng.so.${VER} $(OBJS:S/o$/so/g) -+ -+# XXX - agc - weird shared library load line -+# ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz -+ - pngtest: pngtest.o libpng.a - $(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS) +-pngtest: pngtest.o libpng.a +- $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) ++pngtest: pngtest.o libpng.la ++ ${LIBTOOL} --mode=link cc -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) -@@ -37,12 +49,9 @@ - install: libpng.a - -@mkdir $(prefix)/include - -@mkdir $(prefix)/lib + test: pngtest + ./pngtest + +-install: libpng.a +- -@mkdir $(prefix)/include +- -@mkdir $(prefix)/lib - cp png.h $(prefix)/include - cp pngconf.h $(prefix)/include - chmod 644 $(prefix)/include/png.h - chmod 644 $(prefix)/include/pngconf.h - cp libpng.a $(prefix)/lib - chmod 644 $(prefix)/lib/libpng.a ++install: libpng.la + ${BSD_INSTALL_DATA} png.h pngconf.h $(prefix)/include -+ ${BSD_INSTALL_DATA} libpng.a libpng.so.${VER} $(prefix)/lib -+ ranlib $(prefix)/lib/libpng.a ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libpng.la $(prefix)/lib clean: rm -f *.o libpng.a pngtest pngout.png diff --git a/graphics/png/pkg/PLIST b/graphics/png/pkg/PLIST index b4ae2285112..5a407e075eb 100644 --- a/graphics/png/pkg/PLIST +++ b/graphics/png/pkg/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.6 1998/07/15 11:29:22 agc Exp $ +@comment $NetBSD: PLIST,v 1.7 1998/07/15 11:45:56 tv Exp $ include/png.h include/pngconf.h lib/libpng.a -lib/libpng.so.0.96 +lib/libpng.la +lib/libpng.so.1.0 diff --git a/graphics/xart/Makefile b/graphics/xart/Makefile index 981dc066035..b708e1004fc 100644 --- a/graphics/xart/Makefile +++ b/graphics/xart/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1998/07/04 09:19:00 mycroft Exp $ +# $NetBSD: Makefile,v 1.7 1998/07/15 11:45:51 tv Exp $ # DISTNAME= xart19980415 @@ -12,7 +12,7 @@ MAINTAINER= packages@netbsd.org DEPENDS+= jpeg-6b:../../graphics/jpeg DEPENDS+= tiff-3.4:../../graphics/tiff DEPENDS+= xpm-3.4k:../../graphics/xpm -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png WRKSRC= ${WRKDIR}/19980415 USE_IMAKE= yes diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index f6481091d5c..c825078a24f 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 1998/07/04 09:19:04 mycroft Exp $ +# $NetBSD: Makefile,v 1.10 1998/07/15 11:45:52 tv Exp $ # FreeBSD Id: Makefile,v 1.14 1997/08/29 12:17:50 tg Exp # @@ -11,7 +11,7 @@ MAINTAINER= packages@netbsd.org DEPENDS+= xpm-3.4k:../../graphics/xpm DEPENDS+= tiff-3.4:../../graphics/tiff DEPENDS+= jpeg-6b:../../graphics/jpeg -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png WRKSRC= ${WRKDIR}/xpaint USE_IMAKE= yes diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile index 1d54a6c0e04..a0a7f4f1efb 100644 --- a/print/ghostscript5/Makefile +++ b/print/ghostscript5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1998/07/04 05:31:38 mycroft Exp $ +# $NetBSD: Makefile,v 1.21 1998/07/15 11:45:52 tv Exp $ # FreeBSD Id: Makefile,v 1.14 1997/10/13 11:22:43 asami Exp # @@ -14,7 +14,7 @@ DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \ MAINTAINER= explorer@netbsd.org BUILD_DEPENDS= ../../graphics/jpeg/${WRKDIR:T}/jpeg-6b:../../graphics/jpeg:extract \ - ../../graphics/png/${WRKDIR:T}/libpng-0.96:../../graphics/png:extract \ + ../../graphics/png/${WRKDIR:T}/libpng-1.0.2:../../graphics/png:extract \ unzip:../../archivers/unzip MAKE_ENV= PORTSDIR=${.CURDIR}/../.. diff --git a/www/Mosaic/Makefile b/www/Mosaic/Makefile index 2332f1a4223..878f25fa31e 100644 --- a/www/Mosaic/Makefile +++ b/www/Mosaic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/07/12 04:09:55 tv Exp $ +# $NetBSD: Makefile,v 1.4 1998/07/15 11:45:53 tv Exp $ # FreeBSD Id: Makefile,v 1.15 1998/05/27 08:44:56 dburr Exp # @@ -10,7 +10,7 @@ MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/Web/Mosaic/Unix/source/ MAINTAINER= tv@netbsd.org DEPENDS= jpeg-6b:../../graphics/jpeg \ - png-0.96:../../graphics/png \ + png-1.0.2:../../graphics/png \ xpm-3.4k:../../graphics/xpm USE_X11= yes diff --git a/www/arena/Makefile b/www/arena/Makefile index 2bf44a42218..8d93b1ae9f2 100644 --- a/www/arena/Makefile +++ b/www/arena/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/07/15 01:27:42 tv Exp $ +# $NetBSD: Makefile,v 1.4 1998/07/15 11:45:53 tv Exp $ # FreeBSD Id: Makefile,v 1.10 1998/05/04 20:22:31 jseger Exp # @@ -10,7 +10,7 @@ MAINTAINER= tv@netbsd.org DEPENDS= libwww-5.1m1:../../www/libwww \ jpeg-6b:../../graphics/jpeg \ - png-0.96:../../graphics/png \ + png-1.0.2:../../graphics/png \ xpm-3.4k:../../graphics/xpm USE_GMAKE= yes diff --git a/x11/windowmaker/Makefile b/x11/windowmaker/Makefile index e2c977b1bb9..4d65bb27713 100644 --- a/x11/windowmaker/Makefile +++ b/x11/windowmaker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1998/07/12 21:24:51 tron Exp $ +# $NetBSD: Makefile,v 1.13 1998/07/15 11:45:54 tv Exp $ DISTNAME= WindowMaker-0.16.1 PKGNAME= windowmaker-0.16.1 @@ -12,7 +12,7 @@ MAINTAINER= magick@bundy.lip.owl.de DEPENDS+= xpm-3.4k:../../graphics/xpm DEPENDS+= jpeg-6b:../../graphics/jpeg -DEPENDS+= png-0.96:../../graphics/png +DEPENDS+= png-1.0.2:../../graphics/png DEPENDS+= tiff-3.4:../../graphics/tiff BUILD_DEPENDS= bison:../../devel/bison #libPropList needs bison for the parser. Yacc runs through, but WMaker crashes |