Package: python-mapnik Severity: wishlist Tags: patch With the current package pycairo support is missing:
>>> import mapnik _frozen_importlib:222: RuntimeWarning: to-Python converter for std::shared_ptr<mapnik::geometry::geometry<double> > already registered; second conversion method ignored. _frozen_importlib:222: RuntimeWarning: to-Python converter for std::shared_ptr<mapnik::feature_impl> already registered; second conversion method ignored. _frozen_importlib:222: RuntimeWarning: to-Python converter for std::shared_ptr<mapnik::Featureset> already registered; second conversion method ignored. _frozen_importlib:222: RuntimeWarning: to-Python converter for std::shared_ptr<mapnik::datasource> already registered; second conversion method ignored. _frozen_importlib:222: RuntimeWarning: to-Python converter for std::shared_ptr<mapnik::image_any> already registered; second conversion method ignored. >>> mapnik.has_cairo() True >>> mapnik.has_pycairo() False With the attached patch mapnik.has_pycairo() also returns True. There already is a dependency on python-cairo in the control file, the condition in setup.py (line 230) just didn't get triggered. Related upstream issue: https://github.com/mapnik/python-mapnik/issues/58 Without pycairo support, the included mapnik.printing doesn't work nor fail nicely. -- Best regards Asbjørn Sloth Tønnesen
0001-Enable-Cairo-support.patch
Description: Binary data
_______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

