summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-03-01 18:33:24 +0000
committerdmcmahill <dmcmahill>2000-03-01 18:33:24 +0000
commit90973eec86a93e7f249f97ad75da1d5d25f800c4 (patch)
tree17a5b9365d74914effd7763ff78353ef1a980f73
parent25c01c8da046dcb4038e39600f962477630947e3 (diff)
downloadpkgsrc-90973eec86a93e7f249f97ad75da1d5d25f800c4.tar.gz
Initial import of gwave-19990927.
Gwave is a viewer for spice-like simulator output and other analog data Gwave can read several file formats. It attempts to guess file formats based on filename, and then tries all file formats until one succedes. These file formats are known: CAzM transient output (*.[BNW]) HSPICE binary and ascii formats (*.tr0, *.sw0, *.ac0) Spice2 and Spice3 "raw" output (*.raw) An ascii format with whitespace-seperated columns and column headings, such as that produced by ACS (Al's circuit simulator). (*.acs, *.asc, *.ascii) The "Export Postscript" and "Export PNM" options on the main File menu provide the rudiments of output for inclusion in other documentation. They and simply write out files called gwave_out.ps and gwave_out.pnm into the current directory. In the future, a dialog box will allow configuring the print and export output.
-rw-r--r--cad/gwave/Makefile16
-rw-r--r--cad/gwave/files/md53
-rw-r--r--cad/gwave/files/patch-sum3
-rw-r--r--cad/gwave/patches/patch-aa22
-rw-r--r--cad/gwave/pkg/COMMENT1
-rw-r--r--cad/gwave/pkg/DESCR17
-rw-r--r--cad/gwave/pkg/PLIST2
7 files changed, 64 insertions, 0 deletions
diff --git a/cad/gwave/Makefile b/cad/gwave/Makefile
new file mode 100644
index 00000000000..c5ba0e1024c
--- /dev/null
+++ b/cad/gwave/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/03/01 18:33:24 dmcmahill Exp $
+#
+
+DISTNAME= gwave-19990927
+CATEGORIES= cad
+MASTER_SITES= http://www.cs.unc.edu/~tell/dist/
+
+MAINTAINER= dmcmahill@netbsd.org
+HOMEPAGE= http://www.cs.unc.edu/~tell/gwave/
+
+DEPENDS+= gtk+>=1.2.0:../../x11/gtk
+DEPENDS+= plotutils-*:../../graphics/plotutils
+
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/gwave/files/md5 b/cad/gwave/files/md5
new file mode 100644
index 00000000000..51bd48811ba
--- /dev/null
+++ b/cad/gwave/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/03/01 18:33:24 dmcmahill Exp $
+
+MD5 (gwave-19990927.tar.gz) = 1d731751919a77575c00360bd5a94acd
diff --git a/cad/gwave/files/patch-sum b/cad/gwave/files/patch-sum
new file mode 100644
index 00000000000..923e9acf99f
--- /dev/null
+++ b/cad/gwave/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/03/01 18:33:24 dmcmahill Exp $
+
+MD5 (patch-aa) = 0b9979ba1cb1f870d442000d3d2ec611
diff --git a/cad/gwave/patches/patch-aa b/cad/gwave/patches/patch-aa
new file mode 100644
index 00000000000..a9a1f382d9d
--- /dev/null
+++ b/cad/gwave/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/03/01 18:33:24 dmcmahill Exp $
+
+--- print.c.orig Mon Sep 27 15:15:15 1999
++++ print.c Wed Mar 1 12:09:30 2000
+@@ -34,6 +34,9 @@
+ #include <errno.h>
+
++#include <sys/types.h>
++#include <sys/wait.h>
++
+ #include <gtk/gtk.h>
+-#include <config.h>
++#include "config.h"
+ #include "gwave.h"
+
+@@ -172,5 +175,5 @@
+ graph_argv[graph_argc++] = NULL;
+ printf("running %s", graph_prog);
+- for(i = 0; i < graph_argc; i++) {
++ for(i = 0; i < (graph_argc-1); i++) {
+ printf(" %s", graph_argv[i]);
+ }
diff --git a/cad/gwave/pkg/COMMENT b/cad/gwave/pkg/COMMENT
new file mode 100644
index 00000000000..651eadbf556
--- /dev/null
+++ b/cad/gwave/pkg/COMMENT
@@ -0,0 +1 @@
+viewer for spice-like simulator output and other analog data
diff --git a/cad/gwave/pkg/DESCR b/cad/gwave/pkg/DESCR
new file mode 100644
index 00000000000..cd7f3fb1cad
--- /dev/null
+++ b/cad/gwave/pkg/DESCR
@@ -0,0 +1,17 @@
+Gwave is a viewer for spice-like simulator output and other analog data
+
+Gwave can read several file formats. It attempts to guess file formats
+based on filename, and then tries all file formats until one succedes.
+These file formats are known:
+
+CAzM transient output (*.[BNW])
+HSPICE binary and ascii formats (*.tr0, *.sw0, *.ac0)
+Spice2 and Spice3 "raw" output (*.raw)
+An ascii format with whitespace-seperated columns and column headings,
+such as that produced by ACS (Al's circuit simulator). (*.acs, *.asc, *.ascii)
+
+The "Export Postscript" and "Export PNM" options on the main File menu
+provide the rudiments of output for inclusion in other
+documentation. They and simply write out files called gwave_out.ps and
+gwave_out.pnm into the current directory. In the future, a dialog box
+will allow configuring the print and export output.
diff --git a/cad/gwave/pkg/PLIST b/cad/gwave/pkg/PLIST
new file mode 100644
index 00000000000..02c3dc308b4
--- /dev/null
+++ b/cad/gwave/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/01 18:33:24 dmcmahill Exp $
+bin/gwave