--- easyspice-0.6.8.orig/debian/menu +++ easyspice-0.6.8/debian/menu @@ -0,0 +1,4 @@ +?package(easyspice):needs="X11" \ + section="Applications/Science/Electronics" \ + title="easy_spice" \ + command="/usr/bin/xterm -iconic -n $(HOME) easy_spice_log -e /usr/bin/easy_spice" --- easyspice-0.6.8.orig/debian/docs +++ easyspice-0.6.8/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- easyspice-0.6.8.orig/debian/rules +++ easyspice-0.6.8/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: $(QUILT_STAMPFN) + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/easyspice install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman debian/easy_spice.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- easyspice-0.6.8.orig/debian/compat +++ easyspice-0.6.8/debian/compat @@ -0,0 +1 @@ +5 --- easyspice-0.6.8.orig/debian/copyright +++ easyspice-0.6.8/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Gudjon I. Gudjonsson on +Sun, 02 Sep 2007 18:34:43 +0200. + +It was downloaded from http://easy-spice.sourceforge.net + +Upstream Authors: + Jean-Marc Routoure + Olivier Hervieu + Werner Hoch + +Copyright: + 2001-2004 Routoure Jean-Marc + +License: + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +The Debian packaging is (C) 2007, Gudjon I. Gudjonsson and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +po/Makefile.in.in has the following copyright: +Copyright (C) 1995, 1996, 1997 by Ulrich Drepper --- easyspice-0.6.8.orig/debian/control +++ easyspice-0.6.8/debian/control @@ -0,0 +1,17 @@ +Source: easyspice +Section: contrib/electronics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Gudjon I. Gudjonsson +Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev, quilt +Standards-Version: 3.7.3 +Homepage: http://easy-spice.sourceforge.net + +Package: easyspice +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, geda-gschem, geda-gnetlist, xterm +Suggests: ngspice +Description: A graphical frontend to the Spice simulator + Easyspice is a graphical frontend for the electrical circuit simulator + Spice. It is by default connected to the geda package and ngspice but + can be used as a frontend for other spice simulators programs as well. --- easyspice-0.6.8.orig/debian/watch +++ easyspice-0.6.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/easy-spice/easy_spice-(.*)\.tar\.gz debian uupdate --- easyspice-0.6.8.orig/debian/dirs +++ easyspice-0.6.8/debian/dirs @@ -0,0 +1 @@ +usr/bin --- easyspice-0.6.8.orig/debian/README.Debian +++ easyspice-0.6.8/debian/README.Debian @@ -0,0 +1,13 @@ +easy-spice for Debian +--------------------- + +This program is intended for use with ngspice but ngspice is still not in +the Debian distribution. A preliminary package of ngspice can be found on +the following server: +deb-src http://195.198.146.229/debian/ source/ +deb http://195.198.146.229/debian/ i386/ +deb http://195.198.146.229/debian/ amd64/ +or from sources +http://ngspice.sourceforge.net/ + + -- Gudjon I. Gudjonsson Sat, 29 Sep 2007 00:17:28 +0200 --- easyspice-0.6.8.orig/debian/easy_spice.1 +++ easyspice-0.6.8/debian/easy_spice.1 @@ -0,0 +1,14 @@ +.TH EASYSPICE 1 "September 2, 2007" +.SH NAME +easy_spice \- a graphical frontend to ngspice +.SH SYNOPSIS +.B easy_spice +command. +When easy_spice is run from the command line, it should +be run in foreground because its contact with ngspice +requires it. +.SH AUTHOR +easyspice was written by Jean-Marc Routoure. +.PP +This manual page was written by Gudjon I. Gudjonsson , +for the Debian project (but may be used by others). --- easyspice-0.6.8.orig/debian/changelog +++ easyspice-0.6.8/debian/changelog @@ -0,0 +1,19 @@ +easyspice (0.6.8-2ubuntu1) raring; urgency=low + + * Added missing math lib to link, fixing FTBFS. + + -- Daniel T Chen Thu, 11 Apr 2013 09:42:52 -0400 + +easyspice (0.6.8-2) unstable; urgency=low + + * Bump standards version to 3.7.3. No changes needed. + * Make a Hompage tag in control file + + -- Gudjon I. Gudjonsson Thu, 29 May 2008 07:55:38 +0200 + +easyspice (0.6.8-1) unstable; urgency=low + + * Initial release (Closes: #440544) + + -- Gudjon I. Gudjonsson Sun, 02 Sep 2007 18:34:43 +0200 + --- easyspice-0.6.8.orig/debian/patches/01_docurl.diff +++ easyspice-0.6.8/debian/patches/01_docurl.diff @@ -0,0 +1,18 @@ +--- easyspice-0.6.8.orig/src/util.c ++++ easyspice-0.6.8/src/util.c +@@ -655,12 +655,12 @@ + void + commands_set_default(ExternalProgramms *prog) + { +- prog->editor=update_str(prog->editor, "xemacs"); ++ prog->editor=update_str(prog->editor, "sensible-editor"); + prog->plot_command=update_str(prog->plot_command, "ngspice"); + prog->spice_command=update_str(prog->spice_command, "ngspice"); +- prog->browser=update_str(prog->browser, "firefox"); ++ prog->browser=update_str(prog->browser, "sensible-browser"); + prog->html_files=update_str(prog->html_files, +- "file:///usr/local/doc/spice/index.html"); ++ "http://ngspice.sourceforge.net/docs.html"); + prog->spicehelp_command=update_str(prog->spicehelp_command, "nghelp"); + } + --- easyspice-0.6.8.orig/debian/patches/libm_underlinkage.patch +++ easyspice-0.6.8/debian/patches/libm_underlinkage.patch @@ -0,0 +1,26 @@ +Index: easyspice-0.6.8/src/Makefile.am +=================================================================== +--- easyspice-0.6.8.orig/src/Makefile.am 2013-04-11 09:44:23.680002124 -0400 ++++ easyspice-0.6.8/src/Makefile.am 2013-04-11 09:44:34.571928687 -0400 +@@ -18,7 +18,7 @@ + spice.c \ + util.c + +-easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) ++easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lm + + localedir = @datadir@/locale + DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ +Index: easyspice-0.6.8/src/Makefile.in +=================================================================== +--- easyspice-0.6.8.orig/src/Makefile.in 2013-04-11 09:44:17.416036093 -0400 ++++ easyspice-0.6.8/src/Makefile.in 2013-04-11 09:44:43.115859927 -0400 +@@ -181,7 +181,7 @@ + spice.c \ + util.c + +-easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) ++easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lm + AM_CFLAGS = -Wall + all: all-am + --- easyspice-0.6.8.orig/debian/patches/series +++ easyspice-0.6.8/debian/patches/series @@ -0,0 +1,2 @@ +libm_underlinkage.patch +01_docurl.diff