Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 1999 19:13:51 -0500 (EST)
From:      Brian Clapper <bmc@WillsCreek.COM>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        bmc@WillsCreek.COM
Subject:   ports/9400: tgif port update
Message-ID:  <199901090013.TAA06207@current.willscreek.com>

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

>Number:         9400
>Category:       ports
>Synopsis:       Updated tgif port to new version
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan  8 16:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Brian Clapper
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
Wills Creek Associates
>Environment:

	FreeBSD-2.2.7-RELEASE
	XFree86-3.3.3

>Description:

	Tgif port wouldn't build because distfile couldn't be fetched.
	Tgif author has significantly updated the tool.

>How-To-Repeat:

	

>Fix:
	
	Enclosed is output from "diff -uNR tgif-3.0.18 tgif-4.0.2".
	Apply this diff to bring the port up to date.

diff -uNr tgif-3.0.18/Makefile tgif-4.0.2/Makefile
--- tgif-3.0.18/Makefile	Fri Dec 11 18:28:59 1998
+++ tgif-4.0.2/Makefile	Fri Jan  8 18:37:12 1999
@@ -1,14 +1,14 @@
 # New ports collection makefile for:    tgif
 # Version required:     3.0-p17
-# Date created:         10 Oct 1996
+# Date created:         10 Aug 1997
 # Whom:                 bmc@WillsCreek.COM
 #
-# $Id: Makefile,v 1.7 1998/12/11 11:38:24 obrien Exp $
+# $Id: Makefile,v 1.3 1996/11/18 09:53:40 asami Exp $
 #
 
-DISTNAME=	tgif-3.0.18
-PKGNAME=	tgif-3.0p18
-CATEGORIES=	graphics
+DISTNAME=       tgif-4.0.2
+PKGNAME=	tgif-4.0.2
+CATEGORIES+=	graphics x11
 MASTER_SITES=	ftp://bourbon.cs.umd.edu/pub/tgif/ \
 		ftp://ftp.cs.ucla.edu/pub/tgif/
 
@@ -22,6 +22,12 @@
 		xpmtoppm:${PORTSDIR}/graphics/netpbm
 
 USE_IMAKE=      yes
-MAN1=		prtgif.1 tgif.1
+INSTALL_TARGET= install install.man
+
+post-extract:
+		${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
+		${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
+		      ${WRKDIR}/${DISTNAME}/Tgif.tmpl
+post-install:
 
 .include <bsd.port.mk>
diff -uNr tgif-3.0.18/files/md5 tgif-4.0.2/files/md5
--- tgif-3.0.18/files/md5	Fri Dec 11 18:28:59 1998
+++ tgif-4.0.2/files/md5	Fri Jan  8 17:29:32 1999
@@ -1 +1 @@
-MD5 (tgif-3.0.18.tar.gz) = 75f18a1287efc456ab9605ae13cfebfa
+MD5 (tgif-4.0.2.tar.gz) = 564628da038f3fab0284fcf68b7318fd
diff -uNr tgif-3.0.18/patches/patch-aa tgif-4.0.2/patches/patch-aa
--- tgif-3.0.18/patches/patch-aa	Fri Dec 11 18:29:00 1998
+++ tgif-4.0.2/patches/patch-aa	Fri Jan  8 17:59:06 1999
@@ -1,40 +1,19 @@
-*** Imakefile.orig	Thu Mar 13 12:19:25 1997
---- Imakefile	Thu Mar 13 12:20:39 1997
+*** xprtfltr.c.orig	Fri Jan  8 17:58:37 1999
+--- xprtfltr.c	Fri Jan  8 17:58:50 1999
 ***************
-*** 48,56 ****
-  PROGRAMS	= tgif prtgif XCOMM frontend11.o testdrive
-  XCOMM CDEBUGFLAGS= -g
-  XCOMM INSTPGMFLAGS= -s
-! XCOMM BINDIR	= /u/halfmoon/bin
-! XCOMM MANPATH	= /u/halfmoon/man
-! XCOMM TGIFDIR	= /u/halfmoon/lib/X11/tgif
-  TGIFDIR		= $(LIBDIR)/tgif
-  DEFINES		= -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
-                    -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" \@@\
---- 48,56 ----
-  PROGRAMS	= tgif prtgif XCOMM frontend11.o testdrive
-  XCOMM CDEBUGFLAGS= -g
-  XCOMM INSTPGMFLAGS= -s
-! XCOMM BINDIR	= $(X11BASE)
-! XCOMM MANPATH	= $(X11BASE)
-! XCOMM TGIFDIR	= $(X11BASE)
-  TGIFDIR		= $(LIBDIR)/tgif
-  DEFINES		= -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
-                    -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" \@@\
-***************
-*** 73,79 ****
-  XCOMM    FreeBSD: 
-  XCOMM    SCO:     -D_NO_EXTERN -DPRINT_CMD=\""lp -o raw -o nobanner"\"
-  
-! LOCAL_LIBRARIES	= $(XLIB)
-  XCOMM LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
-  DEPLIBS		= $(DEPXLIB)
-  SYS_LIBRARIES	= -lm
---- 73,79 ----
-  XCOMM    FreeBSD: 
-  XCOMM    SCO:     -D_NO_EXTERN -DPRINT_CMD=\""lp -o raw -o nobanner"\"
-  
-! LOCAL_LIBRARIES	= $(XLIB) -lcompat
-  XCOMM LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
-  DEPLIBS		= $(DEPXLIB)
-  SYS_LIBRARIES	= -lm
+*** 187,193 ****
+        return FALSE;
+     }
+     pTgEFInfo->pSharedLibHandle = OPEN_DL(pszSharedLibPath,
+!          RTLD_NOW|RTLD_GLOBAL);
+     if (pTgEFInfo->pSharedLibHandle == NULL) {
+        sprintf(gszMsgBox, "Fail to load shared lib '%s'.", pszSharedLibPath);
+        MsgBox(gszMsgBox, TOOL_NAME, INFO_MB);
+--- 187,193 ----
+        return FALSE;
+     }
+     pTgEFInfo->pSharedLibHandle = OPEN_DL(pszSharedLibPath,
+!          RTLD_NOW);
+     if (pTgEFInfo->pSharedLibHandle == NULL) {
+        sprintf(gszMsgBox, "Fail to load shared lib '%s'.", pszSharedLibPath);
+        MsgBox(gszMsgBox, TOOL_NAME, INFO_MB);
diff -uNr tgif-3.0.18/patches/patch-ab tgif-4.0.2/patches/patch-ab
--- tgif-3.0.18/patches/patch-ab	Wed Dec 31 19:00:00 1969
+++ tgif-4.0.2/patches/patch-ab	Fri Jan  8 18:54:57 1999
@@ -0,0 +1,19 @@
+*** tgif.man.orig	Fri Jan  8 18:54:23 1999
+--- tgif.man	Fri Jan  8 18:54:36 1999
+***************
+*** 8,14 ****
+  .\"
+  .\"
+  .\"
+! .TH TGIF n "Version 4.0 Patchlevel 2 and Above" "Tgif"
+  .\"
+  .SH NAME
+  .\"
+--- 8,14 ----
+  .\"
+  .\"
+  .\"
+! .TH TGIF 1L "Version 4.0 Patchlevel 2 and Above" "Tgif"
+  .\"
+  .SH NAME
+  .\"
diff -uNr tgif-3.0.18/pkg/COMMENT tgif-4.0.2/pkg/COMMENT
--- tgif-3.0.18/pkg/COMMENT	Mon Aug 11 04:40:56 1997
+++ tgif-4.0.2/pkg/COMMENT	Fri Jan  8 18:44:36 1999
@@ -1 +1 @@
-An Xlib-based two-dimensional drawing facility.
+An Xlib-based two-dimensional drawing tool and hyper-object browser.
diff -uNr tgif-3.0.18/pkg/DESCR tgif-4.0.2/pkg/DESCR
--- tgif-3.0.18/pkg/DESCR	Mon Jul 20 06:53:06 1998
+++ tgif-4.0.2/pkg/DESCR	Fri Jan  8 18:44:12 1999
@@ -1,11 +1,19 @@
-Tgif 3.0-p17
+Tgif 4.0.2
 
-Tgif is an X-based interactive drawing tool that allows the user to draw
-and manipulate objects; as of version 2.16, it is also a "hyper-structured-
-graphics (or hyper-graphics) editor/browser on the World-Wide-Web".  Tgif
-drawings can be converted to a variety of formats, including GIF,
-encapsulated PostScript and XBM.  Tgif depends on the `netpbm' package,
-available from the `ports' collection.
+Tgif is an interactive drawing tool that allows the user to draw and
+manipulate objects in the X Window System. It's also a hyper-graphics (or
+hyper-structured-graphics) browser on the World-Wide-Web. Its hyper-text
+home page is http://bourbon.cs.umd.edu:8001/tgif/ and its hyper-graphics
+home page is http://bourbon.cs.umd.edu:8001/tgif/index.obj.
 
-Tgif was written and is maintained and enhanced by
-William Chia-Wei Cheng (william@cs.ucla.edu)
+Tgif drawings can be converted to a variety of formats, including GIF,
+encapsulated PostScript and XBM.
+
+Version 4 has a completely revamped 3-D user interface, as well as a host
+of new features.
+
+Tgif depends on the `netpbm' package, available from the `ports'
+collection.
+
+Tgif is written, maintained and enhanced by
+William Chia-Wei Cheng (william@cs.umd.edu)
diff -uNr tgif-3.0.18/pkg/PLIST tgif-4.0.2/pkg/PLIST
--- tgif-3.0.18/pkg/PLIST	Mon Oct  5 06:15:46 1998
+++ tgif-4.0.2/pkg/PLIST	Fri Jan  8 18:39:02 1999
@@ -1,5 +1,5 @@
 bin/tgif
-bin/prtgif
+man/man1/tgif.1.gz
 lib/X11/tgif/tgif.Xdefaults
 lib/X11/tgif/tgificon.eps
 lib/X11/tgif/tgificon.obj
@@ -7,4 +7,3 @@
 lib/X11/tgif/tgificon.xpm
 lib/X11/tgif/tangram.sym
 lib/X11/tgif/keys.obj
-@dirrm lib/X11/tgif


>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?199901090013.TAA06207>