GNU bug report logs -
#52478
[PATCH] gnu: Add openorienteering-mapper.
Previous Next
Reported by: Nikolay Korotkiy <sikmir <at> gmail.com>
Date: Tue, 14 Dec 2021 10:15:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 52478 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/cpp.scm (clipper): New variable.
---
gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 9ab6e0b835..64f5a12c58 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2020 Brett Gilio <brettg <at> gnu.org>
;;; Copyright © 2020 Milkey Mouse <milkeymouse <at> meme.institute>
;;; Copyright © 2021 Raghav Gururajan <rg <at> raghavgururajan.name>
+;;; Copyright © 2021 Nikolay Korotkiy <sikmir <at> disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1428,3 +1429,33 @@ (define-public simdjson
validation.")
(home-page "https://github.com/simdjson/simdjson")
(license license:asl2.0)))
+
+(define-public clipper
+ (package
+ (name "clipper")
+ (version "6.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/polyclipping"
+ "/clipper_ver" version ".zip"))
+ (sha256
+ (base32
+ "09q6jc5k7p9y5d75qr2na5d1gm0wly5cjnffh127r04l47c20hx1"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;no check target
+ #:phases (modify-phases %standard-phases
+ (replace 'unpack
+ (lambda* (#:key source #:allow-other-keys)
+ (and (invoke "unzip" source)
+ (chdir "cpp")))))))
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (synopsis "A polygon and line clipping and offsetting library")
+ (description
+ "The Clipper library performs line & polygon clipping - intersection,
+union, difference & exclusive-or, and line & polygon offsetting.
+The library is based on Vatti's clipping algorithm.")
+ (home-page "https://sourceforge.net/projects/polyclipping")
+ (license license:boost1.0)))
--
2.34.0
This bug report was last modified 3 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.