Opened 13 years ago

Closed 13 years ago

#31034 closed update (fixed)

Update qgis port to version 1.7

Reported by: nlebedev@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qgis

Description

Version 1.7 is current official stable version.

Attachments (6)

Portfile (6.7 KB) - added by cmutel (Chris Mutel) 13 years ago.
New portfile
patch-findsqlite.diff (1.1 KB) - added by cmutel (Chris Mutel) 13 years ago.
patch-findspatialite.diff (1.3 KB) - added by cmutel (Chris Mutel) 13 years ago.
patch-findgdal.diff (2.9 KB) - added by cmutel (Chris Mutel) 13 years ago.
patch-findgeos.diff (2.7 KB) - added by cmutel (Chris Mutel) 13 years ago.
qgis-spatialite-error.log (1.2 MB) - added by cmutel (Chris Mutel) 13 years ago.

Download all attachments as: .zip

Change History (11)

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

Owner: changed from macports-tickets@… to vince@…
Type: requestupdate
Version: 2.0.1

comment:2 Changed 13 years ago by Veence (Vincent)

I am aware of this since July, but I purposefully postponed the update until we have a Qt version compatible with clang, which is not the case yet, but should be in a very short time now (4.8 is supposed to be clang compatible, and ß1 is already out).

Changed 13 years ago by cmutel (Chris Mutel)

Attachment: Portfile added

New portfile

Changed 13 years ago by cmutel (Chris Mutel)

Attachment: patch-findsqlite.diff added

Changed 13 years ago by cmutel (Chris Mutel)

Attachment: patch-findspatialite.diff added

Changed 13 years ago by cmutel (Chris Mutel)

Attachment: patch-findgdal.diff added

Changed 13 years ago by cmutel (Chris Mutel)

Attachment: patch-findgeos.diff added

Changed 13 years ago by cmutel (Chris Mutel)

Attachment: qgis-spatialite-error.log added

comment:3 Changed 13 years ago by cmutel (Chris Mutel)

I installed 1.7 using a local portfile, but only after some pain.

First, a lot of the cmake scripts for 1.7 do special processing for apple machines, and look for frameworks installed as part of the KyngChaos binaries, which obviously doesn't work for those using macports. The attached patches just delete all this special casing - we pass in the correct locations (which would then get overwritten) in any case.

Second, I couldn't get spatialite to work (see error log) - not sure if this is just my machine or not, but in any case the attached portfile has some config options to not build spatialite support.

I would recommend updating sooner rather than later, as many plugins are no longer compatible with 1.6.

comment:4 Changed 13 years ago by Veence (Vincent)

Thanks for the patches and the efforts. I was busy elsewhere, both with Atlas and GEOS (which now compiles with clang, commit to follow tonight). I'm going to look at the spatialite issue on Thursday. I teach a class on QGis tomorrow! ;)

Thanks again for all the work. I'll file a bug upstream to correct for the frameworks check. Vincent

comment:5 Changed 13 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.