sankey wrote:It looks like (lib)opencascade was historically available in an ubuntu release:
I wonder why it got dropped. No maintainer?
It was also available in Debian. Most Ubuntu packages come from Debian.
No, back then it was a licensing issue. OCC had its own custom license that wasn't considered truly free by some Linux distros. The project was also not very welcoming of patches from the community (OCC is also licensed commercially to paying customers), and its build system made it hard to compile on many platforms. This was the reasons for the OCE fork in 2011, which was licensed under the LGPL. Debian/Ubuntu switched to it around 2012.
In 2013 OCCT was re-licensed under the LGPL, and a collaborative development portal with a git repo was added before. And OCCT 7.0.0 released in early 2016 was migrated to the CMake build system.
sgrogan wrote:I can reproduce the error with
And I confirm it with
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10473 (Git)
Build type: Unknown
Branch: master
Hash: 78b986a2657b7de79b6e350a2535dc0fbfe3f1cf
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
sankey wrote:Now's not the time for me to start ramping up on Debian packaging,
Why not? Most of the work was just done for the Ubuntu PPA, the adjustments would be ridiculously simple for your purpose.
- Download the OCCT 7.1.0 source tarball:
Code: Select all
wget "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=89aebdea8d6f4d15cfc50e9458cd8e2e25022326;sf=tgz"
- Extract it
- Download attached debian-occt7.1.tar.gz file
- Extract it into the source OCCT folder
- Go into /debian/changelog and replace its content with
Code: Select all
opencascade (7.1.0-0) stable; urgency=low
* Initial Release of Open Cascade Technology 7.1.0 (OCCT).
-- Your Name <your email> Sun, 05 Mar 2017 05:00:33 -0500
Unless it should be "jessie" instead of "stable"?
- cd to the source folder and run
Where you replace the "2" digit with the number of processes you want the build to run.
Then you wait!