tags 834335 +patch
thanks
On Sun, Aug 14, 2016 at 05:21:12PM +0200, Carsten Schoenert wrote:
> while working on l10n translations on recent development versions of
> KiCad I need the libngspice library for getting the Spice simulation
> working.
> KiCad is also available in the Debian repository.
>
> https://packages.qa.debian.org/k/kicad.html
>
> The libngspice library will get built if the environment is configured with
> '--enable-ngshared'.
> See also http://ngspice.sourceforge.net/shared.html and
> http://ngspice.sourceforge.net/docs/ngspice-manual.pdf page 349.
The needed changes for the build and installation of the libngspice are
quite small. With the changes from the appended patches I could solve my
dependency problem for KiCad. The also needed header files for building
against ngspice are already shipped in
/usr/share/ngspice/include/ngspice.
I'v also made some additional changes to the helper files like adopting
the current situation for the copyright file. It's still pain to collect
the informations here as upstream isn't providing clear copyright and
license information in a easy to use form. Also it may be worth to split
the source package into the free and unfortunately non-free package so
the clear free binaries and development files could go into main. The
KiCad package would benefit from the needed libngspice library.
Regards
Carsten
>From e20e260c92d36e73d0997ba20c0dee053e6765d6 Mon Sep 17 00:00:00 2001
From: Carsten Schoenert
Date: Mon, 15 Aug 2016 18:37:39 +0200
Subject: [PATCH 1/4] debian/control: switch vcs-browser field to https
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 3c7ba0e..c3cd20e 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends-Indep: lyx, elyxer, texlive, texlive-latex-extra, texlive-lang-gre
Standards-Version: 3.9.5
Homepage: http://ngspice.sourceforge.net
Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/ng-spice-rework/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/ng-spice-rework/trunk/
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-science/packages/ng-spice-rework/trunk/
XS-Autobuild: yes
Package: ngspice
--
2.8.1
>From e59e584d75334da2ad174fa75d72fd8dc901a1f5 Mon Sep 17 00:00:00 2001
From: Carsten Schoenert
Date: Mon, 15 Aug 2016 18:38:51 +0200
Subject: [PATCH 2/4] debian/control: increase Standards-Version to 3.9.8
No further changes needed.
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index c3cd20e..850491c 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 8), automake, libtool, libxaw7-dev, flex,
texinfo, tcl8.6-dev, tcl8.6, tk8.6-dev, tk8.6, blt-dev
Build-Depends-Indep: lyx, elyxer, texlive, texlive-latex-extra, texlive-lang-greek,
texlive-generic-recommended, imagemagick
-Standards-Version: 3.9.5
+Standards-Version: 3.9.8
Homepage: http://ngspice.sourceforge.net
Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/ng-spice-rework/trunk/
Vcs-Browser: https://anonscm.debian.org/viewvc/debian-science/packages/ng-spice-rework/trunk/
--
2.8.1
>From 701957bb043138369c6450362802df41485298ac Mon Sep 17 00:00:00 2001
From: Carsten Schoenert
Date: Tue, 16 Aug 2016 07:17:10 +0200
Subject: [PATCH 3/4] debian/copyright: update copyright and files information
---
debian/copyright | 138 ++-
1 file changed, 126 insertions(+), 12 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index d388e37..d09003c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,10 +1,39 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: http://ngspice.sourceforge.net
+Upstream-Name: ngspice
+Upstream-Contact: ngspice-de...@lists.sourceforge.net
+
+Files: *
+Copyright: various people
+License: LGPL-2 or GPL-2 or GPL-2+ or BSD-3
+
+Files: contrib/mslib/*
+ contrib/scripts/*
+Copyright: 2000 Michael Widlok
+License: Michael_Widlok
+Comment: No classical FOSS license, notice the files
+ contrib/{mslib,scripts}/COPYING.
+
+Files: contrib/spiceprm/*
+Copyright: 1996 Andrew J. Borsa
+License: GPL-2
+
+Files: contrib/vbic/*
+Copyright: Colin McAndrew
+License: LGPL-2 or GPL-2 or GPL-2+ or BSD-3
Files: doc/*
Copyright: 1996 The Regents of the University of California
License: SPICEDOC
+Files: m4/libtool.m4
+ m4/ltoptions.m4
+ m4/ltsugar.m4
+ m4/ltversion.m4
+ m4/lt~obsolete.m4
+Copyright: 1996-2011 Free Software Foundation, Inc.
+License: GPL-2+
+
Files: manual/*
Copyright: 2010, Paolo Nenzi, Holger Vogt
License: SPICEDOC
@@ -82,20 +111,12 @@ Files: src/spicelib/devices/adms/admst/*
Copyright: 2011 Noovela - Author Laurent Lemaitre
License: GPL-2+
-Files: