GNU bug report logs - #52478
[PATCH] gnu: Add openorienteering-mapper.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52478 in the body.
You can then email your comments to 52478 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52478; Package guix-patches. (Tue, 14 Dec 2021 10:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nikolay Korotkiy <sikmir <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 14 Dec 2021 10:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nikolay Korotkiy <sikmir <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Nikolay Korotkiy <sikmir <at> gmail.com>
Subject: [PATCH] gnu: Add openorienteering-mapper.
Date: Tue, 14 Dec 2021 13:13:52 +0300
* gnu/packages/geo.scm (openorienteering-mapper): New variable.
---
 gnu/packages/geo.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 927ddb167d..d2baf04c41 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2021 Clément Lassieur <clement <at> lassieur.org>
+;;; Copyright © 2021 Nikolay Korotkiy <sikmir <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -61,6 +62,8 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
+  #:use-module (gnu packages cups)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages datastructures)
@@ -2692,3 +2695,42 @@ (define-public gplates
 reconstructions of geological and paleogeographic features through geological
 time.  Interactively visualize vector, raster and volume data.")
     (license license:gpl2+)))
+
+(define-public openorienteering-mapper
+  (package
+    (name "openorienteering-mapper")
+    (version "0.9.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/OpenOrienteering/mapper")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "11b578h8f3q9yvphbjhqmy2w1cfc9skslzawypqmc3k44v24aj0s"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f
+       #:configure-flags
+       (list
+        "-DLICENSING_PROVIDER:BOOL=OFF"
+        "-DMapper_MANUAL_QTHELP:BOOL=OFF")))
+    (inputs
+     `(("qtbase" ,qtbase-5)
+       ("qtlocation" ,qtlocation)
+       ("qtimageformats" ,qtimageformats)
+       ("qtsensors" ,qtsensors)
+       ("gdal" ,gdal)
+       ("clipper" ,clipper)
+       ("proj" ,proj)
+       ("zlib" ,zlib)
+       ("cups" ,cups)))
+    (native-inputs
+     `(("qttools" ,qttools)
+       ("doxygen" ,doxygen)))
+    (home-page "https://www.openorienteering.org/apps/mapper/")
+    (synopsis "OpenOrienteering Mapper (OOM)")
+    (description "OpenOrienteering Mapper is a software for creating
+maps for the orienteering sport.")
+    (license license:gpl3+)))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#52478; Package guix-patches. (Tue, 14 Dec 2021 10:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 52478 <at> debbugs.gnu.org (full text, mbox):

From: Nikolay Korotkiy <sikmir <at> gmail.com>
To: 52478 <at> debbugs.gnu.org
Cc: Nikolay Korotkiy <sikmir <at> gmail.com>
Subject: [PATCH] gnu: Add clipper.
Date: Tue, 14 Dec 2021 13:16:28 +0300
* 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





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 15 Dec 2021 15:12:01 GMT) Full text and rfc822 format available.

Notification sent to Nikolay Korotkiy <sikmir <at> gmail.com>:
bug acknowledged by developer. (Wed, 15 Dec 2021 15:12:02 GMT) Full text and rfc822 format available.

Message #13 received at 52478-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Nikolay Korotkiy <sikmir <at> gmail.com>
Cc: 52478-done <at> debbugs.gnu.org
Subject: Re: [bug#52478] [PATCH] gnu: Add openorienteering-mapper.
Date: Wed, 15 Dec 2021 16:11:21 +0100
Hello,

Nikolay Korotkiy <sikmir <at> gmail.com> writes:

> * gnu/packages/geo.scm (openorienteering-mapper): New variable.

I re-ordered inputs alphabetically and applied both patches. Thank you.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Jan 2022 12:24:08 GMT) Full text and rfc822 format available.

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.