Date: Mon, 25 Oct 1999 10:56:08 -0500 From: Ade Lovett <ade@lovett.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14518: Update port: graphics/gd to 1.7.3 Message-ID: <E11fmTg-000121-00@anaconda.lovett.com>
next in thread | raw e-mail | index | archive | help
>Number: 14518 >Category: ports >Synopsis: Update port: graphics/gd to 1.7.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 25 09:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ade Lovett >Release: FreeBSD 3.3-STABLE i386 >Organization: Lovett Network Consultancy >Environment: Up to date ports tree. >Description: Author has removed gd-1.7.5 from the MASTER_SITES *mutter*, going back to gd-1.7.3 -- this version doesn't use GNU configure, so at this time, no shared libraries will be built. This PR supercedes ports/14309, please close that one. >How-To-Repeat: N/A >Fix: Apply following patches, which update both the codebase, and the pkg/{COMMENT,DESCR} file as suggested by jack@germanium.xtalwind.net This also adds a missing MAINTAINER=ports@freebsd.org line, though if no-one else has any objections, I have no problem with becoming the maintainer for this port. Version: 1.6.3 -> 1.7.3 Changes: Makefile files/md5 pkg/COMMENT pkg/DESCR pkg/PLIST Adds: patches/patch-ac Removes: patches/patch-ab cvs diff: Diffing . Index: Makefile =================================================================== RCS file: /home/ncvs/ports/graphics/gd/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 1999/10/07 17:36:44 1.13 +++ Makefile 1999/10/25 15:47:59 @@ -1,26 +1,21 @@ # New ports collection makefile for: gd -# Version required: 1.6.3 +# Version required: 1.7.3 # Date created: 27 Mar 1998 # Whom: jeff@cetlink.net # # $FreeBSD: ports/graphics/gd/Makefile,v 1.13 1999/10/07 17:36:44 fenner Exp $ # -DISTNAME= gd-1.6.3 +DISTNAME= gd-1.7.3 CATEGORIES= graphics MASTER_SITES= http://www.boutell.com/gd/http/ \ ftp://ftp.boutell.com/pub/boutell/gd/ -LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png +MAINTAINER= ports@FreeBSD.org -FETCH_BEFORE_ARGS= -b -USE_LIBTOOL= yes -CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" -CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gd \ - --libdir=${PREFIX}/lib +LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png pre-install: ${MKDIR} ${PREFIX}/include/gd - ${MKDIR} ${PREFIX}/share/examples/gd .include <bsd.port.mk> cvs diff: Diffing files Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/graphics/gd/files/md5,v retrieving revision 1.6 diff -u -r1.6 md5 --- md5 1999/09/04 23:36:48 1.6 +++ md5 1999/10/25 15:24:44 @@ -1 +1 @@ -MD5 (gd-1.6.3.tar.gz) = 519bfbb55e3b315dd3d5a37ab56c2d84 +MD5 (gd-1.7.3.tar.gz) = c3690ae8c2cc0710e1777c697b876297 cvs diff: Diffing patches Index: patches/patch-ab =================================================================== RCS file: /home/ncvs/ports/graphics/gd/patches/patch-ab,v retrieving revision 1.1 diff -u -r1.1 patch-ab --- patch-ab 1999/07/24 23:56:45 1.1 +++ patch-ab 1999/10/25 15:32:31 @@ -1,20 +0,0 @@ ---- Makefile.in.old Sat Jul 24 14:37:54 1999 -+++ Makefile.in Sat Jul 24 14:40:09 1999 -@@ -88,7 +88,7 @@ - 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 - - --libgd_la_LIBADD = @LIBS@ -lm -+libgd_la_LIBADD = @LIBS@ -lm -L$(libdir) -lpng - - bin_PROGRAMS = pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng - -@@ -138,7 +138,7 @@ - LTLIBRARIES = $(lib_LTLIBRARIES) - - --DEFS = @DEFS@ -I. -I$(srcdir) -+DEFS = @DEFS@ -I. -I$(srcdir) -I$(includedir) - CPPFLAGS = @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ - LIBS = @LIBS@ --- /dev/null Mon Oct 25 10:47:26 1999 +++ patches/patch-ac Mon Oct 25 10:43:36 1999 @@ -0,0 +1,108 @@ +--- Makefile.orig Wed Oct 13 16:20:11 1999 ++++ Makefile Mon Oct 25 10:43:21 1999 +@@ -3,19 +3,19 @@ + #If you do not have gcc, change the setting for COMPILER, but you must + #use an ANSI standard C compiler (NOT the old SunOS 4.1.3 cc + #compiler; get gcc if you are still using it). +-COMPILER=gcc ++#COMPILER=gcc + + #If the ar command fails on your system, consult the ar manpage + #for your system. +-AR=ar ++#AR=ar + + #If the install command is not in your path, provide + #an explicit path for it here, or install manually. +-INSTALL=install ++#INSTALL=install + + #If you don't have FreeType and/or Xpm installed, including the + #header files, uncomment this (default). +-CFLAGS=-O ++#CFLAGS=-O + #If you do have FreeType and/or Xpm fully installed, uncomment a + #variation of this and comment out the line above. See also LIBS below. + #CFLAGS=-O -DHAVE_XPM -DHAVE_LIBTTF +@@ -31,7 +31,7 @@ + + #Typical install locations for freetype, zlib, xpm and libpng header files. + #If yours are somewhere else, change this. +-INCLUDEDIRS=-I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11 ++CFLAGS+=-I$(LOCALBASE)/include + + #Typical install locations for freetype, zlib, xpm and libpng libraries. + #If yours are somewhere else, other than a standard location +@@ -39,16 +39,16 @@ + #-L. as this allows the gd library itself to be found. + #Put -L. first so that old versions of the gd library elsewhere + #on your system can't cause conflicts while building a new one. +-LIBDIRS=-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib ++LIBDIRS=-L. -L$(LOCALBASE)/lib + + #Location where libgd.a should be installed by "make install". +-INSTALL_LIB=/usr/local/lib ++INSTALL_LIB=$(PREFIX)/lib + + #Location where .h files should be installed by "make install". +-INSTALL_INCLUDE=/usr/local/include ++INSTALL_INCLUDE=$(PREFIX)/include/gd + + #Location where useful non-test programs should be installed by "make install". +-INSTALL_BIN=/usr/local/bin ++INSTALL_BIN=$(PREFIX)/bin + + # + # +@@ -58,8 +58,8 @@ + + VERSION=1.7 + +-CC=$(COMPILER) $(INCLUDEDIRS) +-LINK=$(CC) $(LIBDIRS) $(LIBS) ++#CC=$(COMPILER) $(INCLUDEDIRS) ++#LINK=$(CC) $(LIBDIRS) $(LIBS) + + PROGRAMS=$(BIN_PROGRAMS) $(TEST_PROGRAMS) + +@@ -69,23 +69,23 @@ + all: libgd.a $(PROGRAMS) + + install: libgd.a $(BIN_PROGRAMS) +- $(INSTALL) -m 644 libgd.a $(INSTALL_LIB)/libgd.a +- $(INSTALL) -m 755 pngtogd $(INSTALL_BIN)/pngtogd +- $(INSTALL) -m 755 pngtogd2 $(INSTALL_BIN)/pngtogd2 +- $(INSTALL) -m 755 gdtopng $(INSTALL_BIN)/gdtopng +- $(INSTALL) -m 755 gd2topng $(INSTALL_BIN)/gd2topng +- $(INSTALL) -m 755 gd2copypal $(INSTALL_BIN)/gd2copypal +- $(INSTALL) -m 755 gdparttopng $(INSTALL_BIN)/gdparttopng +- $(INSTALL) -m 755 webpng $(INSTALL_BIN)/webpng +- $(INSTALL) -m 755 bdftogd $(INSTALL_BIN)/bdftogd +- $(INSTALL) -m 644 gd.h $(INSTALL_INCLUDE)/gd.h +- $(INSTALL) -m 644 gdcache.h $(INSTALL_INCLUDE)/gdcache.h +- $(INSTALL) -m 644 gd_io.h $(INSTALL_INCLUDE)/gd_io.h +- $(INSTALL) -m 644 gdfontg.h $(INSTALL_INCLUDE)/gdfontg.h +- $(INSTALL) -m 644 gdfontl.h $(INSTALL_INCLUDE)/gdfontl.h +- $(INSTALL) -m 644 gdfontmb.h $(INSTALL_INCLUDE)/gdfontmb.h +- $(INSTALL) -m 644 gdfonts.h $(INSTALL_INCLUDE)/gdfonts.h +- $(INSTALL) -m 644 gdfontt.h $(INSTALL_INCLUDE)/gdfontt.h ++ $(INSTALL) -c -m 644 libgd.a $(INSTALL_LIB)/libgd.a ++ $(INSTALL) -c -m 755 pngtogd $(INSTALL_BIN)/pngtogd ++ $(INSTALL) -c -m 755 pngtogd2 $(INSTALL_BIN)/pngtogd2 ++ $(INSTALL) -c -m 755 gdtopng $(INSTALL_BIN)/gdtopng ++ $(INSTALL) -c -m 755 gd2topng $(INSTALL_BIN)/gd2topng ++ $(INSTALL) -c -m 755 gd2copypal $(INSTALL_BIN)/gd2copypal ++ $(INSTALL) -c -m 755 gdparttopng $(INSTALL_BIN)/gdparttopng ++ $(INSTALL) -c -m 755 webpng $(INSTALL_BIN)/webpng ++ $(INSTALL) -c -m 755 bdftogd $(INSTALL_BIN)/bdftogd ++ $(INSTALL) -c -m 644 gd.h $(INSTALL_INCLUDE)/gd.h ++ $(INSTALL) -c -m 644 gdcache.h $(INSTALL_INCLUDE)/gdcache.h ++ $(INSTALL) -c -m 644 gd_io.h $(INSTALL_INCLUDE)/gd_io.h ++ $(INSTALL) -c -m 644 gdfontg.h $(INSTALL_INCLUDE)/gdfontg.h ++ $(INSTALL) -c -m 644 gdfontl.h $(INSTALL_INCLUDE)/gdfontl.h ++ $(INSTALL) -c -m 644 gdfontmb.h $(INSTALL_INCLUDE)/gdfontmb.h ++ $(INSTALL) -c -m 644 gdfonts.h $(INSTALL_INCLUDE)/gdfonts.h ++ $(INSTALL) -c -m 644 gdfontt.h $(INSTALL_INCLUDE)/gdfontt.h + + gddemo: gddemo.o libgd.a + $(CC) gddemo.o -o gddemo $(LIBDIRS) $(LIBS) cvs diff: Diffing pkg Index: pkg/COMMENT =================================================================== RCS file: /home/ncvs/ports/graphics/gd/pkg/COMMENT,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 COMMENT --- COMMENT 1997/02/13 14:51:45 1.1.1.1 +++ COMMENT 1999/10/25 15:45:22 @@ -1 +1 @@ -A graphics library for fast GIF creation +A graphics library for fast PNG creation Index: pkg/DESCR =================================================================== RCS file: /home/ncvs/ports/graphics/gd/pkg/DESCR,v retrieving revision 1.3 diff -u -r1.3 DESCR --- DESCR 1999/09/08 21:53:21 1.3 +++ DESCR 1999/10/25 15:27:48 @@ -2,25 +2,22 @@ gd is a graphics library. It allows your code to quickly draw images 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. - This is particularly useful in World Wide Web applications, where .GIF + other images, and flood fills, and write out the result as a .PNG file. + This is particularly useful in World Wide Web applications, where .PNG is the format used for inline images. - gd is not a paint program. If you are looking for a paint program, try - xpaint by David Koblas, available by anonymous FTP from ftp.netcom.com - in pub/ko/koblas. (That package is for the X Window System; for the Mac - and the PC, paint programs are considerably easier to find.) + gd is not a paint program. If you are looking for a paint program, you + are looking in the wrong place. If you are not a programmer, you are + looking in the wrong place. - gd does not provide for every possible desirable graphics operation. It - is not necessary or desirable for gd to become a kitchen-sink graphics - package, but version 1.3 incorporates most of the commonly requested - features for an 8-bit 2D package. Support for scalable fonts, and - truecolor images, JPEG and PNG is planned for version 2.0. Version 1.3 - was released to correct longstanding bugs and provide an LZW-free GIF - compression routine. + gd does not provide for every possible desirable graphics operation. + It is not necessary or desirable for gd to become a kitchen-sink + graphics package, but version 1.7.3 incorporates most of the commonly + requested features for an 8-bit 2D package. Support for truecolor + images, JPEG and truecolor PNG is planned for version 2.0. AUTHOR - gd 1.2 was written by Thomas Boutell and is currently distributed by + gd was written by Thomas Boutell and is currently distributed by boutell.com, Inc. WWW: http://www.boutell.com/gd/ Index: pkg/PLIST =================================================================== RCS file: /home/ncvs/ports/graphics/gd/pkg/PLIST,v retrieving revision 1.5 diff -u -r1.5 PLIST --- PLIST 1999/08/01 02:43:16 1.5 +++ PLIST 1999/10/25 15:44:45 @@ -1,3 +1,4 @@ +bin/bdftogd bin/pngtogd bin/pngtogd2 bin/gdtopng @@ -7,14 +8,11 @@ bin/webpng include/gd/gd.h include/gd/gd_io.h +include/gd/gdcache.h include/gd/gdfontg.h include/gd/gdfontl.h include/gd/gdfontmb.h include/gd/gdfonts.h include/gd/gdfontt.h lib/libgd.a -lib/libgd.so -lib/libgd.so.0 -@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B -@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R @dirrm include/gd >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11fmTg-000121-00>