Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Seth Hillbrand
After reviewing the thread that Nick linked (
https://gitlab.com/kicad/code/kicad/-/issues/6198) I recall this discussion
more.

I think that we should remove OCE altogether.  The existing versions have
bugs that we cannot fix and it is fully deprecated at the source repository
(https://github.com/tpaviot/oce/releases) in that it only tags upstream
releases and hasn't released any updates since 2018.

Keeping OCE in the build tree as an option is just asking for headaches
that we can avoid in v6.

-Seth

On Mon, May 17, 2021 at 12:07 PM Steven A. Falco 
wrote:

> I confirm that Fedora already selects OCC in its build scripts, both for
> the official 5.1 builds, and for the 5.99 nightlies.  The default can
> change without affecting Fedora.
>
> Steve
>
> ___
> 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
>


-- 
[image: KiCad Services Corporation Logo]
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬
Long Beach, 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] OCE vs. OCC default build flag

2021-05-17 Thread Steven A. Falco

I confirm that Fedora already selects OCC in its build scripts, both for the 
official 5.1 builds, and for the 5.99 nightlies.  The default can change 
without affecting Fedora.

Steve

___
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] OCE vs. OCC default build flag

2021-05-17 Thread Nick Østergaard
IMHO we should be fine with defaulting to OCC by now. Previously there were
issues with the occ build in msys2 where kicad would not link to it
properly, but we have since started to support msvc instead and we are
using occ for those builds for master.

Also, I think we are using occ on macos now, according to a comment on
zulip:
> Michael Kavanagh: @Wayne Stambaugh macOS has been packaged with OCC for a
while now (hence my build comment on the issue)

> Michael Kavanagh:
https://gitlab.com/kicad/packaging/kicad-mac-builder/-/commit/e9d69381b957670f4447e21c07228243ca4ee3db

There was a bit back and forth going on there for macos...

Nick

On Mon, 17 May 2021 at 16:57, Eeli Kaikkonen 
wrote:

> On Mon, May 17, 2021 at 5:14 PM Carsten Schoenert
>  wrote:
>
> > I'm using mostly the explicit set up of build options and do not rely on
> > used default values, so the Debian packages using OCC for more than a
> > year. And this also for backported versions.
>
> I was unsure about Debian because I didn't document my failure to
> build KiCad (with phoenix) on it. For other distros, I'm 100% sure
> about Ubuntu (and Kubuntu), Mint, Fedora, Arch and Manjaro, the latest
> release versions of those distros. Also openSUSE Tumbleweed (the
> rolling release). None of them drew OCE as a dependency for the
> available KiCad 5.99 (or 5.1 if 5.99 wasn't available) package, they
> all use OCC.
>
> This covers all of the supported distros. Also all of the distros in
> the Download page except gentoo. Flatpak seems to use explicit cmake
> flags and also dowloads and compiles the used OCC/OCE version
> explicitly, so it's not affected.
>
> > I've configured the build of the current 5.99 version for experimental
> > since a few weeks, and wxpython 4.0 is used here also like done for the
> > current stable version since a long time. Or I miss your point.
>
> I already forgot the details, but it was Buster for which I couldn't
> install the build dependencies which would make it possible to compile
> 5.99 with wxPhoenix. There was something strange about it. But that's
> offtopic.
>
> 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] OCE vs. OCC default build flag

2021-05-17 Thread Eeli Kaikkonen
On Mon, May 17, 2021 at 5:14 PM Carsten Schoenert
 wrote:

> I'm using mostly the explicit set up of build options and do not rely on
> used default values, so the Debian packages using OCC for more than a
> year. And this also for backported versions.

I was unsure about Debian because I didn't document my failure to
build KiCad (with phoenix) on it. For other distros, I'm 100% sure
about Ubuntu (and Kubuntu), Mint, Fedora, Arch and Manjaro, the latest
release versions of those distros. Also openSUSE Tumbleweed (the
rolling release). None of them drew OCE as a dependency for the
available KiCad 5.99 (or 5.1 if 5.99 wasn't available) package, they
all use OCC.

This covers all of the supported distros. Also all of the distros in
the Download page except gentoo. Flatpak seems to use explicit cmake
flags and also dowloads and compiles the used OCC/OCE version
explicitly, so it's not affected.

> I've configured the build of the current 5.99 version for experimental
> since a few weeks, and wxpython 4.0 is used here also like done for the
> current stable version since a long time. Or I miss your point.

I already forgot the details, but it was Buster for which I couldn't
install the build dependencies which would make it possible to compile
5.99 with wxPhoenix. There was something strange about it. But that's
offtopic.

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] OCE vs. OCC default build flag

2021-05-17 Thread Carsten Schoenert
Hi,

I can just speak for Debian.

Am 17.05.21 um 14:53 schrieb Eeli Kaikkonen:
> As far as I can tell, Ubuntu and all derivatives, Fedora, openSUSE,
> Debian (if I remember correctly), Arch and Manjaro already use OCC so
> that the latest available KiCad 5.99 (and even 5.1) packages for the
> latest available distro versions use OCC. Only gentoo KiCad 5.1 seems
> to use OCE.

So far I remember correctly the KiCad project was switching to OCC
because the OCE variant was lagging behind some or more wanted features.
I'm using mostly the explicit set up of build options and do not rely on
used default values, so the Debian packages using OCC for more than a
year. And this also for backported versions.

> Changing the python flags (soon, I hope?) will have bigger
> consequences. I couldn't even find a way to compile 5.99 for Debian
> testing with phoenix.

I've configured the build of the current 5.99 version for experimental
since a few weeks, and wxpython 4.0 is used here also like done for the
current stable version since a long time. Or I miss your point.

> https://salsa.debian.org/electronics-team/KiCad/kicad/-/blob/debian/experimental/debian/rules#L39

-- 
Regrads
Carsten

___
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] OCE vs. OCC default build flag

2021-05-17 Thread Eeli Kaikkonen
As far as I can tell, Ubuntu and all derivatives, Fedora, openSUSE,
Debian (if I remember correctly), Arch and Manjaro already use OCC so
that the latest available KiCad 5.99 (and even 5.1) packages for the
latest available distro versions use OCC. Only gentoo KiCad 5.1 seems
to use OCE. Because the flags themselves aren't changed by this, only
the default, most of the packages don't necessarily need any changes.

Changing the python flags (soon, I hope?) will have bigger
consequences. I couldn't even find a way to compile 5.99 for Debian
testing with phoenix.

On Mon, May 17, 2021 at 3:19 PM Wayne Stambaugh  wrote:
>
> How does this change affect our package devs?  I'm guessing they would
> have to make some package dependencies changes if OCC is going to be the
> default.  I would like to hear from them before we make OCC the default.
>
> We will also have to update the developer docs to reflect this change.
>
> Wayne

___
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] OCE vs. OCC default build flag

2021-05-17 Thread Wayne Stambaugh
How does this change affect our package devs?  I'm guessing they would 
have to make some package dependencies changes if OCC is going to be the 
default.  I would like to hear from them before we make OCC the default.


We will also have to update the developer docs to reflect this change.

Wayne

On 5/16/21 7:24 PM, Seth Hillbrand wrote:
Yes, our plan has been to switch the default (if it is not already).  We 
were waiting until both MSVC and Mac builds had OCC well tested, which I 
think has happened now.


Seth

On Sun, May 16, 2021, 2:10 PM Eeli Kaikkonen > wrote:


While I was writing Linux and several distro specific build
instructions (

https://gitlab.com/eelik-kicad/kicad/-/wikis/How-to-build-KiCad-on-Linux-(the-easy-way)


, discussion in

https://forum.kicad.info/t/build-from-source-simple-instructions-to-compile-kicad-for-some-linux-distributions/28982


) I noticed that all distros I tried have OCC instead of OCE.

Should the default build flag be changed to be OCC instead of OCE?

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