From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emnPN-0006BO-Vv for guix-patches@gnu.org; Fri, 16 Feb 2018 16:19:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emnPK-0003Xh-Hw for guix-patches@gnu.org; Fri, 16 Feb 2018 16:19:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39376) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emnPK-0003XW-DP for guix-patches@gnu.org; Fri, 16 Feb 2018 16:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emnPJ-0006QH-MT for guix-patches@gnu.org; Fri, 16 Feb 2018 16:19:01 -0500 Subject: [bug#30492] [PATCH 1/4] gnu: Add libspatialite. Resent-Message-ID: Date: Fri, 16 Feb 2018 22:18:16 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180216221816.15d5e0e7@alma-ubu> In-Reply-To: <20180216220913.08cc8ca0@alma-ubu> References: <20180216220913.08cc8ca0@alma-ubu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30492@debbugs.gnu.org * gnu/packages/geo.scm (libspatialite): New variable. --- gnu/packages/geo.scm | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9c7f7c115..784bc15ec 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2016 Leo Famulari ;;; Copyright =C2=A9 2016 Alex Griffin -;;; Copyright =C2=A9 2017 Bj=C3=B6rn H=C3=B6fling +;;; Copyright =C2=A9 2017, 2018 Bj=C3=B6rn H=C3=B6fling ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Ricardo Wurmus ;;; @@ -28,6 +28,7 @@ #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages compression) + #:use-module (gnu packages databases) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -193,6 +194,46 @@ writing GeoTIFF information tags.") (license:non-copyleft "file://LICENSE" "See LICENSE in the distribution.= "))))) =20 +(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/libspatialit= e-" + 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 + `(#:tests? #f)) ; Test failures. + (synopsis "Library to extend SQLite to support Spatial SQL capabilitie= s") + (description "SpatiaLite is a library intended to extend the SQLite co= re +to support fully fledged Spatial SQL capabilities. SpatiaLite is smoothly +integrated into SQLite to provide a complete and powerful Spatial DBMS +(mostly OGC-SFS compliant).") + (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") --=20 2.16.1