Subject: bug#75286: closed (Re: [PATCH v3] gnu: Add tetgen.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 06 Feb 2025 15:30:05 +0000

Your bug report

#75286: [PATCH] gnu: Add tetgen.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75286: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75286
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH v3] gnu: Add tetgen.
From: Andreas Enge <[email-masked]>
To: Lars Bilke <[email-masked]>
Cc: [email-masked], [email-masked], Sharlatan Hellseher <[email-masked]>, [email-masked], Eric Bavier <[email-masked]>
Date: Thu, 6 Feb 2025 16:29:42 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello!

Am Thu, Feb 06, 2025 at 03:11:41PM +0100 schrieb Lars Bilke:
> I am perfectly fine to merge this patch v3.
> So building this with the original source as you did is better.

thanks for your quick reply! I have just pushed the patch.
The etc/ld.so.cache comes from the phase make-dynamic-linker-cache,
of which I do not know why it appears; I have not seen it in other
packages using the cmake build system. So I have just removed the phase
by hand.

Andreas

Subject: [PATCH] gnu: Add tetgen.
From: Lars Bilke <[email-masked]>
To: [email-masked]
Cc: Lars Bilke <[email-masked]>
Date: Thu, 02 Jan 2025 15:50:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/geo.scm (tetgen): New variable.

Change-Id: Iba2de71cf0a10ca5c7b65f9851d05fe63c944b30
---
 gnu/packages/geo.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 8b9b9a4cf7..ec48474708 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3614,3 +3614,29 @@ (define-public laszip
 @code{LAZ} files.  The @code{LAS} format is a file format designed for the
 interchange and archiving of lidar point cloud data.")
     (license license:asl2.0)))
+
+    (define-public tetgen
+      (package
+        (name "tetgen")
+        (synopsis
+         "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator")
+        (license license:agpl3)
+        (description
+         "TetGen is a program to generate tetrahedral meshes of any 3D
+polyhedral domains.  TetGen generates exact constrained Delaunay
+tetrahedralizations, boundary conforming Delaunay meshes, and Voronoi
+partitions.")
+        (home-page "https://wias-berlin.de/software/tetgen/")
+        (version "1.5.1-2")
+        (source
+         (origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://github.com/ufz/tetgen")
+                 (commit version)))
+           (sha256
+            (base32 "0hd8mvmzybvlgvfx131p8782v8hggmg53vlkgazpsw9d6ympfcrv"))))
+        (build-system cmake-build-system)
+        (arguments
+         `(#:tests? #f
+           #:configure-flags (list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")))))

base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
-- 
2.46.1