Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
82b6b39e
Commit
82b6b39e
authored
1 year ago
by
Dmitry Marakasov
Browse files
Options
Downloads
Patches
Plain Diff
converters/osm2pgsql: update 1.9.2 → 1.10.0
parent
1da83a63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
converters/osm2pgsql/Makefile
+10
-7
10 additions, 7 deletions
converters/osm2pgsql/Makefile
converters/osm2pgsql/distinfo
+3
-3
3 additions, 3 deletions
converters/osm2pgsql/distinfo
converters/osm2pgsql/files/patch-CMakeLists.txt
+15
-17
15 additions, 17 deletions
converters/osm2pgsql/files/patch-CMakeLists.txt
with
28 additions
and
27 deletions
converters/osm2pgsql/Makefile
+
10
−
7
View file @
82b6b39e
PORTNAME
=
osm2pgsql
PORTVERSION
=
1.9.2
PORTREVISION
=
1
PORTVERSION
=
1.10.0
CATEGORIES
=
converters geography
MAINTAINER
=
amdmi3@FreeBSD.org
...
...
@@ -12,6 +11,9 @@ WWW= https://osm2pgsql.org/ \
LICENSE
=
GPLv2+
LICENSE_FILE
=
${
WRKSRC
}
/COPYING
NOT_FOR_ARCHS
=
i386
NOT_FOR_ARCHS_REASON
=
needs a 64 bit architecture
LIB_DEPENDS
=
libproj.so:graphics/proj
\
libboost_system.so:devel/boost-libs
\
libexpat.so:textproc/expat2
...
...
@@ -19,10 +21,9 @@ BUILD_DEPENDS= ${LOCALBASE}/include/osmium/version.hpp:astro/libosmium \
${
LOCALBASE
}
/include/protozero/version.hpp:devel/protozero
\
${
LOCALBASE
}
/include/nlohmann/json.hpp:devel/nlohmann-json
USES
=
cmake compiler:c++17-lang pgsql python:run shebangfix
USE_GITHUB
=
yes
GH_ACCOUNT
=
openstreetmap
USES
=
cmake compiler:c++17-lang pgsql python:run shebangfix
SHEBANG_FILES
=
scripts/osm2pgsql-replication
CMAKE_ON
=
CMAKE_DISABLE_FIND_PACKAGE_Git
\
EXTERNAL_LIBOSMIUM
\
...
...
@@ -34,6 +35,7 @@ PORTDOCS= AUTHORS CONTRIBUTING.md README.md
PORTDATA
=
*
OPTIONS_DEFINE
=
DOCS LUAJIT TEST
# GEN
(
utility built with this option is not installed
)
OPTIONS_DEFAULT
=
GEN
LUAJIT_DESC
=
Build with LuaJIT support
LUAJIT_CMAKE_BOOL
=
WITH_LUAJIT
...
...
@@ -45,14 +47,15 @@ TEST_CMAKE_ON= -DCMAKE_CTEST_ARGUMENTS="--label-regex;NoDB;--output-on-failure"
TEST_BUILD_DEPENDS
=
${
PYTHON_PKGNAMEPREFIX
}
behave>
=
0:devel/py-behave@
${
PY_FLAVOR
}
TEST_TEST_DEPENDS
=
${
PYTHON_PKGNAMEPREFIX
}
behave>
=
0:devel/py-behave@
${
PY_FLAVOR
}
#GEN_DESC= Build experimental osm2pgsql-gen data generalization utility
#GEN_LIB_DEPENDS= libpotrace.so:graphics/libpotrace
#GEN_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg
#GEN_LIB_DEPENDS= libpotrace.so:graphics/libpotrace \
#libopencv_core.so:graphics/opencv
#GEN_CMAKE_BOOL= BUILD_GEN
post-patch
:
@${
REINPLACE_CMD
}
-e
's|find_package(Lua |&
${
LUA_VER
}
EXACT |'
\
${
WRKSRC
}
/CMakeLists.txt
# for post-patch-GEN-off: when GEN option is implemented
@${REINPLACE_CMD}
-Ee
'/find_(path|library)/ s,(potrace|
CImg
),no&,'
\
@${REINPLACE_CMD}
-Ee
'/find_(path|library)/ s,(potrace|
opencv
),no&,'
\
${WRKSRC}/CMakeLists.txt
post-install-DOCS-on
:
...
...
This diff is collapsed.
Click to expand it.
converters/osm2pgsql/distinfo
+
3
−
3
View file @
82b6b39e
TIMESTAMP = 169
4017795
SHA256 (openstreetmap-osm2pgsql-1.
9.2
_GH0.tar.gz) =
dc30a3ad9a27f944e4169be9a8e07ee09711901536ddc8fcf4a292bd3aec51d9
SIZE (openstreetmap-osm2pgsql-1.
9.2
_GH0.tar.gz) = 259
8971
TIMESTAMP = 169
9378317
SHA256 (openstreetmap-osm2pgsql-1.
10.0
_GH0.tar.gz) =
33849d8edacbca5ab5492fed32ac954de14f92ab6b3028c03ef88bb7ab596d20
SIZE (openstreetmap-osm2pgsql-1.
10.0
_GH0.tar.gz) = 259
9615
This diff is collapsed.
Click to expand it.
converters/osm2pgsql/files/patch-CMakeLists.txt
+
15
−
17
View file @
82b6b39e
--- CMakeLists.txt.orig 202
2
-11-
10 19:1
5:
4
9 UTC
--- CMakeLists.txt.orig 202
3
-11-
07 15:2
5:
1
9 UTC
+++ CMakeLists.txt
@@ -173,7 +173,7 @@ if (NOT EXTERNAL_PROTOZERO)
endif()
@@ -28,6 +28,7 @@ endif()
if (NOT EXTERNAL_FMT)
- set(FMT_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/contrib/fmt/include")
+ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/contrib/fmt/include")
endif()
option(BUILD_TESTS "Build test suite" OFF)
option(BUILD_COVERAGE "Build with coverage" OFF)
+option(BUILD_GEN "Build gen" OFF)
option(WITH_LUA "Build with Lua support" ON)
option(WITH_LUAJIT "Build with LuaJIT support" OFF)
if (NOT EXTERNAL_RAPIDJSON)
@@ -183,7 +183,7 @@ endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINARY_DIR})
find_package(Osmium 2.17.3 REQUIRED COMPONENTS io)
-include_directories(SYSTEM ${OSMIUM_INCLUDE_DIRS} ${PROTOZERO_INCLUDE_DIR} ${FMT_INCLUDE_DIR})
+include_directories(SYSTEM ${OSMIUM_INCLUDE_DIRS} ${PROTOZERO_INCLUDE_DIR})
if (WITH_LUA)
if (WITH_LUAJIT)
@@ -289,7 +290,6 @@ if (${POTRACE_LIBRARY} STREQUAL "POTRACE_LIBRARY-NOTFO
else()
if (WITH_LUA)
message(STATUS "Found opencv and potrace library. Building osm2pgsql-gen.")
- set(BUILD_GEN 1)
include_directories(SYSTEM ${POTRACE_INCLUDE_DIR})
add_executable(osm2pgsql-gen src/gen/osm2pgsql-gen.cpp
src/gen/canvas.cpp
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment