Re: [Kicad-developers] Compiling KiCAD 5.99 on Raspberry Pi (400)

2021-04-28 Thread Jon Evans
The patches are obsolete and will be removed from the documentation/source
tree.

On Wed, Apr 28, 2021 at 7:23 PM Eeli Kaikkonen 
wrote:

> On Thu, Apr 29, 2021 at 1:05 AM Knochi.de  wrote:
> >
> > I’m using the standard Raspberry OS which is “raspian buster”
> > libcurl4-gnutls-dev was the correct pick. So continuing with resolving
> dependencies for now.
>
> Nick reminded us that on .deb based systems there are often library
> packages with -dev in their name which are needed for building. They
> aren't visible in the binary package dependencies, but you can
> actually see all build time dependencies for KiCad in
> http://deb.debian.org/debian/pool/main/k/kicad/kicad_5.0.2+dfsg1-1.dsc
> (or
> http://deb.debian.org/debian/pool/main/k/kicad/kicad_5.1.9+dfsg1-1~bpo10+1.dsc
> in backports) so there's no need to guess. Whether all of them are
> available for the raspberry version of Debian, I don't know. These
> sources are authoritative because the Debian packaging system builds
> the KiCad packages using these dependencies. At least no build time
> dependency can be missing from them, although it's theoretically
> possible that some of them can't be satisfied on some port of the
> distro.
>
> > Next is how to apply patches. From my understanding I need to apply
> patches to certain files, plus the documentation says “platform dependent
> patches” so e.g. for boost I don’t need the “mingw” stuff.
> > Do I need to apply them at all? They are very old.
>
> I really don't know how these patches work or how they are applied,
> but there shouldn't be need to apply them manually. I have built KiCad
> on about 6 different Linux distros recently and haven't needed to
> patch anything.
>
> Eeli Kaikkonen
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling KiCAD 5.99 on Raspberry Pi (400)

2021-04-28 Thread Eeli Kaikkonen
On Thu, Apr 29, 2021 at 1:05 AM Knochi.de  wrote:
>
> I’m using the standard Raspberry OS which is “raspian buster”
> libcurl4-gnutls-dev was the correct pick. So continuing with resolving 
> dependencies for now.

Nick reminded us that on .deb based systems there are often library
packages with -dev in their name which are needed for building. They
aren't visible in the binary package dependencies, but you can
actually see all build time dependencies for KiCad in
http://deb.debian.org/debian/pool/main/k/kicad/kicad_5.0.2+dfsg1-1.dsc
(or 
http://deb.debian.org/debian/pool/main/k/kicad/kicad_5.1.9+dfsg1-1~bpo10+1.dsc
in backports) so there's no need to guess. Whether all of them are
available for the raspberry version of Debian, I don't know. These
sources are authoritative because the Debian packaging system builds
the KiCad packages using these dependencies. At least no build time
dependency can be missing from them, although it's theoretically
possible that some of them can't be satisfied on some port of the
distro.

> Next is how to apply patches. From my understanding I need to apply patches 
> to certain files, plus the documentation says “platform dependent patches” so 
> e.g. for boost I don’t need the “mingw” stuff.
> Do I need to apply them at all? They are very old.

I really don't know how these patches work or how they are applied,
but there shouldn't be need to apply them manually. I have built KiCad
on about 6 different Linux distros recently and haven't needed to
patch anything.

Eeli Kaikkonen

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] ngspice-34

2021-04-28 Thread Holger Vogt

Probably by end of June ngspice-35 will be available.


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling KiCAD 5.99 on Raspberry Pi (400)

2021-04-28 Thread Eeli Kaikkonen
You can also check the dependencies in
https://packages.debian.org/buster/kicad (or
https://packages.debian.org/buster-backports/kicad.)

On Wed, Apr 28, 2021 at 6:27 PM David Knochenhauer  wrote:
>
> Now I'm struggling with CURL.. I'm not sure which library to install. 
> Libcurl4 and libcurl3-gnutls are preinstalled but obviously neither of them 
> is the needed.

Eeli Kaikkonen

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling KiCAD 5.99 on Raspberry Pi (400)

2021-04-28 Thread Nick Østergaard
I am not aware of any patches needed for buster.

Just try to build and see if it succeeds.

On Wed, 28 Apr 2021 at 18:14, Knochi.de  wrote:

> I’m using the standard Raspberry OS which is “raspian buster”
> libcurl4-gnutls-dev was the correct pick. So continuing with resolving
> dependencies for now.
>
> Next is how to apply patches. From my understanding I need to apply
> patches to certain files, plus the documentation says “platform dependent
> patches” so e.g. for boost I don’t need the “mingw” stuff.
> Do I need to apply them at all? They are very old.
>
> Cu
> David
>
> Am 28. Apr. 2021, 17:47 +0200 schrieb Nick Østergaard :
>
> Mm, you didn't state what OS you have on that pi, but I assume something
> debian based, you probably need a "-dev" og some of the libcurl stuff.
> Something like libcurl4-gnutls-dev
>
> On Wed, 28 Apr 2021 at 17:26, David Knochenhauer  wrote:
>
>> Hi,
>>
>> I'm new to this topic, but I want to learn how this stuff works and I
>> want my favorite eCAD software to be the subject of this journey.
>>
>> So what I have managed so far:
>>
>>- getting the sources from GIT
>>- executing cmake (ha!)
>>- identifying missing dependencies
>>- turning OFF SCRIPTING and OCE
>>- installed GLEW and GLM libraries
>>
>> Now I'm struggling with CURL.. I'm not sure which library to install.
>> Libcurl4 and libcurl3-gnutls are preinstalled but obviously neither of them
>> is the needed.
>>
>> So if someone have a hint on this.. thanks in advance
>>
>> Cu
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling KiCAD 5.99 on Raspberry Pi (400)

2021-04-28 Thread Knochi.de
I’m using the standard Raspberry OS which is “raspian buster”
libcurl4-gnutls-dev was the correct pick. So continuing with resolving 
dependencies for now.

Next is how to apply patches. From my understanding I need to apply patches to 
certain files, plus the documentation says “platform dependent patches” so e.g. 
for boost I don’t need the “mingw” stuff.
Do I need to apply them at all? They are very old.

Cu
David

Am 28. Apr. 2021, 17:47 +0200 schrieb Nick Østergaard :
> Mm, you didn't state what OS you have on that pi, but I assume something 
> debian based, you probably need a "-dev" og some of the libcurl stuff. 
> Something like libcurl4-gnutls-dev
>
> > On Wed, 28 Apr 2021 at 17:26, David Knochenhauer  wrote:
> > > Hi,
> > >
> > > I'm new to this topic, but I want to learn how this stuff works and I 
> > > want my favorite eCAD software to be the subject of this journey.
> > >
> > > So what I have managed so far:
> > >
> > > • getting the sources from GIT
> > > • executing cmake (ha!)
> > > • identifying missing dependencies
> > > • turning OFF SCRIPTING and OCE
> > > • installed GLEW and GLM libraries
> > >
> > > Now I'm struggling with CURL.. I'm not sure which library to install. 
> > > Libcurl4 and libcurl3-gnutls are preinstalled but obviously neither of 
> > > them is the needed.
> > >
> > > So if someone have a hint on this.. thanks in advance
> > >
> > > Cu
> > > David
> > >
> > > ___
> > > Mailing list: https://launchpad.net/~kicad-developers
> > > Post to     : kicad-developers@lists.launchpad.net
> > > Unsubscribe : https://launchpad.net/~kicad-developers
> > > More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Compiling KiCAD 5.99 on Raspberry Pi (400)

2021-04-28 Thread David Knochenhauer
Hi,

I'm new to this topic, but I want to learn how this stuff works and I want
my favorite eCAD software to be the subject of this journey.

So what I have managed so far:

   - getting the sources from GIT
   - executing cmake (ha!)
   - identifying missing dependencies
   - turning OFF SCRIPTING and OCE
   - installed GLEW and GLM libraries

Now I'm struggling with CURL.. I'm not sure which library to install.
Libcurl4 and libcurl3-gnutls are preinstalled but obviously neither of them
is the needed.

So if someone have a hint on this.. thanks in advance

Cu
David
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] ngspice-34

2021-04-28 Thread Adam Wolf
Just curious, what sort of timeframe would we be looking at for 35?

Adam Wolf

On Wed, Apr 28, 2021 at 5:59 AM Nick Østergaard  wrote:
>
> Ok, thank you. I will follow-up with archlinux packager for ngspice.
>
> On Wed, 28 Apr 2021 at 10:02, Holger Vogt  wrote:
>>
>> config.h for ngspice should not be distributed, because it is a local,
>> OS dependent autogenerated file, and might interfere with other packages.
>>
>> So I did remove it in ngspice-34.
>>
>> Nevertheless KiCad uses it (from its position in
>> /usr/include/ngspice/config.h) to extract compile time version info for
>> ngspice.
>>
>> Due to a bug from my side config.h was still distributed with
>> ngspice-34, now located in /usr/include/config.h.
>>
>> ngspice-35 will contain version info in sharedspice.h (which is always
>> distributed), and there are some suggestion by Carsten how to handle the
>> version info issue "the correct way" (unfortunately barely Windows
>> compatible).
>>
>> So indeed an intermediate sultion for ngspice-34 might be to shift
>> config.h to /usr/include/ngspice/config.h before compilation.
>>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] ngspice-34

2021-04-28 Thread Nick Østergaard
Ok, thank you. I will follow-up with archlinux packager for ngspice.

On Wed, 28 Apr 2021 at 10:02, Holger Vogt  wrote:

> config.h for ngspice should not be distributed, because it is a local,
> OS dependent autogenerated file, and might interfere with other packages.
>
> So I did remove it in ngspice-34.
>
> Nevertheless KiCad uses it (from its position in
> /usr/include/ngspice/config.h) to extract compile time version info for
> ngspice.
>
> Due to a bug from my side config.h was still distributed with
> ngspice-34, now located in /usr/include/config.h.
>
> ngspice-35 will contain version info in sharedspice.h (which is always
> distributed), and there are some suggestion by Carsten how to handle the
> version info issue "the correct way" (unfortunately barely Windows
> compatible).
>
> So indeed an intermediate sultion for ngspice-34 might be to shift
> config.h to /usr/include/ngspice/config.h before compilation.
>
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] ngspice-34

2021-04-28 Thread Holger Vogt
config.h for ngspice should not be distributed, because it is a local, 
OS dependent autogenerated file, and might interfere with other packages.


So I did remove it in ngspice-34.

Nevertheless KiCad uses it (from its position in 
/usr/include/ngspice/config.h) to extract compile time version info for 
ngspice.


Due to a bug from my side config.h was still distributed with 
ngspice-34, now located in /usr/include/config.h.


ngspice-35 will contain version info in sharedspice.h (which is always 
distributed), and there are some suggestion by Carsten how to handle the 
version info issue "the correct way" (unfortunately barely Windows 
compatible).


So indeed an intermediate sultion for ngspice-34 might be to shift 
config.h to /usr/include/ngspice/config.h before compilation.



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp