GNU bug report logs -
#37619
[PATCH] gnu: Add libspatialindex.
Previous Next
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.
Full log
Message #10 received at 37619-done <at> debbugs.gnu.org (full text, mbox):
[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")
This bug report was last modified 5 years and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.