Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 02:36:45 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@Terry.Dorm8.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14331: update ports: gif2png to 1.1.1
Message-ID:  <199910141836.CAA80346@Terry.Dorm8.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         14331
>Category:       ports
>Synopsis:       update ports: gif2png to 1.1.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 14 11:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
NCTU CSIE
>Environment:

FreeBSD Terry.Dorm8.NCTU.edu.tw 4.0-CURRENT FreeBSD 4.0-CURRENT #5: Sat Oct  2
01:15:12 CST 1999     root@Terry.Dorm8.NCTU.edu.tw:/usr/src/sys/compile/TERRY
i386

>Description:

update gif2png from 0.6 to 1.1.1

>How-To-Repeat:

	

>Fix:

diff -ruN /usr/ports/graphics/gif2png/Makefile gif2png/Makefile
--- /usr/ports/graphics/gif2png/Makefile	Tue Sep  7 03:39:30 1999
+++ gif2png/Makefile	Fri Oct 15 02:33:06 1999
@@ -6,18 +6,16 @@
 # $FreeBSD: ports/graphics/gif2png/Makefile,v 1.1.1.1 1999/09/06 19:39:30 cpiazza Exp $
 #
 
-DISTNAME=       gif2png-0.6
+DISTNAME=       gif2png-1.1.1
 CATEGORIES=	graphics
-MASTER_SITES=   ftp://swrinde.nde.swri.edu/pub/png/applications/
+MASTER_SITES=   http://www.tuxedo.org/~esr/gif2png/
 
 MAINTAINER=     saper@system.pl
 
 LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png
+GNU_CONFIGURE=	yes
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
-USE_ZIP=	yes
-WRKSRC=		${WRKDIR}/gif2png
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gif2png ${PREFIX}/bin
+MAN1=		gif2png.1 web2png.1
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/graphics/gif2png/files/md5 gif2png/files/md5
--- /usr/ports/graphics/gif2png/files/md5	Tue Sep  7 03:39:30 1999
+++ gif2png/files/md5	Fri Oct 15 02:18:11 1999
@@ -1 +1 @@
-MD5 (gif2png-0.6.zip) = 2fce3354f80826a83e02d3893d1e7ddb
+MD5 (gif2png-1.1.1.tar.gz) = 9a0b5ee28d8295845cbf51d78b056ca8
diff -ruN /usr/ports/graphics/gif2png/patches/patch-aa gif2png/patches/patch-aa
--- /usr/ports/graphics/gif2png/patches/patch-aa	Tue Sep  7 03:39:30 1999
+++ gif2png/patches/patch-aa	Thu Jan  1 08:00:00 1970
@@ -1,32 +0,0 @@
---- Makefile.orig	Fri Nov  3 15:48:22 1995
-+++ Makefile	Mon Sep  6 12:36:13 1999
-@@ -1,17 +1,14 @@
- 
--CC=gcc
- 
- #required for djgpp, you can also use copy /b go32.exe+gif2png gif2png.exe
- #COFF2EXE=coff2exe
- COFF2EXE=@echo >/dev/null
- 
--PNGLIB=libpng-0.81
--ZLIB=zlib-0.95
- 
--LIBS=$(PNGLIB)/libpng.a $(ZLIB)/libz.a
--INCLUDE=-I$(PNGLIB) -I$(ZLIB)
-+LIBS=-L${LOCALBASE}/lib -lpng -lz
-+INCLUDE=-I${LOCALBASE}/include
- 
--CFLAGS=$(INCLUDE) -g -O -Wall
-+CFLAGS+=$(INCLUDE) -Wall
- LDFLAGS=-g
- 
- #CFLAGS=$(INCLUDE) -O -Wall
-@@ -23,7 +20,7 @@
- 
- all-lib: libpng zlib all
- 
--gif2png: $(OBJS) $(LIBS)
-+gif2png: $(OBJS) 
- 	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
- 	$(COFF2EXE) $@
- 
diff -ruN /usr/ports/graphics/gif2png/patches/patch-ab gif2png/patches/patch-ab
--- /usr/ports/graphics/gif2png/patches/patch-ab	Tue Sep  7 03:39:30 1999
+++ gif2png/patches/patch-ab	Thu Jan  1 08:00:00 1970
@@ -1,15 +0,0 @@
---- version.c.orig	Thu Nov  2 21:47:44 1995
-+++ version.c	Mon Aug 30 19:15:53 1999
-@@ -6,10 +6,10 @@
- 
- 
- #ifndef PNGLIB
--#define PNGLIB "pnglib (unknown version)"
-+#define PNGLIB "pnglib (as installed)"
- #endif
- #ifndef ZLIB
--#define ZLIB "zlib (unknown version)"
-+#define ZLIB "zlib (as installed)"
- #endif
- 
- const char version[]="gif2png 0.6 (beta)";
diff -ruN /usr/ports/graphics/gif2png/patches/patch-ac gif2png/patches/patch-ac
--- /usr/ports/graphics/gif2png/patches/patch-ac	Tue Sep  7 03:39:30 1999
+++ gif2png/patches/patch-ac	Thu Jan  1 08:00:00 1970
@@ -1,10 +0,0 @@
---- gif2png.c.orig	Mon Aug 30 19:27:06 1999
-+++ gif2png.c	Mon Aug 30 19:32:27 1999
-@@ -7,6 +7,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-+#include <unistd.h>
- #define PNG_INTERNAL
- #include "gif2png.h"
- 
diff -ruN /usr/ports/graphics/gif2png/patches/patch-ad gif2png/patches/patch-ad
--- /usr/ports/graphics/gif2png/patches/patch-ad	Thu Jan  1 08:00:00 1970
+++ gif2png/patches/patch-ad	Fri Oct 15 02:30:36 1999
@@ -0,0 +1,15 @@
+--- Makefile.in.orig	Fri Oct 15 02:26:38 1999
++++ Makefile.in	Fri Oct 15 02:29:21 1999
+@@ -79,10 +79,10 @@
+ PROGRAMS =  $(bin_PROGRAMS)
+ 
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I.
++DEFS = @DEFS@ -I. -I$(srcdir) -I. -I/usr/local/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lpng -L/usr/local/lib
+ gif2png_OBJECTS =  437_l1.o gif2png.o gifread.o memory.o version.o
+ gif2png_LDADD = $(LDADD)
+ gif2png_DEPENDENCIES = 
diff -ruN /usr/ports/graphics/gif2png/pkg/PLIST gif2png/pkg/PLIST
--- /usr/ports/graphics/gif2png/pkg/PLIST	Tue Sep  7 03:39:30 1999
+++ gif2png/pkg/PLIST	Fri Oct 15 02:32:23 1999
@@ -1 +1,2 @@
 bin/gif2png
+bin/web2png

>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?199910141836.CAA80346>