[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add libspatialite.
From: |
Marius Bakke |
Subject: |
04/08: gnu: Add libspatialite. |
Date: |
Thu, 22 Feb 2018 08:37:45 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit f6c507e13c879289e1476433bf6ab0f3520679e8
Author: Björn Höfling <address@hidden>
Date: Thu Feb 22 00:07:47 2018 +0100
gnu: Add libspatialite.
* gnu/packages/geo.scm (libspatialite): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/geo.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index d754164..7ba649f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Leo Famulari <address@hidden>
;;; Copyright © 2016 Alex Griffin <address@hidden>
-;;; Copyright © 2017 Björn Höfling <address@hidden>
+;;; Copyright © 2017, 2018 Björn Höfling <address@hidden>
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
;;; Copyright © 2018 Arun Isaac <address@hidden>
@@ -202,6 +202,54 @@ writing GeoTIFF information tags.")
(license:non-copyleft "file://LICENSE"
"See LICENSE in the
distribution.")))))
+(define-public libspatialite
+ (package
+ (name "libspatialite")
+ (version "4.3.0a")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.gaia-gis.it/gaia-sins/libspatialite-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "16d4lpl7xrm9zy4gphy6nwanpjp8wn9g4wq2i2kh8abnlhq01448"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("freexl" ,freexl)
+ ("geos" ,geos)
+ ("libxml2" ,libxml2)
+ ("proj.4" ,proj.4)
+ ("sqlite" ,sqlite)
+ ("zlib" ,zlib)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; 3 tests are failing, ignore them:
+ (add-after 'unpack 'ignore-broken-tests
+ (lambda _
+ (substitute* '("test/Makefile.in")
+ (("\tcheck_sql_stm.*" all) "\tcheck_multithread$(EXEEXT) \\\n")
+ (("(\tch.*) check_v.*ble2.*$" all vt1) (string-append vt1 "
\\\n"))
+ (("\tch.* (check_v.*ble4.*)$" all vt4) (string-append "\t"
vt4)))
+ #t)))))
+ (synopsis "Extend SQLite to support Spatial SQL capabilities")
+ (description
+ "SpatiaLite is a library intended to extend the SQLite core to support
+fully fledged Spatial SQL capabilities.")
+ (home-page "https://www.gaia-gis.it/fossil/libspatialite/index")
+ ;; For the genuine libspatialite-sources holds:
+ ;; Any of the licenses MPL1.1, GPL2+ or LGPL2.1+ may be picked.
+ ;; Files under src/control_points are from GRASS
+ ;; and are licensed under GPL2+ only.
+ ;; src/md5.[ch]: Placed into the public domain by Alexander Peslyak.
+ (license (list license:gpl2+
+ license:lgpl2.1+
+ license:mpl1.1
+ license:public-domain))))
+
(define-public proj.4
(package
(name "proj.4")
- branch master updated (1a6734e -> 9cf2de8), Marius Bakke, 2018/02/22
- 01/08: gnu: xorgproto: Update to 2018.3., Marius Bakke, 2018/02/22
- 02/08: gnu: fio: Update to 3.5., Marius Bakke, 2018/02/22
- 03/08: gnu: libsoup: Update to 2.60.3., Marius Bakke, 2018/02/22
- 08/08: gnu: ccid: Update to 1.4.29., Marius Bakke, 2018/02/22
- 04/08: gnu: Add libspatialite.,
Marius Bakke <=
- 07/08: gnu: Add spatialite-gui., Marius Bakke, 2018/02/22
- 06/08: Revert "gnu: Remove address@hidden", Marius Bakke, 2018/02/22
- 05/08: gnu: Add libgaiagraphics., Marius Bakke, 2018/02/22