upgrade to gd 1.6.2;

- this version now generates the .PNG graphics file format and NOT .GIF,
this is due to the patent Unisys has on LZW compression.
This commit is contained in:
brad 1999-07-26 00:36:34 +00:00
parent 040cb584ca
commit ca074d6a35
6 changed files with 72 additions and 58 deletions

View File

@ -1,16 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/02/21 23:28:05 brad Exp $ # $OpenBSD: Makefile,v 1.2 1999/07/26 00:36:34 brad Exp $
# $FreeBSD: Makefile,v 1.5 1998/06/25 03:13:16 vanilla Exp $ # $FreeBSD: Makefile,v 1.5 1998/06/25 03:13:16 vanilla Exp $
DISTNAME= gd1.3 DISTNAME= gd-1.6.2
PKGNAME= gd-1.3
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= ftp://www.boutell.com/pub/boutell/gd/ MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/
NEED_VERSION= 1.73
LIB_DEPENDS= png.1.3:${PORTSDIR}/graphics/png
MAINTAINER= brad@openbsd.org MAINTAINER= brad@openbsd.org
HOMEPAGE= http://www.boutell.com/gd/ HOMEPAGE= http://www.boutell.com/gd/
pre-install: SEPARATE_BUILD= concurrent
${MKDIR} ${PREFIX}/include/gd GNU_CONFIGURE= yes
${MKDIR} ${PREFIX}/share/examples/gd CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
post-install:
@${MKDIR} ${PREFIX}/share/examples/gd
${INSTALL_DATA} ${WRKSRC}/demoin.png ${PREFIX}/share/examples/gd
${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/examples/gd
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (gd1.3.tar.gz) = ff3de2c851c4b1fc6af6f14dcfbc6532 MD5 (gd-1.6.2.tar.gz) = 672bf9bbdfb6d94cf506db2dac2b6fc4
RMD160 (gd1.3.tar.gz) = 8ee4fba761ddb874f7df7b84454ffc2f970f9e28 RMD160 (gd-1.6.2.tar.gz) = 9ccf541102180650e5a137bc108b4fcf3bcd95c5
SHA1 (gd1.3.tar.gz) = f001948cfc988cd6b8214fb34985987a2d535920 SHA1 (gd-1.6.2.tar.gz) = 6d86544a5dc60b9947504f3ddcfa7a71aefc1b39

View File

@ -1,28 +1,25 @@
--- Makefile.orig Tue Aug 8 14:28:27 1995 --- Makefile.in.orig Fri Jul 23 18:13:22 1999
+++ Makefile Sat Jun 14 18:19:04 1997 +++ Makefile.in Sun Jul 25 15:56:58 1999
@@ -7,9 +7,9 @@ @@ -88,7 +88,7 @@
#If the ar command fails on your system, consult the ar manpage libgd_la_SOURCES = gd.c gd_io.c gd_io_file.c gd_io_dp.c gd_io_ss.c gd_png.c gd_ss.c gd_gd.c gd_gd2.c gdfontt.c gdfonts.c gdfontmb.c gdfontl.c gdfontg.c gdttf.c gdcache.c gd.h gdcache.h gdfontl.h gdfonts.h gd_io.h gdfontg.h gdfontmb.h gdfontt.h
#for your system.
-CC=gcc
-AR=ar
-CFLAGS=-O
+#CC=gcc
+#AR=ar
+#CFLAGS=-O
LIBS=-L./ -lgd -lm
all: libgd.a gddemo giftogd webgif -libgd_la_LIBADD = @LIBS@ -lm
@@ -32,3 +32,11 @@ +libgd_la_LIBADD = @LIBS@ -lm -L$(libdir) -lpng
clean:
rm -f *.o *.a gddemo giftogd
+install: bin_PROGRAMS = pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng
+ install -cs -o bin -g bin gddemo giftogd webgif ${PREFIX}/bin
+ install -c -o bin -g bin libgd.a ${PREFIX}/lib
+ install -c -o bin -g bin gd.h gdfonts.h ${PREFIX}/include/gd
+ install -c -o bin -g bin gdfontt.h gdfontmb.h ${PREFIX}/include/gd
+ install -c -o bin -g bin gdfontl.h gdfontg.h ${PREFIX}/include/gd
+ install -c -o bin -g bin index.html ${PREFIX}/share/examples/gd
+ install -c -o bin -g bin demoin.gif ${PREFIX}/share/examples/gd
@@ -138,11 +138,11 @@
LTLIBRARIES = $(lib_LTLIBRARIES)
-DEFS = @DEFS@ -I. -I$(srcdir)
+DEFS = @DEFS@ -I. -I$(srcdir) -I$(includedir)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
-libgd_la_LDFLAGS =
+libgd_la_LDFLAGS = -version-info 1:6:0
libgd_la_DEPENDENCIES =
libgd_la_OBJECTS = gd.lo gd_io.lo gd_io_file.lo gd_io_dp.lo gd_io_ss.lo \
gd_png.lo gd_ss.lo gd_gd.lo gd_gd2.lo gdfontt.lo gdfonts.lo gdfontmb.lo \

View File

@ -1 +1 @@
graphics library for fast GIF creation graphics library for fast PNG creation

View File

@ -1,19 +1,19 @@
DESCRIPTION DESCRIPTION
gd is a graphics library. It allows your code to quickly draw images gd is a graphics library. It allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and write out the result as a .GIF file. other images, and flood fills, and write out the result as a .PNG file.
This is particularly useful in World Wide Web applications, where .GIF This is particularly useful in World Wide Web applications, where .PNG
is the format used for inline images. is one of the formats accepted for inline images by most browsers.
gd is not a paint program. If you are looking for a paint program, try gd is not a paint program. If you are looking for a paint program, you
xpaint by David Koblas, available by anonymous FTP from ftp.netcom.com are looking in the wrong place. If you are not a programmer, you are
in pub/ko/koblas. (That package is for the X Window System; for the Mac looking in the wrong place.
and the PC, paint programs are considerably easier to find.)
gd does not provide for every possible desirable graphics operation. It gd does not provide for every possible desirable graphics operation. It
is not necessary or desirable for gd to become a kitchen-sink graphics is not necessary or desirable for gd to become a kitchen-sink graphics
package, but version 1.3 incorporates most of the commonly requested package, but version 1.6.2 incorporates most of the commonly requested
features for a 2D package. features for an 8-bit 2D package. Support for scalable fonts, and
truecolor images, JPEG and truecolor PNG is planned for version 2.0.
AUTHOR AUTHOR
gd 1.3 was written by Thomas Boutell and is currently distributed by gd was written by Thomas Boutell and is distributed by boutell.com, Inc.
boutell.com, Inc.

View File

@ -1,14 +1,21 @@
bin/gddemo bin/pngtogd
bin/giftogd bin/pngtogd2
bin/webgif bin/gdtopng
include/gd/gd.h bin/gd2topng
include/gd/gdfontg.h bin/gd2copypal
include/gd/gdfontl.h bin/gdparttopng
include/gd/gdfontmb.h bin/webpng
include/gd/gdfonts.h include/gd.h
include/gd/gdfontt.h include/gd_io.h
include/gdfontt.h
include/gdfonts.h
include/gdfontmb.h
include/gdfontl.h
include/gdfontg.h
lib/libgd.a lib/libgd.a
share/examples/gd/demoin.gif lib/libgd.la
lib/libgd.so.1.6
@exec /sbin/ldconfig -m %B/lib
share/examples/gd/demoin.png
share/examples/gd/index.html share/examples/gd/index.html
@dirrm include/gd
@dirrm share/examples/gd @dirrm share/examples/gd