From f7f67495ba0c2f08b0372e925725b4d196e037b6 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Wed, 11 Mar 2020 19:33:25 +0100 Subject: gnu: spatialite-gui: Fix GUI not showing up. * gnu/packages/geo.scm (spatialite-gui)[arguments]: Add 'fix-gui' phase. --- gnu/packages/geo.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/geo.scm') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 1346ebeb5f..05d177c3b1 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -561,6 +561,14 @@ development.") ("sqlite" ,sqlite) ("wxwidgets" ,wxwidgets-2) ("zlib" ,zlib))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-gui + (lambda _ + ;; Fix for the GUI not showing up. + (substitute* "Main.cpp" + (("Hide\\(\\);") "")) + #t))))) (synopsis "Graphical user interface for SpatiaLite") (description "Spatialite-gui provides a visual interface for viewing and maintaining a spatialite database. You can easily see the structure of the -- cgit v1.2.3 From ec73c90ee35a404b04b030b260c386011c0cbe94 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 12 Mar 2020 10:05:28 +0100 Subject: gnu: Add virtualpg. * gnu/packages/geo.scm (virtualpg): New variable. --- gnu/packages/geo.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/geo.scm') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 05d177c3b1..7fd04f25c3 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1523,3 +1523,29 @@ input file (in @code{.osm} or @code{.osm.pbf} format).") tools supporting SpatiaLite.") (home-page "https://www.gaia-gis.it/fossil/spatialite-tools/index") (license license:gpl3+))) + +(define-public virtualpg + (package + (name "virtualpg") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.gaia-gis.it/gaia-sins/" + "virtualpg-" version ".tar.gz")) + (sha256 + (base32 "0kjipcd08vvn188xmwbs7sw41xcs06x47n2hbqshpjcr51mxbarp")))) + (build-system gnu-build-system) + (inputs + `(("postgresql" ,postgresql) + ("sqlite" ,sqlite))) + (synopsis "Allow SQLite/SpatiaLite to access PostgreSQL/PostGIS tables") + (description + "VirtualPG is a dynamic extension for the SQLite DBMS. It implements +the VirtualPostgres driver, allowing to directly exchange data between SQLite +and PostgreSQL; if SpatiaLite is available even PostGIS geometries can be +exchanged form one Spatial DBMS and the other.") + (home-page "https://www.gaia-gis.it/fossil/virtualpg/index") + (license (list license:gpl2+ + license:lgpl2.1+ + license:mpl1.1)))) -- cgit v1.2.3 From 0d49a4bbe1df4b12abf1ca2710170b568e33c140 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 19 Jan 2020 01:06:10 +0100 Subject: gnu: tegola: Use HTTPS home page. * gnu/packages/geo.scm (tegola)[home-page]: Use HTTPS. --- gnu/packages/geo.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/geo.scm') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 7fd04f25c3..0e5afdae30 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -776,7 +776,7 @@ extension.") "cmd/tegola_lambda/main.go") (("version not set") ,version))) #t))))) - (home-page "http://tegola.io") + (home-page "https://tegola.io") (synopsis "Vector tile server for maps") (description "Tegola is a free vector tile server written in Go. Tegola takes geospatial data and slices it into vector tiles that can be efficiently -- cgit v1.2.3