Bug 216338

Summary: converters/osm2pgsql update to 0.92.0
Product: Ports & Packages Reporter: Zane C. Bowers-Hadley <vvelox>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Many People CC: rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff none

Description Zane C. Bowers-Hadley 2017-01-21 07:55:30 UTC
Created attachment 179177 [details]
svn diff

This patch updates it to 0.92.0. Unfortunately it does not unbreak it, but gets the version, depdencies, etc at least updated. Still does not like geos for some reason. :(
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2017-01-23 12:16:29 UTC
*** Bug 216337 has been marked as a duplicate of this bug. ***
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-02-07 13:16:38 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Feb  7 13:16:18 UTC 2017
New revision: 433549
URL: https://svnweb.freebsd.org/changeset/ports/433549

Log:
  - Update to 0.92.0 and unbreak by switching geos dependency to graphics/geos35

  PR:		214819, 216338

Changes:
  head/converters/osm2pgsql/Makefile
  head/converters/osm2pgsql/distinfo
  head/converters/osm2pgsql/files/
  head/converters/osm2pgsql/files/patch-CMakeLists.txt
  head/converters/osm2pgsql/files/patch-cmake_FindOsmium.cmake
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2017-02-07 13:17:09 UTC
Should be fixed now, please test.
Comment 4 Rainer Hurling freebsd_committer freebsd_triage 2017-02-07 15:19:19 UTC
Thanks for the patch.

But hmm, this solution makes it impossible to use GEOS-3.6.1, which is needed for graphics/gdal, databases/postgis2x, graphics/qgis, and others. Or am I mistaken here?
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2017-02-08 16:44:15 UTC
(In reply to Rainer Hurling from comment #4)

> But hmm, this solution makes it impossible to use GEOS-3.6.1, which is
> needed for graphics/gdal, databases/postgis2x, graphics/qgis, and others. Or
> am I mistaken here?

You are. graphics/geos (3.6.1) and graphics/geos35 (3.5.0) are independent and can coexist just fine. gdal, postgis2x, and qgis use the former, while osm2pgsql will use the latter until they drop the requirement for geos as they plan.
Comment 6 Rainer Hurling freebsd_committer freebsd_triage 2017-02-08 16:58:48 UTC
(In reply to Dmitry Marakasov from comment #5)

Ahh, now I understand. Especially the info, that upstream wants to drop geos dependency from osm2pgsql some days.

Many thanks for the clarification and again for a now working osm2pgsql!