From sanpei@sanpei.org Mon Nov 22 07:42:56 1999
Return-Path: <sanpei@sanpei.org>
Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73])
	by hub.freebsd.org (Postfix) with ESMTP id 69A1314BD2
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 Nov 1999 07:42:51 -0800 (PST)
	(envelope-from sanpei@sanpei.org)
Received: from lavender.yy.cs.keio.ac.jp (ppp081.dialup.st.keio.ac.jp [131.113.27.81])
	by titanium.yy.ics.keio.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id AAA04517;
	Tue, 23 Nov 1999 00:41:38 +0900 (JST)
	(envelope-from sanpei@sanpei.org)
Received: (from sanpei@localhost)
	by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id AAA02033;
	Tue, 23 Nov 1999 00:41:35 +0900 (JST)
Message-Id: <199911221541.AAA02033@lavender.yy.cs.keio.ac.jp>
Date: Tue, 23 Nov 1999 00:41:35 +0900 (JST)
From: sanpei@sanpei.org
Reply-To: sanpei@sanpei.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update ports: math/ngraph 6.3.06
X-Send-Pr-Version: 3.2

>Number:         15047
>Category:       ports
>Synopsis:       Update ports: math/ngraph 6.3.06
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 22 07:50:00 PST 1999
>Closed-Date:    Fri Nov 26 17:07:19 PST 1999
>Last-Modified:  Fri Nov 26 17:09:41 PST 1999
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Keio Univ.
>Environment:

FreeBSD lavender.yy.cs.keio.ac.jp 4.0-CURRENT FreeBSD 4.0-CURRENT #22: Thu Oct 21 15:22:49 JST 1999     sanpei@lavender.sanpei.org:/mnt/usr/local/src/src/sys/compile/LAVENDER  i386

>Description:

I'm maintainer of math/ngraph.

  I updated ports/math/ngraph to version-6.3.06.
  ngraph/patches/patch-ab was obsoleted. please remove it from repository.

Thank you.

>How-To-Repeat:


>Fix:

diff -uNr ngraph.old/Makefile ngraph/Makefile
--- ngraph.old/Makefile	Tue Nov 23 00:40:02 1999
+++ ngraph/Makefile	Tue Nov 23 00:39:40 1999
@@ -6,10 +6,11 @@
 # $FreeBSD: ports/math/ngraph/Makefile,v 1.2 1999/11/14 02:50:40 steve Exp $
 #
 
-DISTNAME=       Ngraph-6.3.05-src
-PKGNAME=        ngraph-6.3.05
+DISTNAME=       Ngraph-6.3.06-src
+PKGNAME=        ngraph-6.3.06
 CATEGORIES=	math
-MASTER_SITES=   ${MASTER_SITE_PORTS_JP}
+MASTER_SITES=   http://www2e.biglobe.ne.jp/~isizaka/bin/ \
+		${MASTER_SITE_PORTS_JP}
 
 MAINTAINER=     sanpei@jp.FreeBSD.org
 
diff -uNr ngraph.old/files/md5 ngraph/files/md5
--- ngraph.old/files/md5	Tue Nov 23 00:40:02 1999
+++ ngraph/files/md5	Tue Nov  9 20:54:20 1999
@@ -1 +1 @@
-MD5 (Ngraph-6.3.05-src.tar.gz) = b5aa3f74ebb35716b9a6551d7092d8f7
+MD5 (Ngraph-6.3.06-src.tar.gz) = 6b51d983963f97d0563525cc1e6e07a5
diff -uNr ngraph.old/patches/patch-aa ngraph/patches/patch-aa
--- ngraph.old/patches/patch-aa	Tue Nov 23 00:40:02 1999
+++ ngraph/patches/patch-aa	Tue Nov  9 20:54:20 1999
@@ -1,8 +1,20 @@
---- Makefile.orig	Sat Jul 31 22:51:43 1999
-+++ Makefile	Mon Aug 23 20:30:59 1999
-@@ -10,18 +10,18 @@
+--- Makefile.orig	Sat Oct 16 19:00:08 1999
++++ Makefile	Tue Nov  9 10:54:39 1999
+@@ -1,27 +1,27 @@
  #
- # Linux + Motif 2.1 (static link)
+ MAINVERSION = '"6.03"'
+ GUIVERSION = '".06"'
+-LIBDIR = '"/usr/local/lib/Ngraph"'
+-INSTALLDIR = /usr/local/lib/Ngraph
+-BINDIR = /usr/local/bin
++LIBDIR = '"${PREFIX}/lib/Ngraph"'
++INSTALLDIR = ${PREFIX}/lib/Ngraph
++BINDIR = ${PREFIX}/bin
+ #
+ #
+ ###############################################################################
+ #
+ # Linux + Motif 2.1 (RedHat) [static link]
  #
 -CC = gcc
 -CCOPTION = -O2 -m486
@@ -31,15 +43,21 @@
  #
  #
  ###############################################################################
-@@ -123,6 +123,21 @@
- #X11INCLUDE = -I/usr/dt/share/include/Dt
- #STATICLINK =
- #X11LIB = -L/usr/dt/lib -lm -lXm -lDtWidget -lXt -lX11
-+#
-+###############################################################################
-+#
-+# FreeBSD + Motif 2.1 (static link)
-+#
+@@ -132,17 +132,17 @@
+ #
+ # (Thanks to MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>)
+ #
+-#CC = gcc
+-#CCOPTION = ${CFLAGS}
+-#MAKE = gmake
+-#AR = ar
+-#RANLIB = ranlib
+-#STRIP = strip
+-#DEFS = -DJAPANESE
+-#PLATFORM  = '"for X11 [FreeBSD+Motif2.1]"'
+-#X11INCLUDE = -I/usr/X11R6/include -I/usr/dt/include
+-#STATICLINK = /usr/dt/lib/libXm.a
+-#X11LIB = -L/usr/X11R6/lib -L/usr/dt/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
 +CC = gcc
 +CCOPTION = ${CFLAGS}
 +MAKE = gmake
@@ -48,8 +66,9 @@
 +STRIP = strip
 +DEFS = -DJAPANESE
 +PLATFORM  = '"for X11 [FreeBSD+Motif2.1]"'
-+X11INCLUDE = -I/usr/X11R6/include
-+X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4 ${MOTIFLIB}
++X11INCLUDE = -I${X11BASE}/include -I/usr/dt/include
++STATICLINK = /usr/dt/lib/libXm.a
++X11LIB = -L${X11BASE}/lib -L/usr/dt/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
+ #
+ ###############################################################################
  
- export CC CCOPTION MAKE AR RANLIB STRIP INSTALL
- export MAINVERSION GUIVERSION LIBDIR
diff -uNr ngraph.old/patches/patch-ab ngraph/patches/patch-ab
--- ngraph.old/patches/patch-ab	Tue Nov 23 00:40:02 1999
+++ ngraph/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,15 +0,0 @@
---- ja/Ngraph.orig	Sat Jul 31 22:51:43 1999
-+++ ja/Ngraph	Wed Aug 18 12:43:40 1999
-@@ -3,9 +3,9 @@
- Ngraph*inputMethod:				kinput2
- Ngraph*fontList:\
- -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1;\
---misc-fixed-medium-r-normal--12-*-*-*-*-*-jisx0208.1983-0;\
---misc-fixed-medium-r-normal--12-*-*-*-*-*-jisx0201.1976-0:\
---misc-fixed-medium-r-normal--12-*-*-*-*-*-jisx0212.1990-0:
-+-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0;\
-+-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0:\
-+-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0212.1990-0:
- Ngraph*windowfont:\
- -adobe-courier-medium-r-normal--14-*-*-*-*-*-iso8859-1,\
- -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0:
diff -uNr ngraph.old/pkg/DESCR ngraph/pkg/DESCR
--- ngraph.old/pkg/DESCR	Tue Nov 23 00:40:02 1999
+++ ngraph/pkg/DESCR	Tue Nov 23 00:36:05 1999
@@ -10,9 +10,18 @@
 	(cf, under csh/tcsh)
 	% setenv LANG ja_JP.EUC
 
-    Currently you need X True Type Server or X True Type Font server
-    to use Kanji font. These Servers are also listed in ports/package
-    system.
+    and you need....
+     - kinput2
+     - X Trye Type or X True Type Font server,
+       or kanji18 and kanji26 fonts(but these fonts are not yet in ports),
+       or to change font name in Ngraph.ini as below.
+
+font_map=Mincho,1,-*-fixed-medium-r-normal--*-*-75-75-c-*-jisx0208.1983-0
+font_map=Gothic,1,-*-fixed-medium-r-normal--*-*-75-75-c-*-jisx0208.1983-0
+
+     o You can get kanji18 and kanji26 fonts from below URL for Linux:
+ftp://ring.astem.or.jp/pub/linux/PJE/PJE-0.1.5/tgz/packages/font/xfnt18.tgz
+ftp://ring.astem.or.jp/pub/linux/PJE/PJE-0.1.5/tgz/packages/font/xfnt26.tgz
 
   - You can get documentation in Japanese from below URL.
 
diff -uNr ngraph.old/pkg/PLIST ngraph/pkg/PLIST
--- ngraph.old/pkg/PLIST	Tue Nov 23 00:40:02 1999
+++ ngraph/pkg/PLIST	Tue Nov  9 20:54:20 1999
@@ -24,6 +24,9 @@
 lib/Ngraph/demo/demo5c.ngp
 lib/Ngraph/demo/demo5d.ngp
 lib/Ngraph/demo/demo5e.ngp
+lib/Ngraph/fft
+lib/Ngraph/fft.nsc
+lib/Ngraph/fft.tcl
 lib/Ngraph/fitrslt.nsc
 lib/Ngraph/fitrslt.tcl
 lib/Ngraph/gra2ps

>Release-Note:
>Audit-Trail:

From: "R. Imura" <imura@cs.titech.ac.jp>
To: sanpei@sanpei.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/15047: Update ports: math/ngraph 6.3.06
Date: Sat, 27 Nov 1999 02:05:55 +0900

 > --- ngraph.old/patches/patch-aa	Tue Nov 23 00:40:02 1999
 > +++ ngraph/patches/patch-aa	Tue Nov  9 20:54:20 1999
 
 :
 
 > ++X11INCLUDE = -I${X11BASE}/include -I/usr/dt/include
 > ++STATICLINK = /usr/dt/lib/libXm.a
 > ++X11LIB = -L${X11BASE}/lib -L/usr/dt/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
 
 I think it must be ...
 
 ++X11INLCUDE = -I${X11BASE}/include
 ++#STATICLINK = /usr/dt/lib/libXm.a
 ++X11LIB = -L${X11BASE}/lib ${MOTIFLIB} -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
 
 
 ---
 R. Imura
 

From: Steve Price <sprice@hiwaay.net>
To: "R. Imura" <imura@cs.titech.ac.jp>
Cc: freebsd-gnats-submit@freebsd.org, sanpei@jp.FreeBSD.org
Subject: Re: ports/15047: Update ports: math/ngraph 6.3.06
Date: Fri, 26 Nov 1999 11:17:34 -0600 (CST)

 On Fri, 26 Nov 1999, R. Imura wrote:
 
 #  > --- ngraph.old/patches/patch-aa	Tue Nov 23 00:40:02 1999
 #  > +++ ngraph/patches/patch-aa	Tue Nov  9 20:54:20 1999
 #  
 #  :
 #  
 #  > ++X11INCLUDE = -I${X11BASE}/include -I/usr/dt/include
 #  > ++STATICLINK = /usr/dt/lib/libXm.a
 #  > ++X11LIB = -L${X11BASE}/lib -L/usr/dt/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
 #  
 #  I think it must be ...
 #  
 #  ++X11INLCUDE = -I${X11BASE}/include
 #  ++#STATICLINK = /usr/dt/lib/libXm.a
 #  ++X11LIB = -L${X11BASE}/lib ${MOTIFLIB} -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
 
 This doesn't appear to even compile with LessTif either.  Seems
 this port now expects Motif version 2.0.
 
 -steve
 
 

From: "R. Imura" <imura@cs.titech.ac.jp>
To: sprice@hiwaay.net
Cc: freebsd-gnats-submit@freebsd.org, sanpei@jp.FreeBSD.org
Subject: Re: ports/15047: Update ports: math/ngraph 6.3.06
Date: Sat, 27 Nov 1999 02:24:46 +0900

 > This doesn't appear to even compile with LessTif either.  Seems
 > this port now expects Motif version 2.0.
 
 I could, with LessTif when compile it defining MOTIF2.
 
 ---
 R. Imura
 

From: Steve Price <sprice@hiwaay.net>
To: "R. Imura" <imura@cs.titech.ac.jp>
Cc: freebsd-gnats-submit@freebsd.org, sanpei@jp.FreeBSD.org
Subject: Re: ports/15047: Update ports: math/ngraph 6.3.06
Date: Fri, 26 Nov 1999 11:31:21 -0600 (CST)

 On Sat, 27 Nov 1999, R. Imura wrote:
 
 # > This doesn't appear to even compile with LessTif either.  Seems
 # > this port now expects Motif version 2.0.
 # 
 # I could, with LessTif when compile it defining MOTIF2.
 
 Yes, but a standard build of LessTif doesn't normally have MOTIF2
 defined.  Maybe we should make it the default, but I haven't checked
 to see what else would break because of it.
 
 -steve
 
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Nov 26 17:07:19 PST 1999 
State-Changed-Why:  
Update committed, thanks! 
>Unformatted:
