[Kicad-developers] Fwd: New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Roberto Fernández Bautista
forgot to copy in the mailing list...(see below)

-- Forwarded message -
From: Roberto Fernández Bautista 
Date: Sun, 2 Aug 2020 at 23:38
Subject: Re: [Kicad-developers] New Build Dependencies: Lemon + GTK3
To: 


Ah! No "lemon.exe", but a "lemon.lib". After a bit of digging I found that
the "lemon" package in vcpkg actually installs "lib-lemon", which is
something else (see https://github.com/Microsoft/vcpkg/pull/3779).

However, I managed to get it working by installing lemon in MSYS2/MINGW64
(pacman -S lemon) and then telling cmake the location of lemon.exe by
adding the variable "LEMON=C:\msys64\usr\bin" to the cMakeSettings.json (as
per your suggestion). That seemed to work: I'm not getting the cmake error
anymore. I'll see if it finishes compiling tomorrow.

Thanks for your help!

On Sun, 2 Aug 2020 at 23:14, Ian McInerney  wrote:

> Do you know if is called "lemon.exe" and is on the path by default? If it
> isn't on the path, then CMake might have difficulty finding it. You can try
> passing "-DLEMON=" in the CMake command line and I believe it will
> use that path instead of searching for it. Other than that, I might need
> Jon to take a look at it since he has a MSVC setup currently I believe (but
> we are relying on the built-in CMake FindLemon script, not our own).
>
> -Ian
>
> On Sun, Aug 2, 2020 at 11:06 PM Roberto Fernández Bautista <
> roberto.fer@gmail.com> wrote:
>
>> Just tried your branch and unfortunately couldn't get it to compile on
>> Visual Studio (even after a "vcpkg install lemon:x64-windows" and "vcpkg
>> integrate install")... I got the cmake error "lemon not found"
>>
>> I know Visual Studio isn't officially supported but any ideas what I
>> could do to install lemon correctly so visual studio/ cmake can recognise
>> it?
>>
>> Thanks
>>
>> Roberto
>>
>> On Sun, 2 Aug 2020 at 22:06, Ian McInerney 
>> wrote:
>>
>>> Yes, I have a branch on my fork [1] called "im/lemon" that can be used.
>>> It can be found here:
>>> https://gitlab.com/imcinerney/kicad/-/tree/im/lemon. If the build
>>> passes with that, it means lemon integration is working. CMake should error
>>> during configuration if the lemon executable can't be found
>>>
>>> -Ian
>>>
>>> [1] https://gitlab.com/imcinerney/kicad
>>>
>>> On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf 
>>> wrote:
>>>
 Is there a branch packages can use to make sure their lemon integration
 is working?

 On Sun, Aug 2, 2020, 4:00 PM Ian McInerney 
 wrote:

> Two new build-time dependencies are being added to the master branch
> for v6:
> * lemon - The lemon parser generator
> * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that
> is not supported anymore). This is technically also a runtime dependency,
> but we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep
> (only needing the build headers are new).
>
> The lemon parser is needed to fix
> https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
> files are generated (in MR
> https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
> needed to enable new functionality inside the platform-specific
> KIPLATFORM library for Linux (such as overriding menu settings, moving
> files to trash, etc.)
>
> All developers should make sure they have these new dependencies
> installed, and nightly builds should add them to their build script 
> (Steve,
> thanks for updating Fedora's so quick!) I have opened issue on GitLab for
> the builders on there:
> https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
> https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
>
> https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2
>
> I haven't merged any code into master that needs them yet, but I would
> like to merge the lemon fix as soon as possible (the problem it is solving
> has attracted increased attention it seems).
>
> -Ian
> ___
> 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
>>>
>>
___
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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Mark Roszko
LOL, "lemon" in VCPKG is not Lemon the grammar generator, it's Lemon the
boost graph library.

And lemon grammar itself, isn't a real library. It's a single C file. It's
very unlikely to be accepted into vcpkg.

We may as well just build it on the fly in kicad
https://www.sqlite.org/src/file/tool/lemon.c


On Sun, Aug 2, 2020 at 6:37 PM Mark Roszko  wrote:

> MSVC support is a work in progress so it's not that its not supported,
> it's just someone needs to fix it ;)
>
> On Sun, Aug 2, 2020 at 6:06 PM Roberto Fernández Bautista <
> roberto.fer@gmail.com> wrote:
>
>> Just tried your branch and unfortunately couldn't get it to compile on
>> Visual Studio (even after a "vcpkg install lemon:x64-windows" and "vcpkg
>> integrate install")... I got the cmake error "lemon not found"
>>
>> I know Visual Studio isn't officially supported but any ideas what I
>> could do to install lemon correctly so visual studio/ cmake can recognise
>> it?
>>
>> Thanks
>>
>> Roberto
>>
>> On Sun, 2 Aug 2020 at 22:06, Ian McInerney 
>> wrote:
>>
>>> Yes, I have a branch on my fork [1] called "im/lemon" that can be used.
>>> It can be found here:
>>> https://gitlab.com/imcinerney/kicad/-/tree/im/lemon. If the build
>>> passes with that, it means lemon integration is working. CMake should error
>>> during configuration if the lemon executable can't be found
>>>
>>> -Ian
>>>
>>> [1] https://gitlab.com/imcinerney/kicad
>>>
>>> On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf 
>>> wrote:
>>>
 Is there a branch packages can use to make sure their lemon integration
 is working?

 On Sun, Aug 2, 2020, 4:00 PM Ian McInerney 
 wrote:

> Two new build-time dependencies are being added to the master branch
> for v6:
> * lemon - The lemon parser generator
> * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that
> is not supported anymore). This is technically also a runtime dependency,
> but we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep
> (only needing the build headers are new).
>
> The lemon parser is needed to fix
> https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
> files are generated (in MR
> https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
> needed to enable new functionality inside the platform-specific
> KIPLATFORM library for Linux (such as overriding menu settings, moving
> files to trash, etc.)
>
> All developers should make sure they have these new dependencies
> installed, and nightly builds should add them to their build script 
> (Steve,
> thanks for updating Fedora's so quick!) I have opened issue on GitLab for
> the builders on there:
> https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
> https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
>
> https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2
>
> I haven't merged any code into master that needs them yet, but I would
> like to merge the lemon fix as soon as possible (the problem it is solving
> has attracted increased attention it seems).
>
> -Ian
> ___
> 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
>>>
>> ___
>> 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
>>
>
>
> --
> Mark
>


-- 
Mark
___
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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Mark Roszko
MSVC support is a work in progress so it's not that its not supported, it's
just someone needs to fix it ;)

On Sun, Aug 2, 2020 at 6:06 PM Roberto Fernández Bautista <
roberto.fer@gmail.com> wrote:

> Just tried your branch and unfortunately couldn't get it to compile on
> Visual Studio (even after a "vcpkg install lemon:x64-windows" and "vcpkg
> integrate install")... I got the cmake error "lemon not found"
>
> I know Visual Studio isn't officially supported but any ideas what I could
> do to install lemon correctly so visual studio/ cmake can recognise it?
>
> Thanks
>
> Roberto
>
> On Sun, 2 Aug 2020 at 22:06, Ian McInerney 
> wrote:
>
>> Yes, I have a branch on my fork [1] called "im/lemon" that can be used.
>> It can be found here: https://gitlab.com/imcinerney/kicad/-/tree/im/lemon.
>> If the build passes with that, it means lemon integration is working. CMake
>> should error during configuration if the lemon executable can't be found
>>
>> -Ian
>>
>> [1] https://gitlab.com/imcinerney/kicad
>>
>> On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf 
>> wrote:
>>
>>> Is there a branch packages can use to make sure their lemon integration
>>> is working?
>>>
>>> On Sun, Aug 2, 2020, 4:00 PM Ian McInerney 
>>> wrote:
>>>
 Two new build-time dependencies are being added to the master branch
 for v6:
 * lemon - The lemon parser generator
 * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is
 not supported anymore). This is technically also a runtime dependency, but
 we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
 needing the build headers are new).

 The lemon parser is needed to fix
 https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
 files are generated (in MR
 https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
 needed to enable new functionality inside the platform-specific
 KIPLATFORM library for Linux (such as overriding menu settings, moving
 files to trash, etc.)

 All developers should make sure they have these new dependencies
 installed, and nightly builds should add them to their build script (Steve,
 thanks for updating Fedora's so quick!) I have opened issue on GitLab for
 the builders on there:
 https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
 https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332

 https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2

 I haven't merged any code into master that needs them yet, but I would
 like to merge the lemon fix as soon as possible (the problem it is solving
 has attracted increased attention it seems).

 -Ian
 ___
 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
>>
> ___
> 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
>


-- 
Mark
___
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] kicad | pcbnew: dragging leaves behind the courtyard (#5037)

2020-08-02 Thread Carlo Maragno
As a fellow dyslexic I approve this type of content.

Cheers,
Carlo

On Sun, 2 Aug 2020, 14:51 Jeff Young,  wrote:

> My numeric dyslexia hath produced another great bug.  Check out this
> video. ;)
>
> On 2 Aug 2020, at 03:43, evils  wrote:
>
> evils  commented:
>
> @jeffyoung  is this related?
>
> 2020-08-02T04_41_10+02_00
> 
> kicad version
>
> —
> Reply to this email directly or view it on GitLab
> .
> You're receiving this email because you have been mentioned on gitlab.com.
> If you'd like to receive fewer emails, you can unsubscribe
> 
>  from this thread or adjust your notification settings.
>
>
> ___
> 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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Ian McInerney
Do you know if is called "lemon.exe" and is on the path by default? If it
isn't on the path, then CMake might have difficulty finding it. You can try
passing "-DLEMON=" in the CMake command line and I believe it will
use that path instead of searching for it. Other than that, I might need
Jon to take a look at it since he has a MSVC setup currently I believe (but
we are relying on the built-in CMake FindLemon script, not our own).

-Ian

On Sun, Aug 2, 2020 at 11:06 PM Roberto Fernández Bautista <
roberto.fer@gmail.com> wrote:

> Just tried your branch and unfortunately couldn't get it to compile on
> Visual Studio (even after a "vcpkg install lemon:x64-windows" and "vcpkg
> integrate install")... I got the cmake error "lemon not found"
>
> I know Visual Studio isn't officially supported but any ideas what I could
> do to install lemon correctly so visual studio/ cmake can recognise it?
>
> Thanks
>
> Roberto
>
> On Sun, 2 Aug 2020 at 22:06, Ian McInerney 
> wrote:
>
>> Yes, I have a branch on my fork [1] called "im/lemon" that can be used.
>> It can be found here: https://gitlab.com/imcinerney/kicad/-/tree/im/lemon.
>> If the build passes with that, it means lemon integration is working. CMake
>> should error during configuration if the lemon executable can't be found
>>
>> -Ian
>>
>> [1] https://gitlab.com/imcinerney/kicad
>>
>> On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf 
>> wrote:
>>
>>> Is there a branch packages can use to make sure their lemon integration
>>> is working?
>>>
>>> On Sun, Aug 2, 2020, 4:00 PM Ian McInerney 
>>> wrote:
>>>
 Two new build-time dependencies are being added to the master branch
 for v6:
 * lemon - The lemon parser generator
 * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is
 not supported anymore). This is technically also a runtime dependency, but
 we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
 needing the build headers are new).

 The lemon parser is needed to fix
 https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
 files are generated (in MR
 https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
 needed to enable new functionality inside the platform-specific
 KIPLATFORM library for Linux (such as overriding menu settings, moving
 files to trash, etc.)

 All developers should make sure they have these new dependencies
 installed, and nightly builds should add them to their build script (Steve,
 thanks for updating Fedora's so quick!) I have opened issue on GitLab for
 the builders on there:
 https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
 https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332

 https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2

 I haven't merged any code into master that needs them yet, but I would
 like to merge the lemon fix as soon as possible (the problem it is solving
 has attracted increased attention it seems).

 -Ian
 ___
 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
>>
>
___
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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Roberto Fernández Bautista
Just tried your branch and unfortunately couldn't get it to compile on
Visual Studio (even after a "vcpkg install lemon:x64-windows" and "vcpkg
integrate install")... I got the cmake error "lemon not found"

I know Visual Studio isn't officially supported but any ideas what I could
do to install lemon correctly so visual studio/ cmake can recognise it?

Thanks

Roberto

On Sun, 2 Aug 2020 at 22:06, Ian McInerney  wrote:

> Yes, I have a branch on my fork [1] called "im/lemon" that can be used. It
> can be found here: https://gitlab.com/imcinerney/kicad/-/tree/im/lemon.
> If the build passes with that, it means lemon integration is working. CMake
> should error during configuration if the lemon executable can't be found
>
> -Ian
>
> [1] https://gitlab.com/imcinerney/kicad
>
> On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf 
> wrote:
>
>> Is there a branch packages can use to make sure their lemon integration
>> is working?
>>
>> On Sun, Aug 2, 2020, 4:00 PM Ian McInerney 
>> wrote:
>>
>>> Two new build-time dependencies are being added to the master branch for
>>> v6:
>>> * lemon - The lemon parser generator
>>> * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is
>>> not supported anymore). This is technically also a runtime dependency, but
>>> we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
>>> needing the build headers are new).
>>>
>>> The lemon parser is needed to fix
>>> https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
>>> files are generated (in MR
>>> https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
>>> needed to enable new functionality inside the platform-specific
>>> KIPLATFORM library for Linux (such as overriding menu settings, moving
>>> files to trash, etc.)
>>>
>>> All developers should make sure they have these new dependencies
>>> installed, and nightly builds should add them to their build script (Steve,
>>> thanks for updating Fedora's so quick!) I have opened issue on GitLab for
>>> the builders on there:
>>> https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
>>> https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
>>>
>>> https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2
>>>
>>> I haven't merged any code into master that needs them yet, but I would
>>> like to merge the lemon fix as soon as possible (the problem it is solving
>>> has attracted increased attention it seems).
>>>
>>> -Ian
>>> ___
>>> 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
>
___
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 vcpkg port

2020-08-02 Thread Wayne Stambaugh
+1

On 8/2/20 2:08 PM, Seth Hillbrand wrote:
> Nice work!  Thanks, Mark
> 
> On Sat, Aug 1, 2020 at 11:26 PM Mark Roszko  > wrote:
> 
> Hot off the press, a ngspice port for
> vcpkg. https://github.com/marekr/vcpkg/tree/kicad/ports/ngspice
> I will try and upstream this port package to vcpkg but there's a
> good chance they will reject it for being too niche but who knows, I
> haven't tried before.
> 
> 
> But that doesn't stop us from using it. You can simply dump in the
> ngspice folder into your vcpkg/ports folder locally and tell it to
> 
> vcpkg install ngspice
> 
> This means you can turn on KICAD_SPICE with msvc.
> 
> 
> KiCad cmake's itself however needs newer logic to copy over ngspice.dll.
> 
> 
> image.png
> 
> I'm going to work on wxPython next. SWIG is already done as it has a
> precompiled binary and is a compile time tool only.
>  
> 
> --
> Mark
> ___
> 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 Services Corporation Logo
> Seth Hillbrand
> *Lead Developer*
> +1-530-302-5483‬ 
> Davis, CA
> www.kipro-pcb.com     i...@kipro-pcb.com
> 
> 
> 
> ___
> 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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Ian McInerney
Yes, I have a branch on my fork [1] called "im/lemon" that can be used. It
can be found here: https://gitlab.com/imcinerney/kicad/-/tree/im/lemon. If
the build passes with that, it means lemon integration is working. CMake
should error during configuration if the lemon executable can't be found

-Ian

[1] https://gitlab.com/imcinerney/kicad

On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf 
wrote:

> Is there a branch packages can use to make sure their lemon integration is
> working?
>
> On Sun, Aug 2, 2020, 4:00 PM Ian McInerney 
> wrote:
>
>> Two new build-time dependencies are being added to the master branch for
>> v6:
>> * lemon - The lemon parser generator
>> * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is
>> not supported anymore). This is technically also a runtime dependency, but
>> we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
>> needing the build headers are new).
>>
>> The lemon parser is needed to fix
>> https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
>> files are generated (in MR
>> https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
>> needed to enable new functionality inside the platform-specific
>> KIPLATFORM library for Linux (such as overriding menu settings, moving
>> files to trash, etc.)
>>
>> All developers should make sure they have these new dependencies
>> installed, and nightly builds should add them to their build script (Steve,
>> thanks for updating Fedora's so quick!) I have opened issue on GitLab for
>> the builders on there:
>> https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
>> https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
>>
>> https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2
>>
>> I haven't merged any code into master that needs them yet, but I would
>> like to merge the lemon fix as soon as possible (the problem it is solving
>> has attracted increased attention it seems).
>>
>> -Ian
>> ___
>> 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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Adam Wolf
Is there a branch packages can use to make sure their lemon integration is
working?

On Sun, Aug 2, 2020, 4:00 PM Ian McInerney  wrote:

> Two new build-time dependencies are being added to the master branch for
> v6:
> * lemon - The lemon parser generator
> * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is
> not supported anymore). This is technically also a runtime dependency, but
> we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
> needing the build headers are new).
>
> The lemon parser is needed to fix
> https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
> files are generated (in MR
> https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is needed
> to enable new functionality inside the platform-specific KIPLATFORM library
> for Linux (such as overriding menu settings, moving files to trash, etc.)
>
> All developers should make sure they have these new dependencies
> installed, and nightly builds should add them to their build script (Steve,
> thanks for updating Fedora's so quick!) I have opened issue on GitLab for
> the builders on there:
> https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
> https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
>
> https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2
>
> I haven't merged any code into master that needs them yet, but I would
> like to merge the lemon fix as soon as possible (the problem it is solving
> has attracted increased attention it seems).
>
> -Ian
> ___
> 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] New Build Dependencies: Lemon + GTK3

2020-08-02 Thread Ian McInerney
Two new build-time dependencies are being added to the master branch for v6:
* lemon - The lemon parser generator
* GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is not
supported anymore). This is technically also a runtime dependency, but we
also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
needing the build headers are new).

The lemon parser is needed to fix
https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the files
are generated (in MR
https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is needed
to enable new functionality inside the platform-specific KIPLATFORM library
for Linux (such as overriding menu settings, moving files to trash, etc.)

All developers should make sure they have these new dependencies installed,
and nightly builds should add them to their build script (Steve, thanks for
updating Fedora's so quick!) I have opened issue on GitLab for the builders
on there:
https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2

I haven't merged any code into master that needs them yet, but I would like
to merge the lemon fix as soon as possible (the problem it is solving has
attracted increased attention it seems).

-Ian
___
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] MSYS2 Dropping 32-bit support

2020-08-02 Thread Seth Hillbrand
On Sun, Aug 2, 2020 at 4:37 AM Ian McInerney 
wrote:

> We'll have to figure out how to phrase the support requirements for this,
> because we have committed to supporting Windows 8.1 until January 10, 2023
> apparently - and 8.1 would have 32-bit versions.
>

Right.  Well, let's see what our MSVC packaging looks like closer to v6
rollout.  I think we will probably need it for Python anyways.

For Windows 10 this should not be an issue:
https://docs.microsoft.com/en-us/windows-hardware/design/minimum/minimum-hardware-requirements-overview#31-processor

Although few OEMs install 32-bit versions, I imagine that there are a
number of board houses that run 32-bit versions to maintain compatibility
with their older control software.

-Seth

-- 
[image: KiCad Services Corporation Logo]
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬ <+12126039372>
Davis, CA
www.kipro-pcb.comi...@kipro-pcb.com
___
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] Something wrong with Windows nightly builds (1 Aug)?

2020-08-02 Thread Ian McInerney
The builds will be flagged with dirty until I am able to merge the Lemon MR
that changes the build process to fix it.

-Ian

On Sun, 2 Aug 2020, 6:28 p.m. Mark Roszko,  wrote:

>   Nick has fixed the Windows nightlies, rejoice
>
> The builds are flagged dirty for what its worth.
>
> On Sat, Aug 1, 2020 at 9:04 AM Eeli Kaikkonen 
> wrote:
>
>> [image: image.png]
>>
>> Something wrong with the Windows nightly builds?
>>
>> The commit 0c77 is from 30 July, I remember seeing that same commit dated
>> to 30 and I downloaded it then (the link has different color) and I have it
>> installed, but now the date is 1 Aug. There seems to be no newer nightly
>> build available, I think there should be one or two of them.
>>
>> 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
>>
>
>
> --
> Mark
> ___
> 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] Something wrong with Windows nightly builds (1 Aug)?

2020-08-02 Thread Mark Roszko
Nightlies temporarily broken until a new msys2 file is added into the build.

libssp-0.dll

On Sun, Aug 2, 2020 at 1:27 PM Mark Roszko  wrote:

>   Nick has fixed the Windows nightlies, rejoice
>
> The builds are flagged dirty for what its worth.
>
> On Sat, Aug 1, 2020 at 9:04 AM Eeli Kaikkonen 
> wrote:
>
>> [image: image.png]
>>
>> Something wrong with the Windows nightly builds?
>>
>> The commit 0c77 is from 30 July, I remember seeing that same commit dated
>> to 30 and I downloaded it then (the link has different color) and I have it
>> installed, but now the date is 1 Aug. There seems to be no newer nightly
>> build available, I think there should be one or two of them.
>>
>> 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
>>
>
>
> --
> Mark
>


-- 
Mark
___
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] Something wrong with Windows nightly builds (1 Aug)?

2020-08-02 Thread Mark Roszko
  Nick has fixed the Windows nightlies, rejoice

The builds are flagged dirty for what its worth.

On Sat, Aug 1, 2020 at 9:04 AM Eeli Kaikkonen 
wrote:

> [image: image.png]
>
> Something wrong with the Windows nightly builds?
>
> The commit 0c77 is from 30 July, I remember seeing that same commit dated
> to 30 and I downloaded it then (the link has different color) and I have it
> installed, but now the date is 1 Aug. There seems to be no newer nightly
> build available, I think there should be one or two of them.
>
> 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
>


-- 
Mark
___
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] Something wrong with Windows nightly builds (1 Aug)?

2020-08-02 Thread Steven A. Falco

For Fedora, it should just be a one-liner to add lemon to the spec file:

BuildRequires:  lemon

I'm running a test now, and I'll add it to the nightlies if it passes.

Steve

On 8/1/20 6:21 PM, Ian McInerney wrote:

No, it isn't a build error that is causing it. If you look at the status page 
showing the pipeline results 
(https://jenkins.simonrichter.eu/view/KiCad%20Status/job/windows-kicad-msys2-pipeline/),
 you'll see the builds finish successfully.

Eeli, can you try downloading the most recent lite build and see which version string is 
being reported by the program itself? I downloaded the log from one of the runs on July 
31, and it seems to have downloaded the most recent commit as of that time and was 
supposed to have built a package with "r16610.61c817377". Perhaps that is just 
contained in the most recently uploaded package for some reason?

My guess is the packaging script can't handle the "-dirty" being appended to 
the KiCad build string. It is being marked as dirty right now due to 
https://gitlab.com/kicad/code/kicad/-/issues/5013, and the fix for it is in 
https://gitlab.com/kicad/code/kicad/-/merge_requests/318, but I can't apply the fix until 
all packaging setups are updated to contain lemon (so I now know that Windows has it, but 
OSX and many Linux ones don't).

-Ian

On Sat, Aug 1, 2020 at 9:40 PM Roberto Fernández Bautista mailto:roberto.fer@gmail.com>> wrote:

Hi Eeli,

I assume this was due to what I highlighted in my previous email 
(https://www.mail-archive.com/kicad-developers@lists.launchpad.net/msg38706.html).
 The build was broken for Windows.

I submitted a merge request 
(https://gitlab.com/kicad/code/kicad/-/merge_requests/322) which was merged 
last night, hence you are only seeing it today.

Thanks.

Roberto.


On Sat, 1 Aug 2020, 14:04 Eeli Kaikkonen, mailto:eeli.kaikko...@gmail.com>> wrote:

image.png

Something wrong with the Windows nightly builds?

The commit 0c77 is from 30 July, I remember seeing that same commit 
dated to 30 and I downloaded it then (the link has different color) and I have 
it installed, but now the date is 1 Aug. There seems to be no newer nightly 
build available, I think there should be one or two of them.

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


___
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] MSYS2 Dropping 32-bit support

2020-08-02 Thread Mark Roszko
8.1 shouldn't be the biggest issue. Windows 7 was launched with 32-bit and
64-bit machines. By the time 8.1 rolled around 64-bit was the major default
for machines from OEMs as basically all CPUs were 64-bit capable by then.
With 10, OEMs still had the choice of 32-bit but they would be some really
terrible OEM to install 32-bit.



On Sun, Aug 2, 2020 at 7:37 AM Ian McInerney 
wrote:

> We'll have to figure out how to phrase the support requirements for this,
> because we have committed to supporting Windows 8.1 until January 10, 2023
> apparently - and 8.1 would have 32-bit versions.
>
> -Ian
>
> On Sun, Aug 2, 2020 at 4:58 AM Mark Roszko  wrote:
>
>> I am working on a MSVC build chain slowly amongst my ADHD heh.
>> Though I'm focusing on Win64 builds, Win32 would be trivial. It's just a
>> measure of how much is it worth it. Microsoft has instituted a complete ban
>> on 32-bit sales of new PCs a few months ago on their end so wiin32 is
>> slowly moving towards life support status.
>>
>> On Sat, Aug 1, 2020 at 11:31 PM Seth Hillbrand 
>> wrote:
>>
>>>
>>> On Sat, Aug 1, 2020 at 7:31 PM Mark Roszko 
>>> wrote:
>>>
 Ah right, as it stands, the only way to use a new install of msys2
 32-bit now is to patch it on startup because the repo keys changed but they
 no longer update the 32-bit base package

 See: https://www.msys2.org/news/#2020-06-29-new-packagers

 But the package versions available on 32-bit are going to begin to
 diverge from the 64-bit builds


 There may need to be a decision made about continued 32-bit support for
 KiCad Windows.


>>> Unless we push the Windows builds over to Visual Studio, this
>>> announcement makes our decision for us.  V6 makes a natural transition
>>> point for us, support-wise as well.
>>>
>>> -Seth
>>>
>>> --
>>> [image: KiCad Services Corporation Logo]
>>> Seth Hillbrand
>>> *Lead Developer*
>>> +1-530-302-5483‬ <+12126039372>
>>> Davis, CA
>>> www.kipro-pcb.comi...@kipro-pcb.com
>>>
>>
>>
>> --
>> Mark
>> ___
>> 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
>>
>

-- 
Mark
___
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] kicad | pcbnew: dragging leaves behind the courtyard (#5037)

2020-08-02 Thread Jeff Young
My numeric dyslexia hath produced another great bug.  Check out this video. ;)

> On 2 Aug 2020, at 03:43, evils  wrote:
> 
> evils  commented:
> 
> @jeffyoung  is this related?
> 
> 
> 2020-08-02T04_41_10+02_00 
> 
> kicad version
> — 
> Reply to this email directly or view it on GitLab 
> . 
> You're receiving this email because you have been mentioned on gitlab.com 
> . If you'd like to receive fewer emails, you can 
> unsubscribe 
> 
>  from this thread or adjust your notification settings.
> 

___
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] MSYS2 Dropping 32-bit support

2020-08-02 Thread Ian McInerney
We'll have to figure out how to phrase the support requirements for this,
because we have committed to supporting Windows 8.1 until January 10, 2023
apparently - and 8.1 would have 32-bit versions.

-Ian

On Sun, Aug 2, 2020 at 4:58 AM Mark Roszko  wrote:

> I am working on a MSVC build chain slowly amongst my ADHD heh.
> Though I'm focusing on Win64 builds, Win32 would be trivial. It's just a
> measure of how much is it worth it. Microsoft has instituted a complete ban
> on 32-bit sales of new PCs a few months ago on their end so wiin32 is
> slowly moving towards life support status.
>
> On Sat, Aug 1, 2020 at 11:31 PM Seth Hillbrand  wrote:
>
>>
>> On Sat, Aug 1, 2020 at 7:31 PM Mark Roszko  wrote:
>>
>>> Ah right, as it stands, the only way to use a new install of msys2
>>> 32-bit now is to patch it on startup because the repo keys changed but they
>>> no longer update the 32-bit base package
>>>
>>> See: https://www.msys2.org/news/#2020-06-29-new-packagers
>>>
>>> But the package versions available on 32-bit are going to begin to
>>> diverge from the 64-bit builds
>>>
>>>
>>> There may need to be a decision made about continued 32-bit support for
>>> KiCad Windows.
>>>
>>>
>> Unless we push the Windows builds over to Visual Studio, this
>> announcement makes our decision for us.  V6 makes a natural transition
>> point for us, support-wise as well.
>>
>> -Seth
>>
>> --
>> [image: KiCad Services Corporation Logo]
>> Seth Hillbrand
>> *Lead Developer*
>> +1-530-302-5483‬ <+12126039372>
>> Davis, CA
>> www.kipro-pcb.comi...@kipro-pcb.com
>>
>
>
> --
> Mark
> ___
> 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] Something wrong with Windows nightly builds (1 Aug)?

2020-08-02 Thread Eeli Kaikkonen
Nah...

Application: KiCad
Version: (5.99.0-2477-g0c774aa16-dirty), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7
libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
*Date: Jul 30 2020 08:59:53*

On Sun, Aug 2, 2020 at 1:21 AM Ian McInerney 
wrote:

> No, it isn't a build error that is causing it. If you look at the status
> page showing the pipeline results (
> https://jenkins.simonrichter.eu/view/KiCad%20Status/job/windows-kicad-msys2-pipeline/),
> you'll see the builds finish successfully.
>
> Eeli, can you try downloading the most recent lite build and see which
> version string is being reported by the program itself? I downloaded the
> log from one of the runs on July 31, and it seems to have downloaded the
> most recent commit as of that time and was supposed to have built a package
> with "r16610.61c817377". Perhaps that is just contained in the most
> recently uploaded package for some reason?
>
> My guess is the packaging script can't handle the "-dirty" being appended
> to the KiCad build string. It is being marked as dirty right now due to
> https://gitlab.com/kicad/code/kicad/-/issues/5013, and the fix for it is
> in https://gitlab.com/kicad/code/kicad/-/merge_requests/318, but I can't
> apply the fix until all packaging setups are updated to contain lemon (so I
> now know that Windows has it, but OSX and many Linux ones don't).
>
> -Ian
>
> On Sat, Aug 1, 2020 at 9:40 PM Roberto Fernández Bautista <
> roberto.fer@gmail.com> wrote:
>
>> Hi Eeli,
>>
>> I assume this was due to what I highlighted in my previous email (
>> https://www.mail-archive.com/kicad-developers@lists.launchpad.net/msg38706.html).
>> The build was broken for Windows.
>>
>> I submitted a merge request (
>> https://gitlab.com/kicad/code/kicad/-/merge_requests/322) which was
>> merged last night, hence you are only seeing it today.
>>
>> Thanks.
>>
>> Roberto.
>>
>>
>> On Sat, 1 Aug 2020, 14:04 Eeli Kaikkonen, 
>> wrote:
>>
>>> [image: image.png]
>>>
>>> Something wrong with the Windows nightly builds?
>>>
>>> The commit 0c77 is from 30 July, I remember seeing that same commit
>>> dated to 30 and I downloaded it then (the link has different color) and I
>>> have it installed, but now the date is 1 Aug. There seems to be no newer
>>> nightly build available, I think there should be one or two of them.
>>>
>>> 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
>>
>
___
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