Skip to content

Commit

Permalink
mapnik: update to use go-mapnik/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
olt committed Oct 10, 2019
1 parent bfc646d commit e7e7dd2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -15,8 +15,8 @@ else
endif

VERSION_LDFLAGS=-X github.com/omniscale/magnacarto.Version=$(BUILD_VERSION)
MAPNIK_LDFLAGS=-X github.com/omniscale/go-mapnik.fontPath=$(shell mapnik-config --fonts) \
-X github.com/omniscale/go-mapnik.pluginPath=$(shell mapnik-config --input-plugins)
MAPNIK_LDFLAGS=-X github.com/omniscale/go-mapnik/v2.fontPath=$(shell mapnik-config --fonts) \
-X github.com/omniscale/go-mapnik/v2.pluginPath=$(shell mapnik-config --input-plugins)

MAPNIK_CGO_LDFLAGS = $(shell mapnik-config --libs) -lboost_system
MAPNIK_CGO_CXXFLAGS = $(shell mapnik-config --cxxflags --includes --dep-includes | tr '\n' ' ')
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -10,7 +10,7 @@ require (
github.com/gorilla/mux v1.7.3
github.com/hsluv/hsluv-go v2.0.0+incompatible
github.com/natefinch/pie v0.0.0-20170715172608-9a0d72014007
github.com/omniscale/go-mapnik v1.1.1
github.com/omniscale/go-mapnik/v2 v2.0.0
github.com/stretchr/testify v1.3.0
golang.org/x/net v0.0.0-20190206173232-65e2d4e15006
golang.org/x/sys v0.0.0-20170825194620-2d6f6f883a06 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -13,8 +13,8 @@ github.com/hsluv/hsluv-go v2.0.0+incompatible h1:M/USwFTC5ZHhZ0LPbPkpDu6AWMESfYK
github.com/hsluv/hsluv-go v2.0.0+incompatible/go.mod h1:ibzdSDmJ9F0U68asF8lD6rnwkarCkAPqZ5keGEha93k=
github.com/natefinch/pie v0.0.0-20170715172608-9a0d72014007 h1:Ohgj9L0EYOgXxkDp+bczlMBiulwmqYzQpvQNUdtt3oc=
github.com/natefinch/pie v0.0.0-20170715172608-9a0d72014007/go.mod h1:wKCOWMb6iNlvKiOToY2cNuaovSXvIiv1zDi9QDR7aGQ=
github.com/omniscale/go-mapnik v1.1.1 h1:ufNQvCFfIyazNr0NsRVzPj0kVTn493x/jpRBMektbdQ=
github.com/omniscale/go-mapnik v1.1.1/go.mod h1:FEKK4SOs7ynF29tWDrfGJe3Wu6jFiw8BoCWBhZXUmcY=
github.com/omniscale/go-mapnik/v2 v2.0.0 h1:BqvuB0iVFdKZFrRV8WqaM2sTvVe1QUmQbBtwavnbNEI=
github.com/omniscale/go-mapnik/v2 v2.0.0/go.mod h1:SIhG2O5AhbSSklcaQYYYnQHGlre1yNYExg7gLIQ7+Jg=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
2 changes: 1 addition & 1 deletion render/magnacarto-mapnik/mapnik.go
Expand Up @@ -10,7 +10,7 @@ import (

"path/filepath"

"github.com/omniscale/go-mapnik"
"github.com/omniscale/go-mapnik/v2"
"github.com/omniscale/magnacarto/render"
)

Expand Down

0 comments on commit e7e7dd2

Please sign in to comment.