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

2021-05-18 Thread Kevin Cozens

On 2021-05-18 11:15 a.m., Carsten Schoenert wrote:

you will need to have installed libocct-data-exchange-dev which will
probably pull in other OCC related packages as an dependency.


Thanks for the info. Good to know that libocct is the library I will need to 
install when the switch is made from OCE to OCC.


--
Cheers!

Kevin.

http://www.ve3syb.ca/   | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
| that's why we're powerful"
Owner of Elecraft K2 #2172  |
#include  | --Chris Hardwick

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Ian McInerney
I would prefer we keep this change to 5.99/6.0 only and not force a default
change in 5.1 builds. There are enough other dependency changes going on
for future v6 that packagers/users have to handle I think it is more
reasonable to force it there.

-Ian

On Tue, May 18, 2021 at 5:35 PM Eeli Kaikkonen 
wrote:

> See
> https://gitlab.com/eelik-kicad/kicad/-/wikis/How-to-build-KiCad-on-Ubuntu-(the-easy-way)
>
> The reason I started this thread was that I saw that practically all
> packages were using OCC already, so it's available.
>
> On Tue, May 18, 2021 at 6:04 PM Kevin Cozens  wrote:
> >
> > How will this affect those of us who build KiCad from source? I have
> liboce
> > packages installed which provide OCE. If you change to OCC what
> package(s)
> > will I need then? The distro I use (Linux Mint) has libocct (Open CASCADE
> > Technology) packages. Is that what I will need or will I have to find
> > another source (ie. a PPA) for the support libraries?
> >
>
> Eeli Kaikkonen
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Eeli Kaikkonen
See 
https://gitlab.com/eelik-kicad/kicad/-/wikis/How-to-build-KiCad-on-Ubuntu-(the-easy-way)

The reason I started this thread was that I saw that practically all
packages were using OCC already, so it's available.

On Tue, May 18, 2021 at 6:04 PM Kevin Cozens  wrote:
>
> How will this affect those of us who build KiCad from source? I have liboce
> packages installed which provide OCE. If you change to OCC what package(s)
> will I need then? The distro I use (Linux Mint) has libocct (Open CASCADE
> Technology) packages. Is that what I will need or will I have to find
> another source (ie. a PPA) for the support libraries?
>

Eeli Kaikkonen

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Carsten Schoenert
Hi,

Am 18.05.21 um 17:01 schrieb Kevin Cozens:
> How will this affect those of us who build KiCad from source? I have liboce 
> packages installed which provide OCE. If you change to OCC what package(s) 
> will I need then? The distro I use (Linux Mint) has libocct (Open CASCADE 
> Technology) packages. Is that what I will need or will I have to find 
> another source (ie. a PPA) for the support libraries?

you will need to have installed libocct-data-exchange-dev which will
probably pull in other OCC related packages as an dependency.

-- 
Regards
Carsten

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Kevin Cozens

On 2021-05-17 8:19 a.m., 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.


How will this affect those of us who build KiCad from source? I have liboce 
packages installed which provide OCE. If you change to OCC what package(s) 
will I need then? The distro I use (Linux Mint) has libocct (Open CASCADE 
Technology) packages. Is that what I will need or will I have to find 
another source (ie. a PPA) for the support libraries?


--
Cheers!

Kevin.

http://www.ve3syb.ca/   | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
| that's why we're powerful"
Owner of Elecraft K2 #2172  |
#include  | --Chris Hardwick

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Wayne Stambaugh
Make sure that OCE is not installed along side OCC.  I also had to add 
"-DOCC_INCLUDE_DIR=/${MINGW_PREFIX}/include/opencascade" so that 
FindOpenCASCADE.cmake could find the header files.  Everything else 
should build as normal.


On 5/18/2021 9:12 AM, Nick Østergaard wrote:

It did not work last time I tried it.

On Tue, 18 May 2021 at 14:43, Wayne Stambaugh > wrote:


I just looked and the 5.1.10 windows build is using OCE.  I thought we
switched over to OCC for msys2 builds but apparently not.  I have
switched to OCC on my windows msys2 builds.  I think we should switch
the msys2 5.1 builds to OCC because it resolves some issues.

Wayne

On 5/17/2021 3:21 PM, Seth Hillbrand wrote:
 > 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
mailto:[email protected]>
 > >> 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     : [email protected]

 >     >
 >     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‬
 > Long Beach, CA
 > www.kipro-pcb.com 
>
[email protected] 
 > >
 >
 >
 > ___
 > Mailing list: https://launchpad.net/~kicad-developers

 > Post to     : [email protected]

 > Unsubscribe : https://launchpad.net/~kicad-developers

 > More help   : https://help.launchpad.net/ListHelp

 >

___
Mailing list: https://launchpad.net/~kicad-developers

Post to     : [email protected]

Unsubscribe : https://launchpad.net/~kicad-developers

More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Nick Østergaard
It did not work last time I tried it.

On Tue, 18 May 2021 at 14:43, Wayne Stambaugh  wrote:

> I just looked and the 5.1.10 windows build is using OCE.  I thought we
> switched over to OCC for msys2 builds but apparently not.  I have
> switched to OCC on my windows msys2 builds.  I think we should switch
> the msys2 5.1 builds to OCC because it resolves some issues.
>
> Wayne
>
> On 5/17/2021 3:21 PM, Seth Hillbrand wrote:
> > 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 : [email protected]
> > 
> > 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‬
> > Long Beach, CA
> > www.kipro-pcb.com  [email protected]
> > 
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : [email protected]
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-18 Thread Wayne Stambaugh
I just looked and the 5.1.10 windows build is using OCE.  I thought we 
switched over to OCC for msys2 builds but apparently not.  I have 
switched to OCC on my windows msys2 builds.  I think we should switch 
the msys2 5.1 builds to OCC because it resolves some issues.


Wayne

On 5/17/2021 3:21 PM, Seth Hillbrand wrote:
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     : [email protected]

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‬
Long Beach, CA
www.kipro-pcb.com  [email protected] 




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
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 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 : [email protected]
> 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
[email protected]
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
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 : [email protected]
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 : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
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 : [email protected]
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 : [email protected]
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 : [email protected]
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     : [email protected]

Unsubscribe : https://launchpad.net/~kicad-developers

More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

2021-05-16 Thread Seth Hillbrand
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 : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-18 Thread Steven A. Falco
Thanks Ian!

Steve

On 11/18/19 4:23 PM, Ian McInerney wrote:
> It has been cherry picked into the 5.1 branch, so it will be included in 
> 5.1.6.
> 
> -Ian
> 
> On Mon, Nov 18, 2019 at 9:07 PM Steven A. Falco  > wrote:
> 
> On 11/16/19 1:14 PM, Seth Hillbrand wrote:
> > On 2019-11-16 08:42, Steven A. Falco wrote:
> >> It looks like Fedora may be switching from OCE to OCC, so I'm doing a
> >> trial build with OCC.
> >>
> >> How would folks recommend testing the build?  I'm not sure what would
> >> be necessary.
> >>
> >>
> >> Also, I have a question about CMakeLists.txt.  Around line 91, it says:
> >>
> >> option( KICAD_USE_OCC
> >>     "Build tools and plugins related to OpenCascade Technology
> >> (overrides KICAD_USE_OCE, default OFF)"
> >>     OFF )
> >>
> >> Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
> >> Thus, one would think that just setting KICAD_USE_OCC=ON would be
> >> sufficient to automatically set KICAD_USE_OCE=OFF
> >>
> >> Also, the code at line 472 makes it look like setting KICAD_USE_OCC=ON
> >> would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work,
> >> and I had to explicitly set KICAD_USE_OCE=OFF.
> >>
> >> Steve
> >>
> >
> > Thanks Steve!  I'm very happy to hear that Fedora is switching.
> >
> > I pushed a fix for the issue you've identified.
> 
> I picked up your fix as a patch against 5.1.5 for Fedora downstream.  I 
> know it is too late to get the fix into official 5.1.5, but I'd like to 
> request that you push the fix for 5.1.6 so I can drop my patch in the future.
> 
>         Steve
> 
> >
> > Best-
> > Seth
> >
> > Seth Hillbrand
> > KiCad Services Corporation
> > https://www.kipro-pcb.com
> > +1 530 302 5483 | +1 212 603 9372
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : [email protected] 
> 
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : [email protected] 
> 
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-18 Thread Ian McInerney
It has been cherry picked into the 5.1 branch, so it will be included in
5.1.6.

-Ian

On Mon, Nov 18, 2019 at 9:07 PM Steven A. Falco 
wrote:

> On 11/16/19 1:14 PM, Seth Hillbrand wrote:
> > On 2019-11-16 08:42, Steven A. Falco wrote:
> >> It looks like Fedora may be switching from OCE to OCC, so I'm doing a
> >> trial build with OCC.
> >>
> >> How would folks recommend testing the build?  I'm not sure what would
> >> be necessary.
> >>
> >>
> >> Also, I have a question about CMakeLists.txt.  Around line 91, it says:
> >>
> >> option( KICAD_USE_OCC
> >> "Build tools and plugins related to OpenCascade Technology
> >> (overrides KICAD_USE_OCE, default OFF)"
> >> OFF )
> >>
> >> Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
> >> Thus, one would think that just setting KICAD_USE_OCC=ON would be
> >> sufficient to automatically set KICAD_USE_OCE=OFF
> >>
> >> Also, the code at line 472 makes it look like setting KICAD_USE_OCC=ON
> >> would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work,
> >> and I had to explicitly set KICAD_USE_OCE=OFF.
> >>
> >> Steve
> >>
> >
> > Thanks Steve!  I'm very happy to hear that Fedora is switching.
> >
> > I pushed a fix for the issue you've identified.
>
> I picked up your fix as a patch against 5.1.5 for Fedora downstream.  I
> know it is too late to get the fix into official 5.1.5, but I'd like to
> request that you push the fix for 5.1.6 so I can drop my patch in the
> future.
>
> Steve
>
> >
> > Best-
> > Seth
> >
> > Seth Hillbrand
> > KiCad Services Corporation
> > https://www.kipro-pcb.com
> > +1 530 302 5483 | +1 212 603 9372
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : [email protected]
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-18 Thread Steven A. Falco
On 11/16/19 1:14 PM, Seth Hillbrand wrote:
> On 2019-11-16 08:42, Steven A. Falco wrote:
>> It looks like Fedora may be switching from OCE to OCC, so I'm doing a
>> trial build with OCC.
>>
>> How would folks recommend testing the build?  I'm not sure what would
>> be necessary.
>>
>>
>> Also, I have a question about CMakeLists.txt.  Around line 91, it says:
>>
>> option( KICAD_USE_OCC
>>     "Build tools and plugins related to OpenCascade Technology
>> (overrides KICAD_USE_OCE, default OFF)"
>>     OFF )
>>
>> Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
>> Thus, one would think that just setting KICAD_USE_OCC=ON would be
>> sufficient to automatically set KICAD_USE_OCE=OFF
>>
>> Also, the code at line 472 makes it look like setting KICAD_USE_OCC=ON
>> would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work,
>> and I had to explicitly set KICAD_USE_OCE=OFF.
>>
>> Steve
>>
> 
> Thanks Steve!  I'm very happy to hear that Fedora is switching.
> 
> I pushed a fix for the issue you've identified.

I picked up your fix as a patch against 5.1.5 for Fedora downstream.  I know it 
is too late to get the fix into official 5.1.5, but I'd like to request that 
you push the fix for 5.1.6 so I can drop my patch in the future.

Steve

> 
> Best-
> Seth
> 
> Seth Hillbrand
> KiCad Services Corporation
> https://www.kipro-pcb.com
> +1 530 302 5483 | +1 212 603 9372
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-16 Thread Seth Hillbrand

On 2019-11-16 11:03, Steven A. Falco wrote:

On 11/16/19 1:14 PM, Seth Hillbrand wrote:

On 2019-11-16 08:42, Steven A. Falco wrote:

It looks like Fedora may be switching from OCE to OCC, so I'm doing a
trial build with OCC.

How would folks recommend testing the build?  I'm not sure what would
be necessary.


Also, I have a question about CMakeLists.txt.  Around line 91, it 
says:


option( KICAD_USE_OCC
    "Build tools and plugins related to OpenCascade Technology
(overrides KICAD_USE_OCE, default OFF)"
    OFF )

Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
Thus, one would think that just setting KICAD_USE_OCC=ON would be
sufficient to automatically set KICAD_USE_OCE=OFF

Also, the code at line 472 makes it look like setting 
KICAD_USE_OCC=ON

would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work,
and I had to explicitly set KICAD_USE_OCE=OFF.

Steve



Thanks Steve!  I'm very happy to hear that Fedora is switching.

I pushed a fix for the issue you've identified.


Thanks Seth - that was fast!  I confirm that the fix is good.  I can
now build with just setting KICAD_USE_OCC=ON.

I tried opening a 3-d view of a board, and it loaded correctly.  Is
that a sufficient test for OCC or is there more that I should try?

Steve


3d view will check that we import models correctly.  I would suggest the 
additional tests:


- Exporting the demo boards to STEP files.
- Importing a mix of STEP and IGES models into a board
- Be sure to check exports of boards with cut out holes in the middle
- Check boards with arcs on the edge.cuts
- Check boards with circles on the edge.cuts

-Seth

Seth Hillbrand
KiCad Services Corporation
https://www.kipro-pcb.com
+1 530 302 5483 | +1 212 603 9372

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-16 Thread Steven A. Falco
On 11/16/19 1:14 PM, Seth Hillbrand wrote:
> On 2019-11-16 08:42, Steven A. Falco wrote:
>> It looks like Fedora may be switching from OCE to OCC, so I'm doing a
>> trial build with OCC.
>>
>> How would folks recommend testing the build?  I'm not sure what would
>> be necessary.
>>
>>
>> Also, I have a question about CMakeLists.txt.  Around line 91, it says:
>>
>> option( KICAD_USE_OCC
>>     "Build tools and plugins related to OpenCascade Technology
>> (overrides KICAD_USE_OCE, default OFF)"
>>     OFF )
>>
>> Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
>> Thus, one would think that just setting KICAD_USE_OCC=ON would be
>> sufficient to automatically set KICAD_USE_OCE=OFF
>>
>> Also, the code at line 472 makes it look like setting KICAD_USE_OCC=ON
>> would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work,
>> and I had to explicitly set KICAD_USE_OCE=OFF.
>>
>> Steve
>>
> 
> Thanks Steve!  I'm very happy to hear that Fedora is switching.
> 
> I pushed a fix for the issue you've identified.

Thanks Seth - that was fast!  I confirm that the fix is good.  I can now build 
with just setting KICAD_USE_OCC=ON.

I tried opening a 3-d view of a board, and it loaded correctly.  Is that a 
sufficient test for OCC or is there more that I should try?

Steve

> 
> Best-
> Seth
> 
> Seth Hillbrand
> KiCad Services Corporation
> https://www.kipro-pcb.com
> +1 530 302 5483 | +1 212 603 9372
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-16 Thread Seth Hillbrand

On 2019-11-16 08:42, Steven A. Falco wrote:

It looks like Fedora may be switching from OCE to OCC, so I'm doing a
trial build with OCC.

How would folks recommend testing the build?  I'm not sure what would
be necessary.


Also, I have a question about CMakeLists.txt.  Around line 91, it says:

option( KICAD_USE_OCC
"Build tools and plugins related to OpenCascade Technology
(overrides KICAD_USE_OCE, default OFF)"
OFF )

Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
Thus, one would think that just setting KICAD_USE_OCC=ON would be
sufficient to automatically set KICAD_USE_OCE=OFF

Also, the code at line 472 makes it look like setting KICAD_USE_OCC=ON
would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work,
and I had to explicitly set KICAD_USE_OCE=OFF.

Steve



Thanks Steve!  I'm very happy to hear that Fedora is switching.

I pushed a fix for the issue you've identified.

Best-
Seth

Seth Hillbrand
KiCad Services Corporation
https://www.kipro-pcb.com
+1 530 302 5483 | +1 212 603 9372

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] OCE vs OCC

2019-11-16 Thread Nick Østergaard
I can confirm your observation. I have been using occ for some time and
don't see any issues with switching other than the build script needs to
disable oce explicitly.

lør. 16. nov. 2019 17.42 skrev Steven A. Falco :

> It looks like Fedora may be switching from OCE to OCC, so I'm doing a
> trial build with OCC.
>
> How would folks recommend testing the build?  I'm not sure what would be
> necessary.
>
>
> Also, I have a question about CMakeLists.txt.  Around line 91, it says:
>
> option( KICAD_USE_OCC
> "Build tools and plugins related to OpenCascade Technology (overrides
> KICAD_USE_OCE, default OFF)"
> OFF )
>
> Note the comment that says KICAD_USE_OCC will override KICAD_USE_OCE.
> Thus, one would think that just setting KICAD_USE_OCC=ON would be
> sufficient to automatically set KICAD_USE_OCE=OFF
>
> Also, the code at line 472 makes it look like setting KICAD_USE_OCC=ON
> would set KICAD_USE_OCE=OFF.  However, in my build, that didn't work, and I
> had to explicitly set KICAD_USE_OCE=OFF.
>
> Steve
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp