debian/0000755000000000000000000000000012302707333007166 5ustar debian/octave-ocs.doc-base0000644000000000000000000000065011731555240012634 0ustar Document: octave-ocs-manual Title: IFF version 0.1b1 File Format Specification Author: Carlo de Falco Abstract: This document contains the specification of an Intermediate File Format (IFF) for describing coupled electrical circuits, devices and systems. The present version of this documents refers to the IFF version 0.1b1. Section: Science/Mathematics Format: PDF Files: /usr/share/doc/octave-ocs/iffspec_ocs.pdf.gz debian/copyright0000644000000000000000000000544511731555240011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OCS package for Octave Upstream-Contact: The Octave Community Source: http://octave.sourceforge.net/ocs/ Files: inst/nls/nls_newton_raphson.m inst/nls/nls_stationary.m inst/prs/prs_iff.m inst/sbn/Mcapacitors.m inst/sbn/Minductors.m inst/sbn/Mnmosfet.m inst/sbn/Mpdesympnjunct.m inst/sbn/Mpmosfet.m inst/sbn/Mvoltagesources.m inst/tst/tst_backward_euler.m inst/tst/tst_daspk.m inst/tst/tst_odepkg.m inst/tst/tst_theta_method.m inst/utl/utl_plot_by_name.m inst/utl/utl_sbn_server.m Copyright: 2006-2009, 2011 Carlo de Falco License: GPL-2+ Files: inst/asm/asm_build_system.m inst/asm/asm_initialize_system.m inst/sbn/Mcurrentsources.m inst/sbn/Mresistors.m inst/sbn/Mdiode.m inst/sbn/Mshichmanhodgesmosfet.m Copyright: 2006-2009 Carlo de Falco, Massimiliano Culpo License: GPL-2+ Files: src/Mshichmanhodgesmosfet.cc Copyright: 2009 Massimiliano Culpo License: GPL-2+ Files: inst/prs/prs_spice.m Copyright: 2012 Marco Merlin License: GPL-2+ Files: debian/* Copyright: 2008 Ólafur Jens Sigurðsson 2008-2011 Thomas Weber 2008, 2009, 2012 Rafael Laboissiere License: GPL-3+ 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, 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, see . . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-3+ 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 3 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, see . . On Debian systems, the complete text of the GNU General Public License, version 3, can be found in the file `/usr/share/common-licenses/GPL-3'. debian/octave-ocs.docs0000644000000000000000000000002411731555240012102 0ustar doc/iffspec_ocs.pdf debian/changelog0000644000000000000000000000514612302707333011046 0ustar octave-ocs (0.1.3-1build1) trusty; urgency=medium * Rebuild for octave 3.8. -- Matthias Klose Mon, 24 Feb 2014 18:26:35 +0000 octave-ocs (0.1.3-1) unstable; urgency=low [ Rafael Laboissiere ] * Imported Upstream version 0.1.3 * Adapt patch autoload-yes.diff for the new upstream release * Adapt patch set_nonarch_path_for_pkg_add for the new upstream release * Bump to debhelper compat level 9 * Build-depend on octave-pkg-dev >= 1.0.1, to build against Octave 3.6 * Add Sébastien Villemot to the list of Uploaders * Bump to Standards-Version 3.9.3, no changes needed * debian/copyright: update to machine-readable format 1.0 * Add doc-base file for iffspec_ocs.pdf * debian/check.m: Add file containing one of the examples in doc/ -- Thomas Weber Sun, 18 Mar 2012 18:50:00 +0100 octave-ocs (0.1.1-1) unstable; urgency=low * New upstream release * Bump standards version to 3.9.1, no changes required * Adapt patch set_nonarch_path_for_pkg_add for new upstream release. -- Thomas Weber Wed, 04 May 2011 20:30:59 +0200 octave-ocs (0.1.0-2) unstable; urgency=low * New patch: set_nonarch_path_for_pkg_add: Change PKG_ADD and PKG_DEL to cater for the split of arch-independent and arch-dependent files in two separate directories (closes: #582750) -- Thomas Weber Sat, 26 Jun 2010 22:03:45 +0200 octave-ocs (0.1.0-1) unstable; urgency=low * New upstream release * debian/control: - Remove Rafael Laboissiere from Uploaders (Closes: #571855) - Remove Ólafur Jens Sigurðsson from Uploaders * This release introduces an .oct file, switch architecture to 'any' accordingly. And remove the (now unnecessary) lintian overrides file. * Bump standards-version to 3.8.4, no changes needed. * Switch to dpkg-source 3.0 (quilt) format -- Thomas Weber Wed, 21 Apr 2010 23:32:04 +0200 octave-ocs (0.0.4-1) unstable; urgency=low [ Rafael Laboissiere ] * debian/control: Build-depend on octave-pkg-dev >= 0.7.0, such that the package is built against octave3.2 [ Thomas Weber ] * New upstream release * Bump minimal dependency on octave-pkg-dev to 0.7.1 for the changed doc/ handling in octave-pkg-dev. * Install documentation via octave-ocs.docs, following the change in octave-pkg-dev 0.7.1 -- Thomas Weber Wed, 30 Dec 2009 22:08:13 +0100 octave-ocs (0.0.3-1) unstable; urgency=low * Initial release. (Closes: #482619) -- Rafael Laboissiere Sun, 24 May 2009 15:40:00 +0200 debian/check.m0000644000000000000000000000134711731555240010431 0ustar ### The following was taken from file doc/spice2ocs_demo.m_in disp ("[Diode bridge rectifier solved by DASPK]"); cd doc outstruct = prs_spice ("rect"); x = [0; 0; 0; 0]; t = linspace (0, 3e-10, 60); dmp = .1; pltvars = {"Vin", "Voutlow", "Vouthigh"}; tol = 1e-15; maxit = 100; out = tst_daspk (outstruct, x, t, tol, maxit, pltvars); tests = {"assert (size (out), [4, 60]);", "assert (max (out (2, :)), 0.22739, 1e-5);", "assert (min (out (2, :)), -4.78751, 1e-5);"}; count = 0; for i = 1 : length (tests) try eval (tests {i}); count += 1; catch disp (lasterror ().message); end_try_catch endfor disp (sprintf ("PASSES %d out of 3 tests", count)); debian/clean0000644000000000000000000000012011731555240010167 0ustar doc/iffspec_ocs.log doc/iffspec_ocs.out doc/iffspec_ocs.aux doc/iffspec_ocs.pdf debian/compat0000644000000000000000000000000211731555240010367 0ustar 9 debian/patches/0000755000000000000000000000000011731555240010620 5ustar debian/patches/autoload-yes.diff0000644000000000000000000000061011731555240014055 0ustar Description: Set autoload to yes Author: Rafael Laboissiere Last-Update: 2012-03-16 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -6,6 +6,6 @@ Title: Octave Circuit Simulator Description: Package for solving DC and transient electrical circuit equations Depends: octave (>= 3.0.0), odepkg -Autoload: no +Autoload: yes License: GPL version 2 or later SVNRelease: 9554 debian/patches/set_nonarch_path_for_pkg_add0000644000000000000000000000320011731555240016374 0ustar Description: Use the architecture-independent path The *.m are installed under /usr/share/octave/packages/ocs-/, which is not the same as were the PKG_ADD file lands. This patch remedies the problem. Author: Rafael Laboissiere Last-Update: 2012-03-17 --- octave-ocs-0.1.3.orig/PKG_ADD +++ octave-ocs-0.1.3/PKG_ADD @@ -1,10 +1,13 @@ dirlist = {"utl", "asm", "tst", "nls", "prs", "sbn"}; dirname = fileparts (canonicalize_file_name (mfilename ("fullpath"))); +dirname = sprintf ("%s%s", + dirname (1 : strfind (dirname, "usr/lib/") - 1), + "usr/share/octave/packages/ocs-0.1.3/"); if (! exist (fullfile (dirname, "inst"), "dir")) ## Run this if the package is installed for ii=1:length (dirlist) - addpath ( [ dirname "/../" dirlist{ii}],"-end") + addpath ( [ dirname dirlist{ii}],"-end") endfor else ## Run this if we are testing the package without installation --- octave-ocs-0.1.3.orig/PKG_DEL +++ octave-ocs-0.1.3/PKG_DEL @@ -1,10 +1,13 @@ dirlist = {"utl", "asm", "tst", "nls", "prs", "sbn"}; dirname = fileparts (canonicalize_file_name (mfilename ("fullpath"))); +dirname = sprintf ("%s%s", + dirname (1 : strfind (dirname, "usr/lib/") - 1), + "usr/share/octave/packages/ocs-0.1.3/"); for ii=1:length (dirlist) if (! exist (fullfile (dirname, "inst"), "dir")) ## Run this if the package is installed - rmpath ( [ dirname "/../" dirlist{ii}]) + rmpath ( [ dirname dirlist{ii}]) else ## Run this if we are testing the package without installation rmpath ([ dirname "/inst/" dirlist{ii}]) debian/patches/series0000644000000000000000000000005711731555240012037 0ustar set_nonarch_path_for_pkg_add autoload-yes.diff debian/control0000644000000000000000000000177311731555240010604 0ustar Source: octave-ocs Section: math Priority: optional Maintainer: Debian Octave Group Uploaders: Thomas Weber , Sébastien Villemot DM-Upload-Allowed: yes Build-Depends: debhelper (>= 9), cdbs, octave-pkg-dev (>= 1.0.1), texlive-font-utils, latex-xcolor Build-Depends-Indep: Standards-Version: 3.9.3 Homepage: http://octave.sourceforge.net/ocs Vcs-Git: git://git.debian.org/git/pkg-octave/octave-ocs.git Vcs-Browser: http://git.debian.org/?p=pkg-octave/octave-ocs.git Package: octave-ocs Architecture: any Depends: ${misc:Depends}, ${octave:Depends}, ${shlibs:Depends} Description: circuit simulator for Octave This package contains fucntion for solving DC and transient electrical circuit equations in Octave, a scientific computation software. Coupled electrical circuits, devices, and systems are specified using am Intermediate File Format. . This Octave add-on package is part of the Octave-Forge project. debian/rules0000755000000000000000000000050211731555240010246 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/cdbs/1/class/octave-pkg.mk pkg = octave-ocs build/$(pkg):: ( cd doc ; pdflatex iffspec_ocs ) install/$(pkg):: # Fix wrong permission of a file in the upstream tarball # Change commited as upstream rev r9938 chmod -x $$(find debian/$(pkg) -name prs_spice.m) debian/source/0000755000000000000000000000000011731555240010471 5ustar debian/source/format0000644000000000000000000000001411731555240011677 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020511731555240010217 0ustar version=3 http://octave.sourceforge.net/packages.php \ http://downloads\.sourceforge\.net/octave/ocs-([\d.]+)\.tar\.gz\?download