summaryrefslogtreecommitdiff
path: root/sci-electronics/gwave
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sci-electronics/gwave
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'sci-electronics/gwave')
-rw-r--r--sci-electronics/gwave/Manifest1
-rw-r--r--sci-electronics/gwave/files/gwave-20190116-as-needed.patch125
-rw-r--r--sci-electronics/gwave/files/gwave-20190116-fix-configure.patch14
-rw-r--r--sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch14
-rw-r--r--sci-electronics/gwave/files/gwave-20190116-multiple-little-bugfixes.patch126
-rw-r--r--sci-electronics/gwave/gwave-20190116-r100.ebuild63
-rw-r--r--sci-electronics/gwave/metadata.xml18
7 files changed, 0 insertions, 361 deletions
diff --git a/sci-electronics/gwave/Manifest b/sci-electronics/gwave/Manifest
deleted file mode 100644
index d193bbadefd8..000000000000
--- a/sci-electronics/gwave/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gwave-20190116.tar.gz 472342 BLAKE2B d3781a757d288548600626c2105828162c9eb72930b1a3c741adc63eb275097a98f75fc73c31c4d57bee2e959952ca51e8af54090ff5ea0a2b780ee645da7e4e SHA512 5c83306dfa4aaf7a0e9bb27be3c8a0e9e47d02b15afe78938e23b815d302bb162ab35aab05b67ede132d0a7c51519b15ef64a7f87df4b8da9ca9b93b82410b7b
diff --git a/sci-electronics/gwave/files/gwave-20190116-as-needed.patch b/sci-electronics/gwave/files/gwave-20190116-as-needed.patch
deleted file mode 100644
index 8a0737e6b89e..000000000000
--- a/sci-electronics/gwave/files/gwave-20190116-as-needed.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-From d2e4cdc91e3100a6a6598eff93df1b24c6ce661c Mon Sep 17 00:00:00 2001
-From: sgtell <sgtell@9168a026-1b44-0410-911b-d774ca5fe8d3>
-Date: Thu, 11 Apr 2019 20:52:12 +0000
-Subject: [PATCH 2/2] message typo fixes and Makefile.am improvements
- contributed by Ahmed El-Mahmoudy Don't monkey with _LDFLAGS when _LDADD will
- do; fixes -Wl,--as-needed
-
-git-svn-id: https://svn.code.sf.net/p/gwave/code/branches/no-ggp-branch@271 9168a026-1b44-0410-911b-d774ca5fe8d3
----
- spicefile/Makefile.am | 12 +++++-------
- spicefile/ss_hspice.c | 10 +++++-----
- spicefile/ss_spice3.c | 2 +-
- src/Makefile.am | 5 +----
- 4 files changed, 12 insertions(+), 17 deletions(-)
-
-diff --git a/spicefile/Makefile.am b/spicefile/Makefile.am
-index 83f7508..3b69fbb 100644
---- a/spicefile/Makefile.am
-+++ b/spicefile/Makefile.am
-@@ -9,12 +9,10 @@ libspicefile_a_SOURCES = spicestream.c ss_cazm.c ss_hspice.c ss_spice3.c ss_spic
- AM_CFLAGS = @GTK_CFLAGS@
-
- noinst_PROGRAMS = test_read
--test_read_SOURCES = test_read.c
--test_read_LDFLAGS = @GTK_LIBS@
--test_read_LDADD = libspicefile.a
-+test_read_SOURCES = test_read.c
-+test_read_LDADD = libspicefile.a @GTK_LIBS@
-
--bin_PROGRAMS=sp2sp
--sp2sp_SOURCES=sp2sp.c
--sp2sp_LDFLAGS= @GTK_LIBS@
--sp2sp_LDADD= libspicefile.a
-+bin_PROGRAMS = sp2sp
-+sp2sp_SOURCES = sp2sp.c
-+sp2sp_LDADD = libspicefile.a @GTK_LIBS@
-
-diff --git a/spicefile/ss_hspice.c b/spicefile/ss_hspice.c
-index 421be14..722eaa4 100644
---- a/spicefile/ss_hspice.c
-+++ b/spicefile/ss_hspice.c
-@@ -316,7 +316,7 @@ sf_rdhdr_hsbin(char *name, FILE *fp)
- swap_gint32((gint32*)&hh, sizeof(hh)/sizeof(gint32));
- }
- if(hh.h1 != 4 || hh.h3 != 4) {
-- ss_msg(DBG, "sf_rdhdr_hsbin", "unexepected values in data block header");
-+ ss_msg(DBG, "sf_rdhdr_hsbin", "unexpected values in data block header");
- goto fail;
- }
-
-@@ -574,7 +574,7 @@ sf_getval_hsbin(SpiceStream *sf, double *dvalp)
- sf->flags &= ~SSF_ESWAP;
- }
- if(hh.h1 != 0x00000004 || hh.h3 != 0x00000004) {
-- ss_msg(ERR, "sf_getval_hsbin", "unexepected values in block header at offset 0x%lx", pos);
-+ ss_msg(ERR, "sf_getval_hsbin", "unexpected values in block header at offset 0x%lx", pos);
- return -1;
- }
- sf->expected_vals = hh.block_nbytes / sf->floatsize;
-@@ -584,7 +584,7 @@ sf_getval_hsbin(SpiceStream *sf, double *dvalp)
- if(sf->floatsize == 4) {
- if(fread(&fval, sizeof(float), 1, sf->fp) != 1) {
- pos = ftello64(sf->fp);
-- ss_msg(ERR, "sf_getval_hsbin", "unexepected EOF in data at offset 0x%lx", (long) pos);
-+ ss_msg(ERR, "sf_getval_hsbin", "unexpected EOF in data at offset 0x%lx", (long) pos);
- return 0;
- }
- if(sf->flags & SSF_ESWAP) {
-@@ -594,7 +594,7 @@ sf_getval_hsbin(SpiceStream *sf, double *dvalp)
- } else if(sf->floatsize == 8) {
- if(fread(&dval, sf->floatsize, 1, sf->fp) != 1) {
- pos = ftello64(sf->fp);
-- ss_msg(ERR, "sf_getval_hsbin", "unexepected EOF in data at offset 0x%lx", (long) pos);
-+ ss_msg(ERR, "sf_getval_hsbin", "unexpected EOF in data at offset 0x%lx", (long) pos);
- return 0;
- }
- if(sf->flags & SSF_ESWAP) {
-@@ -652,7 +652,7 @@ sf_getval_hsascii(SpiceStream *sf, double *val)
- if(strlen(vbuf) != sf->avalsize) {
- /* incomplete float value - probably truncated or
- partialy-written file */
-- ss_msg(ERR, "sf_getval_hsascii", "unexepected number \"%s\" near offset 0x%lx", vbuf, (long)ftello64(sf->fp));
-+ ss_msg(ERR, "sf_getval_hsascii", "unexpected number \"%s\" near offset 0x%lx", vbuf, (long)ftello64(sf->fp));
-
- return 0;
- }
-diff --git a/spicefile/ss_spice3.c b/spicefile/ss_spice3.c
-index f95b997..4dfd5b9 100644
---- a/spicefile/ss_spice3.c
-+++ b/spicefile/ss_spice3.c
-@@ -352,7 +352,7 @@ sf_getval_s3bin(SpiceStream *sf, double *dval)
- }
- if(fread(&val, sizeof(double), 1, sf->fp) != 1) {
- pos = ftello64(sf->fp);
-- ss_msg(ERR, "sf_getval_s3bin", "unexepected EOF in data at offset 0x%lx", (long) pos);
-+ ss_msg(ERR, "sf_getval_s3bin", "unexpected EOF in data at offset 0x%lx", (long) pos);
- return -1;
- }
- sf->read_vals++;
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 6efba55..7933bfc 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -15,8 +15,7 @@ gwave_SOURCES = cmd.c wavewin.c draw.c gwave.c event.c \
- rgeval.c xgserver.c measurebtn.c measurebtn.h \
- GtkTable_indel.c GtkTable_indel.h xsnarf.h
-
--gwave_LDADD = ../spicefile/libspicefile.a @GTK_LIBS@ -lm
--gwave_LDFLAGS = @GUILE_LDFLAGS@
-+gwave_LDADD = ../spicefile/libspicefile.a @GTK_LIBS@ @GUILE_LIBS@ -lm
-
- AM_CFLAGS = @GTK_CFLAGS@ @GUILE_CFLAGS@ \
- -DDATADIR=\"$(datadir)\" -DBINGWAVE=\"$(bindir)/gwave\"
-@@ -29,8 +28,6 @@ DOT_DOC_FILES = gwave.doc cmd.doc wavewin.doc wavelist.doc scwm_guile.doc \
-
- BUILT_SOURCES=init_scheme_string.c $(DOT_X_FILES)
-
--#$(DOT_DOC_FILES)
--
- init_scheme_string.c: $(top_srcdir)/scheme/minimal.scm
- echo "char *init_scheme_string = " > $@
- sed -e 's/;.*$$//g' -e 's/"/\\"/g' -e "s/'/\\\\'/g" -e 's/$$/\\n"/' -e 's/^/"/g' < $(top_srcdir)/scheme/minimal.scm >> $@
---
-2.21.0
-
diff --git a/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch b/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch
deleted file mode 100644
index e0c0c4443866..000000000000
--- a/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 7a4f1c4..ffcb326 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -86,8 +86,7 @@ AC_CHECK_LIB(termcap, tgoto, [
- AC_CHECK_LIB(readline, readline, [
- READLINE_LIB="-lreadline -lncurses"
- AC_DEFINE(HAVE_READLINE,1,[Define this if you have the readline library])
-- AC_CHECK_LIB(readline, add_history, AC_DEFINE(HAVE_HISTORY,1,[Define this if your readline also has add_history]),,"-l
--ncurses")
-+ AC_CHECK_LIB(readline, add_history, AC_DEFINE(HAVE_HISTORY,1,[Define this if your readline also has add_history]),,"-lncurses")
- ], READLINE_LIB="", "-lncurses")
- ], READLINE_LIB=""))
-
diff --git a/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch b/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch
deleted file mode 100644
index 5957b6a1b6b0..000000000000
--- a/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/886139
-
---- a/spicefile/sp2sp.c
-+++ b/spicefile/sp2sp.c
-@@ -234,7 +234,7 @@
- }
- of = stdout;
- } else {
-- of = (FILE *)fopen64(outfilename, "w"); /* DJW: why is the cast needed? */
-+ of = fopen(outfilename, "w");
- if(!of) {
- if(errno)
- perror(outfilename);
-
diff --git a/sci-electronics/gwave/files/gwave-20190116-multiple-little-bugfixes.patch b/sci-electronics/gwave/files/gwave-20190116-multiple-little-bugfixes.patch
deleted file mode 100644
index 88243381d2fa..000000000000
--- a/sci-electronics/gwave/files/gwave-20190116-multiple-little-bugfixes.patch
+++ /dev/null
@@ -1,126 +0,0 @@
-From ab7e69e688e7868349c1db922fde8dc3da2a4ac8 Mon Sep 17 00:00:00 2001
-From: sgtell <sgtell@9168a026-1b44-0410-911b-d774ca5fe8d3>
-Date: Thu, 11 Apr 2019 20:24:27 +0000
-Subject: [PATCH 1/2] multiple little bugfixes missing "return SCM_UNSPECIFIED"
- causes crash in some guile environments fix gwave -s scriptname commandline
- startup usage; fix script loading finish testing & fixing the new waveform
- status popup
-
-git-svn-id: https://svn.code.sf.net/p/gwave/code/branches/no-ggp-branch@270 9168a026-1b44-0410-911b-d774ca5fe8d3
----
- scheme/cmds.scm | 2 +-
- scheme/extra-menus.scm | 4 ++++
- scheme/std-args.scm | 2 +-
- scheme/visiblewave-ops.scm | 4 +---
- spicefile/wavefile.c | 2 --
- src/gtkmisc.c | 2 ++
- src/wavelist.c | 1 +
- 7 files changed, 10 insertions(+), 7 deletions(-)
-
-diff --git a/scheme/cmds.scm b/scheme/cmds.scm
-index 2f94a09..75a41cf 100644
---- a/scheme/cmds.scm
-+++ b/scheme/cmds.scm
-@@ -351,7 +351,7 @@
-
- ;; execute a guile script, ignoring any errors.
- (define-public (execute-script fname)
-- (false-if-exception (load fname))
-+ (false-if-exception (primitive-load fname))
- )
-
- ; global to pass target datafile smob to scripts executed
-diff --git a/scheme/extra-menus.scm b/scheme/extra-menus.scm
-index 0f72e25..d1edf6b 100644
---- a/scheme/extra-menus.scm
-+++ b/scheme/extra-menus.scm
-@@ -35,6 +35,10 @@
-
- (define (debug-list-files)
- (format #t "wavefile-list: ~a\n" (wavefile-list))
-+ (for-each (lambda (wf)
-+ (format #t "wavefile ~a " wf)
-+ (format #t "file ~s\n" (wavefile-file-name wf)))
-+ (wavefile-list))
- )
-
- (define (debug-wave-calc)
-diff --git a/scheme/std-args.scm b/scheme/std-args.scm
-index bed74d4..d6dddf2 100644
---- a/scheme/std-args.scm
-+++ b/scheme/std-args.scm
-@@ -83,7 +83,7 @@
-
- ; execute script specified with -s
- (if startup-script
-- (load startup-script))
-+ (execute-script startup-script))
- ))
-
-
-diff --git a/scheme/visiblewave-ops.scm b/scheme/visiblewave-ops.scm
-index f800770..42faeff 100644
---- a/scheme/visiblewave-ops.scm
-+++ b/scheme/visiblewave-ops.scm
-@@ -23,12 +23,10 @@
- (define (popup-vw-stats vw)
- (popup-text-dialog "wave stats"
- (string-append
-- (format #f "file: ~s\n" ((wavefile-file-name visiblewave-file vw)))
-+ (format #f "file: ~s\n" (wavefile-file-name (visiblewave-file vw)))
- (format #f "variable: ~s\n" (visiblewave-varname vw))
- (format #f "minimum: ~f\n" (wavevar-min vw))
- (format #f "maximum: ~f\n" (wavevar-max vw)))))
--
--
-
- ; hook called when new VisibleWave is added.
- (add-hook!
-diff --git a/spicefile/wavefile.c b/spicefile/wavefile.c
-index 6a35c04..83f2a8b 100644
---- a/spicefile/wavefile.c
-+++ b/spicefile/wavefile.c
-@@ -657,8 +657,6 @@ int wf_add_var(WaveFile *wf, char *varname, int ncols, VarType type,
-
- for(i = 0; i < ncols; i++) {
- wf_init_dataset_size(&wv->wds[i], wt->nvalues);
-- wds->min = 0.0;
-- wds->max = 0.0;
- }
- }
- return 0;
-diff --git a/src/gtkmisc.c b/src/gtkmisc.c
-index b0484ad..04bfde5 100644
---- a/src/gtkmisc.c
-+++ b/src/gtkmisc.c
-@@ -392,6 +392,7 @@ SCM_DEFINE(gwgtk_menu_popup, "gwgtk-menu-popup", 3, 0, 0,
- // printf("gwgtk_menu_popup %d\n", mbutton);
- menu = build_menu_from_scmlist(list);
- gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, mbutton, activate_time);
-+ return SCM_UNSPECIFIED;
- }
- #undef FUNC_NAME
-
-@@ -458,6 +459,7 @@ SCM_DEFINE(popup_text_dialog, "popup-text-dialog", 2, 0, 0,
- VALIDATE_ARG_STR_NEWCOPY_USE_NULL(1,title,ctitle);
- VALIDATE_ARG_STR_NEWCOPY_USE_NULL(2,text,ctext);
- create_gtktextdialog(ctitle, ctext);
-+ return SCM_UNSPECIFIED;
- }
- #undef FUNC_NAME
-
-diff --git a/src/wavelist.c b/src/wavelist.c
-index 142e229..20cf84d 100644
---- a/src/wavelist.c
-+++ b/src/wavelist.c
-@@ -859,6 +859,7 @@ SCM_DEFINE(new_wavevar_calc_x, "new-wavevar-calc!", 3, 1, 0,
- if(df->wlist_win) {
- gwfile_add_wv_to_list(wvnew, df);
- }
-+ return SCM_UNSPECIFIED;
- }
- #undef FUNC_NAME
-
---
-2.21.0
-
diff --git a/sci-electronics/gwave/gwave-20190116-r100.ebuild b/sci-electronics/gwave/gwave-20190116-r100.ebuild
deleted file mode 100644
index ddd69cf76ae3..000000000000
--- a/sci-electronics/gwave/gwave-20190116-r100.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-GUILE_REQ_USE="networking"
-GUILE_COMPAT=( 2-2 )
-inherit autotools desktop flag-o-matic guile-single xdg
-
-DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
-HOMEPAGE="http://gwave.sourceforge.net"
-SRC_URI="https://downloads.sourceforge.net/${PN}/gwave3/${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~x86"
-IUSE="gnuplot plotutils"
-SLOT="0"
-
-REQUIRED_USE="${GUILE_REQUIRED_USE}"
-
-DEPEND="
- ${GUILE_DEPS}
- >=x11-libs/gtk+-2.8.0:2=
- sys-libs/readline:0=
- sys-libs/ncurses:0="
-
-RDEPEND="${DEPEND}
- sci-electronics/electronics-menu
- gnuplot? ( sci-visualization/gnuplot )
- plotutils? ( media-libs/plotutils )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-multiple-little-bugfixes.patch
- "${FILESDIR}"/${P}-as-needed.patch
- "${FILESDIR}"/${P}-fix-configure.patch
- "${FILESDIR}"/${P}-lfs-shim.patch
-)
-
-src_prepare() {
- guile-single_src_prepare
-
- sed -i \
- -e "s|guile-snarf|${GUILESNARF}|" \
- -e "s|guile-tools|${GUILE/guile/guile-tools}|" \
- src/Makefile.am || die
- sed -i \
- -e "s|guile-tools|${GUILE/guile/guile-tools}|" \
- scheme/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- # https://bugs.gentoo.org/886139
- append-lfs-flags
- econf
-}
-
-src_install() {
- guile-single_src_install
- newicon icons/wave-drag-ok.xpm gwave.xpm
- make_desktop_entry gwave "Gwave" gwave "Electronics"
-}
diff --git a/sci-electronics/gwave/metadata.xml b/sci-electronics/gwave/metadata.xml
deleted file mode 100644
index 20fd1b31e502..000000000000
--- a/sci-electronics/gwave/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-electronics@gentoo.org</email>
- <name>Gentoo Electronics Project</name>
- </maintainer>
- <longdescription>
- Gwave is a waveform viewer. Gwave can read binary or ascii files written by
- HSpice from transient, AC, or Sweep analyses, "raw" files written by Spice2,
- Spice3, or ngspice, and transient analysis files from the CAzM simulator. It
- can also read a generic tabular ASCII format suitable for use with GnuCap or
- homegrown tools.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">gwave</remote-id>
- </upstream>
-</pkgmetadata>