Bug#834335: ngspice isn't providing libngspice.so

2018-08-02 Thread Carsten Schoenert
Hello Michael,

On Thu, Aug 02, 2018 at 08:42:48PM +0200, Michael Büsch wrote:
> I would like to second the proposal to add libngspice.so support to the
> ngspice package.
> PySpice ( https://pyspice.fabrice-salvaire.fr/ ) needs libngspice.so.
> So I'm currently stuck with compiling ngspice from source by myself.
> 
> Also new versions of ngspice are available. Please consider an upgrade.

all these things should be solved once ngspice 28 has passed the NEW
queue. Then ngspice would also be available within the main section.

https://ftp-master.debian.org/new/ngspice_28-1.html

Hopefully it will processed in the near future.

You can build ngspice-28 in between times by your own.

https://salsa.debian.org/electronics-team/ngspice

Regards
Carsten



Bug#834335: ngspice isn't providing libngspice.so

2018-08-02 Thread Michael Büsch
I would like to second the proposal to add libngspice.so support to the
ngspice package.
PySpice ( https://pyspice.fabrice-salvaire.fr/ ) needs libngspice.so.
So I'm currently stuck with compiling ngspice from source by myself.

Also new versions of ngspice are available. Please consider an upgrade.

Thanks.

-- 
Michael


pgpMXc7WcMS6j.pgp
Description: OpenPGP digital signature


Bug#834335: ngspice isn't providing libngspice.so

2016-08-15 Thread Carsten Schoenert
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: 

Bug#834335: ngspice isn't providing libngspice.so

2016-08-14 Thread Carsten Schoenert
Package: ngspice
Version: 26-1.1
Severity: important

Hi,

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.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ngspice depends on:
ii  dpkg  1.18.10
ii  install-info  6.1.0.dfsg.1-8
ii  libc6 2.23-4
ii  libedit2  3.1-20150325-1+b1
ii  libice6   2:1.0.9-1+b1
ii  libncurses5   6.0+20160625-1
ii  libsm62:1.2.2-1+b1
ii  libtinfo5 6.0+20160625-1
ii  libx11-6  2:1.6.3-1
ii  libxaw7   2:1.0.13-1
ii  libxext6  2:1.3.3-1
ii  libxmu6   2:1.1.2-2
ii  libxt61:1.1.5-1

ngspice recommends no packages.

ngspice suggests no packages.

-- no debconf information