← Back to team overview

kicad-developers team mailing list archive

Re: ngspice-34

 

On 3/23/21 11:20 AM, Jon Evans wrote:
> It sounds like the preference is to move away from using a config.h at
> all, which means all the KiCad packaging systems would need to update to
> use pkg-config to generate a header which can then be included in
> kicad's build process.  Is that correct?

I would say yes assuming ngspice supports pkg-config back to a least
version 32.  This would be a reliable way to address this for most if
not all existing platforms now and going forward assuming ngspice will
continue to support pkg-config.

> 
> On Tue, Mar 23, 2021 at 11:15 AM Jonatan Liljedahl <lijon@xxxxxxxxxxxx
> <mailto:lijon@xxxxxxxxxxxx>> wrote:
> 
>     If ngspice-35 is not ready to be tagged soon, perhaps Holger could
>     make a branch called "ngspice-34-config-fix" or something, based on
>     the ngspice-34 tag but only adding the simple fix of installing
>     config.h into /include/ngspice/ instead? Then KiCad packagers could
>     build from this branch? Unless some packages are not using locally
>     built ngspice? Just some ideas of possible solutions...
> 
>     Cheers
> 
>     On Tue, Mar 23, 2021 at 3:22 PM Holger Vogt <holger.vogt@xxxxxxxxxx
>     <mailto:holger.vogt@xxxxxxxxxx>> wrote:
>     >
>     > The intention is to not at all install config.h.
>     >
>     > Installing it into ./include was a bug in ngspice-34 which has already
>     > been removed in the current ngspice master branch.
>     >
>     > Perhaps you may make use of this bug by automatically moving config.h
>     > from <...>/include/ to <...>/include/ngspice/ when building KiCad,
>     > before we will have a solution without config.h in ngspice-35?
>     >
>     >
>     > _______________________________________________
>     > Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     > Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     > More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 
> 
>     -- 
>     /Jonatan
>     http://kymatica.com <http://kymatica.com>
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References