git: a76a16749b31 - main - cad/openscad-devel: Update

From: Michael Reifenberger <mr_at_FreeBSD.org>
Date: Sun, 13 Oct 2024 11:28:41 UTC
The branch main has been updated by mr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a76a16749b3127f0d62a2ac5361353c1c5d3622c

commit a76a16749b3127f0d62a2ac5361353c1c5d3622c
Author:     Michael Reifenberger <mr@FreeBSD.org>
AuthorDate: 2024-10-13 11:27:30 +0000
Commit:     Michael Reifenberger <mr@FreeBSD.org>
CommitDate: 2024-10-13 11:28:21 +0000

    cad/openscad-devel: Update
    
    Unbreak and update to a more recent snapshot 2024.10.11
---
 cad/openscad-devel/Makefile                       | 32 +++++++++++------------
 cad/openscad-devel/distinfo                       | 16 ++++++++----
 cad/openscad-devel/files/patch-src_handle__dep.cc |  8 ------
 cad/openscad-devel/pkg-plist                      |  3 +++
 4 files changed, 30 insertions(+), 29 deletions(-)

diff --git a/cad/openscad-devel/Makefile b/cad/openscad-devel/Makefile
index 61fe24a7350d..0dc0bc577220 100644
--- a/cad/openscad-devel/Makefile
+++ b/cad/openscad-devel/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	openscad
-PORTVERSION=	2022.12.20
-PORTREVISION=	2
+PORTVERSION=	2024.10.11
 #PORTREVISION=	1
 CATEGORIES=	cad
 PKGNAMESUFFIX=	-devel
@@ -16,7 +15,10 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	cgal>0:math/cgal \
-		evdev-proto>0:devel/evdev-proto
+		evdev-proto>0:devel/evdev-proto \
+		${LOCALBASE}/include/glm/glm.hpp:math/glm \
+		${LOCALBASE}/include/clipper2/clipper.h:cad/Clipper2 \
+		${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
 LIB_DEPENDS=	libzip.so:archivers/libzip \
 		libhidapi.so:comms/hidapi \
 		libboost_regex.so:devel/boost-libs \
@@ -27,33 +29,31 @@ LIB_DEPENDS=	libzip.so:archivers/libzip \
 		libfreetype.so:print/freetype2 \
 		libharfbuzz.so:print/harfbuzz \
 		libfontconfig.so:x11-fonts/fontconfig \
-		libdouble-conversion.so:devel/double-conversion
+		libdouble-conversion.so:devel/double-conversion \
+		libasound_module_pcm_oss.so:audio/alsa-plugins \
+		libtbb.so:devel/onetbb
 
 CONFLICTS=	openscad
 
 USES=		bison cmake compiler:c++14-lang cpe desktop-file-utils eigen:3 gettext \
-		gl gnome pkgconfig qt:5 shared-mime-info xorg
+		gl gnome pkgconfig python qt:5 shared-mime-info xorg
 USE_GITHUB=	yes
 USE_GL=		gl glu glew
 USE_GNOME=	cairo glib20 libxml2
-USE_QT=		buildtools:build core concurrent:build dbus gui multimedia qmake:build svg widgets
+USE_QT=		buildtools:build core concurrent:build dbus gui multimedia qmake svg widgets
 USE_XORG=	x11
-GH_ACCOUNT=	microsoft:mimalloc
-GH_PROJECT=	MCAD:mcad mimalloc:mimalloc
-GH_TAGNAME=	b621fa6d3d2d2d795b30d1b6aade6ff1b3c8ba29 bd0a7ba3f042bfbced5ca1894b236cea08904e26:mcad v2.0.3:mimalloc
-GH_SUBDIR=	libraries/MCAD:mcad submodules/mimalloc:mimalloc
-#QMAKE_ARGS=	CONFIG+="experimental" VERSION=${PORTVERSION}
+GH_ACCOUNT=	microsoft:mimalloc elalish:manifold arsenm:sanitizerscmake openscad:opencsg
+GH_PROJECT=	MCAD:mcad mimalloc:mimalloc manifold:manifold sanitizers-cmake:sanitizerscmake OpenCSG:opencsg
+GH_TAGNAME=	19a4d67 bd0a7ba3f042bfbced5ca1894b236cea08904e26:mcad \
+		fe61be8:mimalloc 22c6605:manifold c3dc841:sanitizerscmake 059a173:opencsg
+GH_SUBDIR=	libraries/MCAD:mcad submodules/mimalloc:mimalloc submodules/manifold:manifold \
+		submodules/sanitizers-cmake:sanitizerscmake submodules/OpenCSG:opencsg
 # Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport)
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-Wl,--as-needed -L${LOCALBASE}/lib
 
 .include <bsd.port.pre.mk>
 
-#post-patch:
-#	@${REINPLACE_CMD} 's/-libusb//' ${WRKSRC}/features/hidapi.prf
-#	@${REINPLACE_CMD} -e 's,share/man,man,' \
-#		${WRKSRC}/openscad.pro
-
 do-install:
 	${CMAKE_BIN} --install ${BUILD_WRKSRC} --prefix ${STAGEDIR}${PREFIX}
 
diff --git a/cad/openscad-devel/distinfo b/cad/openscad-devel/distinfo
index c4aa207495cb..39bc26ab97c4 100644
--- a/cad/openscad-devel/distinfo
+++ b/cad/openscad-devel/distinfo
@@ -1,7 +1,13 @@
-TIMESTAMP = 1671651024
-SHA256 (openscad-openscad-2022.12.20-b621fa6d3d2d2d795b30d1b6aade6ff1b3c8ba29_GH0.tar.gz) = 8c2877a623a1ce0411d0ba5999b11cd5ebfc61fc7ea8589eafa9fa6158b8f8a2
-SIZE (openscad-openscad-2022.12.20-b621fa6d3d2d2d795b30d1b6aade6ff1b3c8ba29_GH0.tar.gz) = 23121605
-SHA256 (microsoft-mimalloc-v2.0.3_GH0.tar.gz) = 5af497f360879bf9d07a5146961d275a25f4177fbe21ee6c437db604422acd60
-SIZE (microsoft-mimalloc-v2.0.3_GH0.tar.gz) = 917461
+TIMESTAMP = 1728663723
+SHA256 (openscad-openscad-2024.10.11-19a4d67_GH0.tar.gz) = ad9389d3657c9283ef27d03bea25b324bde2b3c87686a65939a6876b39ce58b6
+SIZE (openscad-openscad-2024.10.11-19a4d67_GH0.tar.gz) = 25286240
+SHA256 (microsoft-mimalloc-fe61be8_GH0.tar.gz) = 3669f0f83e3d904cbef5625be2105cb8438428de2e152740220a7acead1b8800
+SIZE (microsoft-mimalloc-fe61be8_GH0.tar.gz) = 1127821
+SHA256 (elalish-manifold-22c6605_GH0.tar.gz) = 896655257392ba1e4976e5e5aca5b75f5755b2822ce636a454b11ef04c358b8a
+SIZE (elalish-manifold-22c6605_GH0.tar.gz) = 28752916
+SHA256 (arsenm-sanitizers-cmake-c3dc841_GH0.tar.gz) = bc5cddf6451c3edecc75bf605e7976cb47208d31021db6f5bf99c579efc01f5a
+SIZE (arsenm-sanitizers-cmake-c3dc841_GH0.tar.gz) = 7436
+SHA256 (openscad-OpenCSG-059a173_GH0.tar.gz) = d84ec6f6b4857a5563701018673378d630b95702f2706b2a5eb2ab0c64e32da5
+SIZE (openscad-OpenCSG-059a173_GH0.tar.gz) = 299886
 SHA256 (openscad-MCAD-bd0a7ba3f042bfbced5ca1894b236cea08904e26_GH0.tar.gz) = 1f7003bf1bdfe9c7e5898eb5e82c54834b156569e79da97d906f3bbcf7c5549c
 SIZE (openscad-MCAD-bd0a7ba3f042bfbced5ca1894b236cea08904e26_GH0.tar.gz) = 58895
diff --git a/cad/openscad-devel/files/patch-src_handle__dep.cc b/cad/openscad-devel/files/patch-src_handle__dep.cc
deleted file mode 100644
index 6c23311f11e6..000000000000
--- a/cad/openscad-devel/files/patch-src_handle__dep.cc
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/handle_dep.cc.orig	2021-10-23 10:18:49 UTC
-+++ src/handle_dep.cc
-@@ -1,3 +1,5 @@
-+#include <sys/types.h>
-+#include <sys/wait.h>
- #include "handle_dep.h"
- #include "printutils.h"
- #include <string>
diff --git a/cad/openscad-devel/pkg-plist b/cad/openscad-devel/pkg-plist
index 280f72d3d666..ffee6166f86d 100644
--- a/cad/openscad-devel/pkg-plist
+++ b/cad/openscad-devel/pkg-plist
@@ -22,10 +22,12 @@ share/mime/packages/openscad.xml
 %%DATADIR%%/color-schemes/readme.txt
 %%DATADIR%%/color-schemes/render/beforedawn.json
 %%DATADIR%%/color-schemes/render/clearsky.json
+%%DATADIR%%/color-schemes/render/daylight-gem.json
 %%DATADIR%%/color-schemes/render/deepocean.json
 %%DATADIR%%/color-schemes/render/metallic.json
 %%DATADIR%%/color-schemes/render/monotone.json
 %%DATADIR%%/color-schemes/render/nature.json
+%%DATADIR%%/color-schemes/render/nocturnal-gem.json
 %%DATADIR%%/color-schemes/render/solarized.json
 %%DATADIR%%/color-schemes/render/starnight.json
 %%DATADIR%%/color-schemes/render/sunset.json
@@ -169,6 +171,7 @@ share/mime/packages/openscad.xml
 %%DATADIR%%/locale/es/LC_MESSAGES/openscad.mo
 %%DATADIR%%/locale/fr/LC_MESSAGES/openscad.mo
 %%DATADIR%%/locale/hy/LC_MESSAGES/openscad.mo
+%%DATADIR%%/locale/ka/LC_MESSAGES/openscad.mo
 %%DATADIR%%/locale/pl/LC_MESSAGES/openscad.mo
 %%DATADIR%%/locale/ru/LC_MESSAGES/openscad.mo
 %%DATADIR%%/locale/tr/LC_MESSAGES/openscad.mo