Skip to content

Debug Package? #12

Open
Open
@rcoup

Description

@rcoup

Since Mapnik's logging is a compile-time option, I'm wondering about creating debug packages, which use Provides: to sit in place of the normal packages, but are compiled with DEBUG=True.

Specifically, libmapnik-debug and mapnik-input-plugin-*-debug. I don't think it's worth doing the Python bindings.

So, to get debug logging, you can do apt-get install libmapnik-debug and it'll replace the existing libmapnik package with a logging-enabled version. Same for the plugins. Want to stop debugging, apt-get install libmapnik again.

(Using -debug and not -dbg since the latter is commonly used for debug symbols -- which we should also do, but are a different issue)

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions