Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 07:05:13 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17459: Update port: cad/xcircuit to 2.0b4
Message-ID:  <200003181505.HAA54832@freefall.freebsd.org>

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

>Number:         17459
>Category:       ports
>Synopsis:       Update port: cad/xcircuit to 2.0b4
>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:   Sat Mar 18 07:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.0b4

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/cad/xcircuit/Makefile cad/xcircuit/Makefile
--- /usr/ports/cad/xcircuit/Makefile	Mon Jan 24 20:13:35 2000
+++ cad/xcircuit/Makefile	Mon Mar 13 02:16:28 2000
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	xcircuit
-# Version required:	2.0b3
+# Version required:	2.0b4
 # Date created:		3 Apr 1998
 # Whom:			giffunip@asme.org
 #
 # $FreeBSD: ports/cad/xcircuit/Makefile,v 1.13 2000/01/24 06:04:01 steve Exp $
 #
 
-DISTNAME=	xcircuit-2.0b3
+DISTNAME=	xcircuit-2.0b4
 CATEGORIES=	cad
 MASTER_SITES=	ftp://bach.ece.jhu.edu/pub/tim/xcircuit/ \
 		http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
@@ -14,12 +14,16 @@
 MAINTAINER=	ports@FreeBSD.org
 
 LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
+RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript55
 
 USE_BZIP2=	yes
 USE_IMAKE=	yes
 XMKMF=		xmkmf
 
 MAN1=		xcircuit.1
+
+post-patch:
+	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Imakefile
 
 post-install:
 	@${MKDIR} ${PREFIX}/share/examples/xcircuit
diff -urN /usr/ports/cad/xcircuit/files/md5 cad/xcircuit/files/md5
--- /usr/ports/cad/xcircuit/files/md5	Thu Feb 17 20:12:40 2000
+++ cad/xcircuit/files/md5	Mon Mar 13 01:39:38 2000
@@ -1 +1 @@
-MD5 (xcircuit-2.0b3.tar.bz2) = d32f448022a535222ae09f8b8b643667
+MD5 (xcircuit-2.0b4.tar.bz2) = 3ffe684a0cba7ab92a54be19c8f762a8
diff -urN /usr/ports/cad/xcircuit/patches/patch-aa cad/xcircuit/patches/patch-aa
--- /usr/ports/cad/xcircuit/patches/patch-aa	Mon Jan 24 20:13:35 2000
+++ cad/xcircuit/patches/patch-aa	Mon Mar 13 01:55:11 2000
@@ -1,5 +1,5 @@
-*** Imakefile.orig	Thu Jan  6 03:15:52 2000
---- Imakefile	Fri Jan 21 12:00:00 2000
+*** Imakefile.orig	Wed Mar  1 00:41:35 2000
+--- Imakefile	Mon Mar 13 01:45:29 2000
 ***************
 *** 26,44 ****
   #CCOPTIONS = -O2
@@ -26,7 +26,7 @@
   #
   # for debugging purposes uncomment the following line:
 ! #CDEBUGFLAGS = -g
-! #STD_INCLUDES = -I. -I/usr/X11R6/include/X11
+! STD_INCLUDES = -I. -I$(INCDIR)/X11
   
   #------------------------------------------------------------------------
   # Installation directories:
@@ -42,23 +42,19 @@
   #------------------------------------------------------------------------
   # Support for graphics double-buffering (A memory hog, but yields fastest
 ***************
-*** 89,97 ****
-  # DEC Alpha, Solaris and other SVR4 systems need the following,
-  # or if you have compilation errors about "dp->d_name" being
-  # undefined:
-! #DIRENT = -DSVR4_DIRENT
-  # Otherwise,
-! DIRENT =
-  
-  # My DECstation (Ultrix) has something funny going on in XLib. . . if there
-  # is a compile-time error "ld: Undefined: XUniqueContext *** Error code 1"
---- 89,97 ----
-  # DEC Alpha, Solaris and other SVR4 systems need the following,
-  # or if you have compilation errors about "dp->d_name" being
-  # undefined:
-! DIRENT = -DSVR4_DIRENT
-  # Otherwise,
-! #DIRENT =
+*** 56,62 ****
+  # Support for background rendering through ghostscript.  Change this
+  # to the path where gs can be found.
+  # GS_EXEC= /usr/local/src/gs5.50/obj/gs
+! GS_EXEC= /usr/bin/gs
+  
+  #------------------------------------------------------------------------
+  # Window manager bug workaround---If you don't like xcircuit grabbing kbd
+--- 56,62 ----
+  # Support for background rendering through ghostscript.  Change this
+  # to the path where gs can be found.
+  # GS_EXEC= /usr/local/src/gs5.50/obj/gs
+! GS_EXEC= %%LOCALBASE%%/bin/gs
   
-  # My DECstation (Ultrix) has something funny going on in XLib. . . if there
-  # is a compile-time error "ld: Undefined: XUniqueContext *** Error code 1"
+  #------------------------------------------------------------------------
+  # Window manager bug workaround---If you don't like xcircuit grabbing kbd
diff -urN /usr/ports/cad/xcircuit/patches/patch-ae cad/xcircuit/patches/patch-ae
--- /usr/ports/cad/xcircuit/patches/patch-ae	Mon Jan 24 15:04:05 2000
+++ cad/xcircuit/patches/patch-ae	Mon Mar 13 02:24:08 2000
@@ -1,8 +1,8 @@
-*** filelist.c.orig	Thu Jan  6 03:16:39 2000
---- filelist.c	Fri Jan 21 12:00:00 2000
+*** filelist.c.orig	Tue Feb 29 23:35:01 2000
+--- filelist.c	Mon Mar 13 02:23:41 2000
 ***************
-*** 5,11 ****
---- 5,13 ----
+*** 5,12 ****
+--- 5,19 ----
   
   #include <stdio.h>
   #include <string.h>
@@ -10,5 +10,11 @@
   #include <malloc.h>
 + #endif
   #include <sys/types.h>
++ #ifdef __FreeBSD__
++ #include <dirent.h>
++ #include <unistd.h>
++ #define direct dirent
++ #else
   #ifdef linux
   #include <dirent.h>
+  #include <linux/unistd.h>
diff -urN /usr/ports/cad/xcircuit/pkg/PLIST cad/xcircuit/pkg/PLIST
--- /usr/ports/cad/xcircuit/pkg/PLIST	Mon Jan 24 20:13:36 2000
+++ cad/xcircuit/pkg/PLIST	Mon Mar 13 02:11:36 2000
@@ -4,7 +4,6 @@
 lib/X11/xcircuit/avlsi.lps
 lib/X11/xcircuit/builtins.lps
 lib/X11/xcircuit/digital.lps
-lib/X11/xcircuit/generic.lps
 lib/X11/xcircuit/fonts/courier.lps
 lib/X11/xcircuit/fonts/courier.xfe
 lib/X11/xcircuit/fonts/courieriso.xfe
@@ -30,6 +29,7 @@
 lib/X11/xcircuit/fonts/times_romaniso2.xfe
 lib/X11/xcircuit/fonts/times_romaniso5.lps
 lib/X11/xcircuit/fonts/times_romaniso5.xfe
+lib/X11/xcircuit/generic.lps
 lib/X11/xcircuit/lgf.lps
 lib/X11/xcircuit/musiclib.lps
 lib/X11/xcircuit/signal.lps


>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?200003181505.HAA54832>