FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

crossplatform build by mathisloge · Pull Request #242 · mapnik/python-mapnik · GitHub

crossplatform build - #242

Draft
mathisloge wants to merge 15 commits into
mapnik:masterfrom
mathisloge:master
Draft

crossplatform build#242
mathisloge wants to merge 15 commits into
mapnik:masterfrom
mathisloge:master

Conversation

mathisloge commented Jul 20, 2021
edited
Loading

Copy link
Copy Markdown
Collaborator

So this is mostly the same as for node-mapnik.
It replaces most of the python build code with a cmake file.

It depends on mapnik/mapnik#4191

via the find_package(mapnik) all compile options and paths to fonts/plugins are available. I dont use mason, so if someone depends on that, someone needs do describe the steps to get mason up and running.

In the end, the whole vcpkg submodule can be removed again. Just here for faster development.
If someone needs to build from source, one can just add a local clone of vcpkg via -DCMAKE_TOOLCHAIN_FILE=<path to vcpkg toolchain>.

I'm just waiting for some feedback on this, before putting more effort into it.

Todos:

  • i think fonts needs to be installed without subdirs? currently it looks like mapnik/lib/fonts/dejavu-fonts-ttf-2.37/ttf
  • test on ubuntu
  • have someone a mac to test with? I have zero experience with mac and don't have one at home.

Some first results on windows-10:

rendered with cairo:

Copy link
Copy Markdown
Collaborator Author

and code changes depend on mapnik/node-mapnik#975

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL