GNU bug report logs - #37619
[PATCH] gnu: Add libspatialindex.

Previous Next

Package: guix-patches;

Reported by: Wiktor Żelazny <wz <at> freeshell.de>

Date: Fri, 4 Oct 2019 13:28:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 37619 in the body.
You can then email your comments to 37619 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#37619; Package guix-patches. (Fri, 04 Oct 2019 13:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wiktor Żelazny <wz <at> freeshell.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Oct 2019 13:28:02 GMT) Full text and rfc822 format available.

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

From: Wiktor Żelazny <wz <at> freeshell.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add libspatialindex.
Date: Fri,  4 Oct 2019 15:25:16 +0200
From: Wiktor Żelazny <wzelazny <at> vurv.cz>

* gnu/packages/geo.scm (libspatialindex): new variable.
---
 gnu/packages/geo.scm | 41 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 5e1f7e39d7..1d635c4f1f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2018 Julien Lepiller <julien <at> lepiller.eu>
 ;;; Copyright © 2019 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;; Copyright © 2019 Efraim Flashner <efraim <at> flashner.co.il>
+;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -65,7 +66,8 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wxwidgets)
-  #:use-module (gnu packages xml))
+  #:use-module (gnu packages xml)
+  #:use-module (ice-9 regex))
 
 (define-public geos
   (package
@@ -996,3 +998,40 @@ XyGrib is the continuation of the zyGrib software package with a new team of
 volunteers.")
     (home-page "https://opengribs.org")
     (license license:gpl3+)))
+
+(define-public libspatialindex
+  (package
+    (name "libspatialindex")
+    (version "1.8.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://download.osgeo.org/" name "/"
+               (regexp-substitute #f (string-match "^lib" name) 'pre "" 'post)
+               "-src-" version ".tar.gz"))
+        (sha256
+          (base32
+            ; checked <uri>.md5
+            "1vxzm7kczwnb6qdmc0hb00z8ykx11zk3sb68gc7rch4vrfi4dakw"))))
+      (build-system gnu-build-system)
+      (home-page "https://libspatialindex.org")
+      (synopsis "Spatial indexing library")
+      (description "The purpose of this library is to provide:
+
+@itemize
+ @item An extensible framework that will support robust spatial indexing
+methods.
+ @item Support for sophisticated spatial queries.  Range, point location,
+ nearest neighbor and k-nearest neighbor as well as parametric queries (defined
+by spatial constraints) should be easy to deploy and run.
+ @item Easy to use interfaces for inserting, deleting and updating information.
+ @item Wide variety of customization capabilities.  Basic index and storage
+characteristics like the page size, node capacity, minimum fan-out, splitting
+algorithm, etc. should be easy to customize.
+ @item Index persistence.  Internal memory and external memory structures
+should be supported.  Clustered and non-clustered indices should be easy to be
+persisted.
+@end itemize
+")
+      (license license:expat)))
-- 
2.23.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 04 Nov 2019 22:36:01 GMT) Full text and rfc822 format available.

Notification sent to Wiktor Żelazny <wz <at> freeshell.de>:
bug acknowledged by developer. (Mon, 04 Nov 2019 22:36:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Wiktor Żelazny <wz <at> freeshell.de>
Cc: 37619-done <at> debbugs.gnu.org
Subject: Re: [bug#37619] [PATCH] gnu: Add libspatialindex.
Date: Mon, 04 Nov 2019 23:34:43 +0100
[Message part 1 (text/plain, inline)]
Hi Wiktor,

Wiktor Żelazny <wz <at> freeshell.de> skribis:

> From: Wiktor Żelazny <wzelazny <at> vurv.cz>
>
> * gnu/packages/geo.scm (libspatialindex): new variable.

Applied with the minor changes below: no fancy regexp matching to build
up the URL :-), and slight reindentation.

Thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 37549cab3f..e49e0b6db6 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -67,8 +67,7 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wxwidgets)
-  #:use-module (gnu packages xml)
-  #:use-module (ice-9 regex))
+  #:use-module (gnu packages xml))
 
 (define-public geos
   (package
@@ -1007,13 +1006,10 @@ volunteers.")
     (source
      (origin
        (method url-fetch)
-        (uri (string-append
-               "https://download.osgeo.org/" name "/"
-               (regexp-substitute #f (string-match "^lib" name) 'pre "" 'post)
-               "-src-" version ".tar.gz"))
+       (uri (string-append "https://download.osgeo.org/libspatialindex/"
+                           "spatialindex-src-" version ".tar.gz"))
        (sha256
         (base32
-            ; checked <uri>.md5
          "1vxzm7kczwnb6qdmc0hb00z8ykx11zk3sb68gc7rch4vrfi4dakw"))))
     (build-system gnu-build-system)
     (home-page "https://libspatialindex.org")

Information forwarded to guix-patches <at> gnu.org:
bug#37619; Package guix-patches. (Sat, 09 Nov 2019 11:41:02 GMT) Full text and rfc822 format available.

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

From: Wiktor Żelazny <wz <at> freeshell.de>
To: 37619-done <at> debbugs.gnu.org
Subject: Re: [bug#37619] [PATCH] gnu: Add libspatialindex.
Date: Sat, 9 Nov 2019 12:39:52 +0100
[Message part 1 (text/plain, inline)]
On Mon, Nov 04, 2019 at 11:34:43PM +0100, Ludovic Courtès wrote:

> Applied with the minor changes below:

Thanks. This opens the way to QGIS, which I’ve been struggling with.

> no fancy regexp matching to build up the URL :-),

LOL!

> and slight reindentation.

What’s the indentation rule? I notice that you’re mixing double and
single spaces. Is that intentional?

Also, you removed the md5 comment. I thought it would be nice to put it
there as a reminder for whoever is updating the definition for a new
version of this library to make a new md5 check (Guix Manual insists
that these should be done).

WŻ
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 07 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 142 days ago.

Previous Next


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