Opened 11 years ago

Closed 8 years ago

#217 closed defect (fixed)

wrong proj_api.h version in proj-4.7.

Reported by: jef Owned by: osgeo4w-dev@…
Priority: minor Component: Package
Version: Keywords:
Cc: neteler, hamish

Description

Looks like trunk's version accidently made it into osgeo4w:

jef@xblade13:~$ tar xOjf osgeo4w/release/proj/proj-4.7.0-3.tar.bz2 include/proj_api.h|grep PJ_VERSION
#define PJ_VERSION 480

Change History (5)

comment:1 by warmerdam, 11 years ago

Resolution: wontfix
Status: newclosed

I don't really maintain branches for PROJ.4, and it is deliberate that the PROJ package reflects trunk. When the PJ_VERSION is updated in trunk is rather arbitrary.

in reply to:  1 comment:2 by jef, 11 years ago

Replying to warmerdam:

I don't really maintain branches for PROJ.4, and it is deliberate that the PROJ package reflects trunk. When the PJ_VERSION is updated in trunk is rather arbitrary.

But that's not the case for releases, isn't it? Otherwise I don't see a point in having PJ_VERSION at all.

My point is that trunk's proj_api.h shouldn't be shipped PROJ 4.7.1 in OSGeo4W. It mentions pj_clear_initcache(), which proj.dll doesn't seem to have. And pj_get_release() reports 'Rel. 4.7.1, 23 September 2009' - which current trunk would probably report too.

A bit of background: I wanted to work around proj versions in qgis that are affected by PROJ #100 with:

#if !defined(PJ_VERSION) || PJ_VERSION != 470
// run pj_init_plus on more that 16 different strings...
#else
// better don't
#endif

to at least not have it crash on affected versions. Any tips how to achieve this?

comment:3 by neteler, 11 years ago

Cc: neteler hamish added
Resolution: wontfix
Status: closedreopened

In general PROJ 4.7.1 should not be shipped at all in OSGeo4W. The official release version is 4.7.0. Note that Proj 4.7.1 is broken for GRASS in terms of datum handling, see related tickets:

http://trac.osgeo.org/proj/ticket/122

https://trac.osgeo.org/grass/ticket/1452

comment:4 by jef, 10 years ago

proj 4.8.0 is now packaged.

comment:5 by jef, 8 years ago

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