GNU bug report logs - #78293
[PATCH 0/2] Update openscad to 2025.05.02 and add manifold

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: nomike <nomike@HIDDEN>; Keywords: patch; Done: Danny Milosavljevic <dannym@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 78293 <at> debbugs.gnu.org and nomike <nomike@HIDDEN> Request was from Danny Milosavljevic <dannym@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 78293 <at> debbugs.gnu.org:


Received: (at 78293) by debbugs.gnu.org; 7 May 2025 05:32:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 07 01:32:26 2025
Received: from localhost ([127.0.0.1]:38661 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXOL-0003Jh-Np
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:32:26 -0400
Received: from seashell.cherry.relay.mailchannels.net ([23.83.223.162]:29557)
 by debbugs.gnu.org with esmtps
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2)
 (envelope-from <nomike@HIDDEN>) id 1uCXOI-0003JU-Mz
 for 78293 <at> debbugs.gnu.org; Wed, 07 May 2025 01:32:23 -0400
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 8D68316492F;
 Wed,  7 May 2025 05:32:21 +0000 (UTC)
Received: from pdx1-sub0-mail-a227.dreamhost.com
 (100-118-113-197.trex-nlb.outbound.svc.cluster.local [100.118.113.197])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 4B93816590E;
 Wed,  7 May 2025 05:32:21 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1746595941; a=rsa-sha256;
 cv=none;
 b=R5C3W0iFh7bLBHj8MdTDWo1GOmt+UyipQE+oUXTU85iCz9LamLlm/dpgSALCF8WOMDRkvJ
 eHcakCz8tt0E+ApY/fwIXxBOJpLYEfObbRxOE/GGkww84jou9FZdrdT7yDsyB6JuyoQGh+
 MAkbczfaHFfghtiQloNsWpS/9AVBGWOlLx5phVwX/q/SjaXJpvLqZBfBkDy48itpZfB7fU
 pvtodZB6e1AWWqGbOSzLpjIS7J9xLEdAlP5VkqKtZf/meci7erETGfNWMDeAN8JOfgWseI
 bTXAosDnnA+7Wiau87v8IPyq29rGQGrsi3HakZ9iLzEViRLFOJyuja/vQOzczA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1746595941;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:dkim-signature;
 bh=V1GRWHaig37GSLQgSzjJgxqLZp3OcsfJgWY1BkIb6X4=;
 b=acGYFi+e2AgITwLu/ULbsMwsVzp2If6uBMG2/gsiZHLExqzB35VoKTvi7roImyxOS0y3ub
 5h8FpqvR0RCV+0xb/xproIkeHZNIonYB/3Ibqah///UabEOTRpEWFZMc/O7SEq2A+vj34v
 tpUN/0tV9UYEj7XBCybDoI0g8+lBxSKffR/wkExCMTKaB3qzm7Kj5y1jkZxU5vpo2jQenv
 xUAcdyR5g2dh5moZyGbPTXWn65jJtQMJpTy7XQQGb+HxcHb5mgO23kH30+5Lp2acMS7Rh/
 I6EBgAQJzD8OpkCmB2LilzqnBPMOOk2vekCKta1BgGWz/yJHrCbfpAhQlwiNHw==
ARC-Authentication-Results: i=1; rspamd-6954bcdf67-vbd95;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@HIDDEN
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Tank-Blushing: 1a1741b55f26134b_1746595941521_2022902932
X-MC-Loop-Signature: 1746595941521:1782113521
X-MC-Ingress-Time: 1746595941520
Received: from pdx1-sub0-mail-a227.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.118.113.197 (trex/7.0.3); Wed, 07 May 2025 05:32:21 +0000
Received: from localhost (84-112-221-106.cable.dynamic.surfer.at
 [84.112.221.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: nomike@HIDDEN)
 by pdx1-sub0-mail-a227.dreamhost.com (Postfix) with ESMTPSA id 4ZskRS5fFvz7f; 
 Tue,  6 May 2025 22:32:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1746595941;
 bh=V1GRWHaig37GSLQgSzjJgxqLZp3OcsfJgWY1BkIb6X4=;
 h=From:To:Cc:Subject:Date:Content-Transfer-Encoding;
 b=PJ+I8gE09Kusx/Anh/0/BUmt+1DmXgMjhtU5ArJaC28V72bxNqLvZZiGJ/JEZ+pD0
 Bd0iKfUO/ogQ+cNMxtjvHsGob0DTzEgsQNBUzoSsI3QSIUl/NF5Adek83y+52MEBwI
 e+ynAeni9yIFaPOXJ+TH8h4wn1tqGvi7e8DNLWHlHr7Ja2ROVqy9OIxl2t/GclLJtg
 J9C5ywoVKkDo+7Vv22Rhuc8q7fDO4yuC19VGEx4fB+bkooHio3Nsl9QsYYW3t+soje
 nFgT+GNd3aige41MruNqGlkYhm99dOi6o4D403M7o+AwNXaaLUxBPMBrIoJuhViw1k
 sFcobPrPjyi+A==
From: nomike <nomike@HIDDEN>
To: 78293 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: openscad: Upate to 2025.05.02
Date: Wed,  7 May 2025 07:31:50 +0200
Message-ID: <20250507053152.3613895-2-nomike@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250507053152.3613895-1-nomike@HIDDEN>
References: <20250507053152.3613895-1-nomike@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: nomike <nomike@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78293
Cc: nomike <nomike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/engineering.scm (openscad): Upate to 2025.05.02

Change-Id: Ie260ce208f03c34bc29f01dadabf94ae840b8164
---
 gnu/packages/engineering.scm | 224 ++++++++++++++++++++---------------
 1 file changed, 126 insertions(+), 98 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 3c0dcde0ea..1bc90b47c2 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -123,6 +123,7 @@ (define-module (gnu packages engineering)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages image-processing)
   #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)               ;FIXME: for pcb
@@ -3182,104 +3183,131 @@ (define-public python-lcapy
     (license license:lgpl2.1+)))
 
 (define-public openscad
-  (package
-    (name "openscad")
-    (version "2021.01")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://files.openscad.org/openscad-" version
-                           ".src.tar.gz"))
-       (sha256
-        (base32
-         "0n83szr88h8snccjrslr96mgw3f65x3sq726n6x5vxp5wybw4f6r"))
-       (patches
-        ;; Upstream patches to make version 2021.01 build with recent versions
-        ;; of boost and cgal.
-        (search-patches "openscad-with-cgal-5.3.patch"
-                        "openscad-with-cgal-5.4.patch"
-                        "openscad-fix-boost-join.patch"))))
-    (build-system cmake-build-system)
-    (inputs
-     (list boost
-           cgal
-           double-conversion
-           eigen
-           fontconfig
-           glew
-           gmp
-           harfbuzz
-           lib3mf
-           libxml2
-           libzip
-           mpfr
-           opencsg
-           qscintilla
-           qtbase-5
-           qtmultimedia-5))
-    (native-inputs
-     (list bison
-           flex
-           gettext-minimal
-           pkg-config
-           which
-           ;; the following are only needed for tests
-           imagemagick
-           procps
-           python
-           xorg-server-for-tests))
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'configure
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "qmake"
-                     (string-append "PREFIX=" (assoc-ref outputs "out")))))
-         (replace 'check
-           (lambda _
-             (with-directory-excursion "tests"
-               (invoke "cmake" ".")
-               (invoke "make")
-               (invoke "ctest" "--exclude-regex"
-                       (string-join
-                        (list
-                         "astdumptest_allexpressions"
-                         "echotest_function-literal-compare"
-                         "echotest_function-literal-tests"
-                         "echotest_allexpressions"
-                         "lazyunion-*"
-                         "pdfexporttest_centered"
-                         "pdfexporttest_simple-pdf"
-
-                         ;; Broken due since cgal@HIDDEN +
-                         ;; https://github.com/CGAL/cgal/pull/5371 (security)
-                         ;; FIXME: Investigate or wait for future releases to
-                         ;; fix it.
-                         ;; Unsure if wrong test-suite or wrong security
-                         ;; patch.
-                         "cgalpngtest_nef3_broken"
-                         "opencsgtest_nef3_broken"
-                         "csgpngtest_nef3_broken"
-                         "throwntogethertest_nef3_broken"
-
-                         ;; FIXME: Tests probably broken by the patches allowing
-                         ;; to build with recent cgal versions.
-                         "cgalpngtest_polyhedron-nonplanar-tests"
-                         "csgpngtest_polyhedron-nonplanar-tests"
-                         "monotonepngtest_polyhedron-nonplanar-tests"
-                         "cgalstlcgalpngtest_polyhedron-nonplanar-tests"
-                         "cgalbinstlcgalpngtest_polyhedron-nonplanar-tests")
-                        "|")))
-             ;; strip python test files since lib dir ends up in out/share
-             (for-each delete-file
-                       (find-files "libraries/MCAD" ".*\\.py")))))))
-    (synopsis "Script-based 3D modeling application")
-    (description
-     "OpenSCAD is a 3D Computer-aided Design (CAD) application.  Unlike an
-interactive modeler, OpenSCAD generates 3D models from a script, giving you
-full programmatic control over your models.")
-    (home-page "https://www.openscad.org/")
-    (license license:gpl2+)))
+  (let ((commit "d1351d6282abfd239cdd0c657f755d8c4a123ff8")
+        (version "2025.05.02")
+        (revision "0"))
+    (package
+      (name "openscad")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/openscad/openscad")
+               (commit commit)
+               (recursive? #t)))
+         (sha256
+          (base32 "0cgls75dk9hjfym8rp0vpnnlz1fdawd746nnw3343gvhljqv36cn"))
+         (file-name (git-file-name name version))))
+      (build-system qt-build-system)
+      (arguments
+       (list
+        #:configure-flags
+        #~(list "-DCMAKE_BUILD_TYPE=Release"
+                "-DUSE_BUILTIN_OPENCSG=ON"
+                "-DMANIFOLD_PYBIND=OFF"
+                "-DMANIFOLD_TEST=OFF"
+                "-DENABLE_TESTS=OFF"
+                "-DEXPERIMENTAL=ON"
+                "-DSNAPSHOT=ON"
+                "-DUSE_BUILTIN_CLIPPER2=OFF"
+                (string-append "-DOPENSCAD_VERSION="
+                               #$version)
+                (string-append "-DOPENSCAD_COMMIT="
+                               #$commit)
+                "-DENABLE_EGL=ON"
+                "-DENABLE_GLX=ON")
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'check)
+            (add-after 'unpack 'patch-source
+              (lambda* (#:key inputs #:allow-other-keys)
+                ;; https://github.com/openscad/openscad/issues/5877
+                (substitute* "cmake/Modules/FindLib3MF.cmake"
+                  (("PC_LIB3MF_INCLUDE_DIRS")
+                   "PC_LIB3MF_INCLUDEDIR"))
+                (substitute* "CMakeLists.txt"
+                  ;; https://github.com/openscad/openscad/issues/5880
+                  (("target_link_libraries\\(OpenSCAD PRIVATE OpenGL::EGL\\)")
+                   "      find_package(ECM REQUIRED NO_MODULE)
+      list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
+      find_package(EGL REQUIRED)
+      target_link_libraries(OpenSCAD PRIVATE EGL::EGL)")
+                  ;; Use the system sanitizers-cmake module.
+                  (("\\$\\{CMAKE_SOURCE_DIR\\}/submodules/sanitizers-cmake/cmake")
+                   (string-append (assoc-ref inputs "sanitizers-cmake")
+                                  "/share/sanitizers-cmake/cmake"))))))))
+      (inputs (list boost
+                    cairomm
+                    cgal
+                    clipper2
+                    double-conversion
+                    eigen
+                    egl-wayland
+                    fontconfig
+                    freetype
+                    glew
+                    glib
+                    gmp
+                    harfbuzz
+                    hidapi
+                    lib3mf
+                    libcanberra
+                    libspnav
+                    libxml2
+                    libzip
+                    manifold
+                    mesa
+                    ;; mesa-glvnd
+                    mimalloc
+                    mpfr
+                    opencsg
+                    qscintilla
+                    qtbase-5
+                    qtmultimedia-5
+                    qtsvg-5
+                    qtwayland-5
+                    sanitizers-cmake
+                    tbb))
+      (native-inputs (list bison
+                           extra-cmake-modules
+                           flex
+                           gettext-minimal
+                           pkg-config
+                           which
+                           xvfb-run
+                           ;; the following are only needed for tests
+                           imagemagick
+                           ghostscript
+                           procps
+                           python-numpy
+                           python-pillow
+                           python
+                           xorg-server-for-tests))
+      (synopsis "Script-based 3D modeling application")
+      (description
+       "OpenSCAD is a software for creating solid 3D CAD objects.  It is free
+software and available for Linux/UNIX, MS Windows and macOS.
+Unlike most free software for creating 3D models (such as the famous
+application Blender), OpenSCAD focuses on the CAD aspects rather than the
+artistic aspects of 3D modeling.  Thus this might be the application you are
+looking for when you are planning to create 3D models of machine parts but
+probably not the tool for creating computer-animated movies.
+OpenSCAD is not an interactive modeler.  Instead it is more like a 3D-compiler
+that reads a script file that describes the object and renders the 3D model
+from this script file. This gives you, the designer, complete control over the
+modeling process and enables you to easily change any step in the modeling
+process or make designs that are defined by configurable parameters.
+OpenSCAD provides two main modeling techniques: First there is constructive
+solid geometry (aka CSG) and second there is extrusion of 2D outlines.  As the
+data exchange format for these 2D outlines Autocad DXF files are used.  In
+addition to 2D paths for extrusion it is also possible to read design
+parameters from DXF files.  Besides DXF files OpenSCAD can read and create 3D
+models in the STL and OFF file formats.")
+      (home-page "https://openscad.org/")
+      (license license:gpl2+))))
+
+
 
 (define-public emacs-scad-mode
   (package
-- 
2.49.0





Information forwarded to nomike@HIDDEN, guix-patches@HIDDEN:
bug#78293; Package guix-patches. Full text available.

Message received at 78293 <at> debbugs.gnu.org:


Received: (at 78293) by debbugs.gnu.org; 7 May 2025 05:32:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 07 01:32:18 2025
Received: from localhost ([127.0.0.1]:38658 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXOE-0003JG-0q
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:32:18 -0400
Received: from tiger.tulip.relay.mailchannels.net ([23.83.218.248]:59945)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <nomike@HIDDEN>) id 1uCXOB-0003J1-Nv
 for 78293 <at> debbugs.gnu.org; Wed, 07 May 2025 01:32:16 -0400
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 0385C8A511E;
 Wed,  7 May 2025 05:32:14 +0000 (UTC)
Received: from pdx1-sub0-mail-a227.dreamhost.com
 (trex-5.trex.outbound.svc.cluster.local [100.117.42.47])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id DEA688A513D;
 Wed,  7 May 2025 05:32:11 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1746595931; a=rsa-sha256;
 cv=none;
 b=PW7ItiPSq+TmDvouZDpjtatH6+P9pPF4Vh9YVdShXe+KAE+OPoy9/n4kDYJEKxslvy69gY
 sRRQ2InWo0zhvbytqZYwXUq83TO/gZzb4SH9JR7wudETPyuKsBAuFwWBT4q3I7mhIy5iXm
 osuDjuA8nvGuu+DM4dPV28e88bYGwIKuapJCda1Tumy2/18l9K9THrgH61hBb0+hxARNEy
 DmrueZAMWHau9ATslPHLUzJ/rK8Pb7HoAgklB1BJC7V5fNBhF3cQ9zogV4Oe4HU4iNYACT
 U8s3CFxXoyIYCsVEq8+PnUdlkQSfKDJP6tu/HkffZU6+jV3oi2+L2xLyhPT3fQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1746595931;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:dkim-signature;
 bh=rzeRDODjE4HCyBAmhSf/vXirc+Jc1I1vCECPEIoJNLs=;
 b=h5KCTsG/OaFm6oXhprhuJQZQMlLWR3gkJb3kyycvQdTyylVTLqWlKYsijdJZys3wyFgeti
 qR3Y9ukP3fW1bDx/XWfWn8nMq1nakSnCVE0jyrS66H6+qllBmHrjqAGlOdZ1Q6OotCQnro
 TmXDe/VLlTQRrhnn8BtqAOYGzUoeyd8omUt5AtCaHMCVe746JOmGdLyq3Bev8BrhE4Jeo4
 O6q2Vp3ZqB+GBXx6ezjgyeyY0CrJp/GLYsl7Za+LHSIbVimjHvJ/vKjBfZQkNZSLqUA9uw
 EGR6a2gU2wgVhEiYTst6ycrbrEyEoaBApHwkIW6JjEQ8LsGXJr8PGR/rTT7DIw==
ARC-Authentication-Results: i=1; rspamd-6954bcdf67-pfmvk;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@HIDDEN
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Harbor-Oafish: 304f59376ea00e5d_1746595933672_2675124861
X-MC-Loop-Signature: 1746595933672:3241276453
X-MC-Ingress-Time: 1746595933671
Received: from pdx1-sub0-mail-a227.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.117.42.47 (trex/7.0.3); Wed, 07 May 2025 05:32:13 +0000
Received: from localhost (84-112-221-106.cable.dynamic.surfer.at
 [84.112.221.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: nomike@HIDDEN)
 by pdx1-sub0-mail-a227.dreamhost.com (Postfix) with ESMTPSA id 4ZskRH2hm7z7f; 
 Tue,  6 May 2025 22:32:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1746595931;
 bh=rzeRDODjE4HCyBAmhSf/vXirc+Jc1I1vCECPEIoJNLs=;
 h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding;
 b=acOHzpwNOKKTzzLEU7Ol3n52080bF5mTJrO1tIrcN1GkxofO9czO4e7KBgv34BCAW
 VgHz1tGX+6ei9rSp/J7xdFJCGSB1WRmw6ga5TD+bRjAnZt9IMIiDkmQ2pgOmuNHQvd
 kPqF2MsGjzXHkcpX2p/Wb/FHgSfb+pLFZkUkKnTtQff9Bpv3EdLem9dBR4Gk6BOa1o
 mj8b8ENOHgygj2vmGhmsNrzODGmsQuwIcJAcx4kkahU7bkUQYLodSRTUVqJSfnBU0k
 fAPTUtwM2gpw5ma+GWxsr4iQTqjB4doEyWwxE7+w4OFTYzluVSHQ/ff/Nh7Qbo6oTT
 yHjIz+/wR58PA==
From: nomike <nomike@HIDDEN>
To: 78293 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add manifold
Date: Wed,  7 May 2025 07:31:49 +0200
Message-ID: <20250507053152.3613895-1-nomike@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
X-Debbugs-Cc: nomike <nomike@HIDDEN>
Content-Type: text/plain; charset=yes
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78293
Cc: nomike <nomike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/engineering.scm (manifold): New variable

Change-Id: Id400803644cf3256a1e79c4ec2e16381c230f370
---
 gnu/packages/engineering.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 6d2aa021bb..3c0dcde0ea 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -42,6 +42,7 @@
 ;;; Copyright © 2024 Juliana Sims <juli@HIDDEN>
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@HIDDEN>
 ;;; Copyright © 2025 Frederick Muriuki Muriithi <fredmanglis@HIDDEN>
+;;; Copyright © 2025 nomike Postmann <nomike@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2918,6 +2919,34 @@ (define-public lib3mf
     (home-page "https://3mf.io/")
     (license license:bsd-2)))
 
+(define-public manifold
+  (package
+    (name "manifold")
+    (version "3.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elalish/manifold")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1f0k8937gk7b9100k99pmz1f17nzczpdk7797p2aijla0z29ddy1"))))
+    (build-system cmake-build-system)
+    (inputs (list tbb clipper2 assimp python-nanobind googletest))
+    (arguments
+     ;; can be removed when emscripten is packaged
+     `(#:configure-flags '("-DMANIFOLD_JSBIND=OFF")))
+    (synopsis "Geometry library for topological robustness")
+    (description
+     "Manifold is a geometry library dedicated to creating and operating on
+manifold triangle meshes.  A manifold mesh is a mesh that represents a solid
+object, and so is very important in manufacturing, CAD, structural analysis,
+etc..  Manifold also supports arbitrary vertex properties and enables mapping
+of materials for rendering use-cases.")
+    (home-page "https://github.com/elalish/manifold")
+    (license license:asl2.0)))
+
 (define-public python-keithley2600
   (package
     (name "python-keithley2600")
-- 
2.49.0





Information forwarded to nomike@HIDDEN, guix-patches@HIDDEN:
bug#78293; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 May 2025 05:21:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 07 01:21:49 2025
Received: from localhost ([127.0.0.1]:38593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uCXE4-0002ag-JH
	for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:21:49 -0400
Received: from lists.gnu.org ([2001:470:142::17]:46526)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <nomike@HIDDEN>) id 1uCXE1-0002aE-KK
 for submit <at> debbugs.gnu.org; Wed, 07 May 2025 01:21:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@HIDDEN>) id 1uCXDo-0007CX-BE
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:21:34 -0400
Received: from cornsilk.ash.relay.mailchannels.net ([23.83.222.40])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@HIDDEN>) id 1uCXDh-0001bS-8x
 for guix-patches@HIDDEN; Wed, 07 May 2025 01:21:27 -0400
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id A550B2C2520;
 Wed,  7 May 2025 05:21:17 +0000 (UTC)
Received: from pdx1-sub0-mail-a227.dreamhost.com
 (100-112-52-20.trex-nlb.outbound.svc.cluster.local [100.112.52.20])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id AC1152C429E;
 Wed,  7 May 2025 05:21:16 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1746595276; a=rsa-sha256;
 cv=none;
 b=EQBBaFHTADCBgpbH/fggbAgUmMlTtNa1crbuqk40gMDyPKXane84s3lYNOEcjfjsF0E+78
 560ygEHbE6CJnD3imfRQZCzqS5NQ1Z72okseveAWvF7rN5Vq3njznjV+EnfSPkrwFZaQ1D
 eZZsfvFCrYz43cCS5IoQVBjGKvGSKx9/4M+Rp4pn0k9vfIhkU+5fKwFdNgf9SeQ4zR9mp/
 IcorQEMFuetbQX5If/s/YW/byuHzlZnVngszd32UDdvFg8pEY7Hi56hnMx9YtR9BdbZT8w
 UTbH7FcB0n8+3FD0qGy3d5AppLlXflcd+IHTB4J/h9zjRCpTybKLRxTlEClscQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1746595276;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:dkim-signature;
 bh=199gZXgKn9L8cu2Cw+9tqfx/Uvp2MNL6K7HFXaaWolA=;
 b=sWuVWWKCZLS1WyCNn1xmJ+slT4iD7vqnF7vkCqa9JQA0sLGRnoDdA29WPhSDklXygXmP47
 HgyYKfFtZaJ1ApP9UiOu7qVL65KRPOTM53rAJ7A1quir4XuqWkr2l+cWgnRa3DaizABWhR
 jQsLIREIi8vZ3L3Ut+LeZRIhsDGUTUJg3FlbWQcMDG60EAneTwsFRN+y2NUf0QzaYKoU8U
 oyskdCXLYsaDqbafwH2otIjGSqZKMPs56zx0uTbEClgV3lefjfWHvzrUKi+NB/Wot1JSS4
 bi0mIRjm090SUmEGDiVqyPdMpUsHBMYlMpU3CdM5LXN7vPD9QWbvQfVDdKZXRQ==
ARC-Authentication-Results: i=1; rspamd-5bd676bfcd-8zwl5;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@HIDDEN
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Stretch-Bitter: 03069b8353a4a306_1746595277303_1141482398
X-MC-Loop-Signature: 1746595277303:2079323026
X-MC-Ingress-Time: 1746595277303
Received: from pdx1-sub0-mail-a227.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.112.52.20 (trex/7.0.3); Wed, 07 May 2025 05:21:17 +0000
Received: from localhost (84-112-221-106.cable.dynamic.surfer.at
 [84.112.221.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: nomike@HIDDEN)
 by pdx1-sub0-mail-a227.dreamhost.com (Postfix) with ESMTPSA id 4ZskBh1XKxz7f; 
 Tue,  6 May 2025 22:21:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1746595276;
 bh=199gZXgKn9L8cu2Cw+9tqfx/Uvp2MNL6K7HFXaaWolA=;
 h=From:To:Cc:Subject:Date:Content-Transfer-Encoding;
 b=Zfyy2dBmmqKK86TD1HK53OA6FG4aHYP8TA2dYiOYweZn6czh+ypGfNa3oAnTi7Q1n
 kZOEKQFjAki41I/EJkQTSSjSBCk9a6facdGHVwhagn9R00P0v+J2nbtJypu2l6JAO9
 34UrROXuyH62Q0T6IhHvGsjNR0FR3M2q6Soyh3xFhpEIsWQUbqIaU0f3aVdrhg7kSp
 4MWEgXDaO04uTOVB9pPCd+iEUJ4Az79X7BrJh/g6CDuI8ZDywtUht5/lvcIL2GD0vX
 WTnas+8oqF6mNkTAZ5hQfxw2IaSCoNuFp2tBWvNxx+FcIigwDqu9DWDdwze4c7+j75
 fORu1+gMxwS+Q==
From: nomike <nomike@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Update openscad to 2025.05.02 and add manifold
Date: Wed,  7 May 2025 07:20:52 +0200
Message-ID: <20250507052058.3597155-1-nomike@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=23.83.222.40; envelope-from=nomike@HIDDEN;
 helo=cornsilk.ash.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: nomike <nomike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

This is an update for openscad.  The last official release was in 2021.01 and
the project is currently preparing the next one, but it's uncertain when this
will be out.

In the meantime users are encouraged to use nightly builds and the devs claim
they are stable and quite mature.

Thus I worked on upgrading the package to a recent commit.  Once the new
release is out, it should be easy to update the package definition.

I encountered a few bugs for which I opened tickets with the openscad
project.  I've put links to those in the comments.

The upstream project also bundles the library manifold via git submodules.  I
have extracted it into it's own project.

Someone from the project proposed a set of
[build-flags](https://github.com/openscad/openscad/issues/5880#issuecomment-2848904434)
which I ended up using.

I couldn't get most of the tests to succeed which is probably due to the lack
of a physical GPU inside the build container, so I disabled them.

I also updated the package description with the one they have in their readme.

nomike (2):
  gnu: Add manifold
  gnu: openscad: Upate to 2025.05.02

 gnu/packages/engineering.scm | 253 +++++++++++++++++++++--------------
 1 file changed, 155 insertions(+), 98 deletions(-)

-- 
2.49.0




Acknowledgement sent to nomike <nomike@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#78293; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 9 May 2025 18:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.