* [bug#52478] [PATCH] gnu: Add openorienteering-mapper.
@ 2021-12-14 10:13 Nikolay Korotkiy
2021-12-14 10:16 ` [bug#52478] [PATCH] gnu: Add clipper Nikolay Korotkiy
2021-12-15 15:11 ` bug#52478: [PATCH] gnu: Add openorienteering-mapper Nicolas Goaziou
0 siblings, 2 replies; 3+ messages in thread
From: Nikolay Korotkiy @ 2021-12-14 10:13 UTC (permalink / raw)
To: 52478; +Cc: Nikolay Korotkiy
* 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@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2021 Nikolay Korotkiy <sikmir@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#52478] [PATCH] gnu: Add clipper.
2021-12-14 10:13 [bug#52478] [PATCH] gnu: Add openorienteering-mapper Nikolay Korotkiy
@ 2021-12-14 10:16 ` Nikolay Korotkiy
2021-12-15 15:11 ` bug#52478: [PATCH] gnu: Add openorienteering-mapper Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Nikolay Korotkiy @ 2021-12-14 10:16 UTC (permalink / raw)
To: 52478; +Cc: Nikolay Korotkiy
* 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@gnu.org>
;;; Copyright © 2020 Milkey Mouse <milkeymouse@meme.institute>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Nikolay Korotkiy <sikmir@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#52478: [PATCH] gnu: Add openorienteering-mapper.
2021-12-14 10:13 [bug#52478] [PATCH] gnu: Add openorienteering-mapper Nikolay Korotkiy
2021-12-14 10:16 ` [bug#52478] [PATCH] gnu: Add clipper Nikolay Korotkiy
@ 2021-12-15 15:11 ` Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2021-12-15 15:11 UTC (permalink / raw)
To: Nikolay Korotkiy; +Cc: 52478-done
Hello,
Nikolay Korotkiy <sikmir@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-15 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 10:13 [bug#52478] [PATCH] gnu: Add openorienteering-mapper Nikolay Korotkiy
2021-12-14 10:16 ` [bug#52478] [PATCH] gnu: Add clipper Nikolay Korotkiy
2021-12-15 15:11 ` bug#52478: [PATCH] gnu: Add openorienteering-mapper Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.