From: Stuart Henderson Subject: Re: [NEW] cad/clipper2 1.5.4 (cad/openscad dependency 1/4) To: ports@openbsd.org Date: Thu, 2 Oct 2025 08:49:35 +0100 On 2025/10/01 20:07, Andrew Hewus Fresh wrote: > This is a requirement of OpenSCAD now, needed to update to a working nightly. (i.e. to unbreak openscad which was broken by the boost update) > * I can't seem to get tests to work, not a big deal, may try to fix later > * This is specifically the clipper2/CPP, should the port name reflect > that, with the opportunity to provide multi-packages in the future? no need to complicate things now, if there's a use case for others then things can be rearranged later (which might look different to multi packages anyway) > You an also see it on my cvsweb or anoncvs checkout: > > https://cvs.afresh1.com/cgi-bin/cvsweb/mystuff-openscad/ > > $ cvs -d anoncvs@cvs.afresh1.com:/cvs co mystuff-openscad > > Comments, OK to import? comments inline, new tar attached. this is broadly ok but it needs checking with godot4 and kicad which have bundled copies to see whether they pick it up if installed. : The Clipper2 library performs intersection, union, difference and : XOR boolean operations on both simple and complex polygons. It also : performs polygon offsetting. This is a major update of my original : Clipper library that was written over 10 years ago. That library : I'm now calling Clipper1, and while it still works very well, : Clipper2 is better in just about every way. last few sentences are just noise for DESCR : COMMENT = cutting-edge 3D printing slicer software wrong comment : CATEGORIES = cad devel no point listing devel maths and/or graphics might make sense but i think just cad is enough : # Used by cad/openscad so match COMPILER needed for itself too really, but that's hidden because your version only built static libs. I switched to shared in mine. : #BUILD_DEPENDS = devel/gtest .. : # I had trouble getting gtest to link : #CONFIGURE_ARGS = -DUSE_EXTERNAL_GTEST=ON : CONFIGURE_ARGS = -DCLIPPER2_TESTS=OFF I didn't try before changing from static libs, but this works ok for me with shared libs