GNU bug report logs - #57233
[PATCH] gnu: osm2pgsql: Update to 1.7.0.

Previous Next

Package: guix-patches;

Reported by: Nikolay Korotkiy <sikmir <at> disroot.org>

Date: Mon, 15 Aug 2022 23:40:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#57233: closed ([PATCH] gnu: osm2pgsql: Update to 1.7.0.)
Date: Wed, 17 Aug 2022 08:26:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 17 Aug 2022 08:19:27 +0000
with message-id <8735dv2s5s.fsf <at> kitej>
and subject line Re: [bug#57233] [PATCH] gnu: osm2pgsql: Update to 1.7.0.
has caused the debbugs.gnu.org bug report #57233,
regarding [PATCH] gnu: osm2pgsql: Update to 1.7.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
57233: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57233
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nikolay Korotkiy <sikmir <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Nikolay Korotkiy <sikmir <at> disroot.org>
Subject: [PATCH] gnu: osm2pgsql: Update to 1.7.0.
Date: Tue, 16 Aug 2022 02:38:30 +0300
* gnu/packages/geo.scm (osm2pgsql): Update to 1.7.0.
---
 gnu/packages/geo.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index fe2174b106..274beb0524 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -100,6 +100,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
@@ -1322,7 +1323,7 @@ (define-public osmium-tool
 (define-public osm2pgsql
   (package
     (name "osm2pgsql")
-    (version "1.5.1")
+    (version "1.7.0")
     (source
      (origin
        (method git-fetch)
@@ -1331,32 +1332,30 @@ (define-public osm2pgsql
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0i18mskcs087dn3f3h9n7j0wafn8502m0h13mrjwin38xsz0crfj"))
+        (base32 "15fxr4xq7siy237763l7nswx7v0swr3qzs2h3zkjzgvajw4p6qii"))
        (modules '((guix build utils)))
        (snippet
-        '(begin
-           (delete-file-recursively "contrib/protozero")
-           (delete-file-recursively "contrib/libosmium")
-           #t))))
+        ;; Remove bundled libraries.
+        '(delete-file-recursively "contrib"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f; tests fail because we need to setup a database
        #:configure-flags
-       (list (string-append "-DOSMIUM_INCLUDE_DIR="
-                            (assoc-ref %build-inputs "libosmium")
-                            "/include")
-             (string-append "-DPROTOZERO_INCLUDE_DIR="
-                            (assoc-ref %build-inputs "protozero")
-                            "/include"))))
+       (list "-DEXTERNAL_LIBOSMIUM=ON"
+             "-DEXTERNAL_PROTOZERO=ON"
+             "-DEXTERNAL_FMT=ON"
+             "-DEXTERNAL_RAPIDJSON=ON")))
     (inputs
      (list boost
            bzip2
            expat
+           fmt
            libosmium
            lua
            postgresql
            proj
            protozero
+           rapidjson
            zlib))
     (native-inputs
      (list python python-psycopg2))
-- 
2.37.1



[Message part 3 (message/rfc822, inline)]
From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Nikolay Korotkiy <sikmir <at> disroot.org>
Cc: 57233-done <at> debbugs.gnu.org
Subject: Re: [bug#57233] [PATCH] gnu: osm2pgsql: Update to 1.7.0.
Date: Wed, 17 Aug 2022 08:19:27 +0000
[Message part 4 (text/plain, inline)]
Patch pushed as 0b69ed70eca72aef6364be650d9e2f7e8c97ac0c with
a completed commit message.
Thanks.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.