bugGNU Octave - Bugs: bug #56039, [octave forge] (octproj) Support...

 
 

bug #56039: [octave forge] (octproj) Support for PROJ 6.0.0

Submitter:  Bas Couwenberg <sebastic>
Submitted:  Sun 31 Mar 2019 06:44:19 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 07 Nov 2022 12:40:33 PM UTC, comment #10: 

Closing as fixed according to comment #9.

Markus Mützel <mmuetzel>
Group administrator
Mon 07 Nov 2022 12:19:07 PM UTC, comment #9: 

OctPROJ works now with PROJ 9.x series

José Luis García Pallero <jgpallero>
Mon 24 Feb 2020 01:42:20 PM UTC, comment #8: 

PROJ 6.3.1 does not introduce any changes at the API level, at least in the functions used by OctPROJ, so the new version is the same for PROJ >= 6.3.0 (actually I think >= 6.0.0)

José Luis García Pallero <jgpallero>
Mon 24 Feb 2020 04:43:37 AM UTC, comment #7: 

You should consider updating to PROJ 6.3.1 before sending it to octave-forge, 6.3.0 has know issues.

Bas Couwenberg <sebastic>
Sun 23 Feb 2020 08:50:43 PM UTC, comment #6: 

I've updated OctPROJ to PROJ 6.3.0. The source code can be found in https://bitbucket.org/jgpallero/octproj/src/default/ (clone the repository, compress it into tar.gz and install it as a regular Octave package).

Please, check the package before I send the final version to octave-forge

José Luis García Pallero <jgpallero>
Sat 15 Feb 2020 04:59:20 AM UTC, comment #5: 

FWIW, Homebrew on macOS is now shipping proj 6.3.0, and octproj build is failing there. (MacPorts is still shipping 5.2.0, so it'll probably still work on MacPorts-powered machines.)

Andrew Janke <apjanke>
Sat 13 Apr 2019 08:45:58 AM UTC, comment #4: 

The "Make compatible with PROJ 6.0" changes still cause a build failure.

The attached proj6.patch resolves that by adding the flag to LDFLAGS.

(file #46761)

Bas Couwenberg <sebastic>
Tue 02 Apr 2019 01:48:49 PM UTC, comment #3: 

Thanks for the update, José.

FTR, I'm the maintainer of the proj package in Debian.

At the moment only OpenSUSE Tumblweed has updated to PROJ 6.0.0.

After the Debian buster release we'll plan the proj transition and add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H to all packages that don't have support for proj.h yet nor add the flag themselves.

The status of the proj.h adoption is tracked by the proj.4 community on their wiki:

 https://github.com/OSGeo/proj.4/wiki/proj.h-adoption-status

Bas Couwenberg <sebastic>
Tue 02 Apr 2019 01:35:02 PM UTC, comment #2: 

I've made the changes in order to still using proj_api.h because some systems such as Debian have does not yet migrated to PROJ 6.0. I'try to migrate the package to the new API before 2020...

I've uploaded the changes to https://bitbucket.org/jgpallero/octproj/src/default/ At this moment I'm very busy at my jod, so I can't make the Octave in order to upload it, but the user can use the new code downloading it an comprising it. Then normal install via pkg

José Luis García Pallero <jgpallero>
Mon 01 Apr 2019 06:15:00 PM UTC, comment #1: 

cc'ing package maintainer.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 31 Mar 2019 06:44:19 AM UTC, original submission:  

octproj still uses `proj_api.h` which is deprecated in PROJ 6.0.0 and will be removed in PROJ 7.0.0 (scheduled for March 2020).

When using `proj_api.h` with PROJ 6.0.0 `-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1` needs to be added to `CFLAGS` to prevent a compiler error.

octproj should be updated to (also) support the `proj.h` API.

Bas Couwenberg <sebastic>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #46761:  proj6.patch added by sebastic (833B - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by apjanke (Posted a comment)
  • -email is unavailable- added by jgpallero (Posted a comment)
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by sebastic (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-07 mmuetzel StatusNone Fixed
        Open/ClosedOpen Closed
    2019-09-11 mtmiller Dependencies- bugs #56882 is dependent
    2019-04-13 sebastic Attached File- Added proj6.patch, #46761
    2019-04-01 philipnienhuis Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code