From: Hendursaga via Guix-patches via <guix-patches@gnu.org>
To: 66037@debbugs.gnu.org
Subject: [bug#66037] [PATCH 2/3] gnu: osm2pgsql: Update to 1.9.2.
Date: Sat, 16 Sep 2023 17:21:03 -0400 [thread overview]
Message-ID: <f8c036deb996e7c97a9f4d75cb6e8473469c6e51.1694898378.git.hendursaga@aol.com> (raw)
In-Reply-To: <cover.1694898378.git.hendursaga@aol.com>
* gnu/packages/geo.scm (osm2pgsql): Update to 1.9.2.
[arguments]: Use G-expressions.
<#:configure-flags>: Ensure compilation with LuaJIT, PROJ API version 6.
[inputs]: Replace lua with luajit. Add potrace, nlohmann-json.
[native-inputs]: Add pandoc, python-argparse-manpage, for building
documentation. Remove python-psycopg2, as it is only used for tests, and
testing has been disabled.
[home-page]: Update URL.
---
gnu/packages/geo.scm | 72 +++++++++++++++++++++++---------------------
1 file changed, 37 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 3364fe6583..45d8f8945e 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1596,43 +1596,45 @@ (define-public osmium-tool
(define-public osm2pgsql
(package
(name "osm2pgsql")
- (version "1.8.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/openstreetmap/osm2pgsql")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0ssz7ny4wx8dzl3027p37xc5h7m1aj6bzxzdc6g8fbp7q57ykvxz"))
- (modules '((guix build utils)))
- (snippet
- ;; Remove bundled libraries.
- '(delete-file-recursively "contrib"))))
+ (version "1.9.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/openstreetmap/osm2pgsql")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "198qcgl42pb8lk1bn41ncp8hc9gcg9k2p0ny42vak019w5l6jcj7"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; 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 "-DEXTERNAL_LIBOSMIUM=ON"
- "-DEXTERNAL_PROTOZERO=ON"
- "-DEXTERNAL_FMT=ON")))
- (inputs
- (list boost
- bzip2
- expat
- fmt-8
- libosmium
- lua
- postgresql
- proj
- protozero
- zlib))
- (native-inputs
- (list python python-psycopg2))
- (home-page "https://github.com/openstreetmap/osm2pgsql")
- (synopsis "OSM data importer to postgresql")
- (description "Osm2pgsql is a tool for loading OpenStreetMap data into a
+ (list #:tests? #f ;tests fail because we need to setup a database
+ #: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
+ expat
+ fmt-8
+ libosmium
+ luajit
+ nlohmann-json
+ postgresql
+ potrace
+ proj
+ protozero
+ zlib))
+ (native-inputs (list pandoc python python-argparse-manpage))
+ (home-page "https://osm2pgsql.org/")
+ (synopsis "OSM data importer to PostgreSQL")
+ (description
+ "Osm2pgsql is a tool for loading OpenStreetMap data into a
PostgreSQL / PostGIS database suitable for applications like rendering into a
map, geocoding with Nominatim, or general analysis.")
(license license:gpl2+)))
--
2.41.0
next prev parent reply other threads:[~2023-09-16 21:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1694898378.git.hendursaga.ref@aol.com>
2023-09-16 21:18 ` [bug#66037] [PATCH 0/3] Update libosmium and dependents Hendursaga via Guix-patches via
2023-09-16 21:21 ` [bug#66037] [PATCH 1/3] gnu: libosmium: Update to 2.19.0 Hendursaga via Guix-patches via
2023-09-16 21:34 ` Bruno Victal
2023-09-17 19:38 ` [bug#66037] [PATCH v2 0/3] Update libosmium and dependents Hendursaga via Guix-patches via
2023-09-17 19:39 ` [bug#66037] [PATCH v2 1/3] gnu: libosmium: Update to 2.19.0 Hendursaga via Guix-patches via
2023-09-17 19:39 ` [bug#66037] [PATCH v2 2/3] gnu: osm2pgsql: Update to 1.9.2 Hendursaga via Guix-patches via
2023-09-17 19:39 ` [bug#66037] [PATCH v2 3/3] gnu: osmium-tool: Update to 1.15.0 Hendursaga via Guix-patches via
2023-09-21 15:39 ` bug#66037: [PATCH v2 0/3] Update libosmium and dependents Guillaume Le Vaillant
2023-09-16 21:21 ` Hendursaga via Guix-patches via [this message]
2023-09-16 21:21 ` [bug#66037] [PATCH 3/3] gnu: osmium-tool: Update to 1.15.0 Hendursaga via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f8c036deb996e7c97a9f4d75cb6e8473469c6e51.1694898378.git.hendursaga@aol.com \
--to=guix-patches@gnu.org \
--cc=66037@debbugs.gnu.org \
--cc=hendursaga@aol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).