Opened 13 years ago

Closed 10 years ago

#32452 closed enhancement (wontfix)

Use postgresql91 by default in py26-mapnik port

Reported by: shirshegsm@… Owned by: dbsgeo@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr, cooljeanius (Eric Gallager)
Port: py26-mapnik

Description

Makes sense as 9.1 is default in most other places as far as I've checked.

Attachments (2)

Portfile (5.1 KB) - added by shirshegsm@… 13 years ago.
Portfile-py26-mapnik.diff (638 bytes) - added by shirshegsm@… 13 years ago.
Portfile patch

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by shirshegsm@…

Attachment: Portfile added

comment:1 Changed 13 years ago by shirshegsm@…

Maintainer: dbsgeo@…

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to dbsgeo@…
Type: updateenhancement
Version: 2.0.3

Please attach a unified diff of the port file so we can easily see the changes you made.

Changed 13 years ago by shirshegsm@…

Attachment: Portfile-py26-mapnik.diff added

Portfile patch

comment:3 Changed 13 years ago by larryv (Lawrence Velázquez)

Is Mapnik directly dependent on PostgreSQL? Since PostGIS already requires an appropriate version of PostgreSQL depending on its variant, does this port have to have a dependency on it also?

What if postgis +postgresql90 is installed? py26-mapnik is going to force installation of postgresql91 anyway.

comment:4 Changed 13 years ago by dbsgeo@…

Mapnik does not depend on postgres. Mapnik uses a plugin architecture for datasources, so if postgres is available the "postgis.input" dynamic library is built so Mapnik will have postgres read support. Mapnik 2.0 (the latest release) supports all modern versions of postgres and postgis.

comment:5 Changed 13 years ago by larryv (Lawrence Velázquez)

Right, so all it needs for PostGIS support is the postgis port. But the current portfile and the patch attached here currently declare a direct dependency on PostgreSQL:

variant postgis description {Builds port with PostGIS plugin} {
    depends_lib-append      port:postgresql84
    depends_lib-append      port:postgresql84-server
    depends_lib-append      port:postgis
    configure.args-append   PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
}

Should those be removed then?

comment:6 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 10 years ago by petrrr

Resolution: wontfix
Status: newclosed

The port will be removed soon, so wontfix

Note: See TracTickets for help on using tickets.