debian/0000755000000000000000000000000011752033106007164 5ustar debian/watch0000644000000000000000000000013111751753536010227 0ustar version=3 opts=dversionmangle=s/\+dfsg$// http://sf.net/gspiceui/gspiceui-v(.*)\.tar\.gz debian/copyright0000644000000000000000000000207711752032704011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: ftp://ftp.geda.seul.org/pub/geda/dist/ Files: * Copyright: 2003-2011 Mike Waters License: GPL-2 Files: debian/* Copyright: 2007-2012 Gudjon I. Gudjonsson 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 version 2. . 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, 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/gspiceui.lintian-overrides0000644000000000000000000000005411752030141014347 0ustar gspiceui: desktop-entry-lacks-main-category debian/dirs0000644000000000000000000000006211751753536010065 0ustar usr/bin usr/share/man/man1 usr/share/doc/gspiceui debian/changelog0000644000000000000000000000501511752033106011037 0ustar gspiceui (1.0.00+dfsg-1) unstable; urgency=low [ Gudjon I. Gudjonsson ] * New upstream release * Comment out patch 04_close_pipe.diff. Already in upstream * Bump standards version to 3.9.3 * Minor fix to 02_manpage patch * Add build-arch and build-indep targets * Change desktop category from Science to Engineering;Electronics * Minor fix to manpage * Remove duplicate changelog file. * Install gspiceui.desktop file (Closes: #584154) * Add LDFLAGS --as-needed to remove unneeded dependencies * Remove quilt build dependency [ Andreas Tille ] * debian/rules: take some effort to make a more reproducable orig tarball * debian/control: Fixed Vcs field [ Gudjon I. Gudjonsson ] * Add a lintian override file * Bump debhelper version to >=8 * Change copyright format do DEP5 * Edit README.Debian [ Andreas Tille ] * Better fit the DEP5 specification, verified using cme fix dpkg-copyright -- Gudjon I. Gudjonsson Mon, 07 May 2012 18:01:38 +0200 gspiceui (0.9.99+dfsg-1) unstable; urgency=low * New upstream release * Switch to dpkg-source 3.0 (quilt) format * Remove README.source * Bump standards version to 3.9.1 * Upgrade copyright file to new standard * Fix make clean target -- Gudjon I. Gudjonsson Thu, 24 Mar 2011 07:11:16 +0100 gspiceui (0.9.98.dfsg-1) unstable; urgency=low * New upstream release * Bump standards version to 3.8.3, no changes needed * Add get-orig-source target * Add patch 03_fix_xpm_header to fix xpm file * Add a README.source file * Add debian-science Vcs fields -- Gudjon I. Gudjonsson Sun, 15 Nov 2009 09:42:46 +0100 gspiceui (0.9.65.dfsg-2) unstable; urgency=low * Bump standards version to 3.8.0. No changes needed. * Fix watch file * Add desktop file (Closes: #488281) * Add a patch to fix manpage, 02_manpage -- Gudjon I. Gudjonsson Tue, 26 Aug 2008 08:07:43 +0200 gspiceui (0.9.65.dfsg-1) unstable; urgency=low * New upstream release * Bump standards to 3.7.3. No changes needed * Changed doc-base section to Applications/Science/Electronics -- Gudjon I. Gudjonsson Wed, 28 May 2008 10:01:39 +0200 gspiceui (0.9.55.dfsg-1) unstable; urgency=low * New upstream release -- Gudjon I. Gudjonsson Wed, 21 Nov 2007 00:06:52 +0100 gspiceui (0.9.33.dfsg-1) unstable; urgency=low * Initial release (Closes: #440553) -- Gudjon I. Gudjonsson Sun, 04 Nov 2007 17:21:03 +0100 debian/README.Debian0000644000000000000000000000031211752030141011215 0ustar gspiceui for Debian ------------------- The models have been removed to comply with the Debian Free Software Guidelines. -- Gudjon I. Gudjonsson Sun, 04 Nov 2007 17:21:59 +0100 debian/source/0000755000000000000000000000000011752030273010466 5ustar debian/source/format0000644000000000000000000000001411751753535011710 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211751753536010401 0ustar 5 debian/gspiceui.doc-base0000644000000000000000000000042111751753536012407 0ustar Document: gspiceui Title: GSpiceUi Manual Author: Mike Waters Abstract: GNU Spice GUI User Manual. Frontend for ngspice and gnucap. Section: Science/Electronics Format: HTML Index: /usr/share/doc/gspiceui/html/gEDA-gSpiceUI.html Files: /usr/share/doc/gspiceui/html/*.html debian/patches/0000755000000000000000000000000011752030273010615 5ustar debian/patches/03_fix_xpm_header.diff0000644000000000000000000000030611751753535014746 0ustar Fix xpm header --- a/src/icons/gspiceui-32x32.xpm +++ b/src/icons/gspiceui-32x32.xpm @@ -1,5 +1,4 @@ -/* gspiceui-32x32.xpm */ - +/* XPM */ static const char * gspiceui_xpm[ ] = { "32 32 6 1", debian/patches/04_close_pipe.diff0000644000000000000000000000064211751753535014112 0ustar Delete file descriptors that are left uneleted in original program. Patch has been sent to upstream author and is accepted. --- a/src/base/PrcSimrBase.cpp +++ b/src/base/PrcSimrBase.cpp @@ -125,6 +125,10 @@ oFileCct.Write( ); // Save the changes to disk oFileCct.Close( ); // Close the results file + delete GetErrorStream(); + delete GetOutputStream(); + delete GetInputStream(); + return( TRUE ); } debian/patches/04_makefile.diff0000644000000000000000000000357711751753535013557 0ustar Prevent and endless make clean loop --- a/Makefile +++ b/Makefile @@ -82,10 +82,10 @@ TAR_SRCS+=$(TAR_NAME)/html/*.jpg TAR_SRCS+=$(TAR_NAME)/sch/Makefile TAR_SRCS+=$(TAR_NAME)/sch/*/*.sch -TAR_SRCS+=$(TAR_NAME)/lib/Makefile -TAR_SRCS+=$(TAR_NAME)/lib/*/*.ckt -TAR_SRCS+=$(TAR_NAME)/lib/*/*.mod -TAR_SRCS+=$(TAR_NAME)/lib/sym/* +#TAR_SRCS+=$(TAR_NAME)/lib/Makefile +#TAR_SRCS+=$(TAR_NAME)/lib/*/*.ckt +#TAR_SRCS+=$(TAR_NAME)/lib/*/*.mod +#TAR_SRCS+=$(TAR_NAME)/lib/sym/* TAR_SRCS+=$(TAR_NAME)/mac/Info.plist TAR_SRCS+=$(TAR_NAME)/mac/GSpiceUI.icns TAR_SRCS+=$(TAR_NAME)/fig/Makefile @@ -139,7 +139,7 @@ cd $(ROOT)/src ; $(MAKE) install INSTALLDIR=$(INSTALLDIR) cd $(ROOT)/html ; $(MAKE) install INSTALLDIR=$(INSTALLDIR) cd $(ROOT)/sch ; $(MAKE) install INSTALLDIR=$(INSTALLDIR) - cd $(ROOT)/lib ; $(MAKE) install INSTALLDIR=$(INSTALLDIR) + #cd $(ROOT)/lib ; $(MAKE) install INSTALLDIR=$(INSTALLDIR) #****************************************************************************** # Perform uninstall tasks @@ -158,7 +158,7 @@ cd $(ROOT)/src ; $(MAKE) cleanall cd $(ROOT)/html ; $(MAKE) clean cd $(ROOT)/sch ; $(MAKE) clean - cd $(ROOT)/lib ; $(MAKE) clean + #cd $(ROOT)/lib ; $(MAKE) clean #****************************************************************************** # Specify phony targets --- a/src/Makefile +++ b/src/Makefile @@ -66,6 +66,7 @@ # Options for development CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags) endif +LDFLAGS="-Wl,-O1 -Wl,--as-needed" # Includes INCLUDES = -I/usr/include -I/usr/X11R6/include -I. @@ -106,7 +107,7 @@ # -o specify the output file name $(BINDIR)/$(PROG) : $(OBJS) - $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS) + $(CC) $(LDFLAGS) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS) ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app)) cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui endif debian/patches/series0000644000000000000000000000013411751753535012044 0ustar 01_docpath.diff 02_manpage.diff 03_fix_xpm_header.diff #04_close_pipe.diff 04_makefile.diff debian/patches/02_manpage.diff0000644000000000000000000000103311751753535013371 0ustar Fix to the manpage .TH header --- a/gspiceui.1 +++ b/gspiceui.1 @@ -1,4 +1,4 @@ -.TH "gspiceui" "16" "February 2011" "Mike Waters" "User Commands" +.TH "gspiceui" 1 "February 2011" "Mike Waters" "User Commands" .SH "NAME" gspiceui \- GUI frontend for various electronic circuit simulation engines @@ -58,7 +58,7 @@ the command line. .TP 12 -NOTE : Option -s should come before -a if both are specified. +NOTE : Option \-s should come before \-a if both are specified. .SH "REPORTING BUGS" Report bugs to . debian/patches/01_docpath.diff0000644000000000000000000000065211751753535013410 0ustar Fix path to user manual --- a/src/main/HelpTasks.cpp +++ b/src/main/HelpTasks.cpp @@ -226,7 +226,7 @@ // Specify the two locations to search os1 = rosGetInstallPath( ); if( os1.IsEmpty( ) ) return; - ofn1 = os1 + wxT("/share/gspiceui/html/User-Manual.html"); + ofn1 = os1 + wxT("/share/doc/gspiceui/html/User-Manual.html"); ofn2 = os1 + wxT("/html/User-Manual.html"); // Search for the manual debian/menu0000644000000000000000000000047611751753536010101 0ustar ?package(gspiceui):needs="X11" \ section="Applications/Science/Electronics" \ title="gspiceui" \ longtitle="Graphical SPICE user interface" \ description="A Graphical User Interface (GUI) to various\ freely available Spice electronic circuit simulators."\ icon="gspiceui-32x32.xpm"\ command="/usr/bin/gspiceui" debian/rules0000755000000000000000000000375711752030141010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: dh_testdir $(MAKE) touch $@ build-indep: build-indep-stamp build-indep-stamp: clean: dh_testdir dh_testroot rm -f *-stamp [ ! -f Makefile ] || $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) INSTALLDIR=$(CURDIR)/debian/gspiceui/usr install rm -f debian/gspiceui/usr/share/gspiceui/INSTALL mv -f debian/gspiceui/usr/share/gspiceui/* debian/gspiceui/usr/share/doc/gspiceui/ rmdir debian/gspiceui/usr/share/gspiceui mkdir -p debian/gspiceui/usr/share/pixmaps cp src/icons/gspiceui-32x32.xpm debian/gspiceui/usr/share/pixmaps mkdir -p debian/gspiceui/usr/share/applications cp debian/gspiceui.desktop debian/gspiceui/usr/share/applications/ rm -f debian/gspiceui/usr/share/doc/gspiceui/ChangeLog # Build architecture-independent files here. binary-indep: build install # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install dh_installmenu dh_installman dh_link dh_lintian dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb get-orig-source: VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \ uscan --force-download --rename --download-version=$$VER --destdir=. && (\ tar -xz --exclude lib -f gspiceui_$$VER.orig.tar.gz ; \ mv gspiceui-v$$VER gspiceui-$$VER+dfsg;\ GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf gspiceui_$$VER+dfsg.orig.tar.gz gspiceui-$$VER+dfsg; \ rm -rf gspiceui-$$VER+dfsg ;\ rm -f gspiceui_$$VER.orig.tar.gz); binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/gspiceui.desktop0000644000000000000000000000036411751753536012411 0ustar [Desktop Entry] Version=1.0.00 Name=GSpiceUI GenericName=GNU Spice GUI Comment=Graphical frontend to Spice simulators Exec=gspiceui Terminal=false Type=Application Icon=gspiceui-32x32.xpm StartupNotify=true Categories=Engineering;Electronics; debian/control0000644000000000000000000000245311752030141010567 0ustar Source: gspiceui Section: electronics Priority: optional Maintainer: Gudjon I. Gudjonsson Build-Depends: debhelper (>= 8), libwxbase2.8-dev, libwxgtk2.8-dev Standards-Version: 3.9.3 Homepage: http://www.geda.seul.org/tools/gspiceui/ Vcs-Svn: svn://svn.debian.org/debian-science/packages/gspiceui/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/gspiceui/trunk DM-Upload-Allowed: yes Package: gspiceui Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, gwave, geda-gschem, geda-gnetlist Recommends: gnucap Suggests: ngspice Description: Graphical user interface for gnucap and ngspice Gspiceui is a graphichal user interface for the two freely available electronic circuit engines: GNU-Cap and Ng-Spice Current features are: * Import gschem schematic files using gentlist. * Load and parse circuit description (net list) files. * Provides a GUI interface for GNU-Cap OP, DC, AC and Transient analyses and generates appropriate simulator commands based on user input. * Provides a GUI interface for Ng-Spice DC, AC and Transient analyses and generates appropriate simulator commands based on user input. * The raw output may be viewed for any processes initiated by gspiceui. * Formatting of simulator output so that it may be plotted using gwave