debian/0000755000000000000000000000000011634412212007162 5ustar debian/rules0000755000000000000000000000025511634412212010244 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed" override_dh_compress: dh_compress --exclude=examples debian/gwave.examples0000644000000000000000000000001311634412212012025 0ustar examples/* debian/gwave.docs0000644000000000000000000000003011634412212011136 0ustar README AUTHORS FAQ NEWS debian/patches/0000755000000000000000000000000011634412212010611 5ustar debian/patches/fix_as-needed_linking.diff0000644000000000000000000000336211634412212015655 0ustar Description: Reorder libraries when linking sp2sp, test_read & gwave to fix FTBFS with ld --as-needed Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3409991&group_id=211903&atid=1019625 Author: أحمد المحمودي (Ahmed El-Mahmoudy) Author: Matthias Klose Bug-Debian: http://bugs.debian.org/641725 Bug-Ubuntu: https://launchpad.net/bugs/770956 Last-Update: 2011-09-15 --- a/spicefile/Makefile.am +++ b/spicefile/Makefile.am @@ -10,11 +10,9 @@ noinst_PROGRAMS = test_read test_read_SOURCES = test_read.c -test_read_LDFLAGS = @GTK_LIBS@ -test_read_LDADD = libspicefile.a +test_read_LDADD = libspicefile.a @GTK_LIBS@ bin_PROGRAMS=sp2sp sp2sp_SOURCES=sp2sp.c -sp2sp_LDFLAGS= @GTK_LIBS@ -sp2sp_LDADD= libspicefile.a +sp2sp_LDADD= libspicefile.a @GTK_LIBS@ --- a/src/Makefile.in +++ b/src/Makefile.in @@ -55,7 +55,7 @@ GtkTable_indel.$(OBJEXT) gwave_OBJECTS = $(am_gwave_OBJECTS) gwave_DEPENDENCIES = ../spicefile/libspicefile.a -gwave_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(gwave_LDFLAGS) \ +gwave_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp --- a/spicefile/Makefile.in +++ b/spicefile/Makefile.in @@ -186,11 +186,9 @@ libspicefile_a_SOURCES = spicestream.c ss_cazm.c ss_hspice.c ss_spice3.c ss_spice2.c ss_nsout.c spicestream.h wavefile.c wavefile.h spice2.h ssintern.h AM_CFLAGS = @GTK_CFLAGS@ test_read_SOURCES = test_read.c -test_read_LDFLAGS = @GTK_LIBS@ -test_read_LDADD = libspicefile.a +test_read_LDADD = libspicefile.a @GTK_LIBS@ sp2sp_SOURCES = sp2sp.c -sp2sp_LDFLAGS = @GTK_LIBS@ -sp2sp_LDADD = libspicefile.a +sp2sp_LDADD = @GTK_LIBS@ libspicefile.a all: all-am .SUFFIXES: debian/patches/fix_indirect_linking.diff0000644000000000000000000000227611634412212015634 0ustar Description: Provide -lX11 when linking gwave, gwave-exec & gwave-repl Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554762 Forwarded: https://sourceforge.net/tracker/?func=detail&aid=2899748&group_id=211903&atid=1019623 Author: أحمد المحمودي (Ahmed El-Mahmoudy) --- a/remote/Makefile.in +++ b/remote/Makefile.in @@ -168,9 +168,9 @@ EXTRA_DIST = README AM_CFLAGS = @GTK_CFLAGS@ gwave_exec_SOURCES = gwave-exec.c xgclient.c xgexec.h -gwave_exec_LDADD = @GTK_LIBS@ +gwave_exec_LDADD = @GTK_LIBS@ -lX11 gwaverepl_SOURCES = gwaverepl.c xgclient.c xgexec.h repllib.c -gwaverepl_LDADD = @GTK_LIBS@ @READLINE_LIB@ +gwaverepl_LDADD = @GTK_LIBS@ @READLINE_LIB@ -lX11 all: all-am .SUFFIXES: --- a/src/Makefile.in +++ b/src/Makefile.in @@ -189,7 +189,7 @@ rgeval.c xgserver.c measurebtn.c measurebtn.h \ GtkTable_indel.c GtkTable_indel.h xsnarf.h -gwave_LDADD = ../spicefile/libspicefile.a @GTK_LIBS@ @GUILE_GNOME_LIBS@ +gwave_LDADD = ../spicefile/libspicefile.a @GTK_LIBS@ @GUILE_GNOME_LIBS@ -lX11 gwave_LDFLAGS = @GUILE_LDFLAGS@ AM_CFLAGS = @GTK_CFLAGS@ @GUILE_CFLAGS@ @GUILE_GNOME_CFLAGS@ \ -DDATADIR=\"$(datadir)\" -DBINGWAVE=\"$(bindir)/gwave\" debian/patches/01-fix_ascii_import_locale.diff0000644000000000000000000000125111634412212016527 0ustar Description: Sets LC_NUMERIC to POSIX in order to avoid delimeter parsing issues when data in ASCII formats. Origin: origin, commit: r240 Author: Peter Clifton diff -urN a/src/gwave.c b/src/gwave.c --- a/src/gwave.c 2009-02-13 04:40:03.000000000 +0000 +++ b/src/gwave.c 2009-11-15 14:14:39.185359393 +0000 @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -169,7 +170,7 @@ init_draw(); gtk_init(&argc, &argv); - + setlocale(LC_NUMERIC, "POSIX"); #ifdef HAVE_G_SLICE_SET_CONFIG /* default mode causes frequent crashes; this probably masks it rather debian/patches/series0000644000000000000000000000012511634412212012024 0ustar 01-fix_ascii_import_locale.diff fix_indirect_linking.diff fix_as-needed_linking.diff debian/gwave.menu0000644000000000000000000000016111634412212011157 0ustar ?package(gwave):needs="X11" section="Applications/Science/Electronics"\ title="gwave" command="/usr/bin/gwave" debian/control0000644000000000000000000000265411634412212010574 0ustar Source: gwave Section: electronics Priority: optional Maintainer: Debian Electronics Team Uploaders: Hamish Moffatt , Wesley J. Landaker , أحمد المحمودي (Ahmed El-Mahmoudy) Standards-Version: 3.9.2 Build-Depends: debhelper (>= 8), libgtk2.0-dev, guile-1.8-dev | libguile-dev, libglib2.0-dev, libreadline-dev, guile-gnome2-dev, guile-cairo-dev, libgwrap-runtime-dev DM-Upload-Allowed: yes Homepage: http://gwave.sourceforge.net Vcs-Git: git://git.debian.org/git/pkg-electronics/gwave.git Vcs-Browser: http://git.debian.org/?p=pkg-electronics/gwave.git Package: gwave Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, guile-gnome2-gtk Recommends: extra-xdg-menus Description: waveform viewer eg for spice simulators Gwave is a tool for viewing analog data, such as the output of Spice simulations. . Gwave can read "raw" files from spice2G6, spice3F5 or ngspice, and a tabular ASCII format suitable for use with GnuCAP or homegrown tools. It can also read several binary and ascii files written by commercial spice-type simulators such as hspice, tspice, and nanosim. . It supports multiple "panels" (graticules) with multiple variables displayed in each. Two vertical-bar cursors are available for time-difference measurements. Multiple files can be loaded, for comparing results of several simulations. debian/compat0000644000000000000000000000000211634412212010360 0ustar 8 debian/source/0000755000000000000000000000000011634412212010462 5ustar debian/source/format0000644000000000000000000000001411634412212011670 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001261411634412212011040 0ustar gwave (20090213-4) unstable; urgency=low * Renamed fix_needless_linking.diff patch to fix_as-needed_linking.diff * Updated fix_as-needed_linking.diff patch to fix test_read linking. Thanks to Matthias Klose (Closes: #641725) * debian/control: + Bumped Standards-Version to 3.9.2 + Removed article from description synopsis * Bumped compat level to 8 * debian/copyright: + Updated copyright years + Fixed formatting -- أحمد المحمودي (Ahmed El-Mahmoudy) Thu, 15 Sep 2011 17:06:03 +0200 gwave (20090213-3) unstable; urgency=low * Added patch fix_indirect_linking.diff to provide -lX11 when linking gwave, gwave-exec & gwave-repl (Closes: #554762). * Override dh_auto_configure to add "-Wl,--as-needed" to LDFLAGS * Forwarded patch to upstream * debian/control: + Updated my email address + Added DMUA after sponsors consent: http://lists.alioth.debian.org/pipermail/pkg-electronics-devel/2010-April/001827.html + Bumped Standards-Version to 3.8.4, no changes needed. * debian/copyright: updated my email address. * Removed files that were left over from previous releases. * Added fix_needless_linking.diff patch to reorder arguments when linking sp2sp & gwave so LDFLAGS would operate. -- أحمد المحمودي (Ahmed El-Mahmoudy) Wed, 07 Apr 2010 23:04:15 +0200 gwave (20090213-2) unstable; urgency=low * Switch to source format 3.0 (quilt). * debian/control: + Bumped Standards-Version to 3.8.3, no changes needed. + Added myself to uploaders. + Build-Depend on debhelper (>= 7.0.50~). + Added Homepage field. + Fix from Ubuntu: add dependency on guile-gnome2-gtk to fix segfault at launch (Closes: #522674) + Remove guile-gnome2-gtk from Build-Depends. + Added dependency on ${misc:Depends} + Remove libreadline5-dev from Build-Depends (Closes: #553780). + Added Vcs-* fields. + Enhanced extended description. + Added Recommends: extra-xdg-menus * debian/compat: Bumped compat level to 7 * Added debian/gwave.install and debian/gwave.examples * debian/rules: Simplified rules file. * debian/gwave.desktop: + Remove Encoding key. + Use Name, GenericName and Comment fields from an old Ubuntu patch. * Added patch 01_fix_ascii_import_locale.diff to fix LC_NUMERIC issue importing ASCII files. Thanks to Peter Clifton . (LP: #482748) * debian/copyright: Rewrite in machine-readable format. -- أحمد المحمودي (Ahmed El-Mahmoudy) Mon, 16 Nov 2009 15:42:07 +0200 gwave (20090213-1) unstable; urgency=low * New upstream release * Targets GTK+ 2.x (closes: #516179) * Rewrote copyright file to follow latest template * Added debian/watch -- Hamish Moffatt Fri, 13 Mar 2009 10:22:04 +1100 gwave (20060606-1) unstable; urgency=low * "New" upstream release * Changed maintainer to pkg-electronics team * Updated menu file for new menu sections * Added desktop file (closes: #367353) -- Hamish Moffatt Thu, 04 Oct 2007 23:59:53 +1000 gwave (20031224-3) unstable; urgency=low * Update to standards-revision 3.6.2 * Add build-dep for libreadline5-dev; it's already required through guile-1.6-dev but it is required directly also (closes: #326348) * Rebuild to link with libreadline5 -- Hamish Moffatt Sat, 3 Sep 2005 10:52:37 +1000 gwave (20031224-2) unstable; urgency=low * Updated dependencies to use guile-1.6-dev (closes: #227468) -- Hamish Moffatt Mon, 26 Jan 2004 01:07:20 +1100 gwave (20031224-1) unstable; urgency=low * New upstream release * Build against new libguilegtk-1.2-0 replacing old GNOME 1 libguilegtk0 (closes: #187829) -- Hamish Moffatt Mon, 29 Dec 2003 11:11:24 +1100 gwave (20020122-1) unstable; urgency=low * New upstream release -- Hamish Moffatt Sun, 30 Jun 2002 23:19:36 +1000 gwave (20011021-1) unstable; urgency=low * New upstream release -- Hamish Moffatt Mon, 22 Oct 2001 22:43:21 +1000 gwave (20001123-2) unstable; urgency=low * Fixed build dependency on libgtk-dev (closes: #116541) -- Hamish Moffatt Mon, 22 Oct 2001 08:21:37 +1000 gwave (20001123-1) unstable; urgency=low * New upstream release * Added build-deps and updated standards-version -- Hamish Moffatt Wed, 6 Dec 2000 22:58:16 +1100 gwave (19990927-1) unstable; urgency=low * New upstream release -- Hamish Moffatt Tue, 5 Oct 1999 18:32:08 +1000 gwave (19990601-2) unstable; urgency=low * FHS compliant -- Hamish Moffatt Fri, 1 Oct 1999 19:28:44 +1000 gwave (19990601-1) unstable; urgency=low * New upstream release -- Hamish Moffatt Sat, 05 Jun 1999 09:37:00 +1000 gwave (0.0.6-1) unstable; urgency=low * New upstream release -- Hamish Moffatt Fri, 12 Mar 1999 19:22:00 +1100 gwave (0.0.4-2) frozen unstable; urgency=low * Changed menu section from Apps/Electronics to Apps/Technical, since the former does not exist -- Hamish Moffatt Sat, 21 Nov 1998 16:18:39 +1100 gwave (0.0.4-1) unstable; urgency=low * Initial Release. -- Hamish Moffatt Wed, 7 Oct 1998 20:35:39 +1000 debian/gwave.install0000644000000000000000000000005411634412212011662 0ustar debian/gwave.desktop usr/share/applications debian/gwave.desktop0000644000000000000000000000030611634412212011665 0ustar [Desktop Entry] Version=1.0 Name=gwave GenericName=Gwave Waveform Viewer Comment=A waveform viewer eg for spice simulators Type=Application Exec=gwave Icon=gwave Categories=Engineering;Electronics debian/copyright0000644000000000000000000000250111634412212011113 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=co&pathrev=174 Upstream-Name: gwave Upstream-Contact: Steve Tell or Source: http://gwave.sourceforge.net Files: * Copyright: 1997-2008, Stephen G. Tell License: GPL-2+ Files: debian/* Copyright: 1998-2009 Hamish Moffatt 2009-2011 أحمد المحمودي (Ahmed El-Mahmoudy) License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/gwave.dirs0000644000000000000000000000012011634412212011147 0ustar usr/bin usr/share/doc/gwave usr/share/doc/gwave/examples usr/share/applications debian/watch0000644000000000000000000000006311634412212010212 0ustar version=3 http://sf.net/gwave/gwave2-(.*)\.tar\.gz