unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69359] [PATCH] gnu: osm2pgsql: Update to 1.11.0.
@ 2024-02-24 15:15 Felix Gruber
  2024-02-26 10:52 ` bug#69359: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Gruber @ 2024-02-24 15:15 UTC (permalink / raw)
  To: 69359; +Cc: Felix Gruber, Andreas Enge, Eric Bavier, Sharlatan Hellseher

* gnu/packages/geo.scm (osm2pgsql): Update to 1.11.0.
[arguments]: Look for proj API version 6 to use recent proj versions.
[inputs]: Remove proj-7; add cli11 and proj.

Change-Id: If1f14e5c675865d4485b16aca6146f555cc16d5e
---
 gnu/packages/geo.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index aeb3a9fbd2..687effcace 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1677,7 +1677,7 @@ (define-public osmium-tool
 (define-public osm2pgsql
   (package
     (name "osm2pgsql")
-    (version "1.9.2")
+    (version "1.11.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1686,7 +1686,7 @@ (define-public osm2pgsql
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "198qcgl42pb8lk1bn41ncp8hc9gcg9k2p0ny42vak019w5l6jcj7"))
+                "135vqahlcrhwa3b9hfgbiqkzbbsjd4i79fp41cd0rp4zarcpi47p"))
               (modules '((guix build utils)))
               (snippet
                ;; Remove bundled libraries.
@@ -1694,20 +1694,21 @@ (define-public osm2pgsql
     (build-system cmake-build-system)
     (arguments
      (list #:tests? #f ;tests fail because we need to setup a database
-           #:configure-flags #~(list "-DUSE_PROJ_LIB=4" ;use API version 4
+           #:configure-flags #~(list "-DUSE_PROJ_LIB=6" ;use API version 6
                                      "-DWITH_LUAJIT=ON"
                                      "-DEXTERNAL_LIBOSMIUM=ON"
                                      "-DEXTERNAL_PROTOZERO=ON"
                                      "-DEXTERNAL_FMT=ON")))
     (inputs (list boost
                   bzip2
+                  cli11
                   expat
                   fmt-8
                   libosmium
                   luajit
                   nlohmann-json
                   postgresql
-                  proj-7
+                  proj
                   protozero
                   zlib))
     (native-inputs (list pandoc python python-argparse-manpage))

base-commit: de24aaf13b17d6c019f3f240fd0eb0e1b8654970
-- 
2.43.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-26 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-24 15:15 [bug#69359] [PATCH] gnu: osm2pgsql: Update to 1.11.0 Felix Gruber
2024-02-26 10:52 ` bug#69359: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).