From unknown Mon Jun 16 23:55:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37619 <37619@debbugs.gnu.org> To: bug#37619 <37619@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add libspatialindex. Reply-To: bug#37619 <37619@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:55:46 +0000 retitle 37619 [PATCH] gnu: Add libspatialindex. reassign 37619 guix-patches submitter 37619 Wiktor =C5=BBelazny severity 37619 normal tag 37619 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 04 09:27:47 2019 Received: (at submit) by debbugs.gnu.org; 4 Oct 2019 13:27:47 +0000 Received: from localhost ([127.0.0.1]:41841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGNcV-0003nI-1g for submit@debbugs.gnu.org; Fri, 04 Oct 2019 09:27:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:42016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGNcP-0003n6-Le for submit@debbugs.gnu.org; Fri, 04 Oct 2019 09:27:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45780) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGNcM-0001aV-6l for guix-patches@gnu.org; Fri, 04 Oct 2019 09:27:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGNcI-0007wi-Rs for guix-patches@gnu.org; Fri, 04 Oct 2019 09:27:34 -0400 Received: from freeshell.de ([2a01:360:106::2]:42717) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iGNcI-0007w3-Lv for guix-patches@gnu.org; Fri, 04 Oct 2019 09:27:30 -0400 From: =?UTF-8?q?Wiktor=20=C5=BBelazny?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de 5751235CC371 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1570195648; bh=TSLcWvDgPtYsAgtXYyVIwbqXyqOnPX/Df0nIvYhDNxw=; h=From:To:Subject:Date; b=oSOOovKf88ampCUlFleCJAgE+YiEPaT9Rj+GITaTsG4MSRNZIFObphf23++iBPu2p u0/jkFzugrwLc32AjS+zZ+Y02JxwPTwOT2aCHdCG0T/hurvfQaJhOBEr+MDwCKigVn rJ+YWllHqXXhAbGV7Ul+o2Ius1GVmiNK9CU1mrvk= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add libspatialindex. Date: Fri, 4 Oct 2019 15:25:16 +0200 Message-Id: <20191004132516.16761-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:360:106::2 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) From: Wiktor =C5=BBelazny * 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 =C2=A9 2018 Julien Lepiller ;;; Copyright =C2=A9 2019 Guillaume Le Vaillant ;;; Copyright =C2=A9 2019 Efraim Flashner +;;; Copyright =C2=A9 2019 Wiktor =C5=BBelazny ;;; ;;; 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)) =20 (define-public geos (package @@ -996,3 +998,40 @@ XyGrib is the continuation of the zyGrib software pa= ckage 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 .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 infor= mation. + @item Wide variety of customization capabilities. Basic index and stor= age +characteristics like the page size, node capacity, minimum fan-out, spli= tting +algorithm, etc. should be easy to customize. + @item Index persistence. Internal memory and external memory structure= s +should be supported. Clustered and non-clustered indices should be easy= to be +persisted. +@end itemize +") + (license license:expat))) --=20 2.23.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 04 17:35:03 2019 Received: (at 37619-done) by debbugs.gnu.org; 4 Nov 2019 22:35:03 +0000 Received: from localhost ([127.0.0.1]:37689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRkwA-0000rh-Sa for submit@debbugs.gnu.org; Mon, 04 Nov 2019 17:35:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRkw8-0000r5-Sv for 37619-done@debbugs.gnu.org; Mon, 04 Nov 2019 17:35:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iRkvw-00061z-1C; Mon, 04 Nov 2019 17:34:48 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36252 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iRkvt-0002AH-6c; Mon, 04 Nov 2019 17:34:46 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Wiktor =?utf-8?Q?=C5=BBelazny?= Subject: Re: [bug#37619] [PATCH] gnu: Add libspatialindex. References: <20191004132516.16761-1-wz@freeshell.de> Date: Mon, 04 Nov 2019 23:34:43 +0100 In-Reply-To: <20191004132516.16761-1-wz@freeshell.de> ("Wiktor \=\?utf-8\?Q\?\=C5\=BBelazny\=22's\?\= message of "Fri, 4 Oct 2019 15:25:16 +0200") Message-ID: <87h83j46f0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37619-done Cc: 37619-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Wiktor, Wiktor =C5=BBelazny skribis: > From: Wiktor =C5=BBelazny > > * 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=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: 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 .md5 "1vxzm7kczwnb6qdmc0hb00z8ykx11zk3sb68gc7rch4vrfi4dakw")))) (build-system gnu-build-system) (home-page "https://libspatialindex.org") --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 09 06:40:29 2019 Received: (at 37619-done) by debbugs.gnu.org; 9 Nov 2019 11:40:29 +0000 Received: from localhost ([127.0.0.1]:48322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTP6S-0002Kw-W1 for submit@debbugs.gnu.org; Sat, 09 Nov 2019 06:40:29 -0500 Received: from freeshell.de ([94.247.40.156]:43236 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTP6R-0002Ki-FE for 37619-done@debbugs.gnu.org; Sat, 09 Nov 2019 06:40:27 -0500 Date: Sat, 9 Nov 2019 12:39:52 +0100 From: Wiktor =?utf-8?Q?=C5=BBelazny?= To: 37619-done@debbugs.gnu.org Subject: Re: [bug#37619] [PATCH] gnu: Add libspatialindex. Message-ID: <20191109113952.f6zfpphdmscj3ayj@wz.localdomain> Mail-Followup-To: 37619-done@debbugs.gnu.org References: <20191004132516.16761-1-wz@freeshell.de> <87h83j46f0.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u2yl4vgdlu2nze4h" Content-Disposition: inline In-Reply-To: <87h83j46f0.fsf@gnu.org> X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 User-Agent: NeoMutt/20180716 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37619-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --u2yl4vgdlu2nze4h Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 04, 2019 at 11:34:43PM +0100, Ludovic Court=C3=A8s wrote: > Applied with the minor changes below: Thanks. This opens the way to QGIS, which I=E2=80=99ve been struggling with. > no fancy regexp matching to build up the URL :-), LOL! > and slight reindentation. What=E2=80=99s the indentation rule? I notice that you=E2=80=99re mixing do= uble 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=C5=BB --u2yl4vgdlu2nze4h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl3GpYdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edVxPg//We1MEX+5UCcIu7SialtkdLXqGzQVrfbZDlI38VM6y0/7bnnGtVaI9h9m HvjpVU97bvIJlk8qgZFiBZhXtLGKt7lBD2pCv7swopboHzdN/mkojRqbSEsU2ihK h4Z3pY9xc1qVARuG8jfM8OTg28XpJWXzmK1vwzGp83Rn9zj9Wx5UtvjyY23r89JA gnqqENGvkijYxb0DG1wuLO4pb5pz4hOG1ImRo+1HKPFKkrlVch3O8vwwtTJBCySc G/y6CEJVwbd0rxtvMdhL0pEyaodeNARjYXWrRxSFhCmOZnGKeejml6fMUX3/QvoF yQDRQCiZt89RDJYiquq+eqsG6WaV9QOriwXHRktZvBgFELusc4b+xsv4ZHSMUtDq P8SdSMAcLBUPnrufXc8/HxsVKu73FC4Zc8AxLX/cRstxzm0Hc/D6e97YyJVxlRGE VatWZ3W/LF6ORmM+c/YITvRCzBHIyWYr6cyyykSxGjzctugB7mi+/1s0IUYj8bGA 6q/HcWc/3a41qWOqMIgl9fEbUQNLUNA5ai5cekJTbQxxYhpXFZBwLWGDpnS4Cbq8 5VBzNecESRqcON0vsnlqZeKY7GeodRR2nrIkWvB3xbF3rBD7QTOQoAZvsmuw0AsW i6e1hEbh1qfa0UQc51NlZ82G/fUfGtYVrhoWRne3YoNjkfnS5tk= =sCsF -----END PGP SIGNATURE----- --u2yl4vgdlu2nze4h-- From unknown Mon Jun 16 23:55:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 07 Dec 2019 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator