Index | Thread | Search

From:
Andrew Hewus Fresh <andrew@afresh1.com>
Subject:
[WIP] OpenSCAD nightly port
To:
ports@openbsd.org
Date:
Wed, 24 Sep 2025 12:36:26 -0700

Download raw body.

Thread
With the latest release of OpenSCAD being broken in the ports tree, I
started working on a port of a "nightly" snapshot.  Since they changed a
_lot_ of stuff, I started from scratch, although I did try to minimize
the diff with the existing port.

It is attached, but changes will be reflected in my cvs until I can get
it tuned up well enough to get committed.
(Like I just spotted a capital letter starting a COMMENT)

https://cvs.afresh1.com/cgi-bin/cvsweb/mystuff-openscad/

You can check it out with:
$ cvs -d anoncvs@cvs.afresh1.com:/cvs co mystuff-openscad

# cvs.afresh1.com:22 SSH-2.0-OpenSSH_10.0
cvs.afresh1.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEO0ueW3ls9JtH6QDEKbTqciaGHeGXZyfncyVvbNe2/I

Then either symlink or `mv mystuff-openscad /usr/ports/mystuff` and
either rename/remove the old /usr/ports/cad/openscad or add
`PORTSDIR_PATH=/usr/ports/mystuff:/usr/ports` to /etc/mk.conf.


Some notes on why this is a WIP (the first is the important one).

* In cad/openscad, I patched out boost::dll::program_location similarly
  to how cad/prusaslicer did it, but running without the fully qualified
  path doesn't work, that value is not correct and it doesn't find
  share/openscad.

* I patched out the "joystick" support, because AFAICT only i386 has a
  joystick driver.  I'm not sure, but it seems weird.
* It might be useful to figure out how to enable libhidapi though.
* I include an (unused) port of devel/mimalloc, which is optional and I
  don't _think_ we want it.
* I can't seem to get cad/clipper2 tests to work, not a big deal
* This is specifically the clipper2/CPP, should the port name reflect
  that, with the opportunity to provide multi-packages in the future?
* sanitizers-cmake is weird, they don't do releases I guess,
  not sure how best to handle that.  Would it be better to do the way I
  am getting MCAD?


Beyond those specific comments, just the regular "what could be
improved?"