Skip to content

Allow builds on OpenBSD - #4165

Open
qth wants to merge 1 commit into
mapnik:masterfrom
qth:master
Open

Allow builds on OpenBSD#4165
qth wants to merge 1 commit into
mapnik:masterfrom
qth:master

Conversation

@qth

@qth qth commented Aug 6, 2020

Copy link
Copy Markdown

After making these changes, I was then able to build mapnik on OpenBSD.

Just in case anyone feels crazy and wants to try on OpenBSD for themselves ;-), this was the configure line that worked for me:

./configure ICU_LIBS=/usr/local/lib ICU_INCLUDES=/usr/local/include HB_LIBS=/usr/local/lib HB_INCLUDES=/usr/local/include PROJ_LIBS=/usr/local/lib PROJ_INCLUDES=/usr/local/include FREETYPE_LIBS=/usr/X11R6/lib FREETYPE_INCLUDES=/usr/X11R6/include/freetype2 CUSTOM_CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/usr/X11R6/include/freetype2 CUSTOM_CXXFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/usr/X11R6/include/freetype2

@inferiorhumanorgans

Copy link
Copy Markdown

I've recently gone down the path of trying to build mapnik on FreeBSD. It seems to me like leveraging pkgconf/pkg-config would be useful for cross platform compatibility and minimally intrusive on Linux.

@hummeltech

Copy link
Copy Markdown
Contributor

@inferiorhumanorgans, mapnik is available again in FreeBSD since last year.
https://github.com/freebsd/freebsd-ports/tree/36cc90cb698e00ffdb8f81a64d2d5f8cf34ead45/graphics/mapnik

I suspect it would be a similar build process for OpenBSD.

@landryb

landryb commented Jul 10, 2024

Copy link
Copy Markdown

mapnik is in openbsd ports since a while.. https://github.com/openbsd/ports/tree/master/graphics/mapnik

@codecov

codecov Bot commented May 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.31%. Comparing base (ea70036) to head (3170e4a).
⚠️ Report is 1165 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4165   +/-   ##
=======================================
  Coverage   70.31%   70.31%           
=======================================
  Files         445      445           
  Lines       23612    23612           
=======================================
  Hits        16603    16603           
  Misses       7009     7009           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants