From fbbf2e7d888cf64c2c3a70cea6ca1e7e07e1d31e Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Wed, 1 Mar 2000 18:33:24 +0000 Subject: 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. --- cad/gwave/Makefile | 16 ++++++++++++++++ cad/gwave/files/md5 | 3 +++ cad/gwave/files/patch-sum | 3 +++ cad/gwave/patches/patch-aa | 22 ++++++++++++++++++++++ cad/gwave/pkg/COMMENT | 1 + cad/gwave/pkg/DESCR | 17 +++++++++++++++++ cad/gwave/pkg/PLIST | 2 ++ 7 files changed, 64 insertions(+) create mode 100644 cad/gwave/Makefile create mode 100644 cad/gwave/files/md5 create mode 100644 cad/gwave/files/patch-sum create mode 100644 cad/gwave/patches/patch-aa create mode 100644 cad/gwave/pkg/COMMENT create mode 100644 cad/gwave/pkg/DESCR create mode 100644 cad/gwave/pkg/PLIST (limited to 'cad/gwave') 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 + ++#include ++#include ++ + #include +-#include ++#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 -- cgit v1.2.3