All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Kochetkov <fido_max@inbox.ru>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/osm2pgsql: new package
Date: Wed, 24 Feb 2021 09:04:33 +0300	[thread overview]
Message-ID: <f840c69b-91f1-bce3-a26f-da93aed9f765@inbox.ru> (raw)
In-Reply-To: <20210127071847.1170622-1-fido_max@inbox.ru>

Has this patch chance to be upstreamable? Should I resend or what?

27.01.2021 10:18, Maxim Kochetkov via buildroot ?????:
> 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.
> 
> https://osm2pgsql.org
> 
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---
>   package/Config.in                |  1 +
>   package/osm2pgsql/Config.in      | 15 +++++++++++++++
>   package/osm2pgsql/osm2pgsql.hash |  3 +++
>   package/osm2pgsql/osm2pgsql.mk   | 26 ++++++++++++++++++++++++++
>   4 files changed, 45 insertions(+)
>   create mode 100644 package/osm2pgsql/Config.in
>   create mode 100644 package/osm2pgsql/osm2pgsql.hash
>   create mode 100644 package/osm2pgsql/osm2pgsql.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 06dfc32cc6..0b7127bfd4 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1400,6 +1400,7 @@ menu "Database"
>   	source "package/libpqxx/Config.in"
>   	source "package/mongodb/Config.in"
>   	source "package/mysql/Config.in"
> +	source "package/osm2pgsql/Config.in"
>   	source "package/postgresql/Config.in"
>   	source "package/redis/Config.in"
>   	source "package/rocksdb/Config.in"
> diff --git a/package/osm2pgsql/Config.in b/package/osm2pgsql/Config.in
> new file mode 100644
> index 0000000000..81be6b0c49
> --- /dev/null
> +++ b/package/osm2pgsql/Config.in
> @@ -0,0 +1,15 @@
> +config BR2_PACKAGE_OSM2PGSQL
> +	bool "osm2pgsql"
> +	depends on BR2_PACKAGE_POSTGRESQL
> +	select BR2_PACKAGE_EXPAT
> +	select BR2_PACKAGE_PROJ
> +	select BR2_PACKAGE_BZIP2
> +	select BR2_PACKAGE_ZLIB
> +	select BR2_PACKAGE_BOOST
> +	select BR2_PACKAGE_BOOST_FILESYSTEM
> +	help
> +	  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.
> +
> +	  https://osm2pgsql.org
> diff --git a/package/osm2pgsql/osm2pgsql.hash b/package/osm2pgsql/osm2pgsql.hash
> new file mode 100644
> index 0000000000..28ff242321
> --- /dev/null
> +++ b/package/osm2pgsql/osm2pgsql.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256  403e25a0310d088183a868d80e5325dceee88617d0df570056e50a2930905369  osm2pgsql-1.4.0.tar.gz
> +sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
> diff --git a/package/osm2pgsql/osm2pgsql.mk b/package/osm2pgsql/osm2pgsql.mk
> new file mode 100644
> index 0000000000..6d143d43f7
> --- /dev/null
> +++ b/package/osm2pgsql/osm2pgsql.mk
> @@ -0,0 +1,26 @@
> +################################################################################
> +#
> +# osm2pgsql
> +#
> +################################################################################
> +
> +OSM2PGSQL_VERSION = 1.4.0
> +OSM2PGSQL_SITE = $(call github,openstreetmap,osm2pgsql,$(OSM2PGSQL_VERSION))
> +OSM2PGSQL_LICENSE = GPL-2.0+
> +OSM2PGSQL_LICENSE_FILES = COPYING
> +OSM2PGSQL_SUPPORTS_IN_SOURCE_BUILD = NO
> +
> +OSM2PGSQL_DEPENDENCIES = postgresql expat proj bzip2 zlib boost
> +
> +ifeq ($(BR2_PACKAGE_LUAJIT),y)
> +OSM2PGSQL_DEPENDENCIES += luajit
> +OSM2PGSQL_CONF_OPTS += -DWITH_LUAJIT=ON
> +else
> +ifeq ($(BR2_PACKAGE_LUA),y)
> +OSM2PGSQL_DEPENDENCIES += lua
> +else
> +OSM2PGSQL_CONF_OPTS += -DWITH_LUA=OFF
> +endif
> +endif
> +
> +$(eval $(cmake-package))
> 

  reply	other threads:[~2021-02-24  6:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27  7:18 [Buildroot] [PATCH 1/1] package/osm2pgsql: new package Maxim Kochetkov
2021-02-24  6:04 ` Maxim Kochetkov [this message]
2021-02-24 22:07   ` Peter Seiderer
2021-02-24 22:33     ` Peter Seiderer

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f840c69b-91f1-bce3-a26f-da93aed9f765@inbox.ru \
    --to=fido_max@inbox.ru \
    --cc=buildroot@busybox.net \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.