python-mapnik built without cairo support

Bug #1617542 reported by Tom Hughes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-mapnik (Debian)
Fix Released
Unknown
python-mapnik (Ubuntu)
Fix Released
Wishlist
Unassigned
Xenial
Incomplete
Wishlist
Unassigned

Bug Description

The python-mapnik in xenial has been built without cairo support so cannot be used to render to a cairo surface.

Tags: patch
Revision history for this message
Tom Hughes (tomhughes) wrote :

Attached is a patch that I used to enable cairo support - note that it needs a small source patch which I have taken from upstream.

I have built this in a PPA at https://launchpad.net/~osmadmins/+archive/ubuntu/ppa and that version is currently running in production on one of the OpenStreetMap tile servers.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch to enable cairo support" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Bas Couwenberg (sebastic) wrote :

The cairo support has been fixed in Debian with python-mapnik (1:0.0~20160412-5b015f2-1).

Upstream has fixed the cairo support for Python 3 since python-mapnik (1:0.0~20160531-f65767a-1).

A backport of the latter is probably a better idea, if Ubuntu doesn't want to provide that. Host the package in the OpenStreetMap PPA.

Changed in python-mapnik (Debian):
status: Unknown → Fix Released
Mathew Hodson (mhodson)
Changed in python-mapnik (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Tom, could you read https://wiki.ubuntu.com/StableReleaseUpdates and update this bug for that?

Alternatively, you could take Bas's advice and request a backport instead. Note that you'd need to backport mapnik 3.0.10+ds-1 too.

https://wiki.ubuntu.com/UbuntuBackports

Changed in python-mapnik (Ubuntu Xenial):
importance: Undecided → Wishlist
Changed in python-mapnik (Ubuntu):
status: New → Fix Released
Jeremy Bícha (jbicha)
Changed in python-mapnik (Ubuntu Xenial):
status: New → Incomplete
Revision history for this message
Tom Hughes (tomhughes) wrote :

The problem with a backport of python-mapnik is that it would need a backport of mapnik as the version in yakkety needs mapnik 3.0.12 and xenial only has 3.0.9 currently...

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Tom, please update the bug following the wiki page jbicha linked.

In the meantime I'm ubsubscribing ubuntu-sponsors; please subscribe it again when everything's ready.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.