GNU bug report logs -
#44967
[PATCH 0/2] Update libspatialite to 5.0.0
Previous Next
Reported by: Felix Gruber <felgru <at> posteo.net>
Date: Mon, 30 Nov 2020 19:39:02 UTC
Severity: normal
Tags: patch
Done: Guillaume Le Vaillant <glv <at> posteo.net>
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 44967 in the body.
You can then email your comments to 44967 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#44967
; Package
guix-patches
.
(Mon, 30 Nov 2020 19:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Gruber <felgru <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 30 Nov 2020 19:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hey Guix,
these patches update libspatialite to the latest available release.
There were two new required dependencies: minizip and librttopo.
The latter was not yet packaged in guix, so the first patch adds a
librttopo package.
Technically, libspatialite could also be built without librttopo, but
then the spatialite-tools package fails compilation due to missing
symbols. So in the end, I also added librttopo to libspatialite's
inputs.
Lastly, I've checked that all three packages depending on libspatialite
(spatialite-gui <at> 1.7.1 qgis <at> 3.12.1 spatialite-tools <at> 5.0.0) still built
sucessfully after the update.
Felix Gruber (2):
gnu: Add librttopo.
gnu: libspatialite: Update to 5.0.0.
gnu/packages/geo.scm | 66 ++++++++++++++++++++++++++++++++++++++++----
1 file changed, 61 insertions(+), 5 deletions(-)
--
2.29.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44967
; Package
guix-patches
.
(Mon, 30 Nov 2020 19:44:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 44967 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/geo.scm (librttopo): New variable.
---
gnu/packages/geo.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 5908ef4b66..1c8e6c8cfa 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2019 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright © 2020 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2020 Christopher Baines <mail <at> cbaines.net>
+;;; Copyright © 2020 Felix Gruber <felgru <at> posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -365,6 +366,55 @@ writing GeoTIFF information tags.")
(license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution.")))))
+(define-public librttopo
+ (package
+ (name "librttopo")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.osgeo.org/gitea/rttopo/librttopo")
+ (commit (string-append "librttopo-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0h7lzlkn9g4xky6h81ndy0aa6dxz8wb6rnl8v3987jy1i6pr072p"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-autogen
+ (lambda _
+ (let ((autoconf (which "autoconf"))
+ (autoheader (which "autoheader"))
+ (aclocal (which "aclocal"))
+ (automake (which "automake"))
+ (libtoolize (which "libtoolize"))
+ )
+ (substitute* "autogen.sh"
+ (("`which autoconf 2>/dev/null`") autoconf)
+ (("`which autoheader 2>/dev/null`") autoheader)
+ (("ACLOCAL=.*$")
+ (string-append "ACLOCAL=" aclocal "\n"))
+ (("AUTOMAKE=.*$")
+ (string-append "AUTOMAKE=" automake "\n"))
+ (("LIBTOOLIZE=.*$")
+ (string-append "LIBTOOLIZE=" libtoolize "\n"))))
+ #t)))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("geos" ,geos)))
+ (synopsis "Library to handle SQL/MM topologies")
+ (description
+ "The RT Topology Library exposes an API to create and manage standard
+(ISO 13249 aka SQL/MM) topologies using user-provided data stores.")
+ (home-page "https://git.osgeo.org/gitea/rttopo/librttopo")
+ (license license:gpl2+)))
+
(define-public libspatialite
(package
(name "libspatialite")
--
2.29.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44967
; Package
guix-patches
.
(Mon, 30 Nov 2020 19:44:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 44967 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/geo.scm (libspatialite, spatialite-tools): Update to 5.0.0.
[inputs]: Add new required dependencies minizip and librttopo.
---
gnu/packages/geo.scm | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 1c8e6c8cfa..30e63a9eb6 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -418,7 +418,7 @@ writing GeoTIFF information tags.")
(define-public libspatialite
(package
(name "libspatialite")
- (version "4.3.0a")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
@@ -426,19 +426,23 @@ writing GeoTIFF information tags.")
version ".tar.gz"))
(sha256
(base32
- "16d4lpl7xrm9zy4gphy6nwanpjp8wn9g4wq2i2kh8abnlhq01448"))))
+ "1b3dmkgwbfi43hj3jzy2mh707khavrnw91vdd5sv387m8c1dfzvv"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("freexl" ,freexl)
("geos" ,geos)
+ ("librttopo" ,librttopo)
("libxml2" ,libxml2)
+ ("minizip" ,minizip)
("proj.4" ,proj.4)
("sqlite" ,sqlite)
("zlib" ,zlib)))
(arguments
- `(#:phases
+ `(#:configure-flags
+ '("--enable-rttopo=yes")
+ #:phases
(modify-phases %standard-phases
;; 3 tests are failing, ignore them:
(add-after 'unpack 'ignore-broken-tests
@@ -1688,14 +1692,14 @@ input file (in @code{.osm} or @code{.osm.pbf} format).")
(define-public spatialite-tools
(package
(name "spatialite-tools")
- (version "4.3.0")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
"spatialite-tools-" version ".tar.gz"))
(sha256
- (base32 "12fggjhi8cgwvw8f6nk76f83b8lqkc07abxyj5ap6f2gq2dqafgp"))))
+ (base32 "0ckddgdpxhy6vkpr9q2hnx5qmanrd8g4pqnifbrq1i5jrj82s2dd"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
@@ -1703,8 +1707,10 @@ input file (in @code{.osm} or @code{.osm.pbf} format).")
`(("expat" ,expat)
("freexl" ,freexl)
("geos" ,geos)
+ ("librttopo" ,librttopo)
("libspatialite" ,libspatialite)
("libxml2" ,libxml2)
+ ("minizip" ,minizip)
("proj.4" ,proj.4)
("readosm" ,readosm)
("sqlite" ,sqlite)
--
2.29.2
Reply sent
to
Guillaume Le Vaillant <glv <at> posteo.net>
:
You have taken responsibility.
(Tue, 01 Dec 2020 17:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Felix Gruber <felgru <at> posteo.net>
:
bug acknowledged by developer.
(Tue, 01 Dec 2020 17:49:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 44967-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Felix Gruber <felgru <at> posteo.net> skribis:
> Felix Gruber (2):
> gnu: Add librttopo.
> gnu: libspatialite: Update to 5.0.0.
>
> gnu/packages/geo.scm | 66 ++++++++++++++++++++++++++++++++++++++++----
> 1 file changed, 61 insertions(+), 5 deletions(-)
Pushed as a051bf405bf70d36a99195aff15ff82e99a7b504 and following.
Thanks.
[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
.
(Wed, 30 Dec 2020 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.