Opencascade for the masses?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Opencascade for the masses?
Long story short, the Homebrew macOS package management team will not accept an opencascade formula that does not download the source tarball from the official opencascade site but the opencascade download site requires credentials to download the tarball - not possible in a formula. Does anyone know of a solution or how to best to reach the opencascade team for possible solutions? While we can host an opencascade formula in the FreeCAD-homebrew tap, it would be better for the opencascade ecosystem to offer it more broadly in the HomeBrew core with prebuilt bottles.
I'm ready and willing to continue my work on the formula and work with the Homebrew team to make it generally available but need to get past this small hurdle.
I'm ready and willing to continue my work on the formula and work with the Homebrew team to make it generally available but need to get past this small hurdle.
Re: Opencascade for the masses?
I've had good success getting typo patches submitted via http://www.salome-platform.org/forum/forum_9
It's safe to say that the OCC Devs keep an eye on the forums. But maybe a personal more direct way is more ideal?
It's safe to say that the OCC Devs keep an eye on the forums. But maybe a personal more direct way is more ideal?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Opencascade for the masses?
Thanks. @saso pointed me to Quaor who provided the contact information for the Opencascade kernel project. I have penned a note to him - hopefully he will be able to help directly or point me to someone who can.Kunda1 wrote: ↑Mon Dec 18, 2017 8:32 pm I've had good success getting typo patches submitted via http://www.salome-platform.org/forum/forum_9
It's safe to say that the OCC Devs keep an eye on the forums. But maybe a personal more direct way is more ideal?
Re: Opencascade for the masses?
Until they change the policy (provide credentials to download) you could i guess try to download a snapshot (provided in tar.gz or zip format) and see how that goes. Browsing through:
http://git.dev.opencascade.org/gitweb/? ... a=shortlog
And taking a quick glance this looks relevant:
P.S. Downloading a snapshot by for example using wget highly likely should be achievable.
http://git.dev.opencascade.org/gitweb/? ... a=shortlog
And taking a quick glance this looks relevant:
Code: Select all
2017-08-30 bugmaster Incrementing OCCT version up to 7.2.0 commit | commitdiff | tree | snapshot (tar.gz zip)
Re: Opencascade for the masses?
Thanks but something like that won't work because each separate download yields a different sha so the git snapshot process must mutate some of the tarball content slightly.triplus wrote: ↑Tue Dec 19, 2017 12:19 am http://git.dev.opencascade.org/gitweb/? ... a=shortlog
P.S. Downloading a snapshot by for example using wget highly likely should be achievable.
Code: Select all
curl -L -o opencascade-7.2.0.tgz "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_2_0;sf=tgz"
openssl sha -sha256 opencascade-7.2.0.tgz
SHA256(opencascade-7.2.0.tgz)= f9a81ca2267635773af9fff80625735dd4f65389af986fe93a94263081b422e9
Re: Opencascade for the masses?
As oce is not yet adopting occ version 7.0 and higher, we could try to create a kind of community fork of occ7.2 on github.
Re: Opencascade for the masses?
@Quaoar provided the contact information for the Opencascade Kernel project manager. I have reached out to him and he is interested in finding a solution to support Homebrew and said he will get back to my later this week. Fingers-crossed that this will bear fruit.
Last edited by blacey on Tue Dec 19, 2017 3:27 pm, edited 1 time in total.
Re: Opencascade for the masses?
ok, this is definitely a better solution.
Re: Opencascade for the masses?
Interesting.
Nice!@Quoroar provided the contact information for the Opencascade Kernel project manager. I have reached out to him and he is interested in finding a solution to support Homebrew and said he will get back to my later this week. Fingers-crossed that this will bear fruit.
Re: Opencascade for the masses?
md5deep doesn't find any differences between two downloads so I wonder if it is simply some metadata on the tarball that causes the sha to change.
Code: Select all
$ openssl sha -sha256 opencascade-7.2.0.a.tgz
SHA256(opencascade-7.2.0.a.tgz)= 7aecff59b9f4bc3dda87059c7b91f6d6be1ff0f4d80aef2704e11df51cc4dd1e
$ openssl sha -sha256 opencascade-7.2.0.b.tgz
SHA256(opencascade-7.2.0.b.tgz)= 0747951dee19c4fc644843d90218349e5d3192500da5282f5d3a923fe9c77448
$ md5deep -r -s occt-V7_2_0.a > /tmp/occt.a.sums
$ md5deep -r -X /tmp/occt.a.sums occt-V7_2_0.b