GNU bug report logs - #77788
[PATCH] gnu: Add clipper2.

Previous Next

Package: guix-patches;

Reported by: nomike <nomike <at> nomike.com>

Date: Mon, 14 Apr 2025 01:08:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: nomike <nomike <at> nomike.com>
Subject: bug#77788: closed (Re: bug#77788: [PATCH] gnu: Add clipper2.)
Date: Mon, 16 Jun 2025 12:24:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77788: [PATCH] gnu: Add clipper2.

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 77788 <at> debbugs.gnu.org.

-- 
77788: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77788
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: "nomike (they/them)" <nomike <at> nomike.com>
Cc: Andrew Wong <wongandj <at> icloud.com>,
 Ludovic Courtès <ludo <at> gnu.org>,
 Gabriel Santos <gabrielsantosdesouza <at> disroot.org>, 77788-done <at> debbugs.gnu.org
Subject: Re: bug#77788: [PATCH] gnu: Add clipper2.
Date: Mon, 16 Jun 2025 14:22:56 +0200
Am Fri, May 16, 2025 at 12:36:40AM +0200 schrieb nomike (they/them):
> The other package does what I wanted, so this request could be closed.
> At least after the business with this discogs-client is sorted out ;-).

Closing, I think the other issue is
   https://codeberg.org/guix/guix/pulls/465

Andreas


[Message part 3 (message/rfc822, inline)]
From: nomike <nomike <at> nomike.com>
To: guix-patches <at> gnu.org
Cc: nomike <nomike <at> nomike.com>
Subject: [PATCH] gnu: Add clipper2.
Date: Mon, 14 Apr 2025 03:07:06 +0200
* a/gnu/packages/engineering.scm (clipper2): New variable.

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

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f37b0e3844..65224f3a0a 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3149,6 +3149,38 @@ (define-public python-lcapy
 ontinuous-time and discret-time expressions.")
     (license license:lgpl2.1+)))
 
+(define-public clipper2
+  (package
+    (name "clipper2")
+    (version "1.5.2") ;Update this to match the version you need
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/AngusJohnson/Clipper2")
+             (commit (string-append "Clipper2_" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1w8cmx712k45cb8gh9dakmbmybiwdx8c0b45mwpcldywx2lwxi2j"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags (list "-DCLIPPER2_UTILS=no" "-DCLIPPER2_EXAMPLES=no"
+                               "-DCLIPPER2_USINGZ=no"
+                               "-DUSE_EXTERNAL_GTEST=yes")
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'chdir-to-cpp
+                    (lambda _
+                      (chdir "CPP"))))))
+    (native-inputs (list googletest)) ;Only needed for tests
+    (synopsis "Polygon Clipping and Offsetting")
+    (description
+     "Clipper2 is a major update of my original Clipper library that was first
+released over 10 years ago.  It's a multi-purpose polygon clipping library that
+performs intersection, union, difference and XOR boolean operations on both
+simple and complex polygons.")
+    (home-page "https://www.angusj.com/clipper2/Docs/Overview.htm")
+    (license license:boost1.0)))
+
 (define-public openscad
   (package
     (name "openscad")
-- 
2.49.0




This bug report was last modified 3 days ago.

Previous Next


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