Commit 2da57678 authored by felix s's avatar felix s

rearrange dependencies a bit more

following the discussion on pkg-electronics-devel. now gnucap
recommends the plugins and the plugins suggest gnucap.

rationale:

- "Recommend" is sufficiently strong in pulling in the plugins whenever
  somebody installs gnucap.
- gnucap provides one way to make use of the plugins. any other program
  that links to libgnucap could do that. no need to suggest the
  latter (esp: not packaged yet).
parent 78081c01
......@@ -16,12 +16,12 @@ but if it does, will move to libgnucap.so.1.
gnucap-default-plugins0 contains the default plugins. these are installed into
/usr/lib/<multiarch>/gnucap0/. The "0" indicates the relation to libgnucap0.
This is the library, these plugins have been tested with. libgnucap loads
plugins from the path read from the environment variable GNUCAP_PLUGPATH (colon
separated, first wins, like PATH).
plugins from the path specified in the environment variable GNUCAP_PLUGPATH
(colon separated, first wins, like PATH, PYTHONPATH etc.).
/usr/bin/gnucap sets the GNUCAP_PLUGPATH environment to
/usr/lib/<multiarch>/gnucap0, unless otherwise specified. This is where
further packages are expected to install plugins to.
/usr/lib/<multiarch>/gnucap0, if empty. This is where further packages are
expected to install plugins to.
(not yet, currently part of the gnucap package..)
The gnucap-devel package provides the files necessary to compile plugins.
......
......@@ -13,11 +13,13 @@ Homepage: http://gnucap.org
Vcs-Git: https://salsa.debian.org/felixs-guest/gnucap.git
Vcs-Browser: https://salsa.debian.org/felixs-guest/gnucap
# actually Recommends gnucap-devel. not there yet...
Package: libgnucap0
Architecture: any
Multi-Arch: same
Section: libs
Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: gnucap-common
Description: GNU Circuit Analysis package, the library
GNUCAP is a general purpose circuit simulator. It performs nonlinear
dc and transient analyses, Fourier analysis, and ac analysis
......@@ -28,8 +30,8 @@ Description: GNU Circuit Analysis package, the library
Package: gnucap
Architecture: any
Depends: gnucap-default-plugins0, ${misc:Depends}, ${shlibs:Depends}
Recommends: gnucap-common
Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: gnucap-default-plugins0
Description: GNU Circuit Analysis package, main executable
GNUCAP is a general purpose circuit simulator. It performs nonlinear
dc and transient analyses, Fourier analysis, and ac analysis
......@@ -57,7 +59,7 @@ Section: libdevel
Depends: gnucap-common (= ${source:Version}),
libgnucap0 (= ${binary:Version}),
${misc:Depends}
Description: GNU Circuit Analysis package
Description: GNU Circuit Analysis package, development library
GNUCAP is a general purpose circuit simulator. It performs nonlinear
dc and transient analyses, Fourier analysis, and ac analysis
linearized at an operating point. It is fully interactive and
......@@ -69,6 +71,7 @@ Package: gnucap-default-plugins0
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: gnucap
Description: GNU Circuit Analysis package, default plugins
GNUCAP is a general purpose circuit simulator. It performs nonlinear
dc and transient analyses, Fourier analysis, and ac analysis
......@@ -78,6 +81,6 @@ Description: GNU Circuit Analysis package, default plugins
This package contains the default plugins.
# Package: gnucap-src
# Depends: c++-compiler, gnucap-dev, make?
# Depends: c++-compiler, gnucap-devel, make?
# This package contains the default plugins as raw source, more or less
# under construction.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment