Hello Ports@,

Solvespace is a 2D/3D parametric CAD software with GTK based GUI Interface.
You can find further informations, tutorials and documentation at [0]

After my previous attempts on solvespace 2.3 [1] I gave up for quite a time
and
I saw recently that Johannes was giving a try to new release [2] . We
teamed up
off-list to work out the things and we ended to a working version of 3.1
release

This release comes with an external library bundle so we chose to keep only
the necessary ones and to link against port's ones as far as possible.
About memory management solvespace has chosen mimalloc as a dependency [3]
so
we went with secure build and override options

Then, here is a description of our patches :

cmake/FindCairo.cmake : cmake glue committed to upstream to fix FreeBSD
build
Create that one as well

CMakeLists.txt : specifying commit reference for cmake - Cairo Detection fix
skip spaceware and backtrace detection

src/bsp.cpp,mesh.cpp : silence clang warning by directly calling
arc4random()

src/platform/guigtk.cpp : If Glib::get_charset() call fails (in a non fatal
fashion) program exits . Avoid that

src/resource.cpp : translation related warnings are buggy and not very
relevant.
silence them to see more relevant reports in the console

src/textscreens.cpp,textwin.cpp : enforce use of snprintf() over sprintf()

We tried to make the tests work but the testsuite itself is more or less
broken
and trying to use the cmake framework didn't work either. Our conclusion
was that
making tests work would require extensive patching, so we wondered if it
would
be worth the time ?

Port built and tested on amd64 by Johannes and Me.
portcheck and make port-lib-depends-check are happy

Tests and comments are very appreciated.
Kind regards,
Jerome

[0] https://solvespace.com/
[1] https://marc.info/?l=openbsd-ports&m=1

Attachment: solvespace-3.1.tar.gz
Description: application/gzip

Reply via email to