summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortv <tv>1998-07-15 11:45:49 +0000
committertv <tv>1998-07-15 11:45:49 +0000
commit3d476d4c21a8bb99ca21ba433f6a88076544d096 (patch)
tree10fcf9f9d50e9fdd4933a225c72da071c573cdf7 /graphics
parent54bca736804823dbdab8246f6109aeec7861890a (diff)
downloadpkgsrc-3d476d4c21a8bb99ca21ba433f6a88076544d096.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.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile4
-rw-r--r--graphics/gimp/Makefile11
-rw-r--r--graphics/netpbm/Makefile4
-rw-r--r--graphics/png/Makefile14
-rw-r--r--graphics/png/files/md52
-rw-r--r--graphics/png/patches/patch-aa65
-rw-r--r--graphics/png/pkg/PLIST5
-rw-r--r--graphics/xart/Makefile4
-rw-r--r--graphics/xpaint/Makefile4
9 files changed, 53 insertions, 60 deletions
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